:root{
  --bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --bg-secondary: #ffffff;
  --text: #1a202c;
  --text-light: #4a5568;
  --muted: #718096;
  --primary: #667eea;
  --primary-dark: #5a67d8;
  --accent: #38b2ac;
  --success: #48bb78;
  --border: #e2e8f0;
  --border-light: #f7fafc;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --radius: 16px;
  --radius-sm: 8px;
  --container: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg-secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: 16px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.brand {
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  transition: var(--transition);
}

.brand:hover {
  transform: scale(1.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav a:hover {
  color: var(--primary);
}

.nav a:not(.btn):hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  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 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-outline {
  border: 2px solid var(--border);
  color: var(--text);
  background: var(--bg-secondary);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--primary);
  background: rgba(102, 126, 234, 0.1);
}

.hero {
  background: var(--bg);
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  color: white;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lede {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2rem;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.trust li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.trust strong {
  color: white;
  font-weight: 700;
  margin-right: 0.25rem;
}

.hero-visual {
  position: relative;
}

.hero-visual .card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition);
}

.hero-visual .card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-visual .card h3 {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
}

.card-actions .metric {
  background: rgba(72, 187, 120, 0.1);
  color: var(--success);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-visual .card p {
  color: var(--text-light);
  margin: 1rem 0 1.5rem;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 1.5rem;
  overflow: hidden;
}

.progress-fill {
  width: 65%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 2px;
  animation: progress-fill 2s ease-out;
}

@keyframes progress-fill {
  from { width: 0%; }
  to { width: 65%; }
}

.pill-list {
  display: flex;
  gap: 0.5rem;
}

.pill-list span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.section {
  padding: 6rem 0;
}

.section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.section p.muted {
  text-align: center;
  font-size: 1.125rem;
  margin: 0 0 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.muted {
  color: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.features-grid article {
  background: var(--bg-secondary);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.features-grid article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transition: var(--transition);
}

.features-grid article:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.features-grid article:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.features-grid h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text);
}

.features-grid p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.plan {
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--bg-secondary);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.plan:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.plan.popular {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  transform: translateY(-12px) scale(1.05);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.plan.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.plan.popular h3,
.plan.popular .price,
.plan.popular li {
  color: white;
}

.plan h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text);
}

.price {
  font-size: 3rem;
  font-weight: 800;
  margin: 1rem 0;
  color: var(--text);
}

.per {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-left: 0.25rem;
  font-weight: 400;
}

.plan:not(.popular) .per {
  color: var(--muted);
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.plan li {
  padding: 0.75rem 0;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-light);
}

.plan li:last-child {
  border-bottom: none;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

blockquote {
  background: var(--bg-secondary);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
  margin: 0;
}

blockquote::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
}

blockquote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.stars {
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

blockquote p {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
}

cite {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  font-style: normal;
}

.avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-info span {
  color: var(--muted);
  font-size: 0.9rem;
}

.signup {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.signup-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-secondary);
  padding: 3rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-row label {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-row input {
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-secondary);
}

.form-row input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.form-actions .btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 500;
}

.form-message[style*="green"] {
  background: rgba(72, 187, 120, 0.1);
  color: var(--success);
  border: 1px solid rgba(72, 187, 120, 0.2);
}

.form-message[style*="crimson"] {
  background: rgba(245, 101, 101, 0.1);
  color: #f56565;
  border: 1px solid rgba(245, 101, 101, 0.2);
}

.site-footer {
  background: var(--text);
  color: white;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: white;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-copy h1 {
    font-size: 2.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .plan.popular {
    transform: none;
    scale: 1;
  }
  
  .testimonials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero {
    padding: 4rem 0 3rem;
  }
  
  .hero-copy h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section h2 {
    font-size: 2rem;
  }
  
  .hero-ctas {
    flex-direction: column;
  }
  
  .trust {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .header-inner {
    padding: 1rem 0;
  }
  
  .signup-form {
    padding: 2rem;
  }
  
  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
    gap: 0;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  
  .nav a:not(.btn):hover::after {
    display: none;
  }
  
  #logged-out-buttons {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
  }
  
  #user-profile {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
  }
  
  /* Fix ROI Calculator mobile layout */
  #roi-calculator div[style*="grid-template-columns"] {
    display: block !important;
    grid-template-columns: none !important;
  }
  
  #roi-calculator div[style*="grid-template-columns"] > div {
    margin-bottom: 2rem;
  }
  
  #roi-calculator div[style*="grid-template-columns"] > div:last-child {
    margin-bottom: 0;
  }
  
  /* Fix form grid layouts on mobile */
  div[style*="grid-template-columns"] {
    display: block !important;
    grid-template-columns: none !important;
  }
  
  div[style*="grid-template-columns"] > div {
    margin-bottom: 1rem;
  }
  
  div[style*="grid-template-columns"] > div:last-child {
    margin-bottom: 0;
  }
}

/* Utilities */
.muted-small {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Loading states */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn:disabled::before {
  display: none;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg-secondary: #1a202c;
  --text: #f7fafc;
  --text-light: #e2e8f0;
  --muted: #a0aec0;
  --border: #2d3748;
  --border-light: #4a5568;
}

.theme-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: rgba(102, 126, 234, 0.1);
}

/* Social Proof */
.social-proof {
  margin-top: 2rem;
  text-align: center;
}

.live-counter {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin: 0;
}

#user-count {
  font-weight: 700;
  color: var(--accent);
}

/* Customer Logos */
.logos-section {
  padding: 4rem 0;
  background: var(--border-light);
}

.logos-text {
  text-align: center;
  color: var(--muted);
  margin: 0 0 2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  align-items: center;
}

.logo {
  text-align: center;
  font-weight: 600;
  color: var(--muted);
  opacity: 0.7;
  transition: var(--transition);
}

.logo:hover {
  opacity: 1;
  color: var(--primary);
}

/* Demo Section */
.demo-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.demo-video {
  position: relative;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-placeholder {
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.video-placeholder:hover {
  transform: scale(1.02);
}

.play-button {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.demo-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Comparison Table */
.comparison-table {
  overflow-x: auto;
  margin-top: 2rem;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.check { color: var(--success); }
.cross { color: #f56565; }
.partial { color: #ed8936; }

/* Pricing Calculator */
.pricing-calculator {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  text-align: center;
  border: 1px solid var(--border);
}

.calculator-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

#mau-slider {
  width: 200px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  outline: none;
}

#mau-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
}

#mau-display {
  font-weight: 600;
  color: var(--primary);
  min-width: 60px;
}

.guarantee {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(72, 187, 120, 0.1);
  border-radius: var(--radius);
  color: var(--success);
  font-size: 0.9rem;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--border-light);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  max-height: 200px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
}

/* Integrations */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.integration {
  padding: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.integration:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: white;
  z-index: 1000;
  transform: translateY(100%);
  transition: var(--transition);
}

.sticky-cta.show {
  transform: translateY(0);
}

.sticky-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  max-width: var(--container);
  margin: 0 auto;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.close-sticky {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* Exit Intent Popup */
.exit-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}

.exit-popup.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.popup-content {
  background: var(--bg-secondary);
  padding: 3rem;
  border-radius: var(--radius);
  text-align: center;
  max-width: 400px;
  position: relative;
  transform: scale(0.8);
  transition: var(--transition);
}

.exit-popup.show .popup-content {
  transform: scale(1);
}

.close-popup {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
}

.popup-content h3 {
  margin: 0 0 1rem;
  color: var(--text);
}

.popup-content p {
  margin: 0 0 2rem;
  color: var(--text-light);
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.chat-toggle:hover {
  transform: scale(1.1);
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 300px;
  height: 400px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.chat-header {
  padding: 1rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
}

.message {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  max-width: 80%;
}

.message.bot {
  background: var(--border-light);
  color: var(--text);
}

.message.user {
  background: var(--primary);
  color: white;
  margin-left: auto;
}

.chat-input {
  display: flex;
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.chat-input input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-right: 0.5rem;
}

.chat-input button {
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  max-width: 420px;
  transform: translateY(120%);
  transition: var(--transition);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  padding: 1.5rem;
}

.cookie-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cookie-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cookie-text h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.cookie-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-light);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-details {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  background: var(--border-light);
}

.cookie-category {
  margin-bottom: 1.5rem;
}

.cookie-category:last-of-type {
  margin-bottom: 0;
}

.category-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--muted);
  transition: var(--transition);
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background: var(--primary);
}

input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.category-header h5 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.category-header p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.3;
}

.cookie-detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.privacy-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.privacy-link:hover {
  text-decoration: underline;
}

/* Enhanced Footer */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding: 3rem 0;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0.5rem 0 1.5rem;
}

.security-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: white;
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Loading Skeletons */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--border-light) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Enhanced Responsive */
@media (max-width: 1024px) {
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .demo-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .comparison-table {
    font-size: 0.9rem;
  }
  
  .calculator-controls {
    flex-direction: column;
    gap: 1rem;
  }
  
  .integrations-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-banner {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
  
  .cookie-actions {
    justify-content: center;
  }
  
  .cookie-detail-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .chat-window {
    width: 280px;
    height: 350px;
  }
  
  .sticky-content {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
  }
}
/* Billing Toggle Styles */
.pricing-toggle {
  text-align: center;
  margin-bottom: 3rem;
}

.toggle-controls label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text);
}

.billing-switch {
  display: inline-flex;
  background: var(--border-light);
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
}

.billing-switch button {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.billing-switch button.active {
  background: white;
  color: var(--text);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.billing-switch .discount {
  font-size: 0.8em;
  color: var(--primary);
  font-weight: 600;
}
/* FAQ Section */
.faq-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--border-light);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  max-height: 200px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
}
.message.typing {
  background: var(--border-light);
  color: var(--text);
  padding: 0.5rem 0.75rem;
}

.typing-dots {
  animation: typing 1.5s infinite;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; }
  30% { opacity: 1; }
}

.message.actions {
  background: transparent;
  padding: 0.5rem 0;
}

.quick-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.quick-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.quick-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
