/* =========================================
   Banery PPC - Landing Page
   E-commerce Style Design System
   ========================================= */

/* CSS Variables - Google/Meta Color Palette */
:root {
  /* Primary colors - Meta blue/indigo */
  --primary: #1877f2;
  --primary-dark: #0a5dc2;
  --primary-light: #e7f3ff;
  --secondary: #4267b2;

  /* Google accent colors */
  --accent-red: #ea4335;
  --accent-yellow: #fbbc04;
  --accent-green: #34a853;
  --accent-blue: #4285f4;

  /* Neutrals */
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --text: #1e293b;
  --text-light: #ffffff;
  --text-secondary: #64748b;
  --muted: #94a3b8;
  --card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Typography scale */
  --font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --h1: clamp(2.5rem, 5vw, 3.75rem);
  --h2: clamp(1.875rem, 3.5vw, 2.5rem);
  --h3: clamp(1.25rem, 2vw, 1.5rem);
  --h4: 1.125rem;
  --body: 1rem;
  --body-lg: 1.125rem;
  --small: 0.875rem;
  --xs: 0.75rem;

  /* Line heights */
  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --max-width: 1200px;
  --container-padding: var(--space-6);
  --header-height: 72px;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
}

/* =========================================
   Reset & Base
   ========================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: var(--lh-normal);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* =========================================
   Container & Layout
   ========================================= */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-20) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section--dark .text-secondary {
  color: var(--muted);
}

/* =========================================
   Header / Navigation
   ========================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  transition: opacity var(--transition-fast);
}

.logo:hover {
  opacity: 0.8;
}

.logo-dots {
  display: flex;
  gap: 4px;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.logo-dot--blue { background: var(--accent-blue); }
.logo-dot--red { background: var(--accent-red); }
.logo-dot--yellow { background: var(--accent-yellow); }

/* Desktop Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--small);
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover {
  color: var(--text);
  background: var(--bg-alt);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: background var(--transition-fast);
}

.hamburger:hover {
  background: var(--bg-alt);
}

.hamburger-icon {
  width: 20px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  z-index: 998;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  z-index: 999;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-menu-close:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.mobile-menu-nav {
  flex: 1;
  padding: var(--space-4);
  overflow-y: auto;
}

.mobile-nav-link {
  display: block;
  padding: var(--space-4);
  font-size: var(--body-lg);
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-menu-footer {
  padding: var(--space-6);
  border-top: 1px solid var(--border);
}

/* =========================================
   Typography
   ========================================= */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--primary-light);
  color: var(--primary);
  font-size: var(--xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
}

.section--dark .kicker {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-yellow);
}

h1, .h1 {
  font-size: var(--h1);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--text);
}

h2, .h2 {
  font-size: var(--h2);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  color: var(--text);
}

h3, .h3 {
  font-size: var(--h3);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

h4, .h4 {
  font-size: var(--h4);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--text-light);
}

.lead {
  font-size: var(--body-lg);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 65ch;
}

.text-secondary {
  color: var(--text-secondary);
}

.text-center {
  text-align: center;
}

.text-center .lead {
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  margin-bottom: var(--space-12);
}

.section-header.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================================
   Buttons
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--body);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--body-lg);
  border-radius: var(--radius-lg);
}

.btn--primary {
  background: var(--accent-yellow);
  color: var(--text);
  border-color: var(--accent-yellow);
  box-shadow: 0 4px 14px rgba(251, 188, 4, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 188, 4, 0.45);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border);
}

.btn--secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--ghost {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* =========================================
   Pills / Tags
   ========================================= */

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--small);
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-xs);
}

.pill-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* =========================================
   Cards
   ========================================= */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card--hover:hover {
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--primary);
  font-size: 1.5rem;
}

.card-title {
  font-size: var(--h4);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.card-text {
  font-size: var(--body);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* =========================================
   Hero Section
   ========================================= */

.hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-20);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(24, 119, 242, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 50% at 0% 80%, rgba(251, 188, 4, 0.06), transparent 50%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-title {
  margin-bottom: var(--space-6);
}

.hero-lead {
  font-size: var(--body-lg);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-6);
}

.hero-visual {
  position: relative;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding-top: var(--space-10);
  border-top: 1px solid var(--border);
}

.stat {
  text-align: left;
}

.stat-value {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--small);
  color: var(--text-secondary);
  font-weight: 500;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-secondary);
  font-size: var(--small);
  opacity: 1;
  transition: opacity var(--transition-normal);
}

.scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-hint-icon {
  width: 24px;
  height: 36px;
  border: 2px solid var(--border);
  border-radius: 12px;
  position: relative;
}

.scroll-hint-icon::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 0.5; }
}

/* =========================================
   Two Column Layouts
   ========================================= */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

.two-col-content {
  max-width: 520px;
}

.two-col-visual {
  position: relative;
}

.two-col-image {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* =========================================
   Platform Cards
   ========================================= */

.platform-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: var(--h4);
  margin-bottom: var(--space-3);
}

.platform-logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.platform-text {
  font-size: var(--body);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* =========================================
   Pricing Cards
   ========================================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.price-card {
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition-fast);
}

.price-card:hover {
  box-shadow: var(--shadow-xl);
}

.price-card--featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.price-badge {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  padding: var(--space-2) var(--space-4);
  background: var(--accent-yellow);
  color: var(--text);
  font-size: var(--xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .price-badge {
    top: 0;
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.price-title {
  font-size: var(--h3);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.price-value {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  margin: var(--space-6) 0;
  color: var(--text);
}

.price-value small {
  font-size: var(--body);
  font-weight: 500;
  color: var(--text-secondary);
}

.price-desc {
  font-size: var(--body);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.price-features {
  margin: 0;
}

.price-features li:first-child {
  padding-top: 0;
}

.price-features li:last-child {
  padding-bottom: 0;
}

.price-features li {
  position: relative;
  padding: var(--space-3) 0 var(--space-3) var(--space-8);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--accent-blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.price-card .price-features li::before {
  background-color: var(--accent-green);
}

/* =========================================
   Metrics / AI Section
   ========================================= */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.metric-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.metric-item {
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-4);
  border-left: 3px solid var(--border);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--bg-alt);
  transition: all var(--transition-fast);
}

.metric-item:last-child {
  margin-bottom: 0;
}

.metric-item:hover {
  background: var(--bg);
  transform: translateX(4px);
}

/* Colored left border variants */
.metric-item--blue {
  border-left-color: var(--accent-blue);
}

.metric-item--yellow {
  border-left-color: var(--accent-yellow);
}

.metric-item--red {
  border-left-color: var(--accent-red);
}

.metric-item--green {
  border-left-color: var(--accent-green);
}

.metric-item h4 {
  font-size: var(--body);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.metric-item p {
  font-size: var(--small);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin: 0;
}

/* =========================================
   Reasons / Benefits Grid
   ========================================= */

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6);
}

.reason-card {
  position: relative;
  padding: var(--space-8) var(--space-6) var(--space-6);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all var(--transition-fast);
}

.reason-card::before {
  content: '';
  position: absolute;
  top: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.reason-card:hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%),
    rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.reason-card:hover::before {
  transform: translateX(-50%) scale(1.2);
}

/* Colored dots - like logo */
.reason-card--data::before {
  background: var(--accent-blue);
  box-shadow: 0 0 12px rgba(66, 133, 244, 0.4);
}

.reason-card--money::before {
  background: var(--accent-yellow);
  box-shadow: 0 0 12px rgba(251, 188, 4, 0.4);
}

.reason-card--target::before {
  background: var(--accent-red);
  box-shadow: 0 0 12px rgba(234, 67, 53, 0.4);
}

.reason-card--growth::before {
  background: var(--accent-green);
  box-shadow: 0 0 12px rgba(52, 168, 83, 0.4);
}

.reason-card--speed::before {
  background: var(--primary);
  box-shadow: 0 0 12px rgba(24, 119, 242, 0.4);
}

.reason-card strong {
  position: relative;
  display: block;
  font-size: var(--body);
  margin-bottom: var(--space-2);
  color: var(--text-light);
}

.reason-card p {
  position: relative;
  font-size: var(--small);
  color: var(--muted);
  line-height: var(--lh-relaxed);
}

/* =========================================
   FAQ Section
   ========================================= */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: var(--space-6);
  text-align: left;
  font-size: var(--body);
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg-alt);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* =========================================
   Contact Section
   ========================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

.contact-info h3 {
  font-size: var(--h3);
  margin-bottom: var(--space-6);
}

.contact-block {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border);
}

.contact-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  color: var(--text-secondary);
  font-size: var(--body);
}

.contact-line-icon {
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.contact-icon {
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.contact-icon--blue {
  color: var(--accent-blue);
}

.contact-icon--green {
  color: var(--accent-green);
}

.contact-icon--red {
  color: var(--accent-red);
}

.contact-icon--yellow {
  color: var(--accent-yellow);
}

.contact-line a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.contact-line a:hover {
  color: var(--primary-dark);
}

/* Contact Form */
.contact-form {
  background: var(--card);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: var(--h3);
  margin-bottom: var(--space-2);
}

.contact-form .lead {
  margin-bottom: var(--space-6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  font-size: var(--small);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font: inherit;
  font-size: var(--body);
  background: var(--bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: var(--small);
  color: var(--text-secondary);
  margin-top: var(--space-4);
}

/* =========================================
   Footer
   ========================================= */

.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo {
  color: var(--text-light);
  margin-bottom: var(--space-4);
}

.footer-brand p {
  color: var(--muted);
  font-size: var(--small);
  line-height: var(--lh-relaxed);
}

.footer-col h4 {
  font-size: var(--small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--body);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--text-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  font-size: var(--small);
  color: var(--muted);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--text-light);
}

/* =========================================
   Placeholder Images
   ========================================= */

.placeholder-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, #e0e7ff 100%);
  border: 1px solid var(--border);
}

.placeholder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================
   Responsive Styles
   ========================================= */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-content .btn-group {
    justify-content: center;
  }

  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .two-col--reverse {
    direction: ltr;
  }

  .two-col-content {
    max-width: 100%;
    text-align: center;
  }

  .two-col-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reasons-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: var(--space-4);
  }

  .section {
    padding: var(--space-16) 0;
  }

  .hero {
    padding-bottom: var(--space-12);
  }

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    text-align: center;
    margin-top: var(--space-8);
    padding-top: var(--space-8);
  }

  .stat {
    text-align: center;
    padding: var(--space-4);
    background: var(--bg-alt);
    border-radius: var(--radius-md);
  }

  .card-grid,
  .card-grid--3,
  .card-grid--2 {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .pills {
    justify-content: center;
  }

  .scroll-hint {
    display: none;
  }
}

/* =========================================
   Accessibility & Reduced Motion
   ========================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-3) var(--space-6);
  background: var(--primary);
  color: var(--text-light);
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================
   Scroll Reveal Animations
   ========================================= */

/* Base state - hidden */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.from-left {
  transform: translateX(-30px);
}

.reveal.from-right {
  transform: translateX(30px);
}

.reveal.from-scale {
  transform: scale(0.95);
}

/* Revealed state */
.reveal.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Staggered delays for grid items */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 400ms; }

/* Hero specific animations */
.hero .reveal {
  transition-duration: 0.8s;
}

.hero .reveal:nth-child(1) { transition-delay: 100ms; }
.hero .reveal:nth-child(2) { transition-delay: 200ms; }
.hero .reveal:nth-child(3) { transition-delay: 300ms; }
.hero .reveal:nth-child(4) { transition-delay: 400ms; }
.hero .reveal:nth-child(5) { transition-delay: 500ms; }

/* Stats counter animation */
.stat-value {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat.reveal.revealed .stat-value {
  animation: countPulse 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes countPulse {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

/* Card hover lift enhancement */
.card.reveal.revealed,
.platform-card.reveal.revealed,
.price-card.reveal.revealed,
.reason-card.reveal.revealed {
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
}

/* Image reveal with subtle zoom */
.two-col-image,
.hero-image {
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed .two-col-image,
.reveal.revealed .hero-image,
.two-col-image.revealed,
.hero-image.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Section header reveal */
.section-header.reveal {
  transform: translateY(20px);
}

/* FAQ items stagger */
.faq-list .faq-item.reveal:nth-child(1) { transition-delay: 0ms; }
.faq-list .faq-item.reveal:nth-child(2) { transition-delay: 60ms; }
.faq-list .faq-item.reveal:nth-child(3) { transition-delay: 120ms; }
.faq-list .faq-item.reveal:nth-child(4) { transition-delay: 180ms; }
.faq-list .faq-item.reveal:nth-child(5) { transition-delay: 240ms; }

/* Loading shimmer for images */
.img-loading {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--bg-alt) 0%, var(--border-light) 50%, var(--bg-alt) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Page load animation */
.page-loading {
  opacity: 0;
}

.page-loaded {
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* Reduced motion - disable all animations */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal.from-left,
  .reveal.from-right,
  .reveal.from-scale {
    transform: none;
  }

  .two-col-image,
  .hero-image {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .img-loading {
    animation: none;
  }

  .stat.reveal.revealed .stat-value {
    animation: none;
  }
}
