/* PostRewriter Pro Marketing Site - Modern Design */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Brand Colors */
  --primary: #0A6906;
  --primary-light: #0e7e0a;
  --primary-dark: #065005;
  --accent: #16a34a;
  --accent-light: #22c55e;
  
  /* Modern Color Palette */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 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);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --glass-blur: blur(12px);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --gradient-text: linear-gradient(135deg, var(--primary) 0%, var(--accent-light) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(10, 105, 6, 0.3) 0%, rgba(34, 197, 94, 0.3) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(10, 105, 6, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
  
  /* Typography */
  --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  
  /* Animations */
  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.5s;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
}

/* Default theme (light mode when no theme is set) */
:root:not([data-theme]),
:root[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Ensure partner logos work in default light mode */
:root:not([data-theme]) .partner-logo,
:root[data-theme="light"] .partner-logo {
  filter: brightness(0) invert(0) contrast(1.2) opacity(0.8);
}

[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border: #334155;
  --border-light: #475569;
  --glass-bg: rgba(15, 23, 42, 0.3);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== RESET & FOUNDATIONS ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: background-color var(--duration-normal) var(--ease-out),
              color var(--duration-normal) var(--ease-out);
  overflow-x: hidden;
}

/* ===== AMBIENT BACKGROUND ===== */
.ambient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.particle-field {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(10, 105, 6, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(16, 163, 74, 0.05) 0%, transparent 50%);
  animation: particleFloat 20s ease-in-out infinite;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: orbFloat 15s ease-in-out infinite;
}

.gradient-orb:nth-child(1) {
  width: 300px;
  height: 300px;
  background: var(--gradient-primary);
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.gradient-orb:nth-child(2) {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.4), rgba(16, 163, 74, 0.4));
  top: 60%;
  right: -5%;
  animation-delay: -7s;
}

.gradient-orb:nth-child(3) {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, rgba(16, 163, 74, 0.3), rgba(10, 105, 6, 0.3));
  bottom: 20%;
  left: 30%;
  animation-delay: -12s;
}

.neural-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(10, 105, 6, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 105, 6, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  animation: gridShift 30s linear infinite;
}

@keyframes particleFloat {
  0%, 100% { 
    transform: translateY(0) rotate(0deg);
    filter: hue-rotate(0deg);
  }
  33% { 
    transform: translateY(-20px) rotate(5deg);
    filter: hue-rotate(30deg);
  }
  66% { 
    transform: translateY(-10px) rotate(-3deg);
    filter: hue-rotate(-20deg);
  }
}

@keyframes orbFloat {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  50% { 
    transform: translate(30px, -20px) scale(1.1);
    opacity: 0.2;
  }
}

@keyframes gridShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 100px); }
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: var(--glass-blur) saturate(140%);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: all var(--duration-normal) var(--ease-out);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  transition: transform var(--duration-fast) var(--ease-out);
  position: relative;
}

.brand::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.brand:hover {
  transform: scale(1.02);
}

.brand:hover::after {
  transform: scaleX(1);
}

.brand-logo {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.125rem;
  filter: drop-shadow(0 4px 8px rgba(10, 105, 6, 0.3));
  animation: brandGlow 3s ease-in-out infinite;
}

@keyframes brandGlow {
  0%, 100% { 
    filter: drop-shadow(0 4px 8px rgba(10, 105, 6, 0.3));
  }
  50% { 
    filter: drop-shadow(0 6px 12px rgba(10, 105, 6, 0.5));
  }
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
  border-radius: 1px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--glass-bg);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  color: var(--text-secondary);
}

.theme-toggle:hover {
  background: var(--glass-border);
  transform: scale(1.05);
  color: var(--text-primary);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--glass-bg);
  border-radius: 10px;
  cursor: pointer;
  gap: 3px;
  transition: all var(--duration-fast) var(--ease-out);
}

.mobile-menu-toggle:hover {
  background: var(--glass-border);
}

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

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

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

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

.mobile-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 1.5rem;
  background: rgba(10, 105, 6, 0.95);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(10, 105, 6, 0.3);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all var(--duration-normal) var(--ease-out);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav .nav-link {
  padding: 0.75rem;
  border-radius: 8px;
  transition: background-color var(--duration-fast) var(--ease-out);
  color: white;
  text-decoration: none;
}

.mobile-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* ===== UTILITY CLASSES ===== */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1100px) {
  .header-container {
    padding: 1rem;
  }
  
  .section-container {
    padding: 0 1rem;
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }
  
  .nav-actions .btn[data-install-button] {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  
  .section-subtitle {
    font-size: 1.125rem;
  }
}

@media (max-width: 640px) {
  .header-container {
    padding: 0.75rem;
  }
  
  .mobile-menu {
    right: 0.75rem;
    left: 0.75rem;
    min-width: auto;
  }
  
  .section-container {
    padding: 0 0.75rem;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--duration-slow) var(--ease-out);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(10, 105, 6, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 105, 6, 0.4);
}

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

.btn-secondary:hover {
  background: var(--glass-border);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-xl {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 16px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: var(--space-3xl) 0;
  background: var(--gradient-hero);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.ai-badge .sparkle {
  width: 16px;
  height: 16px;
  background: var(--gradient-primary);
  border-radius: 50%;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.2) rotate(180deg); opacity: 0.8; }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.hero-title .gradient-text {
  display: block;
  margin-top: 0.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: var(--space-xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== HERO DEMO ===== */
.hero-demo {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-2xl);
}

.demo-container {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.demo-window-controls {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.window-control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-control.close { background: #ff5f57; }
.window-control.minimize { background: #ffbd2e; }
.window-control.maximize { background: #28ca42; }

.demo-content {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
}

.demo-input,
.demo-output {
  margin-bottom: 1rem;
}

.demo-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.demo-text {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
  padding: 1rem;
  background: var(--bg-tertiary);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.demo-arrow {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
  color: var(--primary);
}

.demo-arrow svg {
  width: 24px;
  height: 24px;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(5px); opacity: 0.7; }
}

.floating-interface {
  position: absolute;
  right: -2rem;
  top: 2rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  animation: interfaceFloat 4s ease-in-out infinite;
}

@keyframes interfaceFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.progress-bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 120px;
}

.progress-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.progress-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  animation: progressFill 3s ease-in-out infinite;
}

@keyframes progressFill {
  0% { width: 0%; }
  100% { width: var(--progress-width, 80%); }
}

.progress-fill:nth-child(1) { --progress-width: 95%; animation-delay: 0s; }
.progress-fill:nth-child(2) { --progress-width: 87%; animation-delay: 0.5s; }
.progress-fill:nth-child(3) { --progress-width: 92%; animation-delay: 1s; }

/* ===== RESPONSIVE HERO ===== */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .floating-interface {
    position: relative;
    right: auto;
    top: auto;
    margin: 0 auto;
    margin-top: var(--space-lg);
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: var(--space-xl) 0;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .demo-container {
    padding: 1rem;
  }
  
  .floating-interface {
    display: none;
  }
}
.avatar-stack .dot { width: 24px; height: 24px; border-radius: 50%; background: #22c55e22; border: 1px solid #22c55e66; box-shadow: inset 0 0 0 3px var(--bg); margin-left: -8px }

.step-card { border: 1px solid var(--border); border-radius: 14px; padding: 14px; width: min(720px, 96vw); margin: 10px auto 0; background: linear-gradient(180deg, color-mix(in hsl, var(--bg) 65%, transparent), color-mix(in hsl, var(--bg) 35%, transparent)); box-shadow: var(--shadow) }
.step-title { font-weight: 800; margin-bottom: 10px; color: var(--text) }
.step-row { display: grid; grid-template-columns: 1fr auto; gap: 10px }
.step-row input { border: 1px solid var(--border); background: var(--bg-elev); color: var(--text); border-radius: 12px; padding: 12px 14px; font-size: 14px; outline: none }
.step-row input:focus { border-color: #22c55e66; box-shadow: 0 0 0 3px #22c55e22 }
.tip { color: var(--muted); font-size: 12px; margin-top: 10px }
.blob { position: absolute; inset: -20% -20% auto auto; width: 420px; height: 420px; filter: blur(60px); background: radial-gradient(circle at 30% 30%, #0A6906aa, transparent 60%); pointer-events: none; }

/* Sections */
.section { padding: 56px 22px }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 28px }
.section-head h2 { font-size: clamp(26px, 4vw, 40px); margin: 0 0 8px }
.muted { color: var(--muted) }
a { color: #bbf7d0; text-decoration: none; position: relative; }
a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%; background: currentColor; transform: scaleX(.4); transform-origin: left; opacity: .6; transition: transform .25s ease, opacity .25s ease }
a:hover::after { transform: scaleX(1); opacity: 1 }
.tiny { font-size: 12px }
.grid { display: grid; gap: 16px }
.features-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.feature { border: 1px solid var(--border); border-radius: 14px; padding: 16px; background: linear-gradient(180deg, color-mix(in hsl, var(--bg) 70%, transparent), color-mix(in hsl, var(--bg) 30%, transparent)); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; }
.feature h3 { margin: 10px 0 6px }
.icon { width: 28px; height: 28px; border-radius: 8px; background: #172033; border: 1px solid #243041; box-shadow: inset 0 0 24px rgba(10,105,6,.22) }
.i-bolt { background: conic-gradient(from 0deg, #22c55e55, #0A690644, #22c55e55); }
.i-style { background: conic-gradient(from 60deg, #22c55e55, #0A690644, #22c55e55); }
.i-share { background: conic-gradient(from 120deg, #22c55e55, #0A690644, #22c55e55); }
.i-shield { background: conic-gradient(from 180deg, #22c55e55, #0A690644, #22c55e55); }

/* Steps */
.steps { list-style: none; display: grid; gap: 12px; max-width: 860px; margin: 0 auto; grid-template-columns: repeat(3, 1fr) }
.step { border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start; background: color-mix(in hsl, var(--bg) 70%, transparent); }
.num { width: 28px; height: 28px; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); color: #fff; border-radius: 8px; display: grid; place-items: center; font-weight: 800 }

/* Demo */
.demo .demo-card { border: 1px solid var(--border); border-radius: 16px; overflow: clip; max-width: 980px; margin: 0 auto; background: var(--card); box-shadow: var(--shadow) }
.demo-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border) }
.badge { font-size: 12px; font-weight: 700; background: #22c55e22; color: #22c55e; padding: 4px 8px; border-radius: 999px; border: 1px solid #22c55e55 }
.demo-media video { display: block; width: 100%; height: auto; background: #000 }

/* Marquees */
.partners, .testimonials { padding: 22px 0; overflow: hidden }
.marquee { --speed: 26s; display: flex; overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 42px; padding: 10px 22px; align-items: center; will-change: transform; }
.partners img { height: 34px; opacity: .7; filter: grayscale(1) contrast(.9); }
.marquee-slow { --speed: 36s }
.testimonial-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; max-width: 1100px; margin: 0 auto; padding: 0 22px }
.t-card { border: 1px solid var(--border); border-radius: 14px; padding: 16px; background: linear-gradient(180deg, color-mix(in hsl, var(--bg) 70%, transparent), color-mix(in hsl, var(--bg) 30%, transparent)); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease }
.t-card:hover { transform: translateY(-2px); box-shadow: 0 24px 50px rgba(0,0,0,.3) }
.t-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px }
.t-avatar { width: 32px; height: 32px; border-radius: 50%; background: #22c55e22; border: 1px solid #22c55e66 }
.stars { color: #fde047; font-weight: 800; letter-spacing: .1em; font-size: 12px }
@media (max-width: 1100px){ .testimonial-grid { grid-template-columns: repeat(2, minmax(0,1fr)) } }
@media (max-width: 640px){ .testimonial-grid { grid-template-columns: 1fr } }

/* ===== MODERN PRICING ===== */
.pricing-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  z-index: -1;
}

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

.pricing-card:hover::before {
  opacity: 0.05;
}

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

.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: 0 0 12px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

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

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.price-period {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.plan-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-features {
  margin-bottom: var(--space-xl);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.features-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-primary);
  line-height: 1.6;
}

.feature-check {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.pricing-action {
  margin-top: auto;
  text-align: center;
}

.pricing-footer {
  text-align: center;
  margin-top: var(--space-2xl);
}

.pricing-note {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.pricing-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--duration-fast) var(--ease-out);
}

.pricing-link:hover {
  color: var(--primary-dark);
}
.price { font-size: 36px; font-weight: 800; margin: 8px 0 }
.list { list-style: none; padding: 0; margin: 0 0 14px 0 }
.list li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; align-items: start }
.list li::before { content: ""; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)) }

/* ===== BUSINESS STATS SECTION ===== */
.business-stats-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, 
    color-mix(in hsl, var(--bg-primary) 50%, transparent), 
    color-mix(in hsl, var(--brand-primary) 5%, var(--bg-primary))
  );
  position: relative;
  overflow: hidden;
}

.business-stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 800px;
  background: radial-gradient(ellipse at center, 
    color-mix(in hsl, var(--brand-primary) 8%, transparent) 0%,
    transparent 70%
  );
  opacity: 0.7;
  z-index: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: var(--bg-primary);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(10, 105, 6, 0.05), 
    rgba(34, 197, 94, 0.03)
  );
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  z-index: 0;
  border-radius: 18px;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--primary), 
    transparent
  );
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  z-index: 1;
}

.stat-card:hover {
  transform: translateY(-12px) scale(1.03);
  border-color: var(--primary);
  box-shadow: 
    var(--shadow-2xl),
    0 0 0 1px rgba(10, 105, 6, 0.2),
    0 0 60px rgba(10, 105, 6, 0.15);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover::after {
  opacity: 1;
}

.stat-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 18px;
  color: white;
  position: relative;
  z-index: 2;
  box-shadow: 
    0 8px 32px rgba(10, 105, 6, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all var(--duration-normal) var(--ease-out);
}

.stat-card:hover .stat-icon {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 
    0 16px 48px rgba(10, 105, 6, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.stat-icon svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  position: relative;
  z-index: 2;
  line-height: 1;
  transition: all var(--duration-normal) var(--ease-out);
  text-shadow: none;
}

.stat-card:hover .stat-number {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  position: relative;
  z-index: 2;
  transition: color var(--duration-normal) var(--ease-out);
}

.stat-card:hover .stat-label {
  color: var(--primary);
}

.stat-description {
  font-size: 1rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
  font-weight: 500;
  transition: all var(--duration-normal) var(--ease-out);
}

.stat-card:hover .stat-description {
  color: var(--text-primary);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  
  .stat-card {
    padding: var(--space-lg);
  }
  
  .stat-number {
    font-size: 2.75rem;
  }
  
  .stat-icon {
    width: 60px;
    height: 60px;
  }
  
  .stat-icon svg {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    padding: var(--space-md);
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

/* ===== MODERN FAQ SECTION ===== */
.faq-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, 
    color-mix(in hsl, var(--bg-primary) 50%, transparent), 
    color-mix(in hsl, var(--brand-primary) 3%, var(--bg-primary))
  );
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.faq-item {
  background: color-mix(in hsl, var(--bg-card) 90%, transparent);
  border: 1px solid color-mix(in hsl, var(--border-primary) 30%, transparent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all var(--duration-normal) var(--ease-out);
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in hsl, var(--brand-primary) 40%, transparent);
  box-shadow: 
    0 10px 40px color-mix(in hsl, var(--shadow-primary) 15%, transparent),
    0 0 0 1px color-mix(in hsl, var(--brand-primary) 10%, transparent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out);
}

.faq-question:hover {
  background: color-mix(in hsl, var(--brand-primary) 5%, transparent);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--brand-primary);
  transition: transform var(--duration-fast) var(--ease-out);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.faq-support {
  margin-top: var(--space-2xl);
}

.support-card {
  background: linear-gradient(135deg, 
    color-mix(in hsl, var(--brand-primary) 10%, transparent), 
    color-mix(in hsl, var(--brand-secondary) 5%, transparent)
  );
  border: 1px solid color-mix(in hsl, var(--brand-primary) 20%, transparent);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  backdrop-filter: blur(20px);
}

.support-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: var(--glass-bg);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.support-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.1;
  border-radius: 50%;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.support-icon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.support-icon:hover::before {
  opacity: 0.2;
}

.support-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  z-index: 1;
  position: relative;
}

.support-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.support-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

/* ===== MODERN FINAL CTA SECTION ===== */
.final-cta-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, 
    var(--bg-primary) 0%, 
    color-mix(in hsl, var(--brand-primary) 8%, var(--bg-primary)) 50%,
    var(--bg-primary) 100%
  );
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, 
    color-mix(in hsl, var(--brand-primary) 10%, transparent) 0%,
    transparent 70%
  );
  opacity: 0.6;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: color-mix(in hsl, var(--brand-primary) 10%, transparent);
  border: 1px solid color-mix(in hsl, var(--brand-primary) 30%, transparent);
  border-radius: 9999px;
  padding: var(--space-xs) var(--space-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-primary);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(20px);
}

.cta-badge .sparkle {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  border-radius: 50%;
  animation: sparkle 2s ease-in-out infinite;
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.cta-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
  padding-top: var(--space-lg);
  border-top: 1px solid color-mix(in hsl, var(--border-primary) 30%, transparent);
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.cta-feature svg {
  width: 16px;
  height: 16px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
  
  .cta-features {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    text-align: center;
  }
  
  .cta-feature {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cta-features {
    gap: var(--space-xs);
    padding-top: var(--space-md);
  }
  
  .cta-feature {
    font-size: 0.85rem;
  }
}

/* Footer */
/* ===== MODERN FOOTER ===== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-2xl) 0 var(--space-xl);
  margin-top: var(--space-3xl);
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-brand .brand-logo svg {
  width: 32px;
  height: 32px;
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-out);
}

.social-link:hover {
  background: var(--glass-border);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-column a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0.3);
  transform-origin: left;
  opacity: 0.6;
  transition: transform var(--duration-normal) var(--ease-out), opacity var(--duration-normal) var(--ease-out);
}

.footer-column a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}
.legal, footer nav { display: grid; gap: 6px }

/* Modal */
.modal { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 100 }
.modal[aria-hidden="false"] { opacity: 1; pointer-events: auto }
.modal-card { width: min(520px, 92vw); border: 1px solid var(--border); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); padding: 18px }
.modal-steps { color: var(--muted) }
.modal-actions { display: flex; gap: 10px; margin-top: 14px }
.modal-close { float: right; border: 1px solid var(--border); background: transparent; color: var(--text); border-radius: 8px; padding: 6px 8px; cursor: pointer }

/* Reveal on scroll */
.reveal { opacity: 1; transform: translateY(0px); transition: opacity .5s ease, transform .6s cubic-bezier(.16,1,.3,1) }
.reveal.in { opacity: 1; transform: none }

/* 3D tilt */
.tilt { transform: perspective(1000px) rotateX(0) rotateY(0); transition: transform .25s ease }
.tilt:hover { transform: perspective(1000px) rotateX(2deg) rotateY(-3deg) translateY(-2px) }

/* Responsive */
@media (max-width: 1000px) {
  .step-row { grid-template-columns: 1fr }
}
@media (max-width: 860px){
  .features-grid { grid-template-columns: repeat(2, minmax(0,1fr)) }
  .steps { grid-template-columns: 1fr }
  .pricing .pricing-grid { grid-template-columns: 1fr }
  .faq .faq-grid { grid-template-columns: 1fr }
  .footer-grid { grid-template-columns: 1fr }
}

/* Theme switch icons */
.icon-sun,
.icon-moon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: conic-gradient(from 0deg, #fbbf24, #f59e0b, #fbbf24);
  mask: radial-gradient(circle at 50% 50%, transparent 4px, #000 5px);
}
.icon-moon {
  background: linear-gradient(135deg, #fff, #cbd5e1);
  mask: radial-gradient(circle at 30% 30%, transparent 8px, #000 9px) top left / 100% 100% no-repeat;
}

/* Utilities */
/* ===== PARTNERS SECTION ===== */
.partners-section {
  padding: var(--space-3xl) 0 var(--space-2xl);
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--surface) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partners-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.partners-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.025em;
}

.partners-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.partners-marquee-container {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.marquee {
  display: flex;
  animation: marqueeFlow 40s linear infinite;
  will-change: transform;
}

.marquee:hover {
  animation-play-state: paused;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  min-width: 100%;
}

.partner-logo {
  flex-shrink: 0;
  height: 72px;
  width: auto;
  max-width: 200px;
  opacity: 0.9;
  transition: all var(--duration-normal) var(--ease-out);
  filter: brightness(0) invert(0) contrast(1.2) opacity(0.8);
}

[data-theme="dark"] .partner-logo {
  filter: brightness(0) invert(1) contrast(1.2);
}

.partner-logo:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.05);
}

/* Specific brand colors on hover */
.partner-logo[alt="Google"]:hover {
  filter: none;
}

.partner-logo[alt="Microsoft"]:hover {
  filter: none;
}

.partner-logo[alt="Meta"]:hover {
  filter: none;
}

.partner-logo[alt="Apple"]:hover {
  filter: none;
}

.partner-logo[alt="Amazon"]:hover {
  filter: none;
}

.partner-logo[alt="Netflix"]:hover {
  filter: none;
}

.partner-logo[alt="Tesla"]:hover {
  filter: none;
}

.partner-logo[alt="Spotify"]:hover {
  filter: none;
}

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

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-lg);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.icon-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-glow);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  z-index: -1;
}

.feature-card:hover .icon-glow {
  opacity: 1;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: var(--space-xl);
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
}

.step-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-xl);
}

.step-number {
  position: relative;
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: var(--shadow-lg);
}

.step-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-glow);
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  z-index: -1;
}

.step-card:hover .step-glow {
  opacity: 1;
}

.step-visual {
  width: 120px;
  height: 80px;
  background: var(--bg-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.step-content {
  min-width: 0;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.step-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  width: 2px;
  height: var(--space-xl);
  background: var(--gradient-primary);
  margin: 0 auto;
  border-radius: 1px;
  opacity: 0.3;
}

/* ===== MODERN TESTIMONIALS ===== */
.testimonials-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-primary);
  overflow: hidden;
  position: relative;
}

.testimonials-marquee-container {
  margin-top: var(--space-2xl);
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.testimonials-marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: var(--space-xl);
  width: max-content;
  animation: testimonialMarquee 45s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

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

.testimonials-section::before,
.testimonials-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 10;
  pointer-events: none;
}

.testimonials-section::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.testimonials-section::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.testimonial-card {
  background: linear-gradient(135deg, var(--glass-bg) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  min-width: 380px;
  max-width: 420px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  filter: grayscale(0.1);
}

.testimonial-card:hover {
  filter: grayscale(0);
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(10, 105, 6, 0.15);
  border-color: rgba(10, 105, 6, 0.2);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  z-index: -1;
  border-radius: 24px;
}

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

.testimonial-card:hover::before {
  opacity: 0.05;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.quote-icon {
  width: 44px;
  height: 44px;
  color: var(--primary);
  margin-bottom: var(--space-md);
  opacity: 0.9;
  background: linear-gradient(135deg, rgba(10, 105, 6, 0.1), rgba(10, 105, 6, 0.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(10, 105, 6, 0.1);
}

.quote-icon svg {
  width: 100%;
  height: 100%;
}

.testimonial-card blockquote {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0 0 var(--space-xl) 0;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(10, 105, 6, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.avatar-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  z-index: -1;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.author-role {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.rating .stars {
  color: #fbbf24;
  font-size: 0.875rem;
}

/* ===== MODERN TESTIMONIALS WITH ANIMATIONS ===== */
.testimonials-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-primary);
  overflow: hidden;
  position: relative;
}

.testimonials-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  animation: testimonialFloat 15s ease-in-out infinite;
  position: relative;
}

@keyframes testimonialFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  33% { transform: translateY(-8px) scale(1.02); }
  66% { transform: translateY(-4px) scale(1.01); }
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  min-width: 320px;
  max-width: 380px;
  flex-shrink: 0;
  animation: testimonialGlow 12s ease-in-out infinite;
  animation-delay: calc(var(--card-index, 0) * 3s);
  display: flex;
  flex-direction: column;
}

@keyframes testimonialGlow {
  0%, 100% { 
    box-shadow: var(--shadow-lg);
    border-color: var(--glass-border);
  }
  25% { 
    box-shadow: 0 25px 50px rgba(var(--primary-rgb), 0.15);
    border-color: rgba(var(--primary-rgb), 0.4);
  }
  75% { 
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.2);
  }
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  border-radius: 24px;
  z-index: -1;
}

.testimonial-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: var(--shadow-xl);
  animation-play-state: paused;
}

.testimonial-card:hover::before {
  opacity: 0.08;
}

.testimonial-card:nth-child(1) { --card-index: 0; }
.testimonial-card:nth-child(2) { --card-index: 1; }
.testimonial-card:nth-child(3) { --card-index: 2; }

.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  flex: 1;
}

.quote-icon {
  width: 36px;
  height: 36px;
  color: var(--primary);
  opacity: 0.9;
  align-self: flex-start;
  animation: quoteFloat 8s ease-in-out infinite;
}

@keyframes quoteFloat {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(5deg) scale(1.1); }
}

.testimonial-card blockquote {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0;
  font-style: italic;
  position: relative;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--glass-border);
}

.author-avatar {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1.1rem;
  background: var(--gradient-primary);
  flex-shrink: 0;
  animation: avatarPulse 6s ease-in-out infinite;
}

@keyframes avatarPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.avatar-gradient {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.15;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-size: 1rem;
}

.author-role {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.rating .stars {
  color: #fbbf24;
  font-size: 0.9rem;
  letter-spacing: 2px;
  animation: starTwinkle 4s ease-in-out infinite;
}

@keyframes starTwinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .testimonials-grid {
    flex-wrap: wrap;
    justify-content: center;
    animation: none;
  }
  
  .testimonials-grid::before,
  .testimonials-grid::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .testimonials-track {
    gap: var(--space-lg);
  }
  
  .testimonial-card {
    min-width: 300px;
    max-width: 350px;
  }
  
  .testimonials-section::before,
  .testimonials-section::after {
    width: 80px;
  }
}

@media (max-width: 640px) {
  .testimonial-card {
    padding: var(--space-lg);
    min-width: 280px;
    max-width: 320px;
  }
  
  .testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .author-avatar {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }
  
  .testimonials-section::before,
  .testimonials-section::after {
    width: 60px;
  }
  
  .partner-logo {
    height: 44px;
    max-width: 120px;
  }
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--space-md);
}

.avatar {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-glow);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  z-index: -1;
}

.testimonial-card:hover .avatar-glow {
  opacity: 0.8;
}

.testimonial-info h4 {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.stars {
  color: #fbbf24;
  font-size: 0.875rem;
}

.testimonial-card blockquote {
  font-style: italic;
  line-height: 1.6;
  color: var(--text-secondary);
  position: relative;
}

.testimonial-card blockquote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: -0.75rem;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
  font-family: serif;
}

/* ===== RESPONSIVE TESTIMONIALS ===== */
@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    padding: var(--space-lg);
  }
}

/* ===== VISUAL ANIMATIONS ===== */
.selection-demo {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 1rem;
}

.text-line {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.text-line.selected {
  background: var(--primary);
  animation: textSelect 2s ease-in-out infinite;
}

.text-line.partial {
  background: linear-gradient(90deg, var(--primary) 60%, var(--border) 60%);
}

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

.ai-processor {
  position: relative;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neural-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 60%);
  animation: neuralPulse 3s ease-in-out infinite;
}

@keyframes neuralPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.processing-rings {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid var(--primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: processingSpin 2s linear infinite;
}

@keyframes processingSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.share-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.platform-icons {
  display: flex;
  gap: 0.5rem;
}

.platform-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  animation: platformPulse 2s ease-in-out infinite;
}

.platform-icon.twitter { background: #1da1f2; animation-delay: 0s; }
.platform-icon.linkedin { background: #0077b5; animation-delay: 0.3s; }
.platform-icon.reddit { background: #ff4500; animation-delay: 0.6s; }

@keyframes platformPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.copy-button {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.copy-button svg {
  width: 12px;
  height: 12px;
}

/* ===== SCROLL REVEAL ANIMATION ===== */
[data-aos] {
  opacity: 1;
  transition: all var(--duration-slow) var(--ease-out);
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(0px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

/* ===== RESPONSIVE HELPERS ===== */
@media (max-width: 1100px) {
  .step-card {
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
  }
  
  .step-visual {
    grid-column: 1 / -1;
    justify-self: center;
    margin-bottom: var(--space-md);
  }
  
  .step-content {
    grid-column: 1 / -1;
    text-align: center;
  }
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 820px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .step-card {
    padding: var(--space-lg);
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

.hidden { display: none !important }

