/* ── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #09090b;
  --bg2:       #111113;
  --bg3:       #18181b;
  --border:    rgba(255,255,255,0.07);
  --text:      #f4f4f5;
  --muted:     #71717a;
  --accent:    #6366f1;
  --accent2:   #22c55e;
  --win:       #3b82f6;
  --android:   #22c55e;
  --radius:    16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ───────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(9,9,11,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-size: 18px; font-weight: 800; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: var(--text) !important;
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 8px;
  transition: background .2s, border-color .2s !important;
}
.nav-cta:hover { background: var(--bg2) !important; border-color: rgba(255,255,255,0.15) !important; }

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.hero::before {
  content:''; position:absolute; top:-200px; left:-10%;
  width:600px; height:600px;
  background:radial-gradient(circle,rgba(99,102,241,.13) 0%,transparent 70%);
  pointer-events:none;
}
.hero::after {
  content:''; position:absolute; bottom:-100px; right:-5%;
  width:500px; height:500px;
  background:radial-gradient(circle,rgba(34,197,94,.08) 0%,transparent 70%);
  pointer-events:none;
}

/* Fixed-width stage — all three items positioned inside this */
.hero-stage {
  position: relative;
  width: 1000px;
  height: 640px;
}

/* LAPTOP SVG — left side */
.h-laptop {
  position: absolute;
  left: -5%; top: 60%;
  transform: translateY(-50%) rotateY(12deg) rotateX(3deg);
  animation: floatLeft 6s ease-in-out infinite;
  z-index: 2;
}
@keyframes floatLeft {
  0%,100% { transform: translateY(-50%) rotateY(12deg) rotateX(3deg); }
  50%      { transform: translateY(calc(-50% - 16px)) rotateY(16deg) rotateX(1deg); }
}

/* 1.png — independent, behind laptop SVG */
.laptop-bg-img {
  position: absolute;
  z-index: 1;
  pointer-events: none;

  /* ── DESKTOP POSITION & SIZE ─────────────────────────── */
  width:  550px;
  top:    calc(50% - 150px);
  left:   calc(-1% - 230px);
  transform: translateY(-50%) rotateY(12deg) rotateX(3deg);
  /* ─────────────────────────────────────────────────────── */

  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  animation: floatLeft 6s ease-in-out infinite;
}

/* PHONE SVG — right side */
.h-phone {
  position: absolute;
  right: 80px; top: 60%;
  transform: translateY(-50%) rotateY(-12deg) rotateX(3deg);
  animation: floatRight 6s ease-in-out infinite;
  animation-delay: 0.9s;
  z-index: 4;
}
@keyframes floatRight {
  0%,100% { transform: translateY(-50%) rotateY(-12deg) rotateX(3deg); }
  50%      { transform: translateY(calc(-50% - 16px)) rotateY(-16deg) rotateX(1deg); }
}

/* 2.png — independent, behind phone SVG */
.phone-bg-img {
  position: absolute;
  z-index: -1;
  pointer-events: none;

  /* ── DESKTOP POSITION & SIZE ─────────────────────────── */
  width:  1150px;
  top:    330px;
  left:   320px;
  transform: translate(-50%, -50%);
  /* ─────────────────────────────────────────────────────── */

  animation: floatRight 8s ease-in-out infinite;
  animation-delay: 0.9s;
}

/* CONNECTION LINE — laptop right edge ~370px, phone left edge ~705px */
.h-line {
  position: absolute;
  left: 290px;
  width: 555px;
  top: 130px;
  height: 120px;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

/* CENTER TEXT — above the connection line */
.h-text {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 380px;
  z-index: 10;           /* above h-line (z-index: 3) */
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--accent);
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 18px;
}

h1 {
  font-size: 70px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -2.5px;
  margin-bottom: 16px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  /* font-family: ge; */
  font-size: 15px; line-height: 1.7;
  text-align: justify;
  text-align: center;
  color: var(--muted); margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: var(--radius-sm);
  transition: opacity .2s, transform .15s;
  border: none; cursor: pointer;
}
.btn-primary:hover { opacity:.9; transform:translateY(-1px); }
.btn-primary:active { transform:translateY(0); }

/* ── DEVICES ───────────────────────────────────────────── */
.laptop-screen {
  width: 336px; height: 214px;
  background: linear-gradient(145deg,#1e1e2e,#16161d);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 12px 12px 0 0;
  padding: 18px;
  margin-top: -18px;
  box-shadow: 0 0 50px rgba(99,102,241,.18), inset 0 0 20px rgba(0,0,0,.3);
  position: relative; z-index: 6;   /* above 1.png (z-index: 5) */
}
.laptop-base {
  width: 336px; height: 10px;
  background: linear-gradient(to bottom,#2a2a3a,#1a1a26);
  border-radius: 0 0 4px 4px;
  border: 1px solid rgba(255,255,255,.08);
}
.laptop-hinge {
  width: 360px; height: 10px;
  background: #27272a; border-radius: 2px;
  box-shadow: 0 6px 24px rgba(0,0,0,.5);
}
.laptop-ui { font-size: 11px; color: #e2e8f0; }
.lui-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; margin-right: 6px; vertical-align: middle;
  box-shadow: 0 0 8px #22c55e; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.lui-label { font-size: 10px; color: #94a3b8; }
.lui-clip {
  margin-top: 14px; padding: 7px 9px;
  background: rgba(99,102,241,.2); border-radius: 6px;
  font-size: 10px; color: #a5b4fc; border: 1px solid rgba(99,102,241,.3);
}
.lui-call {
  margin-top: 8px; padding: 7px 9px;
  background: rgba(34,197,94,.15); border-radius: 6px;
  font-size: 10px; color: #86efac; border: 1px solid rgba(34,197,94,.25);
  animation: callBlink 2s ease-in-out infinite;
}
@keyframes callBlink { 0%,100%{opacity:1} 50%{opacity:.5} }

.phone-screen {
  width: 180px; height: 330px;
  background: linear-gradient(145deg,#1a1a2e,#12121e);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 32px; padding: 22px 16px;
  box-shadow: 0 0 40px rgba(34,197,94,.12), inset 0 0 20px rgba(0,0,0,.3);
}
.phone-btn {
  width: 60px; height: 6px; background: rgba(255,255,255,.18);
  border-radius: 3px; margin: 8px auto 0;
}
.phone-ui { font-size: 13px; color: #e2e8f0; }
.pui-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.pui-status { font-size: 11px; color: #86efac; margin-bottom: 18px; }
.pui-item {
  padding: 7px 10px; margin-bottom: 6px;
  background: rgba(255,255,255,.05); border-radius: 6px;
  font-size: 11px; color: #94a3b8;
}

/* ── FEATURES ──────────────────────────────────────────── */
.features {
  padding: 80px 48px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px; margin: 0 auto;
}
.feat-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  cursor: default;
  transition: border-color .3s, transform .15s;
  transform-style: preserve-3d;
}
.feat-card:hover { border-color: rgba(255,255,255,0.14); }
.feat-icon { font-size: 28px; margin-bottom: 14px; }
.feat-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feat-card p  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── DOWNLOAD ──────────────────────────────────────────── */
.download { padding: 100px 48px; }
.download-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.download h2 { font-size: 42px; font-weight: 900; letter-spacing: -1.5px; margin-bottom: 8px; }
.section-sub { font-size: 15px; color: var(--muted); margin-bottom: 52px; }

.platform-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 32px;
}

.platform-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: border-color .3s, transform .2s;
  text-align: center;
}
.platform-card:hover:not(.coming-soon) {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}
.platform-card.featured {
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 0 40px rgba(99,102,241,0.08);
}

.platform-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.platform-icon svg { width: 26px; height: 26px; }
.win-icon  { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.2); }
.and-icon  { background: rgba(34,197,94,0.15);  color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.mac-icon  { background: rgba(161,161,170,0.1); color: #a1a1aa; border: 1px solid rgba(255,255,255,0.08); }

.platform-info h3 { font-size: 18px; font-weight: 700; }
.version { font-size: 12px; color: var(--muted); }
.coming-tag { color: var(--muted); font-style: italic; }

.dl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: opacity .2s, transform .15s;
  margin-top: 4px;
}
#cardWindows .dl-btn {
  background: rgba(59,130,246,0.15);
  color: #93c5fd;
  border: 1px solid rgba(59,130,246,0.3);
}
#cardAndroid .dl-btn {
  background: rgba(34,197,94,0.15);
  color: #86efac;
  border: 1px solid rgba(34,197,94,0.3);
}
.dl-btn:hover:not(.disabled) { opacity: 0.85; transform: translateY(-1px); }
.dl-btn.disabled {
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  border: 1px solid var(--border);
  cursor: not-allowed;
}
.dl-arrow { font-size: 16px; }
.platform-req { font-size: 11px; color: var(--muted); }

.coming-soon { opacity: 0.5; }

.install-note {
  font-size: 12.5px; color: var(--muted);
  background: rgba(234,179,8,0.07);
  border: 1px solid rgba(234,179,8,0.15);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-align: left; line-height: 1.6;
}
.install-note strong { color: #fde68a; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq {
  padding: 100px 48px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq-inner { max-width: 680px; margin: 0 auto; }
.faq h2 { font-size: 36px; font-weight: 900; letter-spacing: -1px; margin-bottom: 40px; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(255,255,255,0.12); }
.faq-item[open] { border-color: rgba(99,102,241,0.3); }

.faq-item summary {
  padding: 18px 20px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 18px; color: var(--muted);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 20px 18px;
  font-size: 13.5px; color: var(--muted); line-height: 1.7;
}

/* ── FEEDBACK ──────────────────────────────────────────── */
.feedback { padding: 100px 48px; }
.feedback-inner {
  max-width: 520px; margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.feedback-emoji { font-size: 48px; }
.feedback h2 { font-size: 36px; font-weight: 900; letter-spacing: -1px; }
.feedback p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.feedback-alt { font-size: 13px; color: var(--muted); margin-top: 4px; }
.feedback-alt a { color: var(--accent); text-decoration: none; }
.feedback-alt a:hover { text-decoration: underline; }

/* ── FOOTER ────────────────────────────────────────────── */
footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo { font-size: 16px; font-weight: 800; }
.footer-copy { font-size: 12px; color: var(--muted); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1060px) {
  .hero-stage { width: 94vw; height: auto; min-height: 420px; }
  .h-text { width: 320px; }
  h1 { font-size: 48px; }
  /* ── laptop SVG ── */
  .h-laptop { width: auto; top: 50%; left: -1%; }
  /* ── 1.png ── */
  .laptop-bg-img { width: 500px; top: calc(50% - 10px); left: calc(-1% - 180px); }
  /* ── phone SVG ── */
  .h-phone { width: auto; right: 120px; top: 55%; }
  /* ── 2.png ── */
  .phone-bg-img { width: 280px; top: -30px; left: -50px; }
}

@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 60px; align-items: flex-start; }
  .hero-stage { width: 100%; height: auto; display: flex; flex-direction: column; align-items: center; gap: 32px; }
  .h-text { position: static; transform: none !important; text-align: center; }
  .h-line { display: none; }
  h1 { font-size: 40px; }
  .features { padding: 60px 24px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .download, .faq, .feedback { padding: 70px 24px; }
  .platform-cards { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto 32px; }
  footer { padding: 24px; flex-direction: column; gap: 8px; text-align: center; }
  /* ── laptop SVG ── */
  .h-laptop {
    position: relative; transform: none !important;
    top: auto; left: auto;
    animation: floatLeft 6s ease-in-out infinite !important;
    width: 100px;
    top: -80px;
    right: 50px;
  }
  /* ── 1.png ── */
  .laptop-bg-img {
    position: relative; transform: none !important;
    animation: floatLeft 6s ease-in-out infinite !important;
    width:  440px;
    top:    -20px;
    left:   -40px;
  }
  /* ── phone SVG ── */
  .h-phone {
    position: relative;
    animation: floatRight 6s ease-in-out infinite !important;
    transform: scale(0.1);
    top: -920px;
    right: 100px;
  }
  /* ── 2.png ── */
  .phone-bg-img {
    position: relative; transform: none !important;
    animation: floatRight 6s ease-in-out infinite !important; animation-delay: 0.9s !important;
    width:  1200px;
    top:    -5%;
    left:   -170px;
    z-index: 5;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 38px; letter-spacing: -1.5px; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  /* ── laptop SVG ── */
  .h-laptop { 
  width: 100px; 
  top: -80px;
  right: 50px;
  }
  /* ── 1.png ── */
  .laptop-bg-img {
    width:  440px;      /* ← image width  */
    top:    -20px;       /* ← vertical offset */
    left:   -40px;       /* ← horizontal offset */
  }
  /* ── phone SVG ── */
  .h-phone {
  transform: scale(0.1);
  top: -750px;
  right: 100px;
}
  /* ── 2.png ── */
  .phone-bg-img {
    width:  1200px;      /* ← image width  */
    top:    -5%;        /* ← vertical offset */
    left:   -170px;       /* ← horizontal offset */
    z-index: 5;
  }
}
