/* ============================================================
   PUVENO — Redesigned Design System
   Palette: Indigo-dominant, matching Flutter app theme
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Brand — exact match to Flutter AppTheme */
  --indigo-600: #4F46E5;
  --indigo-700: #4338CA;
  --indigo-800: #3730A3;
  --indigo-100: #E0E7FF;
  --indigo-50: #EEF2FF;
  --cyan-500: #06B6D4;

  /* Surfaces */
  --bg: #F1F5F9;
  /* Slate-100 — page body */
  --surface: #FFFFFF;
  /* White — cards, header */
  --surface-2: #F8FAFC;
  /* Slate-50 — subtle tint */

  /* Text */
  --text: #0F172A;
  /* Slate-900 */
  --text-2: #334155;
  /* Slate-700 */
  --text-3: #475569;
  /* Slate-600 (Darkened to ensure WCAG 4.5:1 contrast vs #FFF AND #F1F5F9) */

  /* Borders & Dividers */
  --border: #E2E8F0;
  /* Slate-200 */
  --border-2: rgba(79, 70, 229, 0.15);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 48px rgba(79, 70, 229, 0.12), 0 4px 16px rgba(15, 23, 42, 0.06);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing rhythm */
  --section-py: 6rem;
  --radius: 1rem;
  --radius-sm: 0.5rem;
  --radius-lg: 1.5rem;
}

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

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--indigo-600);
  color: white;
  padding: 8px;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header / Nav ─────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

header .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--indigo-600);
  background: var(--indigo-50);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--indigo-600);
  color: #fff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  background: var(--indigo-700);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.45);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--indigo-600);
  border: 1.5px solid var(--border-2);
}

.btn-outline:hover {
  background: var(--indigo-50);
  border-color: var(--indigo-600);
}

.btn-white {
  background: #fff;
  color: var(--indigo-700);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: var(--indigo-50);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.w-full {
  width: 100%;
  justify-content: center;
}

/* ── Language Switcher ────────────────────────────────────── */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-2);
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn:hover {
  border-color: var(--indigo-600);
  color: var(--indigo-600);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 140px;
  z-index: 200;
}

.lang-dropdown.open,
.lang-dropdown.show {
  display: block;
}

.lang-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  background: none;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}

.lang-dropdown button:hover {
  background: var(--indigo-50);
  color: var(--indigo-600);
}

/* ── Mobile Nav ───────────────────────────────────────────── */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-nav-wrapper {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.mobile-nav-wrapper.open {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  gap: 0.25rem;
}

.mobile-nav a:not(.btn) {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.mobile-nav a:not(.btn):hover {
  color: var(--indigo-600);
  background: var(--indigo-50);
}

.mobile-nav hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.75rem 0;
}

.mobile-auth,
.mobile-lang {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.25rem 0;
}

.mobile-lang button {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  padding: 0.375rem 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-lang button:hover,
.mobile-lang button.active-lang {
  background: var(--indigo-50);
  border-color: var(--indigo-600);
  color: var(--indigo-600);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding-top: 68px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #EEF2FF 0%, #F1F5F9 50%, #E0E7FF 100%);
}

/* Geometric accent */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(79, 70, 229, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

#hero-3d-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 1.5rem;
}

.hero-text {
  max-width: 560px;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.text-primary {
  color: var(--indigo-600);
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ── Tag / Badge ──────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo-600);
  background: var(--indigo-50);
  border: 1px solid rgba(79, 70, 229, 0.2);
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ── Section Header ───────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ── Features ─────────────────────────────────────────────── */
.features {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo-600), var(--cyan-500));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: rgba(79, 70, 229, 0.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: var(--indigo-50);
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo-600);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.625rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── Mobile App Section ───────────────────────────────────── */
.mobile-app-section {
  margin-top: 4rem;
  background: linear-gradient(135deg, var(--indigo-800) 0%, var(--indigo-600) 100%);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.mobile-app-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.mobile-app-text h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.875rem;
  letter-spacing: -0.02em;
}

.mobile-app-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.app-buttons {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.mobile-app-image img {
  max-width: 220px;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.3));
  animation: heroFloat 7s ease-in-out infinite;
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}

.pricing-card.featured {
  background: linear-gradient(180deg, var(--indigo-600) 0%, var(--indigo-700) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-card:not(.featured):hover {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: var(--shadow-md);
}

.plan-name {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo-600);
  margin-bottom: 1rem;
}

.pricing-card.featured .plan-name {
  color: rgba(255, 255, 255, 0.8);
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-card.featured .plan-price {
  color: #fff;
}

.plan-price sup {
  font-size: 1.125rem;
  vertical-align: top;
  margin-top: 0.5rem;
}

.plan-period {
  font-size: 0.875rem;
  color: var(--text-3);
  margin-bottom: 1.5rem;
}

.pricing-card.featured .plan-period {
  color: rgba(255, 255, 255, 0.6);
}

.plan-desc {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
}

.pricing-card.featured .plan-desc {
  color: rgba(255, 255, 255, 0.75);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--text-2);
}

.pricing-card.featured .plan-features li {
  color: rgba(255, 255, 255, 0.85);
}

.plan-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background: rgba(79, 70, 229, 0.12);
  color: var(--indigo-600);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-card.featured .plan-features li::before {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ── Dynamic Pricing Elements ─────────────────────────────── */
.popular-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.price-original {
  text-decoration: line-through;
  color: var(--text-3);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.pricing-card.featured .price-original {
  color: rgba(255, 255, 255, 0.6);
}

.package-limits {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.pricing-card.featured .package-limits {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.limit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.limit-row:last-child {
  margin-bottom: 0;
}

.limit-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-2);
}

.pricing-card.featured .limit-label {
  color: rgba(255, 255, 255, 0.8);
}

.limit-val {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
}

.pricing-card.featured .limit-val {
  color: #fff;
}

.bg-white-btn-fix.btn-white {
  background: #fff;
  color: var(--indigo-700);
}

.bg-white-btn-fix.btn-white:hover {
  background: var(--indigo-50);
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(79, 70, 229, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stars {
  display: flex;
  gap: 2px;
  color: #F59E0B;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.author-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--indigo-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo-600);
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-3);
}

/* ── Why Puveno ───────────────────────────────────────────── */
.why-puveno {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.benefit-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.check-circle {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--indigo-600), var(--cyan-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.benefit-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.benefit-item p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── CTA / Support ────────────────────────────────────────── */
.cta {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--indigo-800) 0%, var(--indigo-600) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  margin: 0 auto 2.5rem;
  max-width: 520px;
  line-height: 1.65;
}

.cta .hero-buttons {
  justify-content: center;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--indigo-800);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 240px;
  margin-top: 1rem;
}

.footer-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-col h3,
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ── Helpers ──────────────────────────────────────────────── */
.text-secondary {
  color: var(--text-2);
}

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

.relative {
  position: relative;
}

.z-10 {
  position: relative;
  z-index: 10;
}

/* ── Scroll animations ────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}

/* ── Docs Page ────────────────────────────────────────────── */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  min-height: 100vh;
  padding-top: 68px;
}

.docs-sidebar {
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 2rem 1.5rem;
}

.docs-sidebar h2 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.docs-sidebar h2:first-child {
  margin-top: 0;
}

.docs-sidebar a {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.125rem;
  transition: all 0.15s;
}

.docs-sidebar a:hover,
.docs-sidebar a.active {
  background: var(--indigo-50);
  color: var(--indigo-600);
  font-weight: 600;
}

.docs-main {
  padding: 3.5rem 4rem 5rem;
  max-width: 760px;
}

.docs-main h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--indigo-600);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.docs-main .docs-subtitle {
  font-size: 1.125rem;
  color: var(--text-2);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border);
}

.docs-main h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border);
}

.docs-main h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--indigo-700);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.docs-main h3::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1rem;
  background: linear-gradient(180deg, var(--indigo-600), var(--cyan-500));
  border-radius: 2px;
}

.docs-main p {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.docs-main ul,
.docs-main ol {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  color: var(--text-2);
}

.docs-main li {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.docs-main strong {
  color: var(--text);
  font-weight: 600;
}

.docs-callout {
  background: var(--indigo-50);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-left: 3px solid var(--indigo-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--indigo-800);
}

.docs-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.step-num {
  width: 1.75rem;
  height: 1.75rem;
  background: linear-gradient(135deg, var(--indigo-600), var(--cyan-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    display: none;
  }

  .docs-main {
    padding: 2.5rem 1.5rem 4rem;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.5rem;
  }

  .hero-text {
    text-align: center;
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

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

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

  .mobile-app-section {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
  }

  .mobile-app-image {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 480px) {
  :root {
    --section-py: 4rem;
  }

  .hero-text h1 {
    font-size: 1.875rem;
  }

  .section-header h2 {
    font-size: 1.625rem;
  }

  .cta h2 {
    font-size: 1.625rem;
  }
}