/* FrameForgeX Marketing Site — Global Styles */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #06b6d4;
  --accent-dark: #0891b2;
  --dark: #0f172a;
  --dark-mid: #1e293b;
  --dark-light: #334155;
  --light: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --success: #10b981;
  --warning: #f59e0b;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --transition: 0.2s ease;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--gray-600);
  font-size: 1.125rem;
  max-width: 65ch;
}

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

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

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

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

.section {
  padding: 6rem 0;
}

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

.section--dark p {
  color: var(--gray-300);
}

.section--gray {
  background: var(--gray-100);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header p {
  margin: 1rem auto 0;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

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

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.nav__logo svg {
  width: 32px;
  height: 32px;
}

/* FXF medallion mark — transparent PNG, sits on light nav and dark footer */
.nav__logo-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.nav__logo:hover .nav__logo-mark {
  transform: rotate(-8deg) scale(1.06);
}

/* The medallion is dark gunmetal, so lift it against the dark footer */
.footer .nav__logo-mark {
  width: 40px;
  height: 40px;
  filter: brightness(1.35) contrast(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .nav__logo-mark,
  .nav__logo:hover .nav__logo-mark {
    transition: none;
    transform: none;
  }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  color: var(--gray-600);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--primary);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--primary);
  color: white !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background var(--transition), transform var(--transition);
}

.nav__cta:hover {
  background: var(--primary-dark);
  color: white !important;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--primary);
  color: white;
}

.btn--primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgb(99 102 241 / 0.4);
}

.btn--secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn--white {
  background: white;
  color: var(--primary);
}

.btn--white:hover {
  background: var(--gray-100);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--large {
  padding: 1rem 2.25rem;
  font-size: 1.125rem;
}

/* Hero */
.hero {
  padding: 10rem 0 6rem;
  background: linear-gradient(135deg, var(--dark) 0%, #1a1a3e 50%, var(--dark-mid) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgb(99 102 241 / 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgb(6 182 212 / 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgb(99 102 241 / 0.15);
  border: 1px solid rgb(99 102 241 / 0.3);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--gray-300);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

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

.hero__stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

.hero__stat {
  text-align: left;
}

.hero__stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: white;
}

.hero__stat-label {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
}

/* Cards */
.card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

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

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgb(99 102 241 / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.card__title {
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.card__text {
  font-size: 1rem;
  color: var(--gray-500);
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

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

/* Feature split */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-split--reverse {
  direction: rtl;
}

.feature-split--reverse > * {
  direction: ltr;
}

.feature-split__visual {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
}

/* Pipeline visual */
.pipeline {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 3rem 0;
}

.pipeline__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  min-width: 140px;
  text-align: center;
}

.pipeline__step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(99 102 241 / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.pipeline__step-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
}

.pipeline__step-time {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.pipeline__arrow {
  color: var(--gray-300);
  font-size: 1.25rem;
}

/* Testimonial */
.testimonial {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--gray-200);
}

.testimonial__text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-200);
}

.testimonial__name {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9375rem;
}

.testimonial__role {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  padding: 0;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gray-400);
  transition: transform var(--transition);
  flex-shrink: 0;
}

/* Hide ::after when using SVG chevrons */
.faq-question:has(.faq-chevron)::after {
  display: none;
}

.faq-chevron {
  flex-shrink: 0;
  margin-left: auto;
  transition: transform 0.3s ease;
  color: var(--gray-400);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item.active .faq-question::after {
  content: '−';
  color: var(--primary);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 1rem;
}

.faq-answer p {
  font-size: 1rem;
  color: var(--gray-500);
}

/* Pricing */
.pricing-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--gray-200);
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

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

.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.pricing-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  margin: 1rem 0;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-400);
}

.pricing-card__features {
  list-style: none;
  margin: 1.5rem 0 2rem;
  text-align: left;
}

.pricing-card__features li {
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(99 102 241 / 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  display: block;
  font-size: 0.8125rem;
  color: #ef4444;
  margin-top: 0.25rem;
  min-height: 1.125rem;
}

/* SMS Opt-In Page */
.optin-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}

.optin-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.optin-card__header {
  margin-bottom: 2rem;
}

.optin-card__header h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.optin-card__header p {
  font-size: 1rem;
  color: var(--gray-500);
}

.optin-card__event-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgb(99 102 241 / 0.1);
  border: 1px solid rgb(99 102 241 / 0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.phone-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.phone-input:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(99 102 241 / 0.1);
}

.phone-input__prefix {
  display: flex;
  align-items: center;
  padding: 0 0.875rem;
  background: var(--gray-100);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gray-500);
  border-right: 1px solid var(--gray-200);
  user-select: none;
}

.phone-input input {
  border: none !important;
  box-shadow: none !important;
  flex: 1;
}

.phone-input input:focus {
  box-shadow: none !important;
  border: none !important;
}

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.375rem;
}

/* Custom checkbox for consent */
.optin-consent {
  margin: 1.5rem 0;
}

.optin-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  position: relative;
}

.optin-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.optin-checkbox__mark {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid var(--gray-300);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-top: 1px;
}

.optin-checkbox input:checked + .optin-checkbox__mark {
  background: var(--primary);
  border-color: var(--primary);
}

.optin-checkbox input:checked + .optin-checkbox__mark svg {
  opacity: 1;
}

.optin-checkbox__mark svg {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.optin-checkbox input:focus-visible + .optin-checkbox__mark {
  box-shadow: 0 0 0 3px rgb(99 102 241 / 0.2);
}

.optin-checkbox__text {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.optin-checkbox__text a {
  color: var(--primary);
  text-decoration: underline;
}

.optin-fine-print {
  margin-top: 1.25rem;
  font-size: 0.6875rem;
  color: var(--gray-400);
  text-align: center;
  line-height: 1.6;
}

/* Success state */
.optin-success {
  text-align: center;
  padding: 2rem 0;
}

.optin-success__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.optin-success h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.optin-success p {
  font-size: 1rem;
  color: var(--gray-500);
  margin: 0 auto;
}

.optin-success__next {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  text-align: left;
}

.optin-success__next h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.optin-success__next ol {
  padding-left: 1.25rem;
}

.optin-success__next li {
  font-size: 0.875rem;
  color: var(--gray-600);
  padding: 0.25rem 0;
  line-height: 1.5;
}

/* Sidebar info cards */
.optin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.optin-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.optin-info-card:hover {
  background: white;
  box-shadow: var(--shadow);
}

.optin-info-card__icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: rgb(99 102 241 / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.optin-info-card h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.optin-info-card p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.optin-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 1rem 1.25rem;
  background: rgb(16 185 129 / 0.08);
  border: 1px solid rgb(16 185 129 / 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.optin-privacy-note svg {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
}

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

.footer__brand {
  max-width: 300px;
}

.footer__brand p {
  font-size: 0.9375rem;
  color: var(--gray-400);
  margin-top: 1rem;
}

.footer__heading {
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: var(--gray-400);
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: white;
}

.footer__bottom {
  border-top: 1px solid var(--dark-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer__legal a + a::before {
  content: "|";
  margin-right: 1.5rem;
  color: var(--gray-500);
}

.footer__legal a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: white;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  border-top: 1px solid var(--dark-light);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  font-size: 0.875rem;
  color: var(--gray-300);
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__text {
  flex: 1;
}

.cookie-banner__text a {
  color: var(--primary-light);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

.cookie-banner__btn:hover {
  opacity: 0.85;
}

.cookie-banner__btn--accept {
  background: var(--primary);
  color: white;
}

.cookie-banner__btn--decline {
  background: var(--dark-light);
  color: var(--gray-300);
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.footer__social a {
  color: var(--gray-400);
  transition: color var(--transition), transform var(--transition);
  display: flex;
}

.footer__social a:hover {
  color: white;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

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

.modal-content {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.modal-overlay--visible .modal-content {
  transform: translateY(0);
}

.modal-icon {
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.modal-text {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 5rem 0;
  border-radius: 0;
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgb(255 255 255 / 0.8);
  margin: 0 auto 2rem;
}

/* Utility */
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .feature-split { grid-template-columns: 1fr; gap: 2rem; }
  .feature-split--reverse { direction: ltr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .optin-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    gap: 0;
  }

  .nav__links.open {
    max-height: 500px;
    padding: 1.5rem;
    gap: 0.25rem;
  }

  .nav__links li a {
    display: block;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav__links li:last-child a {
    border-bottom: none;
  }

  .nav__toggle { display: block; }

  .hero { padding: 8rem 0 4rem; }
  .hero__stats { flex-direction: column; gap: 1.5rem; }
  .section { padding: 4rem 0; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .pipeline { flex-direction: column; }
  .pipeline__arrow { transform: rotate(90deg); }
  .form-row { grid-template-columns: 1fr; }
  .optin-card { padding: 1.5rem; }
}
