:root{
  --bg: #0B1220;
  --bg2:#0E172A;
  --card:#111C33;
  --text:#EAF0FF;
  --muted:#B7C0D0;
  --line: rgba(255,255,255,.10);

  --primary:#16C7B3;  /* deep teal */
  --primary2:#1E88FF; /* tech blue */
  --danger:#FF5A6A;

  --shadow: 0 18px 55px rgba(0,0,0,.35);
  --radius: 18px;

  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

[data-theme="light"]{
  --bg:#F6F8FF;
  --bg2:#FFFFFF;
  --card:#FFFFFF;
  --text:#0B1220;
  --muted:#445064;
  --line: rgba(11,18,32,.12);
  --shadow: 0 16px 40px rgba(12,22,48,.12);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background: radial-gradient(1200px 600px at 10% 0%, rgba(30,136,255,.20), transparent 60%),
              radial-gradient(900px 500px at 95% 15%, rgba(22,199,179,.16), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width:min(1140px, 92%);
  margin:0 auto;
}

/* Top Notice */
.topbar{
  border-bottom:1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.topbar__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  gap:12px;
  font-size:14px;
  color:var(--muted);
}
.topbar__cta{
  color:var(--text);
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.04);
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(10,16,30,.62);
  border-bottom:1px solid var(--line);
}
[data-theme="light"] .header{ background: rgba(255,255,255,.72); }

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.2px;
}
.brand__logo{ width:28px; height:28px; border-radius:6px; }
.brand__text{ font-size:18px; }

.nav{
  display:flex;
  align-items:center;
  gap:16px;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
}
.nav a{ padding:8px 10px; border-radius:10px; }
.nav a:hover{ background: rgba(255,255,255,.06); color:var(--text); }

.header__actions{
  display:flex;
  align-items:center;
  gap:10px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.btn--primary{
  border-color: rgba(22,199,179,.35);
  background-color: transparent;
  background-image: linear-gradient(135deg, rgba(22,199,179,.22), rgba(30,136,255,.18));
}


.btn--secondary{
  border-color: rgba(30,136,255,.35);
  background: rgba(30,136,255,.10);
}
.btn--ghost{
  background: transparent;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

/* ✅ Theme button same as Download button */
#themeToggle{
  border-color: rgba(22,199,179,.35) !important;
  background: linear-gradient(135deg, rgba(22,199,179,.22), rgba(30,136,255,.18)) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.16);
}
#themeToggle:hover{
  border-color: rgba(22,199,179,.55) !important;
}
/* Theme icon chip inside primary button */
#themeToggle .icon{
  width:28px;
  height:28px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  line-height:1;
}

/* Hamburger */
.hamburger{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  cursor:pointer;
}
.hamburger span{
  display:block;
  height:2px;
  width:18px;
  margin:5px auto;
  background: var(--text);
  border-radius:999px;
}

/* Mobile Nav */
.mobileNav{
  border-top:1px solid var(--line);
  background: rgba(10,16,30,.72);
}
[data-theme="light"] .mobileNav{ background: rgba(255,255,255,.85); }
.mobileNav__inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding:14px 0;
}
.mobileNav__link{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  color:var(--muted);
  background: rgba(255,255,255,.04);
}
/* Hero */
/* Restore hero right-side media layout */
.hero__grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* text left, media right */
  gap: 24px;
  align-items: center;
}

.hero__media{
  display: flex;
  justify-content: flex-end;  /* push card to right like before */
  align-items: center;
  position: relative;
  overflow: visible;          /* IMPORTANT: allow badge outside */
}

/* Keep the mockup card size like before (not full width) */
.glassCard{
  position: relative;
  width: min(560px, 100%);
  overflow: visible !important; /* IMPORTANT: don't clip badge */
}

/* Ensure image fits card */
.mockup{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* Badge overlap ON the white/right panel area */
.hero__badge{
  position: absolute;
  right: 28px;
  top: 150px;                 /* ✅ overlaps on white side */
  width: 180px;
  z-index: 999;               /* ✅ always above mockup */
  pointer-events: none;
}

.hero__badge img{
  width: 100%;
  height: auto;
  display: block;
}

/* ✅ Mobile fix */
@media (max-width: 768px){
  .hero__grid{
    grid-template-columns: 1fr; /* stack */
  }

  .hero__media{
    justify-content: center;    /* center mockup */
    margin-top: 14px;
  }

  .glassCard{
    width: min(560px, 100%);
  }

  .hero__badge{
    right: 12px;
    top: 12px;                 /* ✅ visible on mobile */
    width: 130px;
  }
}



h1{
  margin:14px 0 10px;
  font-size:44px;
  line-height:1.1;
  letter-spacing:-.6px;
}
.sub{
  margin:0 0 18px;
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
}
.hero__cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.trust{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color:var(--muted);
  font-weight:600;
}
.trust__item{
  display:flex;
  gap:10px;
  align-items:center;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(255,255,255,.03);
}
.trust__num{ font-size:18px; }

/* Hero media */
.hero__media{ position:relative; }

.glassCard{
  position:relative;
  z-index:1;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.glassCard__top{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  color:var(--muted);
}
.dot{ width:10px; height:10px; border-radius:999px; opacity:.9; }
.dot--r{ background: #FF5A6A; }
.dot--y{ background: #FFC44D; }
.dot--g{ background: #2CE6A6; }
.glassCard__title{
  margin-left:8px;
  font-weight:800;
  color:var(--text);
}

/* mockup stays crisp */
.mockup{
  width:100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter:none;
  opacity:1;
}

/* ✅ FIX: Hero cards positioning (no overlap mess) */
.floatingBadge{
  position:absolute;
  z-index:3;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  max-width: 250px;
}

.floatingBadge{
  left: 10px;
  bottom: 14px;
}

.floatingBadge--2{
  left:auto;
  right: 10px;
  top: 14px;
}

.badgeIcon{
  width:36px;
  height:36px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background: rgba(22,199,179,.14);
  border:1px solid rgba(22,199,179,.25);
}
.badgeTitle{ font-weight:900; }
.badgeSub{ color:var(--muted); font-size:13px; margin-top:2px; }

/* background glow */
.hero__bg{
  position:absolute;
  inset:auto -20% -60% -20%;
  height:520px;
  background: radial-gradient(circle at 20% 30%, rgba(30,136,255,.22), transparent 60%),
              radial-gradient(circle at 70% 10%, rgba(22,199,179,.18), transparent 55%);
  filter: blur(22px);
  opacity:.9;
  pointer-events:none;
}

/* Sections */
.section{ padding:64px 0; }
.section--alt{
  background: rgba(255,255,255,.03);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section__head{
  margin-bottom:24px;
}
.section__head h2{
  margin:0 0 6px;
  font-size:30px;
  letter-spacing:-.3px;
}
.section__head p{ margin:0; color:var(--muted); }

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  padding:18px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
}
.card__icon{
  width:44px;
  height:44px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background: rgba(30,136,255,.10);
  border:1px solid rgba(30,136,255,.22);
  font-size:20px;
  margin-bottom:10px;
}
.card h3{ margin:0 0 6px; }
.card p{ margin:0; color:var(--muted); line-height:1.6; }

/* Products */
.productGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.product{
  position:relative;
  padding:18px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.product--highlight{
  border-color: rgba(22,199,179,.35);
  background: linear-gradient(135deg, rgba(22,199,179,.12), rgba(30,136,255,.08));
  box-shadow: var(--shadow);
}
.tag{
  position:absolute;
  top:14px;
  right:14px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  color: var(--text);
  border:1px solid rgba(22,199,179,.30);
  background: rgba(22,199,179,.12);
}

/* Lists */
.list{
  margin:12px 0 14px;
  padding-left:18px;
  color:var(--muted);
}
.list li{ margin:8px 0; }

/* Download */
.download{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}
.download__box{
  padding:22px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}
.download__buttons{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0;
}
.download__meta{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  color:var(--muted);
  border-top:1px solid var(--line);
  padding-top:14px;
}
.download__aside{
  display:grid;
  gap:14px;
}
.asideCard{
  padding:18px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
}

/* Pricing */
.pricingGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

.priceCard{
  position:relative;
  padding:18px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}

.priceCard--best{
  border-color: rgba(30,136,255,.40);
  background: linear-gradient(135deg, rgba(30,136,255,.14), rgba(22,199,179,.08));
  box-shadow: var(--shadow);
}

.priceWrap{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin: 10px 0 0;
}

.priceNow{
  font-size:34px;
  font-weight:900;
}

.priceWas{
  font-size:16px;
  font-weight:800;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
  opacity: .85;
}

:root[data-theme="light"] .priceCard{
  background: #fff;
}



/* FAQ */
.faq{
  display:grid;
  gap:10px;
}
.faqItem{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding:12px 14px;
}
.faqItem summary{
  cursor:pointer;
  font-weight:800;
}
.faqBody{ color:var(--muted); margin-top:10px; line-height:1.7; }

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:start;
}
.contact__chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:14px 0;
}
.chip{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.04);
  color:var(--muted);
}
.contact__form{
  padding:18px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.contact__form label{
  display:block;
  font-weight:700;
  margin-bottom:10px;
}
.contact__form input,
.contact__form textarea{
  width:100%;
  margin-top:8px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.12);
  color:var(--text);
  outline:none;
}
[data-theme="light"] .contact__form input,
[data-theme="light"] .contact__form textarea{
  background: rgba(11,18,32,.04);
}
.contact__form input:focus,
.contact__form textarea:focus{
  border-color: rgba(30,136,255,.45);
}

/* Footer */
.footer{
  padding:22px 0;
  border-top:1px solid var(--line);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footer__links{
  display:flex;
  gap:14px;
  color:var(--muted);
  font-weight:700;
  font-size:14px;
}

/* Back to top */
.toTop{
  position:fixed;
  right:16px;
  bottom:16px;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
  display:none;
}

/* Responsive */
.hide-sm{ display:inline; }

@media (max-width: 1100px){
  .floatingBadge{ left: 8px; bottom: 10px; max-width: 220px; }
  .floatingBadge--2{ right: 8px; top: 10px; max-width: 220px; }
}

@media (max-width: 980px){
  h1{ font-size:38px; }
  .hero__grid{ grid-template-columns:1fr; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .productGrid{ grid-template-columns:1fr; }
  .download{ grid-template-columns:1fr; }
  .pricingGrid{ grid-template-columns:1fr; }
  .contact{ grid-template-columns:1fr; }
  .nav{ display:none; }
  .hamburger{ display:inline-block; }
  .hide-sm{ display:none; }
}

/* On very small screens, hide floating cards for clean hero */
@media (max-width: 720px){
  .floatingBadge, .floatingBadge--2{ display:none; }
}
