/* ============================================
   FAREAPPALTI.AI - Main Stylesheet
   Palette: #7400C6 (purple), #9B30FF (light purple),
            #5A009A (dark purple), #64E9FF (cyan accent),
            #000229 (dark bg), #F7F9FE (light bg)
   ============================================ */

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

:root {
  --purple: #7400C6;
  --purple-light: #9B30FF;
  --purple-dark: #5A009A;
  --purple-soft: #EDE0F8;
  --cyan: #64E9FF;
  --dark: #000229;
  --dark-light: #0A0B2E;
  --light: #F7F9FE;
  --white: #FFFFFF;
  --text: #191919;
  --text-light: #606060;
  --border: #E1E1E1;
  --gradient-purple: linear-gradient(135deg, #9B30FF 0%, #7400C6 50%, #5A009A 100%);
  --gradient-ai: linear-gradient(135deg, #7400C6 0%, #64E9FF 100%);
  --gradient-dark: linear-gradient(180deg, #000229 0%, #0A0B2E 100%);
  --gradient-hero: linear-gradient(135deg, #000229 0%, #1a0040 40%, #0A0B2E 100%);
  --shadow: 0 4px 24px rgba(116, 0, 198, 0.12);
  --shadow-lg: 0 12px 48px rgba(116, 0, 198, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; color: var(--text-light); font-size: 1.05rem; }

a { color: var(--purple); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--purple-light); }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-white p { color: rgba(255,255,255,0.8) !important; }
.text-purple { color: var(--purple) !important; }
.text-gradient {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--gradient-purple);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(116, 0, 198, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(116, 0, 198, 0.5);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(100, 233, 255, 0.08);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--purple);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  color: var(--purple-dark);
}

.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-sm { padding: 10px 24px; font-size: 0.9rem; }

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Badge/Tag --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Archivo', sans-serif;
}
.badge-purple {
  background: rgba(116, 0, 198, 0.1);
  color: var(--purple);
  border: 1px solid rgba(116, 0, 198, 0.2);
}
.badge-glow {
  background: rgba(100, 233, 255, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(100, 233, 255, 0.3);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(0, 2, 41, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

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

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.navbar-menu a {
  color: rgba(255,255,255,0.8);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.navbar-menu .btn {
  margin-left: 8px;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* --- Hero Sections --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-page {
  min-height: 60vh;
  padding: 140px 0 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Neural Network Background Animation */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0.15;
}

.hero-bg canvas {
  width: 100%;
  height: 100%;
}

/* Grid pattern overlay */
.grid-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(116, 0, 198, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 0, 198, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

/* Glow orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
}
.orb-1 {
  width: 500px; height: 500px;
  background: rgba(116, 0, 198, 0.3);
  top: -100px; right: -100px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: rgba(100, 233, 255, 0.15);
  bottom: -50px; left: -100px;
}
.orb-3 {
  width: 300px; height: 300px;
  background: rgba(155, 48, 255, 0.2);
  top: 40%; left: 50%;
}

/* Hero visual (right side) */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-float-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
}

/* Stats in hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
  z-index: 2;
}

.hero-stat {
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
}

.hero-stat .number {
  font-family: 'Archivo', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--gradient-dark);
  color: var(--white);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.7); }

.section-light {
  background: var(--light);
}

.section-purple {
  background: var(--gradient-purple);
  color: var(--white);
}
.section-purple h2, .section-purple h3 { color: var(--white); }
.section-purple p { color: rgba(255,255,255,0.85); }

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

.section-header .badge { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(116, 0, 198, 0.2);
}

.card-dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.card-dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(100, 233, 255, 0.2);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(116, 0, 198, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card-dark .card-icon {
  background: rgba(100, 233, 255, 0.1);
}

.card h3, .card h4 { margin-bottom: 12px; }

.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Feature card with icon top */
.feature-card {
  text-align: center;
  padding: 40px 30px;
}

.feature-card .card-icon {
  margin: 0 auto 20px;
}

/* --- CTA Sections --- */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-box {
  background: var(--gradient-purple);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box h2 { color: var(--white); margin-bottom: 16px; }
.cta-box p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(100, 233, 255, 0.08);
  border-radius: 50%;
}

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

/* Inline CTA */
.cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  background: var(--light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  gap: 24px;
}
.cta-inline h3 { margin-bottom: 8px; }

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

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

.stat-number {
  font-family: 'Archivo', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.stat-number.gradient {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.95rem;
}

/* --- Feature Rows (alternating left/right) --- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 60px 0;
}

.feature-row:nth-child(even) .feature-text { order: 2; }
.feature-row:nth-child(even) .feature-media { order: 1; }

.feature-text .badge { margin-bottom: 16px; }
.feature-text h2 { margin-bottom: 16px; }
.feature-text p { margin-bottom: 16px; }

.feature-list {
  list-style: none;
  margin: 24px 0;
}
.feature-list li {
  padding: 8px 0;
  padding-left: 32px;
  position: relative;
  color: var(--text-light);
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
  font-size: 1.1rem;
}

.section-dark .feature-list li::before {
  color: var(--cyan);
}
.section-dark .feature-list li {
  color: rgba(255,255,255,0.7);
}

.feature-media {
  position: relative;
}

.feature-visual {
  background: var(--gradient-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(116, 0, 198, 0.2);
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(116, 0, 198, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 0, 198, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* --- Pricing / Plan Cards --- */
.plan-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 2px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.plan-card.featured {
  border-color: var(--purple);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

/* --- Accordion / FAQ --- */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-family: 'Archivo', sans-serif;
  background: var(--white);
  transition: var(--transition);
}

.accordion-header:hover { background: var(--light); }

.accordion-header .icon {
  transition: var(--transition);
  font-size: 1.2rem;
  color: var(--purple);
}

.accordion-item.active .accordion-header .icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-body-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
}

.accordion-item.active .accordion-body {
  max-height: 500px;
}

/* --- Process Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: var(--gradient-ai);
  opacity: 0.3;
}

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

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}

.step h4 { margin-bottom: 8px; }

/* --- Testimonials --- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
}

.testimonial-card .quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
}

.testimonial-card .author-name {
  font-weight: 600;
  font-family: 'Archivo', sans-serif;
}
.testimonial-card .author-role {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Archivo', sans-serif;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--text);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(116, 0, 198, 0.1);
}

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

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.form-check input[type="checkbox"] {
  accent-color: var(--purple);
  margin-top: 4px;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

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

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

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--cyan);
}

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

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: var(--cyan); }

/* --- Animated Elements --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-float { animation: float 4s ease-in-out infinite; }
.animate-pulse { animation: pulse 3s ease-in-out infinite; }

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- Glassmorphism Panel --- */
.glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}

/* --- Icon Circles --- */
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.icon-circle-purple {
  background: rgba(116, 0, 198, 0.1);
  color: var(--purple);
}

.icon-circle-cyan {
  background: rgba(100, 233, 255, 0.1);
  color: var(--cyan);
}

/* --- List with icons --- */
.check-list {
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-light);
}

.check-list li .check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(116, 0, 198, 0.1);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.comparison-table th {
  background: var(--dark);
  color: var(--white);
  padding: 16px 20px;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  text-align: left;
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.comparison-table tr:nth-child(even) td {
  background: var(--light);
}

/* --- Ticker / Marquee --- */
.ticker {
  overflow: hidden;
  padding: 16px 0;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* --- Mobile Responsive --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row:nth-child(even) .feature-text { order: 1; }
  .feature-row:nth-child(even) .feature-media { order: 2; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero { padding: 100px 0 60px; }
  .hero-page { padding: 120px 0 60px; min-height: 40vh; }

  .navbar-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: rgba(0, 2, 41, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 4px;
  }
  .navbar-menu.active { display: flex; }
  .navbar-menu a { padding: 12px 16px; }
  .navbar-menu .btn { margin-left: 0; margin-top: 16px; }
  .navbar-toggle { display: block; }

  .card-grid-2,
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: 1fr; }

  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }

  .btn-group { flex-direction: column; align-items: stretch; text-align: center; }
  .btn-group .btn { justify-content: center; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

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

  .feature-visual { min-height: 200px; padding: 24px; }
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple-light); }

/* --- Selection --- */
::selection {
  background: rgba(116, 0, 198, 0.2);
  color: var(--text);
}

/* --- Cookie banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 9999;
  border-top: 1px solid rgba(116, 0, 198, 0.3);
  transform: translateY(100%);
  transition: var(--transition);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: 0.9rem; }
.cookie-banner .btn { flex-shrink: 0; }

/* --- Specific page visuals --- */
.visual-mockup {
  position: relative;
  z-index: 2;
  text-align: center;
}

.visual-mockup .mockup-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.visual-mockup .mockup-text {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* AI data visualization placeholder */
.ai-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ai-visual-cell {
  height: 80px;
  border-radius: 8px;
  background: rgba(116, 0, 198, 0.15);
  border: 1px solid rgba(116, 0, 198, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.5rem;
}

/* --- Benefit Row --- */
.benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.benefit-row .icon-circle {
  flex-shrink: 0;
}

.benefit-row h4 { margin-bottom: 6px; }

/* --- Page inner content --- */
.page-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 60px;
}

.page-intro p {
  font-size: 1.15rem;
}
