/* ============================================================
   TuneBit — Multi-Page Marketing Site
   Industrial-precision aesthetic with technical authority
   ============================================================ */

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- CUSTOM PROPERTIES --- */
:root {
  --navy: #1B3A5C;
  --navy-dark: #0F2439;
  --navy-deeper: #091828;
  --navy-light: #234A72;
  --blue: #2E86C1;
  --blue-light: #5DADE2;
  --blue-glow: rgba(46, 134, 193, 0.25);
  --orange: #E74C3C;
  --orange-light: #FF6B5A;
  --orange-glow: rgba(231, 76, 60, 0.2);
  --green: #27AE60;
  --green-dark: #1E8C4C;
  --green-light: #2ECC71;
  --green-glow: rgba(39, 174, 96, 0.25);

  --text: #1a1a2e;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --bg: #FAFBFD;
  --bg-alt: #F0F4F8;
  --bg-dark: #0D1F33;
  --white: #ffffff;
  --border: #E2E8F0;
  --border-light: #EDF2F7;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', monospace;

  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(27, 58, 92, 0.06), 0 1px 2px rgba(27, 58, 92, 0.04);
  --shadow: 0 4px 12px rgba(27, 58, 92, 0.08), 0 2px 4px rgba(27, 58, 92, 0.04);
  --shadow-lg: 0 12px 40px rgba(27, 58, 92, 0.12), 0 4px 12px rgba(27, 58, 92, 0.06);
  --shadow-xl: 0 24px 60px rgba(27, 58, 92, 0.16), 0 8px 20px rgba(27, 58, 92, 0.08);

  --container: 1140px;
  --container-lg: 1260px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; font: inherit; cursor: pointer; color: inherit; }
table { width: 100%; border-collapse: collapse; }
strong { font-weight: 600; }

/* --- LAYOUT --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--lg {
  max-width: var(--container-lg);
}

/* --- TYPOGRAPHY --- */
.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 16px;
  border-radius: 6px;
  margin-bottom: 18px;
  background: var(--blue);
  color: var(--white);
}

.section-tag--orange {
  background: var(--orange);
}

.section-tag--green {
  background: var(--green);
}

.section-tag--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.section-tag--light {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.section-title--white {
  color: var(--white);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.section-desc--light {
  color: rgba(255,255,255,0.65);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: 0 4px 20px var(--green-glow);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(27, 58, 92, 0.35);
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--blue:hover {
  background: #2574A8;
  border-color: #2574A8;
  box-shadow: 0 4px 20px var(--blue-glow);
}

.btn--orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--orange:hover {
  background: #D04535;
  border-color: #D04535;
  box-shadow: 0 4px 20px var(--orange-glow);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.65);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn--outline-dark:hover {
  border-color: var(--navy);
  background: rgba(27, 58, 92, 0.03);
}

.btn--ghost {
  background: transparent;
  color: var(--blue);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn--ghost:hover {
  color: var(--navy);
  transform: none;
}
.btn--ghost svg { transition: transform 0.2s; }
.btn--ghost:hover svg { transform: translateX(3px); }

.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--lg { padding: 15px 34px; font-size: 1rem; }
.btn--xl { padding: 18px 42px; font-size: 1.1rem; border-radius: var(--radius-lg); }
.btn--full { width: 100%; }

/* --- BADGES --- */
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge--free {
  background: #E0F5EA;
  color: var(--green-dark);
}

.badge--pro {
  background: #FFF0E0;
  color: #D84315;
}

.badge--tech {
  background: #E3F0FA;
  color: #1565C0;
}

.badge--new {
  background: var(--orange);
  color: var(--white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(15, 36, 57, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}

.nav--scrolled {
  background: rgba(9, 24, 40, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

.nav__inner {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.nav__logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.15s ease;
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.nav__cta {
  background: var(--green);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
  margin-left: 12px;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.nav__cta:hover {
  background: var(--green-dark);
  box-shadow: 0 2px 16px var(--green-glow);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 4px 0;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}

/* ============================================================
   PAGE HERO — Used on every page
   ============================================================ */
.page-hero {
  position: relative;
  background: linear-gradient(170deg, var(--navy-deeper) 0%, var(--navy-dark) 35%, var(--navy) 100%);
  padding: 140px 24px 80px;
  overflow: hidden;
  text-align: center;
}

.page-hero--tall {
  padding: 160px 24px 110px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero--dark {
  background: linear-gradient(170deg, #060E18 0%, var(--navy-deeper) 35%, var(--navy-dark) 100%);
}

/* Dot grid overlay */
.page-hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 75%);
}

/* Diagonal lines overlay */
.page-hero__lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 41px
  );
}

/* Accent glow */
.page-hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.page-hero__glow--blue {
  background: var(--blue);
  top: -200px;
  right: -100px;
}

.page-hero__glow--green {
  background: var(--green);
  bottom: -200px;
  left: -100px;
}

.page-hero__glow--orange {
  background: var(--orange);
  top: -150px;
  left: -150px;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.page-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue-light);
  margin-bottom: 20px;
  padding: 5px 14px;
  border: 1px solid rgba(93, 173, 226, 0.25);
  border-radius: 100px;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.035em;
}

.page-hero__title span {
  background: linear-gradient(135deg, var(--blue-light), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 60px;
}

.page-hero__stat {
  text-align: center;
}

.page-hero__stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}

.page-hero__stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-top: 6px;
}

.page-hero__stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.12);
}

.page-hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 1;
}

.page-hero--dark .page-hero__fade {
  background: linear-gradient(to top, var(--bg-dark), transparent);
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.features-section {
  padding: 100px 0;
  background: var(--bg);
}

.features-section--alt {
  background: var(--bg-alt);
}

.feature-group {
  margin-bottom: 64px;
}

.feature-group:last-child {
  margin-bottom: 0;
}

.feature-group__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-light);
}

.feature-group__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.feature-group__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.feature-group__count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.25s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: transparent;
  transition: background 0.25s ease;
}

.feature-card:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.feature-card:hover::before {
  background: var(--blue);
}

.feature-card--pro:hover::before {
  background: var(--orange);
}

.feature-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.feature-card__icon {
  font-size: 1.8rem;
  line-height: 1;
}

.feature-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.feature-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.feature-card__details {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.feature-card__detail {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 3px 0;
  padding-left: 14px;
  position: relative;
}

.feature-card__detail::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison {
  padding: 100px 0;
  background: var(--bg-alt);
}

.comparison-table {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table table { width: 100%; }

.comparison-table thead {
  background: var(--navy);
  color: var(--white);
}

.comparison-table th {
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
}

.comparison-table__tier {
  text-align: center !important;
  width: 80px;
}

.comparison-table__tier--pro {
  background: rgba(255,255,255,0.08);
}

.comparison-table__tier--tech {
  background: rgba(255,255,255,0.04);
}

.comparison-table td {
  padding: 12px 20px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table tbody tr:hover {
  background: rgba(46, 134, 193, 0.03);
}

.comparison-table td.check,
.comparison-table td.cross {
  text-align: center;
  font-size: 1.1rem;
}

.comparison-table td.check { color: var(--green); font-weight: 700; }
.comparison-table td.cross { color: #CBD5E0; }

.comparison-table__divider td {
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  padding: 10px 20px;
}

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing {
  padding: 100px 0;
  background: var(--bg);
}

.pricing--dark {
  background: var(--bg-dark);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  transition: all 0.25s ease;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border-color: var(--green);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
  z-index: 2;
}

.pricing-card--featured:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card--tech {
  border-color: var(--blue);
}

.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
  background: var(--green);
  color: var(--white);
}

.pricing-card__badge--tech {
  background: var(--blue);
}

.pricing-card__header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.pricing-card__amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.04em;
}

.pricing-card__cents {
  font-size: 1.3rem;
  font-weight: 700;
}

.pricing-card__period {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card__features {
  margin-bottom: 28px;
}

.pricing-card__features li {
  padding: 7px 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-card__features li::before {
  content: '';
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  margin-top: 2px;
}

.pricing-card__features li.included::before {
  background: #E0F5EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2327AE60' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

.pricing-card__features li.excluded::before {
  background: #FEE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E74C3C' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/10px no-repeat;
}

.pricing-card__features li.excluded {
  color: var(--text-muted);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section {
  padding: 100px 0;
  background: var(--bg-alt);
}

.faq-section--white {
  background: var(--bg);
}

.faq-category {
  margin-bottom: 48px;
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--blue);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: var(--blue-light);
}

.faq-item__question {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.15s ease;
}

.faq-item__question:hover { color: var(--blue); }

.faq-item__chevron {
  min-width: 20px;
  transition: transform 0.3s ease;
}

.faq-item--open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item--open .faq-item__answer {
  max-height: 400px;
}

.faq-item__answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item__answer p + p {
  padding-top: 0;
}

/* ============================================================
   DOWNLOAD SECTION
   ============================================================ */
.dl-section {
  padding: 100px 0;
  background: var(--bg);
}

.dl-hero {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.dl-hero__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 6px 20px rgba(27, 58, 92, 0.2));
}

.dl-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.dl-hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.dl-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
  text-align: left;
}

.dl-card {
  padding: 28px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.dl-card__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 14px;
}

.dl-card li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 5px 0 5px 18px;
  position: relative;
}

.dl-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* ============================================================
   TECHS / PROFESSIONALS PAGE
   ============================================================ */
.pro-section {
  padding: 100px 0;
}

.pro-section--dark {
  background: var(--bg-dark);
  color: var(--white);
}

.pro-section--navy {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
}

.pro-value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pro-value-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: all 0.25s ease;
}

.pro-value-card:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

.pro-value-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1;
}

.pro-value-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pro-value-card__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.pro-workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pro-step {
  text-align: center;
  position: relative;
}

.pro-step::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.15);
}

.pro-step:last-child::after {
  display: none;
}

.pro-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  background: rgba(46, 134, 193, 0.15);
  color: var(--blue-light);
  border: 1px solid rgba(46, 134, 193, 0.3);
  margin-bottom: 16px;
}

.pro-step__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pro-step__desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ============================================================
   HOME-SPECIFIC: Highlights grid
   ============================================================ */
.highlights {
  padding: 100px 0;
  background: var(--bg);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.highlights-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.highlight-card {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.highlight-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.highlight-card:hover::after {
  transform: scaleX(1);
}

.highlight-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1;
}

.highlight-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.highlight-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.highlight-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 16px;
  transition: gap 0.2s ease;
}

.highlight-card__link:hover { gap: 10px; }

/* ============================================================
   HOME: Trust bar / Social proof
   ============================================================ */
.trust {
  padding: 64px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 1.2rem;
}

.trust__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.trust__text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   HOME: Pricing preview
   ============================================================ */
.pricing-preview {
  padding: 100px 0;
  background: var(--bg-alt);
}

.pricing-preview__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-mini {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.25s ease;
}

.pricing-mini:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.pricing-mini--featured {
  border-color: var(--green);
  border-width: 2px;
  box-shadow: var(--shadow);
}

.pricing-mini__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.pricing-mini__price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.pricing-mini__price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-mini__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 16px;
}

/* ============================================================
   HOME: CTA banner
   ============================================================ */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.cta-banner__content {
  position: relative;
  z-index: 2;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-banner__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}

/* ============================================================
   DOWNLOAD PAGE: Steps
   ============================================================ */
.steps {
  padding: 80px 0;
  background: var(--bg-alt);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--navy);
  color: var(--white);
  margin-bottom: 20px;
}

.step-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.step-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-deeper);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 36px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand-text {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer__logo {
  width: 30px;
  height: 30px;
  opacity: 0.85;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 260px;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  padding: 4px 0;
  transition: color 0.15s ease;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.15s ease;
}

.footer__bottom-links a:hover {
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left--visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right--visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.4s; }
[data-delay="6"] { transition-delay: 0.48s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .pro-workflow {
    grid-template-columns: repeat(2, 1fr);
  }

  .pro-step::after { display: none; }
}

@media (max-width: 900px) {
  .pricing-cards,
  .pricing-preview__cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card--featured {
    transform: none;
    order: -1;
  }
  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .pro-value-grid {
    grid-template-columns: 1fr;
  }

  .dl-details {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(9, 24, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav__links--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    padding: 12px 16px;
    font-size: 1rem;
    width: 100%;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    width: 100%;
    padding: 12px;
  }

  .nav__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__toggle--active span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .page-hero {
    padding: 120px 24px 64px;
  }

  .page-hero--tall {
    padding: 130px 24px 80px;
    min-height: auto;
  }

  .page-hero__stats {
    gap: 24px;
  }

  .features-section,
  .comparison,
  .pricing,
  .faq-section,
  .dl-section,
  .pro-section,
  .highlights,
  .pricing-preview,
  .steps,
  .trust {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .trust__inner {
    gap: 24px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .comparison-table__tier {
    width: 55px;
  }
}

@media (max-width: 480px) {
  .page-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .page-hero__actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .page-hero__stats {
    flex-direction: column;
    gap: 16px;
  }

  .page-hero__stat-divider {
    width: 40px;
    height: 1px;
  }

  .comparison-table__tier {
    width: 48px;
  }

  .pro-workflow {
    grid-template-columns: 1fr;
  }
}
