/* ==========================================
   KINTAMANI — Premium Eyewear Store CSS
   ========================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #0e0e0e;
  --ink-soft: #1c1c1c;
  --cream: #f7f4ef;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --white: #ffffff;
  --muted: #888;
  --radius: 16px;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  cursor: none;
  overflow-x: hidden;
}

/* CURSOR */
.cursor-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: width .2s, height .2s, background .2s;
}
.cursor-dot.big {
  width: 36px;
  height: 36px;
  background: rgba(201,168,76,.25);
  border: 1.5px solid var(--gold);
}

/* HEADER */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
header.scrolled {
  background: rgba(14,14,14,.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 32px rgba(0,0,0,.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: .06em;
}
.logo-k {
  color: var(--gold);
  font-weight: 600;
  font-style: italic;
}
nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  position: relative;
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  background: var(--gold);
  padding: 10px 22px;
  border-radius: 999px;
  transition: background .2s, transform .2s;
}
.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.menu-toggle { display: none; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 48px 80px;
  gap: 80px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .4;
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.c1 { width: 600px; height: 600px; background: rgba(201,168,76,.12); top: -200px; right: -100px; }
.c2 { width: 400px; height: 400px; background: rgba(201,168,76,.07); bottom: -100px; left: 100px; }
.c3 { width: 200px; height: 200px; background: rgba(255,255,255,.04); top: 40%; left: 40%; }

.hero-content { position: relative; flex: 1; max-width: 560px; }
.hero-eyebrow {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 999px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,168,76,.35);
}
.btn-primary.light { background: var(--white); }
.btn-primary.light:hover { background: var(--cream); box-shadow: 0 12px 32px rgba(255,255,255,.3); }
.btn-ghost {
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .06em;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s;
}
.btn-ghost:hover { color: var(--white); }

/* Hero visual — SVG glasses */
.hero-visual {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.lens-frame {
  display: flex;
  align-items: center;
  gap: 0;
  animation: floatGlasses 4s ease-in-out infinite;
}
@keyframes floatGlasses {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
.lens {
  width: 140px;
  height: 100px;
  border: 3px solid var(--gold);
  border-radius: 50% 50% 45% 45%;
  background: rgba(201,168,76,.06);
  box-shadow: inset 0 0 40px rgba(201,168,76,.1), 0 0 40px rgba(201,168,76,.15);
  position: relative;
  overflow: hidden;
}
.lens::before {
  content: '';
  position: absolute;
  top: 10%; left: 12%;
  width: 30%; height: 25%;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  transform: rotate(-30deg);
}
.lens-bridge {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: -20px;
}
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tag {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 500;
}
.tag-1 { background: rgba(201,168,76,.15); color: var(--gold); border: 1px solid rgba(201,168,76,.3); }
.tag-2 { background: rgba(255,255,255,.07); color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.15); }
.tag-3 { background: rgba(201,168,76,.1); color: var(--gold-light); border: 1px solid rgba(201,168,76,.2); }

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.3);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(201,168,76,.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* STRIP */
.strip {
  background: var(--gold);
  overflow: hidden;
  padding: 14px 0;
}
.strip-inner {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
  width: max-content;
}
.strip-inner span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.strip-inner .dot { color: rgba(14,14,14,.4); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* FEATURES */
.features {
  padding: 80px 48px;
  background: var(--white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.feat-item {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  transition: background .2s, transform .2s;
}
.feat-item:hover {
  background: var(--cream);
  transform: translateY(-4px);
}
.feat-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.feat-item h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feat-item p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* PRODUCTS */
.products {
  padding: 80px 48px;
  max-width: 1280px;
  margin: 0 auto;
}
.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-eyebrow {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1;
}
.section-title em { font-style: italic; color: var(--gold); }
.see-all {
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.see-all:hover { color: var(--ink); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.12);
}
.card-image-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.product-card:hover .card-image-wrap img { transform: scale(1.06); }
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,14,14,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  backdrop-filter: blur(2px);
}
.product-card:hover .card-overlay { opacity: 1; }
.overlay-btn {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  transform: translateY(8px);
  transition: transform .3s .05s, background .2s;
}
.product-card:hover .overlay-btn { transform: translateY(0); }
.overlay-btn:hover { background: var(--gold-light); }
.card-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold);
  color: var(--ink);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.card-body { padding: 20px; }
.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.2;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}
.detail-link {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.detail-link:hover { color: var(--gold); }

/* CTA BANNER */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
  padding: 100px 48px;
  text-align: center;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.cc1 { width: 500px; height: 500px; background: rgba(201,168,76,.12); top: -150px; left: -100px; }
.cc2 { width: 400px; height: 400px; background: rgba(201,168,76,.08); bottom: -100px; right: -50px; }
.cta-content { position: relative; }
.cta-eyebrow {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-content h2 span { color: var(--gold); font-style: italic; font-weight: 600; }
.cta-content > p {
  color: rgba(255,255,255,.5);
  font-size: .9rem;
  margin-bottom: 36px;
  letter-spacing: .04em;
}
.cta-content strong {
  color: var(--gold);
  background: rgba(201,168,76,.12);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

/* FOOTER */
footer {
  background: var(--ink);
  padding: 64px 48px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  margin-top: 16px;
  line-height: 1.7;
}
.footer-links h4, .footer-social h4 {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }
.socials { display: flex; gap: 10px; }
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  transition: border-color .2s, color .2s, background .2s;
}
.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,.08);
}
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 0;
  font-size: .75rem;
  color: rgba(255,255,255,.25);
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible, .reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding: 120px 32px 60px; gap: 48px; }
  .hero-actions { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  header { padding: 0 24px; }
  nav { display: none; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: none; }
  .menu-toggle span { width: 24px; height: 1.5px; background: var(--white); display: block; }
  .hero { padding: 100px 24px 60px; }
  .lens { width: 100px; height: 72px; }
  .features, .products { padding: 60px 24px; }
  .cta-banner { padding: 72px 24px; }
  footer { padding: 48px 24px 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .products-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.6rem; }
  .product-grid { grid-template-columns: 1fr; }
}