/* ═══════════════════════════════════════════════════════════════
   EASYSTREAM — Design.css
   Shared stylesheet for all pages (Landing, Terms, Privacy, Contact)
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --brand: #4A489E;
  --brand-dark: #3a3880;
  --brand-light: #6C63FF;
  --text-primary: #1a1a2e;
  --text-secondary: #555;
  --text-muted: #888;
  --surface: #ffffff;
  --bg: #f4f4f8;
  --border: #e2e2ea;
  --gradient-main: linear-gradient(135deg, #4A489E 0%, #3a3880 30%, #0f766e 100%);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--gradient-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a { text-decoration: none; }


/* ═══════════════════════════════════════════════════════════════
   NAVBAR — shared across ALL pages
   ═══════════════════════════════════════════════════════════════ */
nav,
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, #4A489E 0%, #4A489E 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Sub-page nav uses .nav + .nav-inner for max-width centering */
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo svg { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  transition: color 150ms;
  text-decoration: none;
}

.nav-links a:hover { color: white; }

/* Sub-page nav link overrides (uppercase style) */
.nav .nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.nav-cta {
  background: white !important;
  color: #4A489E !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 14px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.nav .nav-links .nav-cta {
  background: var(--brand) !important;
  color: white !important;
  padding: 10px 24px;
  border-radius: 99px;
  box-shadow: none;
  transition: background 0.2s, transform 0.2s;
}

.nav .nav-links .nav-cta:hover {
  background: #3a3880 !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 250ms ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu (landing page) */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: linear-gradient(180deg, #3a3880 0%, #2d2b6e 100%);
  padding: 16px 24px 24px;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
}

.mobile-menu a:last-child { border-bottom: none; }

.mobile-menu .mobile-cta {
  margin-top: 16px;
  background: white;
  color: #4A489E !important;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-align: center;
  border-bottom: none !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Sub-page mobile nav dropdown */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #4A489E 0%, #3a3880 30%, #0f766e 100%);
  border-bottom: 1px solid var(--border);
  padding: 20px 32px;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}


/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE — Hero
   ═══════════════════════════════════════════════════════════════ */
.hero {
  background: var(--gradient-main);
  padding: 90px 24px 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#hero-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-circle1 {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
  z-index: 1;
}

.hero-circle2 {
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 900;
  color: white;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -2px;
  position: relative;
  z-index: 2;
}

.hero h1 span { color: #c7c5ff; }

.hero p {
  font-size: clamp(16px, 2.5vw, 19px);
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: white;
  color: #4A489E;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: inline-block;
}

.btn-outline {
  background: transparent;
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  display: inline-block;
}

.btn-purple {
  background: linear-gradient(135deg, #4A489E, #3a3880);
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(74,72,158,0.3);
  display: inline-block;
}


/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE — Stats
   ═══════════════════════════════════════════════════════════════ */
.stats {
  background: white;
  border-bottom: 1px solid #e8e6ff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  padding: 28px 40px;
  text-align: center;
  border-right: 1px solid #e8e6ff;
  flex: 1 1 160px;
}

.stat:last-child { border-right: none; }
.stat-val { font-size: 36px; font-weight: 900; color: #4A489E; line-height: 1; }
.stat-lbl { font-size: 13px; color: #777; margin-top: 6px; font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE — Why EasyStream (Split Layout)
   ═══════════════════════════════════════════════════════════════ */
.why { background: white; padding: 60px 24px; }

/* Two-column split */
.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 48px;
}

/* LEFT — quote + description */
.why-left {
  padding-right: 20px;
}

.why-accent-line {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, #4A489E, #0f766e);
  border-radius: 2px;
  margin-bottom: 24px;
}

.why-quote {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a3e;
  line-height: 1.5;
  margin-bottom: 24px;
}

.why-highlight {
  color: var(--brand);
  position: relative;
  display: inline-block;
}

.why-highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #4A489E, #0f766e);
  border-radius: 2px;
  animation: highlightGrow 1s ease 0.5s forwards;
  transform: scaleX(0);
  transform-origin: left;
}

@keyframes highlightGrow {
  to { transform: scaleX(1); }
}

.why-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(74,72,158,0.15), transparent);
  margin-bottom: 20px;
}

.why-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 14px;
}

.why-desc strong {
  color: var(--text-primary);
}

.why-anim {
  opacity: 0;
  transform: translateX(-20px);
  animation: whySlideIn 0.6s ease forwards;
}

@keyframes whySlideIn {
  to { opacity: 1; transform: translateX(0); }
}

/* RIGHT — checklist */
.why-right {}

.why-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.why-check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(74,72,158,0.06) 0%, rgba(108,99,255,0.03) 100%);
  border: 1px solid rgba(74,72,158,0.1);
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.why-check-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(74,72,158,0.12);
  border-color: rgba(74,72,158,0.25);
}

.why-check-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.why-check-icon svg {
  width: 28px;
  height: 28px;
}

.why-check-item span {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a3e;
  line-height: 1.4;
}

/* BOTTOM — 3 benefit cards in a row */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.benefit-card {
  background: #f5f4ff;
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid #e8e6ff;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(74,72,158,0.12);
}

.benefit-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon img { width: 72px; height: 72px; object-fit: contain; }

.benefit-card h3 { font-size: 15px; font-weight: 700; color: #1a1a3e; margin-bottom: 8px; }
.benefit-card p { font-size: 13px; color: #666; line-height: 1.75; }

/* ── Why Section Responsive ────────────────────────────────── */
@media (max-width: 768px) {
  .why-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .why-left { padding-right: 0; }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE — Sections (shared)
   ═══════════════════════════════════════════════════════════════ */
.section { padding: 80px 24px; }
.section-inner { max-width: 960px; margin: 0 auto; }
.section-tag { color: #4A489E; font-weight: 700; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(26px, 4vw, 40px); font-weight: 900; color: #1a1a3e; letter-spacing: -1px; line-height: 1.15; }
.section-head { text-align: center; margin-bottom: 56px; }


/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE — pov It Works
   ═══════════════════════════════════════════════════════════════ */
.pov { background: #f5f4ff; }

.steps { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }

.step-card {
  flex: 1 1 240px;
  max-width: 280px;
  background: white;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 4px 24px rgba(74,72,158,0.08);
  border: 1px solid #e8e6ff;
}

.step-num { font-size: 52px; font-weight: 900; color: #e8e6ff; line-height: 1; margin-bottom: 16px; }
.step-card h3 { font-size: 17px; font-weight: 700; color: #1a1a3e; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: #666; line-height: 1.75; }
.pov-cta { text-align: center; margin-top: 48px; }


/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE — POV Cards with Wave (Zigzag Layout)
   ═══════════════════════════════════════════════════════════════ */
.pov-grid-wrap {
  position: relative;
  max-width: 2000px;
  margin: 0 auto;
  overflow: visible;
}

.pov-wave {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 500px;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.pov-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 200px);
  gap: 80px;
  align-items: start;
  justify-content: center;
}

.pov-card {
  background: white;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 6px 28px rgba(74,72,158,0.1);
  border: 1px solid #e8e6ff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 200px;
}

.pov-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(74,72,158,0.18);
}

.pov-card:nth-child(odd) { margin-top: 0; }
.pov-card:nth-child(even) { margin-top: 150px; }

.pov-num {
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, #4A489E 0%, #3a3880 30%, #0f766e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 14px;
}

.pov-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a3e;
  margin-bottom: 8px;
  line-height: 1.35;
}

.pov-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

.how-cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .pov-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pov-card:nth-child(even) { margin-top: 40px; }
}

@media (max-width: 640px) {
  .pov-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pov-card:nth-child(even) { margin-top: 0; }
  .pov-wave { display: none; }
}



/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE — Testimonials Carousel
   ═══════════════════════════════════════════════════════════════ */
.testimonials { padding: 80px 24px; background: linear-gradient(135deg, #4A489E 0%, #3a3880 100%); }
.testimonials .section-tag { color: rgba(255,255,255,0.6); }
.testimonials .section-title { color: white; }

.testi-carousel-wrap { position: relative; display: flex; align-items: center; gap: 12px; }
.testi-carousel { overflow: hidden; flex: 1; border-radius: 16px; }

.testi-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.testi-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 32px 28px;
  min-width: calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.testi-card:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-4px);
}

.testi-stars { color: #f5c542; font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; }
.testi-quote { font-size: 40px; color: rgba(255,255,255,0.25); line-height: 1; margin-bottom: 14px; font-family: Georgia, serif; }
.testi-text { color: rgba(255,255,255,0.88); font-size: 14px; line-height: 1.8; font-style: italic; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: white; flex-shrink: 0; }
.testi-name { color: white; font-weight: 700; font-size: 14px; }
.testi-role { color: rgba(255,255,255,0.55); font-size: 12px; margin-top: 2px; }

.testi-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: white; font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.25s ease;
  line-height: 1; padding: 0; padding-bottom: 2px;
}

.testi-arrow:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); transform: scale(1.08); }

.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.testi-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,0.25); cursor: pointer; transition: all 0.3s ease; padding: 0; }
.testi-dot.active { background: white; transform: scale(1.3); }
.testi-dot:hover:not(.active) { background: rgba(255,255,255,0.5); }


/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE — FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq { background: #f5f4ff; }
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; }
.faq-item { background: white; border-radius: 12px; border: 1px solid #e8e6ff; overflow: hidden; transition: border-color 200ms; }
.faq-item.open { border-color: #4A489E; }
.faq-q { width: 100%; padding: 20px 24px; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; }
.faq-q span:first-child { font-size: 15px; font-weight: 600; color: #1a1a3e; }
.faq-plus { font-size: 22px; color: #4A489E; font-weight: 700; transition: transform 200ms; flex-shrink: 0; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a { padding: 0 24px 20px; font-size: 14px; color: #555; line-height: 1.8; display: none; }
.faq-item.open .faq-a { display: block; }


/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE — CTA Banner
   ═══════════════════════════════════════════════════════════════ */
.cta-banner { background: linear-gradient(135deg, #2d2b6e 0%, #4A489E 100%); padding: 80px 24px; text-align: center; }
.cta-banner h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; color: white; margin-bottom: 16px; letter-spacing: -0.5px; }
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 17px; margin-bottom: 40px; line-height: 1.65; max-width: 540px; margin-left: auto; margin-right: auto; }


/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE — Footer
   ═══════════════════════════════════════════════════════════════ */
footer {
  background: #1a1a3e;
  padding: 56px 40px 32px;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
}

.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }
.footer-desc { max-width: 260px; line-height: 1.7; margin-top: 12px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col-title { color: white; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin-bottom: 24px; }
.footer-bottom { text-align: center; }
.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }

/* Sub-page footer (simpler) */
.footer {
  background: #1a1a2e;
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}

.footer-left a { color: rgba(255,255,255,0.8); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.footer-left a:hover { color: white; }

.footer-right { display: flex; gap: 24px; }
.footer-right a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 13px; font-weight: 500; transition: color 0.2s; }
.footer-right a:hover { color: white; }


/* ═══════════════════════════════════════════════════════════════
   SUB-PAGES — Page Hero (Terms, Privacy, Contact)
   ═══════════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--gradient-main);
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(108,99,255,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero h1 { font-size: 48px; font-weight: 800; color: white; letter-spacing: -1px; position: relative; }
.page-hero .subtitle { color: rgba(255,255,255,0.6); font-size: 15px; margin-top: 12px; position: relative; }


/* ═══════════════════════════════════════════════════════════════
   SUB-PAGES — Content Card (Terms, Privacy)
   ═══════════════════════════════════════════════════════════════ */
.content-wrap {
  max-width: 820px;
  margin: -32px auto 60px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.content-card {
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 4px 40px rgba(74,72,158,0.08), 0 1px 3px rgba(0,0,0,0.04);
  padding: 56px 52px;
  border: 1px solid var(--border);
}

.legal-notice {
  background: linear-gradient(135deg, rgba(74,72,158,0.06) 0%, rgba(108,99,255,0.04) 100%);
  border: 1px solid rgba(74,72,158,0.12);
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 14px;
  color: var(--brand);
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.6;
}

.content-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 20px;
}

.content-card p:last-child { margin-bottom: 0; }

.content-card p.uppercase-block {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2px;
  line-height: 1.9;
}

.section-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 44px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(74,72,158,0.1);
}

.section-heading:first-child { margin-top: 0; }

.sub-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 28px;
  margin-bottom: 12px;
}

.content-card a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.content-card a:hover { color: var(--brand-light); }

.bold-inline { font-weight: 700; color: var(--text-primary); }

.intro-text { font-size: 15px; color: var(--text-secondary); line-height: 1.85; margin-bottom: 20px; }

.note-block {
  background: linear-gradient(135deg, rgba(74,72,158,0.06) 0%, rgba(108,99,255,0.04) 100%);
  border: 1px solid rgba(74,72,158,0.12);
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.note-block strong { color: var(--brand); font-weight: 700; }

.contact-block {
  background: linear-gradient(135deg, rgba(74,72,158,0.06) 0%, rgba(108,99,255,0.04) 100%);
  border: 1px solid rgba(74,72,158,0.12);
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 32px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 2;
}

.contact-block strong { color: var(--text-primary); }
.contact-block a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }


/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE — Form Layout
   ═══════════════════════════════════════════════════════════════ */
.contact-wrap {
  max-width: 1000px;
  margin: -32px auto 60px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; }

.contact-info {
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 4px 40px rgba(74,72,158,0.08), 0 1px 3px rgba(0,0,0,0.04);
  padding: 48px 40px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info h2 { font-size: 24px; font-weight: 800; color: var(--text-primary); }

.info-item { display: flex; align-items: flex-start; gap: 16px; }

.info-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(74,72,158,0.08) 0%, rgba(108,99,255,0.06) 100%);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.info-icon svg { width: 20px; height: 20px; stroke: var(--brand); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.info-details h3 { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.info-details p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.info-details a { color: var(--brand); text-decoration: none; transition: color 0.2s; }
.info-details a:hover { color: var(--brand-light); }
.info-divider { height: 1px; background: var(--border); }
.info-note { font-size: 13px; color: var(--text-muted); line-height: 1.7; font-style: italic; }

.contact-form-card {
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 4px 40px rgba(74,72,158,0.08), 0 1px 3px rgba(0,0,0,0.04);
  padding: 48px 40px;
  border: 1px solid var(--border);
}

.contact-form-card h2 { font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }

.form-group input,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 14px; font-family: inherit;
  color: var(--text-primary); background: var(--surface);
  transition: border-color 0.25s, box-shadow 0.25s; outline: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(74,72,158,0.1); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }
.form-group textarea { resize: vertical; min-height: 140px; }

.form-submit {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: white; border: none;
  padding: 14px 36px; border-radius: 99px;
  font-size: 15px; font-weight: 600; font-family: inherit;
  cursor: pointer; margin-top: 8px;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.form-submit:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(74,72,158,0.25); }
.form-submit:active { transform: translateY(0); }
.form-submit svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .testi-card {
    min-width: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  nav { padding: 0 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .page-hero { padding: 60px 20px 44px; }
  .page-hero h1 { font-size: 32px; }
  .content-card { padding: 32px 24px; }
  .content-wrap { margin-top: -24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 32px 24px; }
  .contact-info { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  nav { padding: 0 20px; position: relative; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 64px 20px 80px; }
  .hero-badge { font-size: 11px; padding: 5px 14px; }
  .hero h1 { letter-spacing: -1px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 320px; text-align: center; padding: 15px 24px; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid #e8e6ff; padding: 20px 16px; }
  .stat:nth-child(odd) { border-right: 1px solid #e8e6ff; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .stat-val { font-size: 28px; }
  .section { padding: 60px 20px; }
  .section-head { margin-bottom: 40px; }
  .steps { flex-direction: column; align-items: center; }
  .step-card { max-width: 100%; width: 100%; }
  .benefits-grid { grid-template-columns: 1fr; }
  .testimonials { padding: 60px 20px; }
  .faq-q span:first-child { font-size: 14px; }
  .cta-banner { padding: 60px 20px; }
  .cta-banner p { font-size: 15px; }
  footer { padding: 40px 20px 24px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { gap: 32px; }
}

@media (max-width: 600px) {
  .testi-card { min-width: 100%; max-width: 100%; }
  .testi-arrow { width: 36px; height: 36px; font-size: 20px; }
  .testi-carousel-wrap { gap: 8px; }
  .testimonials { padding: 60px 16px; }
}

@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; gap: 16px; }
}


/* ═══════════════════════════════════════════════════════════════
   ENTITY SIZE PAGE — Card Grid
   ═══════════════════════════════════════════════════════════════ */
.entity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.entity-card {
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 4px 40px rgba(74,72,158,0.08), 0 1px 3px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(74,72,158,0.14), 0 2px 6px rgba(0,0,0,0.06);
}

.entity-card-header {
  background: linear-gradient(135deg, rgba(74,72,158,0.06) 0%, rgba(108,99,255,0.03) 100%);
  padding: 28px 28px 24px;
  border-bottom: 1px solid var(--border);
}

.entity-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.entity-card-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.5px;
}

.entity-card-body {
  padding: 24px 28px 28px;
}

.entity-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.entity-card-body p:last-child {
  margin-bottom: 0;
}

.entity-list {
  padding-left: 20px;
  margin-bottom: 16px;
}

.entity-list li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 6px;
}

/* ── Entity Page Responsive ────────────────────────────────── */
@media (max-width: 900px) {
  .entity-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}