:root {
  --bg: #0a0e14;
  --bg-soft: #10161f;
  --card: #151d29;
  --border: rgba(255,255,255,0.08);
  --text: #e8edf4;
  --muted: #93a1b5;
  --accent: #34d2a0;
  --accent-2: #4f8cff;
  --grad: linear-gradient(120deg, #34d2a0, #4f8cff);
  --maxw: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #06281d; }
section[id], header[id] { scroll-margin-top: 75px; }

/* ---------- Nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem max(6vw, calc((100% - 1240px) / 2));
  background: rgba(10,14,20,0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.logo { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; color: var(--text); }
.logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  background: var(--grad); color: #06281d !important; font-weight: 700 !important;
  padding: 0.5rem 1.2rem; border-radius: 99px;
}
.burger { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ---------- Hero (left-aligned, desktop-capped) ---------- */
.hero-logo {
  display: block; width: min(420px, 70vw); height: auto;
  filter: drop-shadow(0 2px 14px rgba(79,140,255,0.3));
  margin: 0 0 1.5rem -14px;
  position: relative; z-index: 1;
}
header.hero {
  display: flex; flex-direction: column; justify-content: center;
  padding: 6.5rem max(6vw, calc((100% - 1240px) / 2)) 3rem;
  position: relative; overflow: hidden;
}
header.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(79,140,255,0.16), transparent),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(52,210,160,0.12), transparent);
  pointer-events: none;
}
header.page-hero {
  padding: 6.5rem max(6vw, calc((100% - 1240px) / 2)) 1.5rem;
  position: relative; overflow: hidden;
}
header.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(79,140,255,0.14), transparent);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  max-width: 18ch;
}
h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 56ch; color: var(--muted); font-size: 1.1rem; margin: 1.1rem 0 1.6rem; }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: .8rem 1.7rem; border-radius: 99px; transition: transform .2s, box-shadow .2s;
  border: none; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--grad); color: #06281d; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(52,210,160,0.25); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-stats {
  display: flex; gap: 1.5rem 3rem; flex-wrap: wrap;
  margin-top: 2rem; border-top: 1px solid var(--border); padding-top: 1.5rem;
  width: 100%;
}
.stat b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: .85rem; }

/* ---------- Sections (left-aligned, desktop-capped) ---------- */
section { padding: 3.5rem max(6vw, calc((100% - 1240px) / 2)); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-label {
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .6rem;
}
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; }

/* About */
#about { background: var(--bg-soft); border-block: 1px solid var(--border); }
.about-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start;
  max-width: var(--maxw); margin: 1.25rem auto 0;
}
.about-grid p { color: var(--muted); margin-bottom: 1rem; }
.about-grid p strong { color: var(--text); }
.channel-cards { display: grid; gap: .9rem; }
.channel {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.3rem; transition: border-color .25s, transform .25s;
}
.channel:hover { border-color: var(--accent); transform: translateY(-3px); }
.channel h3 { font-size: 1.05rem; margin-bottom: .35rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.channel p { font-size: .92rem; margin: 0; }
.pill {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(52,210,160,0.12); color: var(--accent);
  padding: .2rem .6rem; border-radius: 99px;
}

/* Divisions */
.div-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem; margin: 1.5rem auto 0; max-width: var(--maxw);
}
.division {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 1.6rem 1.4rem; position: relative; overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.division::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .25s;
}
.division:hover { transform: translateY(-4px); border-color: rgba(79,140,255,0.4); }
.division:hover::before { opacity: 1; }
.division .icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.25rem;
  background: rgba(79,140,255,0.12); margin-bottom: .9rem;
}
.division h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.division p { color: var(--muted); font-size: .92rem; }

/* Pricing */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem; margin: 1.75rem auto 0; align-items: stretch; max-width: var(--maxw);
}
.plan {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 1.9rem 1.5rem 1.7rem; display: flex; flex-direction: column;
  position: relative;
  transition: transform .25s, border-color .25s;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(79,140,255,0.45); }
.plan.featured { border-color: var(--accent); box-shadow: 0 10px 40px rgba(52,210,160,0.12); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #06281d; font-size: .7rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .25rem .8rem; border-radius: 99px; white-space: nowrap;
}
.plan h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.plan .tier-tag { font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }
.plan .price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; }
.plan .price span { font-size: .9rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; margin: 1.2rem 0 1.5rem; display: grid; gap: .55rem; flex: 1; }
.plan ul li { color: var(--muted); font-size: .9rem; padding-left: 1.5rem; position: relative; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan .btn { text-align: center; }
.pricing-note { color: var(--muted); font-size: .85rem; margin: 1.75rem auto 0; max-width: var(--maxw); }

/* Shop */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem; margin: 1.75rem auto 0; max-width: var(--maxw);
}
.product-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(79,140,255,0.45); }
.product-card > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; border-bottom: 1px solid var(--border); }
.product-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.product-desc { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; flex: 1; }
.tier-table { list-style: none; margin-bottom: 1.2rem; }
.tier-table li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .45rem 0; border-top: 1px dashed var(--border);
  color: var(--muted); font-size: .88rem;
}
.tier-table li:last-child { border-bottom: 1px dashed var(--border); }
.tier-table b { color: var(--text); font-weight: 700; }
.tier-table i { font-style: normal; font-weight: 500; color: var(--muted); font-size: .78rem; }
.product-body .btn { text-align: center; }

/* Legal pages */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 1.5rem 6vw 3.5rem; text-align: left; }
.legal-wrap .effective { color: var(--muted); font-size: .9rem; margin-bottom: 1.75rem; }
.legal-wrap h2 { font-size: 1.3rem; margin: 1.9rem 0 .6rem; }
.legal-wrap h3 { font-size: 1.05rem; margin: 1.2rem 0 .4rem; }
.legal-wrap p, .legal-wrap li { color: var(--muted); font-size: .96rem; margin-bottom: .8rem; }
.legal-wrap ul, .legal-wrap ol { padding-left: 1.4rem; margin-bottom: .9rem; }
.legal-wrap li { margin-bottom: .35rem; }
.legal-wrap strong { color: var(--text); }
.legal-wrap a { color: var(--accent); }

/* Contact */
#contact { background: var(--bg-soft); border-top: 1px solid var(--border); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
  margin: 1.25rem auto 0; max-width: var(--maxw);
}
.contact-list { list-style: none; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(52,210,160,0.12); font-size: 1.1rem;
}
.contact-list b { display: block; font-size: .95rem; }
.contact-list span, .contact-list a { color: var(--muted); font-size: .92rem; text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
form { display: grid; gap: .9rem; }
input, textarea {
  width: 100%; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: .85rem 1.1rem; color: var(--text);
  font: inherit; font-size: .95rem; transition: border-color .2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { min-height: 120px; resize: vertical; }
form .btn-primary { justify-self: start; }
.form-note { font-size: .8rem; color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 2.5rem max(6vw, calc((100% - 1240px) / 2)) 1.5rem; background: var(--bg); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2rem; margin: 0 auto 1.75rem; max-width: var(--maxw);
}
.footer-grid h4 {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text); margin-bottom: .8rem;
}
.footer-grid ul { list-style: none; display: grid; gap: .5rem; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: var(--muted); font-size: .9rem; margin-bottom: .5rem; }
.footer-about .logo { display: inline-block; margin-bottom: .6rem; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.2rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--muted); font-size: .82rem;
  max-width: var(--maxw); margin: 0 auto;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  section { padding: 2.75rem 6vw; }
  header.hero { padding: 6rem 6vw 2.5rem; }
  header.page-hero { padding: 6rem 6vw 1rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 1.25rem 2rem; margin-top: 1.75rem; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(10,14,20,0.97);
    border-bottom: 1px solid var(--border); padding: .75rem 6vw;
    align-items: center; text-align: center;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: .6rem 0; width: 100%; }
  .burger { display: block; }
}

/* ---------- Phone ---------- */
@media (max-width: 560px) {
  section { padding: 2.5rem 6vw; }
  .hero-sub { font-size: 1rem; }
  .stat b { font-size: 1.4rem; }
  .stat span { font-size: .78rem; }
  .btn-row { width: 100%; }
  .btn-row .btn { width: min(320px, 100%); }
  .plan { padding: 1.7rem 1.3rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { justify-content: center; text-align: center; }
}
