/*
 * @file style.css
 * @description Core CSS design system for Everything San Marcos.
 * 
 * Design Theme: "River Crystal & Midnight Indigo"
 * - Inspired by the crystal clear San Marcos River and Texas starry nights.
 * - Glassmorphism, deep dark indigo/slate backgrounds, pulsing gradients, and vibrant river-teal accents.
 * - Pure Vanilla CSS without external framework dependencies.
 * - Dynamic hover effects, smooth transitions, and high-contrast responsive layouts.
 */

/* Import Premium Typography */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Tokens */
  --bg-primary: #070a13;
  --bg-secondary: #0c1020;
  --bg-glass: rgba(15, 22, 42, 0.65);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.18);
    --color-midnight: #070a13;
    --text-primary: #f1f6ff;
    --text-secondary: #b8c4d8;
    --text-muted: #7f8ca3;
    --color-teal: #00f2fe;
    --color-blue: #4facfe;
    --color-pink: #e100ff;

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

    /* Motion and depth */
    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.35);
    --glow-teal: 0 0 24px rgba(0, 242, 254, 0.28);
    --glow-purple: 0 0 24px rgba(225, 0, 255, 0.28);

    /* Radius scale */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 24px;

    /* Brand gradients */
    --gradient-river: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --gradient-royal: linear-gradient(135deg, #7f00ff 0%, #e100ff 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.22) 0%, rgba(79, 172, 254, 0.14) 100%);

    color-scheme: dark;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image:
      radial-gradient(circle at 20% -10%, rgba(0, 242, 254, 0.13) 0%, rgba(0, 242, 254, 0) 45%),
      radial-gradient(circle at 85% 10%, rgba(127, 0, 255, 0.12) 0%, rgba(127, 0, 255, 0) 38%),
      linear-gradient(180deg, #070a13 0%, #0b1020 100%);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

  img,
  svg {
    max-width: 100%;
  }

  main {
    position: relative;
    z-index: 1;
  }

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

/* Background Glowing Orbs */
.bg-glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(79, 172, 254, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.orb-1 { top: -200px; right: -100px; }
.orb-2 { top: 800px; left: -200px; background: radial-gradient(circle, rgba(127, 0, 255, 0.06) 0%, rgba(225, 0, 255, 0) 70%); }
.orb-3 { bottom: -200px; right: -100px; }

/* Grid Layout & Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  gap: 8px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--gradient-river);
  color: #070a13;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-teal), 0 8px 30px rgba(0, 242, 254, 0.4);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border-color: var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

.btn-purple {
  background: var(--gradient-royal);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(225, 0, 255, 0.2);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-purple), 0 8px 30px rgba(225, 0, 255, 0.35);
}

/* Glassmorphism Panel base */
.glass-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}

/* Header Section */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 100;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(7, 10, 19, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-river);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}

.logo svg {
  fill: url(#river-grad);
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 24px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 1px;
  background: var(--gradient-river);
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-teal);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-cta {
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-menu-toggle.active {
  border-color: rgba(0, 242, 254, 0.45);
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.22);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--color-teal);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-teal);
  box-shadow: 0 0 10px var(--color-teal);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 242, 254, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-title span {
  background: var(--gradient-river);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* Floating Stats Card in Hero */
.hero-visual {
  position: relative;
}

.floating-card {
  padding: 32px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.floating-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-river);
}

.card-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-river);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

/* Stats Ribbon Section */
.stats-banner {
  padding: 60px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-box {
  padding: 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
}

.stat-box:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-5px);
  box-shadow: var(--glow-teal);
}

.stat-box-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
  background: var(--gradient-river);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-box-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Section Common Styling */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px auto;
}

.section-tag {
  color: var(--color-teal);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Why Choose Us Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glass-hover);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 242, 254, 0.15);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--color-teal);
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pricing / Packages Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.price-card {
  padding: 48px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-8px);
}

/* Featured Badge */
.featured-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-river);
  color: #070a13;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.price-card.featured-card {
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 20px 40px rgba(0, 242, 254, 0.05);
}

.price-card.featured-card:hover {
  border-color: var(--color-teal);
  box-shadow: 0 20px 40px rgba(0, 242, 254, 0.15), var(--glow-teal);
}

.price-card.sponsor-card {
  border-color: rgba(225, 0, 255, 0.2);
  box-shadow: 0 20px 40px rgba(225, 0, 255, 0.03);
}

.price-card.sponsor-card:hover {
  border-color: var(--color-pink);
  box-shadow: 0 20px 40px rgba(225, 0, 255, 0.12), var(--glow-purple);
}

.sponsor-badge {
  background: var(--gradient-royal);
  color: #ffffff;
}

.price-tier {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 16px;
}

.price-amount {
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
}

.price-num {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1;
}

.price-card.featured-card .price-num {
  background: var(--gradient-river);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-card.sponsor-card .price-num {
  background: var(--gradient-royal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-period {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-left: 4px;
}

.price-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 32px;
  min-height: 50px;
}

.price-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.price-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.price-feature-item svg {
  width: 20px;
  height: 20px;
  fill: var(--color-teal);
  flex-shrink: 0;
}

.price-card.sponsor-card .price-feature-item svg {
  fill: var(--color-pink);
}

.price-card .btn {
  width: 100%;
}

/* Process Section */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  margin-top: 48px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 24px auto;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.process-step:hover .step-number {
  border-color: var(--color-teal);
  color: var(--color-teal);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
  transform: scale(1.1);
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0 12px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-glass);
  padding: 24px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 8px 0;
}

.faq-q-text {
  font-size: 1.15rem;
  font-weight: 600;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.faq-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-a-text {
  padding-top: 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-item.active .faq-toggle svg {
  fill: var(--color-teal);
}

.faq-item.active .faq-answer {
  max-height: 200px; /* arbitrary height to slide down */
}

/* Footer styling */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px 0;
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 60px;
}

.footer-about p {
  color: var(--text-secondary);
  margin-top: 16px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link-btn:hover {
  background: var(--gradient-river);
  border-color: transparent;
  transform: translateY(-2px);
}

.social-link-btn:hover svg {
  fill: #070a13;
}

.social-link-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--text-primary);
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

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

.footer-links a:hover {
  color: var(--color-teal);
  padding-left: 4px;
}

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

/* Modal Popup Window */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 12, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 40px;
  position: relative;
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(90deg);
}

.modal-close svg {
  width: 16px;
  height: 16px;
  fill: var(--text-primary);
}

.modal-header {
  margin-bottom: 28px;
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.selected-package-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 12px;
}

.selected-package-badge.basic {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.selected-package-badge.featured {
  background: rgba(0, 242, 254, 0.1);
  color: var(--color-teal);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.selected-package-badge.sponsor {
  background: rgba(225, 0, 255, 0.1);
  color: var(--color-pink);
  border: 1px solid rgba(225, 0, 255, 0.2);
}

/* Custom Modal Form Controls */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  box-shadow: inset 0 0 0 1px rgba(0, 242, 254, 0.04);
}

.form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-teal);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.24);
}

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

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-teal) 50%), linear-gradient(135deg, var(--color-teal) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 2px), calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

select.form-input option {
  background: #101728;
  color: #d9e3f0;
}

.modal-form textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

.form-submit-container {
  margin-top: 10px;
}

.form-submit-container .btn {
  width: 100%;
}

.stripe-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.stripe-disclaimer svg {
  width: 16px;
  height: 16px;
  fill: var(--text-muted);
}

/* Success Page Styling */
.success-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.success-page .success-wrapper {
  padding-top: 124px;
  padding-bottom: 56px;
}

.success-card {
  max-width: 600px;
  width: 100%;
  padding: 60px 40px;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  border: 2px solid var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px auto;
  animation: pulse-success 2s infinite;
}

@keyframes pulse-success {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(0, 242, 254, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.success-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--color-teal);
}

.success-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: var(--gradient-river);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.success-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.details-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 40px;
  text-align: left;
}

.details-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.details-row:last-child {
  border-bottom: none;
}

.details-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.details-value {
  color: var(--text-primary);
  font-weight: 600;
}

.details-value.badge-val {
  color: var(--color-teal);
}

/* Cancelled Alert Banner in Hero */
.cancelled-banner {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.cancelled-banner svg {
  width: 20px;
  height: 20px;
  fill: #fca5a5;
  flex-shrink: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-badge, .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid, .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .site-header {
    height: 72px;
  }

  .site-header .container {
    position: relative;
  }

  .logo {
    font-size: 1.15rem;
    gap: 8px;
  }

  .logo svg {
    width: 26px;
    height: 26px;
  }

  .hero {
    padding-top: 132px;
    padding-bottom: 72px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

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

  .floating-card {
    padding: 24px;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .stat-val {
    font-size: 1.65rem;
  }

  .section {
    padding: 76px 0;
  }

  .section-header {
    margin-bottom: 44px;
  }
  
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .stats-grid {
    gap: 16px;
  }

  .stat-box {
    padding: 18px;
  }

  .stat-box-num {
    font-size: 2.2rem;
  }

  .price-card {
    padding: 34px 22px;
  }

  .price-num {
    font-size: 2.7rem;
  }

  .price-desc {
    min-height: unset;
    margin-bottom: 24px;
  }

  .price-features {
    margin-bottom: 28px;
  }

  .step-desc {
    padding: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .mobile-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    margin: 0;
    gap: 0;
    padding: 8px 0;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(12, 16, 32, 0.96);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    transition: max-height 0.3s ease, opacity 0.25s ease;
  }

  .nav-links.active {
    max-height: 340px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1rem;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    background: rgba(0, 242, 254, 0.08);
  }

  .header-cta {
    display: none;
  }
  
  .modal-box {
    width: 94%;
    max-height: 88vh;
    padding: 24px 18px;
  }

  .form-input {
    font-size: 16px;
  }
  
  .success-card {
    padding: 40px 20px;
  }

  .success-page .success-wrapper {
    padding-top: 108px;
  }

  .success-title {
    font-size: 2rem;
  }

  .details-row {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .site-header {
    height: 68px;
  }

  .logo {
    font-size: 1rem;
    gap: 6px;
  }

  .logo svg {
    width: 22px;
    height: 22px;
  }

  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
  }

  .mobile-menu-toggle span {
    width: 16px;
  }

  .nav-links {
    top: 68px;
    left: 12px;
    right: 12px;
    max-height: 320px;
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 12px 16px;
  }

  .success-page .success-wrapper {
    padding-top: 100px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

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

  .price-tier {
    font-size: 1rem;
  }

  .price-num {
    font-size: 2.3rem;
  }

  .featured-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 0.95rem;
  }

  .faq-q-text {
    font-size: 1rem;
  }

  .modal-title {
    font-size: 1.45rem;
  }
}

/* Pricing Comparison Section Styles */
.comparison-table-container {
  overflow-x: auto;
  margin-top: 48px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
}

.comparison-table th, 
.comparison-table td {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.comparison-table th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 2px solid var(--border-glass);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.platform-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.platform-esm {
  background: var(--gradient-river);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.table-muted {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.low-stat {
  color: #fca5a5;
  font-weight: 600;
}

.med-stat {
  color: #fde047;
  font-weight: 600;
}

.high-stat {
  color: #86efac;
  font-weight: 600;
}

.highlighted-row {
  background: rgba(0, 242, 254, 0.03);
  border: 1px solid rgba(0, 242, 254, 0.1);
}

.highlighted-row td {
  border-bottom-color: rgba(0, 242, 254, 0.08);
}

.accent-text {
  color: var(--color-teal);
  font-weight: 600;
}

.flat-fee {
  font-size: 0.8rem;
  background: rgba(0, 242, 254, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ==========================================
   Contact Section & Toggle Button Styles
   ========================================== */
.btn-toggle {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-glass-hover);
  color: var(--text-primary);
}

.btn-toggle.active {
  background: var(--gradient-river);
  border-color: transparent;
  color: #070a13;
  box-shadow: var(--glow-teal);
}

.btn-toggle.active svg {
  stroke: #070a13;
}
