:root{
    --bg:#060607;
    --surface: rgba(255,255,255,0.06);
    --surface2: rgba(255,255,255,0.10);
    --stroke: rgba(255,255,255,0.10);
    --text: rgba(255,255,255,0.92);
    --muted: rgba(255,255,255,0.62);
    --faint: rgba(255,255,255,0.38);
    --accent:#2CE26B;
    --shadow: 0 18px 60px rgba(0,0,0,0.60);
    --radius: 22px;
    --radius2: 28px;
  }
  
  *{ box-sizing:border-box; }
  html,body{ height:100%; }
  body{
    margin:0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    background: var(--bg);
    color: var(--text);
    overflow-x:hidden;
  }
  
  .bg{
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:-1;
    background:
      radial-gradient(1200px 800px at 20% 10%, rgba(44,226,107,0.14), transparent 50%),
      radial-gradient(900px 700px at 80% 20%, rgba(120,180,255,0.10), transparent 55%),
      radial-gradient(900px 700px at 50% 95%, rgba(255,120,180,0.08), transparent 55%),
      linear-gradient(180deg, #050506, #070709);
  }
  
  .bg-noise{
    position:absolute; inset:0;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
    opacity:.08;
    mix-blend-mode: overlay;
  }
  
  .bg-grid{
    position:absolute; inset:-2px;
    background:
      linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: .06;
    transform: perspective(900px) rotateX(55deg) translateY(-220px);
    transform-origin: top;
  }
  
  .bg-orb{
    position:absolute;
    width:520px; height:520px;
    border-radius:999px;
    filter: blur(26px);
    opacity:.20;
  }
  .orb-1{ left:-180px; top:240px; background: radial-gradient(circle at 30% 30%, rgba(44,226,107,0.75), transparent 60%); }
  .orb-2{ right:-220px; top:120px; background: radial-gradient(circle at 30% 30%, rgba(120,180,255,0.70), transparent 60%); }
  .orb-3{ left:35%; bottom:-320px; background: radial-gradient(circle at 30% 30%, rgba(255,120,180,0.55), transparent 60%); }
  
  .nav{
    position:sticky;
    top:0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 22px;
    backdrop-filter: blur(14px);
    background: rgba(0,0,0,0.45);
    border-bottom:1px solid rgba(255,255,255,0.06);
    z-index:10;
  }
  .nav-left{ display:flex; align-items:center; gap:12px; }
  .logo{ width:38px; height:38px; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.6)); }
  .brand-name{ font-weight:900; letter-spacing:-0.5px; }
  .brand-tag{ font-size:12px; color:var(--muted); letter-spacing:1.3px; text-transform:uppercase; margin-top:2px; }
  
  .nav-right{ display:flex; gap:14px; align-items:center; }
  .nav-link{
    color:var(--muted);
    text-decoration:none;
    font-weight:700;
    font-size:13px;
    padding:8px 10px;
    border-radius:12px;
  }
  .nav-link:hover{ color:var(--text); background: rgba(255,255,255,0.06); }
  
  .wrap{
    max-width:1100px;
    margin:0 auto;
    padding:28px 22px 80px;
  }
  
  .hero{
    display:grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap:34px;
    align-items:center;
    padding-top:18px;
  }
  
  .pill{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 14px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,0.10);
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
    box-shadow: var(--shadow);
    color:var(--muted);
    font-weight:800;
    font-size:13px;
  }
  .dot{
    width:9px; height:9px;
    border-radius:99px;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(44,226,107,0.18);
  }
  
  .h1{
    font-size:54px;
    line-height:1.02;
    margin:16px 0 12px;
    letter-spacing:-1.2px;
    font-weight:950;
  }
  .accent{
    color: var(--accent);
    text-shadow: 0 0 24px rgba(44,226,107,0.22);
  }
  .lead{
    color: var(--muted);
    font-size:16px;
    line-height:1.6;
    max-width:540px;
    margin:0 0 18px;
  }
  .lead.small{ max-width:520px; margin-bottom:14px; }
  
  .cta-row{ display:flex; gap:12px; align-items:center; margin-top:16px; flex-wrap:wrap; }
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 16px;
    border-radius:16px;
    text-decoration:none;
    font-weight:900;
    letter-spacing:0.4px;
    border:1px solid rgba(255,255,255,0.12);
    cursor:pointer;
  }
  .btn-primary{
    background: linear-gradient(180deg, rgba(44,226,107,1), rgba(30,196,92,1));
    color:#021007;
    border: none;
    box-shadow: 0 22px 55px rgba(44,226,107,0.20);
  }
  .btn-primary:hover{ filter: brightness(1.03); transform: translateY(-1px); }
  .btn-secondary{
    background: rgba(255,255,255,0.06);
    color: var(--text);
  }
  .btn-secondary:hover{ background: rgba(255,255,255,0.09); }
  
  .micro{
    margin-top:12px;
    color: var(--faint);
    font-size:12px;
    font-weight:700;
  }
  
  .hero-right{
    position:relative;
    min-height:520px;
  }
  
  .phone3d{
    position:relative;
    width: 320px;
    margin-left:auto;
    transform: perspective(1100px) rotateY(-18deg) rotateX(8deg);
    transform-origin: center;
  }
  .phone-glow{
    position:absolute;
    inset:-30px;
    border-radius: 44px;
    background: radial-gradient(circle at 30% 30%, rgba(44,226,107,0.25), transparent 55%);
    filter: blur(18px);
    opacity:.8;
  }
  .phone{
    position:relative;
    border-radius: 46px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
    border:1px solid rgba(255,255,255,0.14);
    box-shadow: var(--shadow);
  }
  .phone-top{ height:18px; display:flex; justify-content:center; }
  .notch{
    width: 120px; height:14px;
    border-radius: 999px;
    background: rgba(0,0,0,0.55);
    border:1px solid rgba(255,255,255,0.06);
  }
  .screen{
    border-radius: 34px;
    background: radial-gradient(110% 80% at 20% 10%, rgba(44,226,107,0.10), transparent 55%),
                linear-gradient(180deg, rgba(0,0,0,0.82), rgba(0,0,0,0.92));
    border:1px solid rgba(255,255,255,0.10);
    padding:18px 16px 14px;
    min-height: 440px;
  }
  .screen-head{ margin-bottom:12px; }
  .screen-title{ font-size:26px; font-weight:950; letter-spacing:-0.6px; }
  .screen-sub{ font-size:13px; color:var(--muted); margin-top:4px; }
  
  .card{
    margin-top:14px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04));
    border:1px solid rgba(255,255,255,0.10);
    box-shadow: 0 16px 45px rgba(0,0,0,0.55);
    padding:14px;
  }
  .card-title{ font-weight:950; letter-spacing:0.6px; text-transform:uppercase; font-size:12px; color:var(--muted); }
  .card-body{ margin-top:6px; color:var(--text); font-weight:800; font-size:14px; opacity:.9; }
  .card-btn{
    margin-top:12px;
    width:100%;
    border-radius: 16px;
    border:none;
    padding:12px 14px;
    background: rgba(44,226,107,0.14);
    color: rgba(44,226,107,0.95);
    font-weight:950;
    letter-spacing:0.8px;
    text-transform:uppercase;
    cursor:pointer;
  }
  .card-btn:hover{ background: rgba(44,226,107,0.18); }
  
  .row{
    margin-top:12px;
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:10px;
  }
  .mini{
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.10);
    padding:12px;
  }
  .mini-kicker{ font-size:10px; letter-spacing:1.4px; text-transform:uppercase; color:var(--muted); font-weight:950; }
  .mini-big{ font-size:22px; font-weight:950; margin-top:6px; }
  .mini-sub{ font-size:12px; color:var(--faint); margin-top:2px; font-weight:800; }
  .bars{ margin-top:10px; display:flex; gap:6px; align-items:flex-end; height:36px; }
  .bar{
    width:10px; height:12px;
    border-radius:6px;
    background: rgba(255,255,255,0.18);
  }
  .bar.tall{ height:28px; }
  .bar.today{ height:32px; background: rgba(44,226,107,0.95); box-shadow: 0 10px 20px rgba(44,226,107,0.18); }
  .statline{ margin-top:10px; display:flex; gap:10px; color:var(--muted); font-weight:900; font-size:12px; }
  
  .tabs{
    margin-top:16px;
    display:flex;
    justify-content:space-between;
    color: rgba(255,255,255,0.45);
    font-weight:900;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:1px;
  }
  .tab.active{ color: rgba(44,226,107,0.90); }
  
  .watch3d{
    position:absolute;
    right: -6px;
    top: 50px;
    transform: perspective(900px) rotateY(-10deg) rotateX(8deg);
  }
  .watch{
    width: 180px;
    height: 220px;
    border-radius: 44px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
    border:1px solid rgba(255,255,255,0.14);
    box-shadow: var(--shadow);
  }
  .watch-face{
    height:100%;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(0,0,0,0.86), rgba(0,0,0,0.95));
    border:1px solid rgba(255,255,255,0.10);
    padding:14px 12px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
  }
  .watch-title{
    font-weight:950;
    letter-spacing:2px;
    color: rgba(44,226,107,0.9);
    font-size:12px;
  }
  .watch-score{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    gap:10px;
    align-items:center;
  }
  .tname{ color: var(--muted); font-weight:950; font-size:10px; letter-spacing:1px; }
  .pts{ font-size:28px; font-weight:950; margin-top:6px; }
  .vs{ color: var(--faint); font-weight:950; font-size:10px; text-transform:uppercase; letter-spacing:2px; }
  
  .watch-pill{
    border-radius: 999px;
    padding:10px 10px;
    text-align:center;
    background: rgba(44,226,107,0.12);
    color: rgba(44,226,107,0.95);
    border:1px solid rgba(44,226,107,0.20);
    font-weight:950;
    letter-spacing:1px;
    text-transform:uppercase;
    font-size:10px;
  }
  
  .section{ padding-top:50px; }
  .h2{
    font-size:28px;
    font-weight:950;
    letter-spacing:-0.4px;
    margin:0 0 14px;
  }
  .grid{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:12px;
  }
  .feature{
    border-radius: var(--radius);
    border:1px solid rgba(255,255,255,0.10);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    box-shadow: 0 14px 40px rgba(0,0,0,0.52);
    padding:16px 14px;
  }
  .icon{ font-size:18px; opacity:.95; }
  .ftitle{ margin-top:10px; font-weight:950; }
  .ftext{ margin-top:6px; color: var(--muted); font-size:13px; line-height:1.5; }
  
  .steps{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:12px;
  }
  .step{
    border-radius: var(--radius);
    border:1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    padding:16px;
    display:flex;
    gap:12px;
    align-items:flex-start;
  }
  .step-num{
    width:34px; height:34px;
    border-radius:12px;
    background: rgba(44,226,107,0.14);
    border:1px solid rgba(44,226,107,0.20);
    color: rgba(44,226,107,0.95);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:950;
  }
  .step-title{ font-weight:950; }
  .step-text{ margin-top:6px; color:var(--muted); font-size:13px; line-height:1.5; }
  
  .download{ padding-top:44px; }
  .download-card{
    border-radius: var(--radius2);
    border:1px solid rgba(255,255,255,0.10);
    background: radial-gradient(120% 80% at 20% 10%, rgba(44,226,107,0.12), transparent 55%),
                linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    box-shadow: var(--shadow);
    padding:22px;
  }
  
  .footer{
    margin-top:56px;
    display:flex;
    justify-content:space-between;
    gap:14px;
    color:var(--faint);
    font-size:12px;
    font-weight:800;
    border-top:1px solid rgba(255,255,255,0.07);
    padding-top:18px;
  }
  .footer-links{ display:flex; gap:10px; }
  
  @media (max-width: 980px){
    .hero{ grid-template-columns:1fr; }
    .hero-right{ min-height: 580px; }
    .phone3d{ margin: 0; }
    .watch3d{ right: 0; top: 420px; }
    .grid{ grid-template-columns:1fr 1fr; }
    .steps{ grid-template-columns:1fr; }
  }
  .feature3d{
    padding: 90px 0;
    position: relative;
  }
  .container{
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
  }
  .section-head h2{
    font-size: clamp(28px, 3vw, 40px);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
  }
  .section-head p{
    max-width: 680px;
    opacity: 0.8;
    margin: 0 0 28px;
  }
  .cards3d{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .card3d{
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    padding: 18px 18px 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    position: relative;
    overflow: hidden;
  }
  .card3d:before{
    content:"";
    position:absolute;
    inset:-1px;
    background: radial-gradient(600px 200px at 20% 0%, rgba(0,255,140,0.12), transparent 55%);
    pointer-events:none;
  }
  .card3d-top{
    height: 140px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom: 10px;
  }
  .card3d-img{
    height: 140px;
    width: auto;
    filter: drop-shadow(0 18px 20px rgba(0,0,0,0.35));
    transform: translateY(4px);
    transition: transform 220ms ease;
  }
  .card3d h3{
    margin: 10px 0 6px;
    font-size: 16px;
    letter-spacing: -0.01em;
  }
  .card3d p{
    margin: 0;
    font-size: 13px;
    opacity: 0.78;
    line-height: 1.35;
  }
  .card3d:hover{
    transform: translateY(-6px);
    border-color: rgba(0,255,140,0.28);
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  }
  .card3d:hover .card3d-img{
    transform: translateY(0px) scale(1.03);
  }
  @media (max-width: 900px){
    .cards3d{ grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 560px){
    .cards3d{ grid-template-columns: 1fr; }
  }
    /* Device image + UI overlay system */
.device {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}

.device-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,0.6));
}

/* The UI “sticker” that sits on top of the device image */
.device-screen {
  position: absolute;
  overflow: hidden;
  border-radius: 24px;
}

/* iPhone screen placement (tweak these numbers if needed) */
.phone-screen {
  left: 14%;
  right: 14%;
  top: 18%;
  bottom: 14%;
  border-radius: 28px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(6px);
  padding: 18px;
}

/* Watch screen placement (tweak these numbers if needed) */
.watch-screen {
  left: 24%;
  right: 24%;
  top: 22%;
  bottom: 26%;
  border-radius: 22px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(6px);
  padding: 14px;
}

/* Optional: make sure watch text looks centered and clean */
.watch-screen .watch-title {
  text-align: center;
}
/* =========================
   HERO DEVICES: HOVER SEPARATE
   Paste at the very bottom of styles.css
   ========================= */

/* Smooth movement */
.hero-right .phone3d,
.hero-right .watch3d {
  transition: translate 320ms ease, filter 320ms ease;
  will-change: translate;
}

/* Only apply hover effects on devices that actually support hover */
@media (hover: hover) and (pointer: fine) {
  /* When you hover anywhere on the device area, both separate */
  .hero-right:hover .phone3d,
  .hero-right:focus-within .phone3d {
    translate: -70px 35px; /* phone moves left + down */
    filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.45));
  }

  .hero-right:hover .watch3d,
  .hero-right:focus-within .watch3d {
    translate: 70px -45px; /* watch moves right + up */
    filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.55));
  }
}

/* Optional: respect reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .hero-right .phone3d,
  .hero-right .watch3d {
    transition: none;
  }
}
