
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --black:#0A0A0A;
  --charcoal:#161616;
  --orange:#FF6A1A;
  --orange-deep:#E85A0C;
  --white:#FFFFFF;
  --bg:#F6F4F1;
  --line:#E7E3DC;
  --muted:#7A756D;
  --text:#1A1815;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.display{
  font-family:'Space Grotesk',sans-serif;
}

/* ---------- Sticky header ---------- */
.topbar{
  position:sticky; top:0; z-index:50;
  background:var(--black);
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 18px;
  border-bottom:2px solid var(--orange);
}
.topbar .brand{display:flex; align-items:center; gap:10px;}
.topbar img{height:34px; width:auto; display:block;}
.topbar .brand-name{
  color:var(--white); font-weight:700; font-size:0.92rem; letter-spacing:0.02em;
  line-height:1.1;
}
.topbar .brand-name span{display:block; color:var(--orange); font-size:0.65rem; font-weight:600; letter-spacing:0.12em;}
.topbar a.cta-mini{
  background:var(--orange); color:var(--black); text-decoration:none;
  font-weight:700; font-size:0.78rem; padding:9px 14px; border-radius:100px;
  white-space:nowrap;
}

/* ---------- Hero ---------- */
.hero{
  background:var(--black);
  color:var(--white);
  padding:38px 22px 70px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.hero .logo-big{width:min(230px,58vw); height:auto; margin:0 auto 18px; display:block;}
.hero .eyebrow{
  color:var(--orange); font-weight:700; font-size:0.72rem; letter-spacing:0.22em;
  text-transform:uppercase; margin-bottom:10px;
}
.hero h1{
  font-size:clamp(1.9rem,7vw,2.6rem);
  font-weight:700; line-height:1.08; letter-spacing:-0.01em;
}
.hero h1 em{color:var(--orange); font-style:normal;}
.hero p{
  margin-top:14px; color:#C9C5BE; font-size:0.95rem; max-width:420px; margin-left:auto; margin-right:auto;
}
.peak-cut{
  position:absolute; left:0; right:0; bottom:-1px; height:46px;
  background:var(--bg);
  clip-path:polygon(0 100%, 0 40%, 15% 100%, 30% 30%, 45% 100%, 52% 55%, 60% 100%, 75% 20%, 88% 100%, 100% 60%, 100% 100%);
}

/* ---------- Family nav ---------- */
.family-nav{
  position:sticky; top:56px; z-index:40;
  display:flex; gap:8px; overflow-x:auto;
  padding:14px 18px; background:var(--bg);
  border-bottom:1px solid var(--line);
  scrollbar-width:none;
}
.family-nav::-webkit-scrollbar{display:none;}
.family-nav a{
  flex:0 0 auto;
  text-decoration:none; color:var(--text);
  background:var(--white); border:1.5px solid var(--line);
  padding:8px 16px; border-radius:100px;
  font-size:0.8rem; font-weight:600;
  white-space:nowrap;
}
.family-nav a:hover{border-color:var(--orange); color:var(--orange-deep);}

/* ---------- Sections ---------- */
.section{padding:38px 18px 8px; max-width:900px; margin:0 auto;}
.section-head{margin-bottom:18px; display:flex; align-items:baseline; gap:10px;}
.section-head .num{
  font-family:'Space Grotesk',sans-serif; color:var(--orange); font-weight:700; font-size:0.85rem;
}
.section-head h2{font-size:1.35rem; font-weight:700;}
.section-sub{color:var(--muted); font-size:0.85rem; margin-top:2px;}

/* ---------- Product grid ---------- */
.grid{
  display:grid; grid-template-columns:1fr; gap:14px;
}
@media(min-width:640px){ .grid{grid-template-columns:1fr 1fr;} }

.card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px;
  position:relative;
  transition:transform .15s ease, box-shadow .15s ease;
}
.card:hover{transform:translateY(-2px); box-shadow:0 10px 24px -12px rgba(0,0,0,0.18);}
.card:hover .phone3d{transform:perspective(700px) rotateY(-14deg) rotateX(4deg) translateY(-2px);}
.card .badge{
  display:inline-block; background:var(--black); color:var(--orange);
  font-size:0.65rem; font-weight:700; letter-spacing:0.08em;
  padding:4px 10px; border-radius:100px; margin-bottom:10px; text-transform:uppercase;
}

/* ---------- 3D phone mockup ---------- */
.phone-stage{
  background:radial-gradient(ellipse at 50% 30%, #FFF7EF 0%, #F1EDE6 65%, #F1EDE6 100%);
  border-radius:10px;
  height:168px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:14px;
  overflow:hidden;
  position:relative;
}
.phone-stage::after{
  content:"";
  position:absolute; bottom:10px; left:50%; transform:translateX(-50%);
  width:74px; height:12px; border-radius:50%;
  background:rgba(0,0,0,0.16); filter:blur(4px);
}
.phone3d{
  width:64px; height:132px;
  border-radius:13px;
  position:relative;
  transform:perspective(700px) rotateY(-22deg) rotateX(6deg);
  transition:transform .35s ease;
  box-shadow:
    10px 14px 22px -8px rgba(0,0,0,0.35),
    inset 0 0 0 2px rgba(255,255,255,0.18);
}
.phone3d::before{ /* screen */
  content:"";
  position:absolute; top:6px; left:6px; right:6px; bottom:6px;
  border-radius:8px;
  background:linear-gradient(145deg, rgba(255,255,255,0.35), rgba(255,255,255,0.02) 40%);
}
.phone3d::after{ /* camera bump */
  content:"";
  position:absolute; top:9px; left:9px;
  width:20px; height:20px; border-radius:6px;
  background:rgba(0,0,0,0.28);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.15);
}
.phone3d .cam{
  position:absolute; width:7px; height:7px; border-radius:50%;
  background:radial-gradient(circle at 35% 35%, #6b6b6b, #1a1a1a 70%);
  box-shadow:0 0 0 1.5px rgba(255,255,255,0.12);
}
.phone3d .cam.c1{top:12px; left:12px;}
.phone3d .cam.c2{top:12px; left:21px;}
.phone3d .cam.c3{top:21px; left:12px;}

.phone-stage.photo-stage{ padding:8px 0 0; }
.real-photo{
  max-height:158px; max-width:78%;
  object-fit:contain;
  filter:drop-shadow(8px 14px 14px rgba(0,0,0,0.28));
  transition:transform .3s ease, opacity .2s ease;
  user-select:none;
  -webkit-user-drag:none;
}
.photo-stage{position:relative;}

.media-track{
  width:100%; height:100%; display:flex; overflow-x:auto; scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch; scrollbar-width:none;
}
.media-track::-webkit-scrollbar{display:none;}
.media-slide{
  flex:0 0 100%; width:100%; height:100%;
  display:flex; align-items:center; justify-content:center; scroll-snap-align:center;
}
.media-dots{
  position:absolute; bottom:6px; left:0; right:0;
  display:flex; justify-content:center; gap:5px; pointer-events:none;
}
.dot{width:5px; height:5px; border-radius:50%; background:rgba(0,0,0,0.18); transition:.15s;}
.dot.active{background:var(--orange-deep); width:14px; border-radius:3px;}
.card:hover .real-photo{ transform:scale(1.04) rotate(-1deg); }
.swatch-row{
  display:flex; gap:8px; justify-content:center; margin:-4px 0 12px;
}
.swatch{
  width:20px; height:20px; border-radius:50%;
  border:2px solid var(--line); cursor:pointer;
  padding:0; box-shadow:0 1px 3px rgba(0,0,0,0.15);
}
.swatch.active{border-color:var(--orange-deep); box-shadow:0 0 0 2px rgba(232,90,12,0.18);}
.card h3{font-size:1.08rem; font-weight:700; line-height:1.25;}
.card .specs{
  font-size:0.72rem; color:var(--muted); margin-top:4px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.card .colors{color:var(--muted); font-size:0.82rem; margin-top:4px;}
.card .price-row{margin-top:14px; display:flex; align-items:baseline; gap:8px;}
.card .price{font-family:'Space Grotesk',sans-serif; font-size:1.55rem; font-weight:700; color:var(--orange-deep);}
.card .price-label{font-size:0.68rem; color:var(--muted); text-transform:uppercase; letter-spacing:0.06em;}
.card .installments{margin-top:6px; font-size:0.82rem; color:var(--text);}
.card .installments b{color:var(--orange-deep);}
.card .installments-alt{font-size:0.78rem; color:var(--muted); margin-top:2px;}
.card a.buy{
  margin-top:14px; display:flex; align-items:center; justify-content:center; gap:8px;
  background:var(--black); color:var(--white); text-decoration:none;
  font-weight:700; font-size:0.85rem; padding:12px; border-radius:10px;
  transition:background .15s ease;
}
.card a.buy:hover{background:var(--orange-deep); color:var(--black);}
.card a.buy svg{width:16px; height:16px; fill:currentColor;}

/* ---------- Footer ---------- */
.footer{
  margin-top:56px;
  background:var(--black); color:var(--white);
  padding:44px 22px 30px; text-align:center;
}
.footer .logo-small{height:44px; width:auto; margin:0 auto 14px; display:block;}
.footer h3{font-size:1.15rem; font-weight:700; margin-bottom:8px;}
.footer p{color:#C9C5BE; font-size:0.85rem; max-width:380px; margin:0 auto 22px;}
.footer .info-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:14px; max-width:420px; margin:0 auto 26px;
  text-align:left;
}
.footer .info-grid div{background:var(--charcoal); border-radius:10px; padding:14px; border:1px solid #2A2A2A;}
.footer .info-grid .label{color:var(--orange); font-size:0.68rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:4px;}
.footer .info-grid .value{font-size:0.82rem; color:#E8E5DF;}
.footer a.cta-big{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--orange); color:var(--black); text-decoration:none;
  font-weight:700; font-size:0.95rem; padding:14px 26px; border-radius:100px;
}
.footer .fine{margin-top:26px; color:#6E6A63; font-size:0.72rem;}
