@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM TOKENS (Vetco App Palette) --- */
:root {
  /* Backgrounds */
  --bg-main: #F8FAFC;            /* Slate 50 — warm white */
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-input: #f1f5f9;           /* Slate 100 — solid input fill */
  --bg-footer: #f1f5f9;
  --bg-code: #f8fafc;

  /* Borders */
  --border-color: #e2e8f0;       /* Slate 200 */
  --border-hover: #cbd5e1;       /* Slate 300 */
  --border-input: #94a3b8;       /* Slate 400 — visible form borders */

  /* Brand Colors (from Vetco app.css) */
  --color-primary: #0d9488;      /* Teal 600 */
  --color-primary-hover: #0f766e; /* Teal 700 */
  --color-primary-light: #ccfbf1; /* Teal 100 */
  --color-primary-bg: #f0fdfa;   /* Teal 50 */

  --color-success: #10b981;      /* Emerald 500 */
  --color-success-light: #d1fae5;
  --color-success-bg: #ecfdf5;

  --color-danger: #f43f5e;       /* Rose 500 */
  --color-danger-light: #ffe4e6;

  --color-warning: #f59e0b;      /* Amber 500 */
  --color-warning-light: #fef3c7;

  --color-info: #0ea5e9;         /* Sky 500 */
  --color-info-light: #e0f2fe;

  /* Text */
  --text-primary: #0f172a;       /* Slate 900 */
  --text-secondary: #334155;     /* Slate 700 */
  --text-muted: #64748b;         /* Slate 500 */
  --text-on-primary: #FFFFFF;

  /* Typography */
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shadows (Metronic-inspired elevation) */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-elevate: 0 10px 20px -5px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;

  /* Radius (Vetco uses 0.75rem globally) */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;
}

/* --- RESET & BASIC STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- REUSABLE UTILITIES --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* Card panel — replaces glass-panel */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--text-on-primary);
  border-color: var(--color-primary);
  box-shadow: 0 1px 3px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-input);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  background: var(--bg-input);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-primary {
  background: var(--color-primary-bg);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-light);
}

.badge-secondary {
  background: #faf5ff;
  color: #7c3aed;
  border: 1px solid #ede9fe;
}

.badge-success {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid var(--color-success-light);
}

.badge-danger {
  background: #fff1f2;
  color: var(--color-danger);
  border: 1px solid var(--color-danger-light);
}

.badge-warning {
  background: #fffbeb;
  color: var(--color-warning);
  border: 1px solid var(--color-warning-light);
}

/* Gradient text — now uses teal instead of neon */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- HEADER / NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

nav ul {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

nav a {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--color-primary);
}

/* --- HERO SECTION --- */
.hero {
  padding: 10rem 0 5rem 0;
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, var(--color-primary-bg) 0%, var(--bg-main) 60%);
}

.hero-badge-container {
  margin-bottom: 1.5rem;
}

.hero-badge-container .badge {
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
}

.hero h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  max-width: 880px;
  margin: 0 auto 1.5rem auto;
  color: var(--text-primary);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 4rem;
}

/* Real-Time Stats Ticker */
.ticker-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 4rem auto;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.ticker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ticker-val {
  font-family: var(--font-header);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-primary);
}

.ticker-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

.hero-visual {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 20px 40px rgba(13, 148, 136, 0.08);
  border: 1px solid var(--border-color);
}

.hero-visual img {
  width: 100%;
  transition: var(--transition-smooth);
}

.hero-visual:hover img {
  transform: scale(1.01);
}
/* --- WHY VETCO — PROBLEM / SOLUTION --- */
.why-section {
  padding: 7rem 0;
  background: var(--bg-main);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.why-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevate);
  border-color: var(--border-hover);
}

.why-problem,
.why-solution {
  padding: 1.75rem 2rem;
}

.why-problem {
  background: #fff5f5;
}

.why-solution {
  background: var(--color-primary-bg);
}

.why-problem p,
.why-solution p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

.why-divider {
  height: 1px;
  background: var(--border-color);
}

.why-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.why-label-problem {
  background: var(--color-danger-light);
  color: var(--color-danger);
}

.why-label-solution {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* --- THE FEATURE GRID --- */
.features-section {
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, #f1f5f9 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  padding: 2.25rem;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevate);
  border-color: var(--border-hover);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-primary-light);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
  transform: rotate(-5deg) scale(1.05);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- SAT COMPLIANCE SPOTLIGHT --- */
.sat-section {
  padding: 7rem 0;
  background: var(--bg-main);
  position: relative;
}

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

.sat-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.sat-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.sat-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

.sat-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-success-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
  font-weight: bold;
  flex-shrink: 0;
  border: 1px solid var(--color-success-light);
  font-size: 0.8rem;
}

.sat-feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.sat-feature-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* XML Code Viewer */
.sat-interactive-card {
  padding: 2.5rem;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.sat-interactive-card::before {
  content: 'XML';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 3.5rem;
  color: rgba(13, 148, 136, 0.05);
  line-height: 1;
}

.xml-tag { color: #e11d48; }
.xml-attr { color: #d97706; }
.xml-val { color: var(--color-primary); }

.xml-display {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.78rem;
  line-height: 1.7;
  border: 1px solid var(--border-color);
  overflow-x: auto;
  white-space: pre;
  color: var(--text-secondary);
}

/* --- PRICING SECTION --- */
.pricing-section {
  padding: 7rem 0;
  background: linear-gradient(180deg, #f1f5f9 0%, var(--bg-main) 100%);
}

.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.pricing-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.pricing-label.active {
  color: var(--color-primary);
}

.pricing-switch {
  width: 52px;
  height: 28px;
  background: var(--border-color);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.pricing-switch::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  top: 3px;
  left: 4px;
  transition: var(--transition-smooth);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.pricing-switch.yearly {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}

.pricing-switch.yearly::after {
  left: 26px;
  background: var(--color-primary-hover);
}

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

.pricing-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.pricing-card.premium {
  border-color: var(--color-primary);
  border-width: 2px;
  box-shadow: var(--shadow-md), 0 0 0 1px var(--color-primary-light);
}

.pricing-card.premium:hover {
  box-shadow: var(--shadow-elevate), 0 0 0 1px var(--color-primary);
}

.pricing-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.pricing-card-header h3 {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-val {
  font-family: var(--font-header);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.price-period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.pricing-feature {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pricing-feature span {
  color: var(--color-primary);
  font-weight: bold;
  font-size: 0.9rem;
}

.pricing-card.premium .pricing-feature span {
  color: var(--color-primary);
}

/* --- FAQS SECTION --- */
.faq-section {
  padding: 7rem 0;
  background: var(--bg-main);
}

.faq-container {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

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

.faq-question {
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-content {
  padding: 0 1.75rem 1.5rem 1.75rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* --- CONTACT & REQUEST DEMO --- */
.contact-section {
  padding: 7rem 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--color-primary-bg) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: 1080px;
  margin: 0 auto;
  align-items: center;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.contact-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-metric {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-metric h4 {
  font-size: 1.8rem;
  color: var(--color-primary);
  font-family: var(--font-header);
  margin-bottom: 0.2rem;
}

.contact-metric p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-form-container {
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input, .form-group select, .form-group textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.1rem;
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
  background: var(--bg-card);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-error-msg {
  font-size: 0.75rem;
  color: var(--color-danger);
  position: absolute;
  bottom: -1.2rem;
  left: 0.2rem;
  opacity: 0;
  transform: translateY(-5px);
  transition: var(--transition-fast);
}

.form-group.has-error .form-error-msg {
  opacity: 1;
  transform: translateY(0);
}

.form-group.has-error input {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}

/* Success Card overlay inside Form Container */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.form-success-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-success-bg);
  border: 2px solid var(--color-success-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-success);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.form-success-overlay h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.form-success-overlay p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 320px;
}

/* --- FOOTER --- */
footer {
  padding: 4rem 0 2.5rem 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-footer);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
}

.footer-socials a {
  color: var(--text-muted);
}

.footer-socials a:hover {
  color: var(--color-primary);
}

/* --- KEYFRAMES & ANIMATIONS --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleUp {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 3rem;
  }

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

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

  .sat-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 1.5rem;
  }

  nav:not(.mobile-nav) {
    display: none;
  }

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

  header .btn-primary {
    display: none;
  }

  .hero {
    padding-top: 8rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .ticker-container {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

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

  .pricing-cards {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

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

  .sat-content h2,
  .contact-info h2 {
    font-size: 2rem;
  }

  .page-content {
    padding: 0 1.5rem;
  }

  .sat-deep-grid {
    grid-template-columns: 1fr;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .step-flow {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   INNER PAGES — SHARED STYLES
   ========================================================================== */

/* Page hero banner (used on all inner pages) */
.page-hero {
  padding: 9rem 0 4rem 0;
  background: linear-gradient(180deg, var(--color-primary-bg) 0%, var(--bg-main) 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Prose content (legal pages, SAT deep-dive) */
.page-content {
  padding: 4rem 0 6rem 0;
}

.prose {
  max-width: 800px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.6rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.prose h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.prose p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.prose a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-primary-light);
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-color: var(--color-primary);
}

.prose .info-box {
  background: var(--color-primary-bg);
  border: 1px solid var(--color-primary-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.prose .info-box p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.prose .warning-box {
  background: #fffbeb;
  border: 1px solid var(--color-warning-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.prose .warning-box p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

/* Contact page specifics */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}

.contact-channel {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.contact-channel:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  border: 1px solid var(--color-primary-light);
}

.contact-channel-info h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-channel-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-channel-info a {
  color: var(--color-primary);
  font-weight: 600;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* SAT deep-dive grid */
.sat-deep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.sat-deep-card {
  padding: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.sat-deep-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevate);
  border-color: var(--border-hover);
}

.sat-deep-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sat-deep-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Step flow (numbered steps) */
.step-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 3rem auto;
  counter-reset: step;
}

.step-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  position: relative;
  counter-increment: step;
}

.step-item::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 auto 1rem auto;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.step-item h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   MOBILE NAVIGATION
   ========================================================================== */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  transition: var(--transition-fast);
  z-index: 201;
  position: relative;
}

.mobile-menu-btn:hover {
  border-color: var(--color-primary);
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-card);
  z-index: 200;
  padding: 5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.mobile-nav a:hover {
  background: var(--color-primary-bg);
  color: var(--color-primary);
}

.mobile-nav .btn {
  margin-top: 1rem;
  text-align: center;
}

/* ==========================================================================
   SCROLL-TO-TOP BUTTON
   ========================================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
  z-index: 90;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.45);
}

/* ==========================================================================
   SCROLL-REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
