/* ============================================
   aicontent2u — AI Talking Head Content Service
   Style: Premium, Modern, Conversion-First
   ============================================ */

/* --- CSS Variables / Tokens --- */
:root {
  /* Spacing */
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* Typography */
  --text-xs: clamp(0.7rem, 0.66rem + 0.2vw, 0.78rem);
  --text-sm: clamp(0.8rem, 0.76rem + 0.2vw, 0.88rem);
  --text-base: clamp(0.92rem, 0.88rem + 0.22vw, 1rem);
  --text-md: clamp(1rem, 0.96rem + 0.25vw, 1.08rem);
  --text-lg: clamp(1.15rem, 1.04rem + 0.55vw, 1.35rem);
  --text-xl: clamp(1.38rem, 1.16rem + 1.05vw, 1.85rem);
  --text-2xl: clamp(1.6rem, 1.3rem + 1.5vw, 2.2rem);
  --text-3xl: clamp(1.9rem, 1.5rem + 2vw, 2.8rem);
  --text-hero: clamp(2rem, 1.5rem + 2.5vw, 3.2rem);

  /* Colors — Dark AI Theme */
  --bg: #05080f;
  --bg-alt: #0a0d1a;
  --bg-purple: #0c0a1e;
  --surface: #0f1320;
  --surface-alt: #141829;
  --surface-glow: rgba(139, 92, 246, 0.06);
  --foreground: #f0f2f8;
  --foreground-secondary: #94a3b8;
  --foreground-muted: #5b6a84;
  --border: #1a2040;
  --border-light: #151b35;

  /* Brand — Purple Neon AI */
  --brand: #a855f7;
  --brand-light: #c084fc;
  --brand-soft: #1e1035;
  --brand-dark: #7c3aed;
  --brand-glow: rgba(168, 85, 247, 0.25);
  --brand-gradient: linear-gradient(135deg, #a855f7, #6366f1);
  --brand-gradient-glow: linear-gradient(135deg, #a855f7, #818cf8);

  /* Semantic */
  --success: #22c55e;
  --success-soft: #052e16;
  --warning: #f59e0b;
  --warning-soft: #451a03;
  --whatsapp: #25D366;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 18px 48px rgba(0, 0, 0, 0.6);

  /* Z */
  --z-base: 0;
  --z-sticky: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;

  /* Tap target */
  --tap: 48px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* --- Section Layout --- */
.section {
  padding: var(--space-16) 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

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

.section-alt {
  background: var(--bg-alt);
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(168, 85, 247, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

.section-alt > .container {
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: var(--space-4);
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: var(--text-md);
  color: var(--foreground-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: var(--tap);
  padding: 0 var(--space-6);
  font-size: var(--text-base);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  min-width: 140px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(124, 58, 237, 0.4);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--brand-soft);
}

.btn-lg {
  height: 56px;
  padding: 0 var(--space-8);
  font-size: var(--text-md);
  min-width: 200px;
}

.btn-wide {
  width: 100%;
}

.btn .icon {
  font-size: 1.2em;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(8, 11, 18, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: var(--text-lg);
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.logo span {
  font-weight: 400;
  -webkit-text-fill-color: var(--foreground-muted);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

.nav-desktop a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--foreground-secondary);
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--brand);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

.nav-mobile {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #080b12;
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99;
  will-change: transform;
  -webkit-overflow-scrolling: touch;
}

.nav-mobile.open {
  transform: translateX(0);
}

.nav-mobile a {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--foreground);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile .btn {
  margin-top: var(--space-4);
  text-align: center;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 120px 0 var(--space-16);
  background: #05080f;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Floating AI gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(99, 102, 241, 0.08) 30%, transparent 70%);
  top: -200px;
  right: -150px;
  animation: floatOrb1 8s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.12) 0%, rgba(168, 85, 247, 0.06) 30%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation: floatOrb2 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 40px) scale(1.1); }
  66% { transform: translate(40px, -20px) scale(0.9); }
}

@keyframes floatOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 40px) scale(0.9); }
}

/* Subtle grid overlay for AI/tech feel */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: var(--space-4);
}

.hero h1 .highlight {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: var(--text-md);
  color: var(--foreground-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.hero-actions .btn-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  max-width: 400px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-10);
  flex-wrap: wrap;
}

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

.hero-stat .num {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--brand);
}

.hero-stat .label {
  font-size: var(--text-sm);
  color: var(--foreground-muted);
  font-weight: 500;
}

/* ============================================
   PAIN / PROBLEM
   ============================================ */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  transition: box-shadow 0.2s;
}

.pain-card:hover {
  box-shadow: var(--shadow-md), 0 0 30px rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.2);
}

.pain-card .icon-wrap {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--brand-soft);
}

.pain-card .text h4 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.pain-card .text p {
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
  line-height: 1.6;
}

/* ============================================
   SOLUTION
   ============================================ */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.solution-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.solution-card:hover {
  box-shadow: var(--shadow-md), 0 0 40px rgba(168, 85, 247, 0.1);
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.25);
}

.solution-card .icon-lg {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto var(--space-4);
}

.solution-card h4 {
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.solution-card p {
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS (Steps)
   ============================================ */
.steps {
  counter-reset: step;
}

.step-item {
  display: flex;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
  align-items: flex-start;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-full);
  background: var(--brand-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.step-content h4 {
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.step-content p {
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
  line-height: 1.6;
}

/* ============================================
   PORTFOLIO / SAMPLES
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.sample-card {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.sample-card:hover {
  box-shadow: var(--shadow-md), 0 0 30px rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.2);
}

.sample-video {
  aspect-ratio: 9/16;
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: var(--space-3);
  position: relative;
}

.sample-video .play-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.sample-video .placeholder-label {
  font-size: var(--text-xs);
  opacity: 0.7;
}

.sample-info {
  padding: var(--space-4);
}

.sample-info h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.sample-info p {
  font-size: var(--text-xs);
  color: var(--foreground-muted);
}

/* ============================================
   PRICING / PACKAGES
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg), 0 0 40px rgba(168, 85, 247, 0.1);
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.2);
}

.pricing-card.featured {
  border-color: var(--brand);
  border-width: 2px;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.15), var(--shadow-lg);
}

.pricing-card.featured .popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 20px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-light);
}

.pricing-header h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
}

.pricing-header .price {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--brand);
}

.pricing-header .price span {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--foreground-muted);
}

.pricing-header .desc {
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
  margin-top: var(--space-2);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-8);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
  padding: var(--space-2) 0;
  line-height: 1.5;
}

.pricing-features li .check {
  color: var(--success);
  font-weight: 700;
  min-width: 18px;
}

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

/* ============================================
   WHY US
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.why-item .icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--brand-soft);
}

.why-item .text h4 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 2px;
}

.why-item .text p {
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  margin-top: var(--space-8);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5);
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--foreground);
  text-align: left;
  gap: var(--space-4);
  min-height: var(--tap);
}

.faq-question .arrow {
  font-size: 0.8rem;
  transition: transform 0.3s;
  color: var(--foreground-muted);
  min-width: 16px;
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

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

.faq-answer-inner {
  padding: 0 var(--space-5) var(--space-5);
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
  line-height: 1.7;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #070714 0%, #0c0a1e 40%, #0f0d2e 100%);
  color: #fff;
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 60%);
  top: -100px;
  left: -100px;
  animation: floatOrb1 10s ease-in-out infinite;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
  bottom: -80px;
  right: -80px;
  animation: floatOrb2 12s ease-in-out infinite;
  pointer-events: none;
}

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

.cta-section h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.cta-section p {
  font-size: var(--text-md);
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto var(--space-8);
}

.cta-section .btn {
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
}

/* ============================================
   ORDER FORM
   ============================================ */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  max-width: 520px;
  margin: var(--space-6) auto 0;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
}

.form-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  text-align: center;
}

.form-card .form-sub {
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
  text-align: center;
  margin-bottom: var(--space-6);
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  height: var(--tap);
  padding: 0 var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: inherit;
  color: var(--foreground);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.form-group textarea {
  height: 100px;
  padding: var(--space-3) var(--space-4);
  resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  padding: var(--space-10) 0;
  text-align: center;
}

.footer p {
  font-size: var(--text-sm);
  color: var(--foreground-muted);
}

/* ============================================
   STICKY CTA (Mobile Bottom Bar)
   ============================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: #131821;
  border-top: 1px solid var(--border);
  padding: var(--space-3) var(--space-5);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

.sticky-cta .btn {
  width: 100%;
}

/* ============================================
   MEDIA QUERIES
   ============================================ */
@media (min-width: 600px) {
  .hero-actions .btn-row {
    flex-direction: row;
  }

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

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

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

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

  .pricing-card.featured {
    transform: scale(1.03);
  }
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }

  .hero {
    padding: 140px 0 var(--space-20);
  }

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

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

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

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

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

  .sticky-cta {
    display: none !important;
  }
}

/* --- Sticky CTA visible only on mobile --- */
@media (max-width: 899px) {
  .sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 80px;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .hero::before, .hero::after,
  .cta-section::before, .cta-section::after {
    animation: none;
  }
}
