/*
Theme Name: Wanexa
Theme URI: https://wanexa-ai.com
Author: Kobirul
Author URI: https://wanexa-ai.com
Description: A modern one-page theme for Wanexa - WhatsApp Business API Platform. Power your business with WhatsApp API automation, broadcasts, chatbots, and commerce.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wanexa
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/

/* ==========================================
   CSS Variables / Design Tokens
   ========================================== */
:root {
  --color-bg: #ffffff;
  --color-fg: #171b26;
  --color-primary: hsl(142, 70%, 40%);
  --color-primary-dark: hsl(142, 70%, 30%);
  --color-primary-light: hsl(142, 60%, 50%);
  --color-primary-fg: #ffffff;
  --color-secondary: hsl(220, 15%, 96%);
  --color-secondary-fg: hsl(220, 15%, 25%);
  --color-muted: hsl(220, 15%, 94%);
  --color-muted-fg: hsl(220, 10%, 45%);
  --color-border: hsl(220, 15%, 88%);
  --color-accent: hsl(142, 60%, 45%);
  --radius: 0.75rem;
  --shadow-sm: 0 2px 8px rgba(23, 27, 38, 0.06);
  --shadow-md: 0 4px 16px rgba(23, 27, 38, 0.08);
  --shadow-lg: 0 8px 32px rgba(23, 27, 38, 0.12);
  --shadow-glow: 0 0 40px rgba(34, 174, 96, 0.15);
  --font-body: 'Inter', system-ui, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-fg);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

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

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

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

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-fg);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--color-muted-fg);
}

.btn-ghost:hover {
  color: var(--color-fg);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ==========================================
   Header / Navigation
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

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

.site-logo img {
  height: 3rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted-fg);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--color-fg);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-fg);
  margin: 5px 0;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 4rem 1rem auto;
  z-index: 90;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu .mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .nav-links, .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-bg) 100%);
  overflow: hidden;
  text-align: center;
}

.hero .grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(220, 223, 230, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 223, 230, 0.5) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}

.hero .glow-1, .hero .glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: pulse 4s ease-in-out infinite;
}

.hero .glow-1 {
  top: 25%;
  left: 25%;
  width: 500px;
  height: 500px;
  background: rgba(34, 174, 96, 0.05);
}

.hero .glow-2 {
  bottom: 25%;
  right: 25%;
  width: 400px;
  height: 400px;
  background: rgba(34, 174, 96, 0.03);
  animation-delay: 1s;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(34, 174, 96, 0.1);
  border: 1px solid rgba(34, 174, 96, 0.2);
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: ping 1.5s infinite;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-muted-fg);
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero-highlights span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-fg);
}

.hero-highlights .check {
  color: var(--color-primary);
  font-weight: bold;
}

.hero-image {
  margin-top: 3rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.hero-image img {
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.hero-image .img-glow {
  position: absolute;
  inset: 0;
  background: rgba(34, 174, 96, 0.1);
  border-radius: 1.5rem;
  filter: blur(60px);
  transform: scale(0.9);
  z-index: -1;
}

/* ==========================================
   Logo Marquee
   ========================================== */
.logo-marquee {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(246, 247, 249, 0.3);
  overflow: hidden;
}

.logo-marquee p {
  text-align: center;
  color: var(--color-muted-fg);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
}

.marquee-track.reverse {
  animation-direction: reverse;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-item .icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-muted-fg);
  border: 1px solid rgba(220, 223, 230, 0.5);
}

.marquee-item span {
  font-weight: 500;
  color: var(--color-muted-fg);
}

/* ==========================================
   Section Shared Styles
   ========================================== */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--color-secondary);
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(34, 174, 96, 0.1);
  border: 1px solid rgba(34, 174, 96, 0.2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-muted-fg);
  font-size: 1.125rem;
}

/* ==========================================
   Features Section
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(34, 174, 96, 0.3), transparent);
  border-radius: 1rem;
  opacity: 0;
  z-index: -1;
  filter: blur(20px);
  transition: opacity 0.5s;
}

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

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(34, 174, 96, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--color-muted-fg);
  font-size: 0.9375rem;
}

/* ==========================================
   How It Works
   ========================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.step-number {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-primary-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-glow);
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--color-muted-fg);
  font-size: 0.9375rem;
}

/* ==========================================
   Pricing Section
   ========================================== */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pricing-toggle span {
  font-weight: 500;
  color: var(--color-muted-fg);
}

.pricing-toggle span.active {
  color: var(--color-fg);
}

.toggle-switch {
  width: 3rem;
  height: 1.5rem;
  background: var(--color-border);
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

.toggle-switch.active {
  background: var(--color-primary);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.25rem;
  height: 1.25rem;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-switch.active::after {
  transform: translateX(1.5rem);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  transition: all 0.3s;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.pricing-card .badge-popular {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-primary-fg);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
}

.pricing-card .price small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-muted-fg);
}

.pricing-card ul {
  list-style: none;
  margin: 1.5rem 0;
}

.pricing-card ul li {
  padding: 0.5rem 0;
  color: var(--color-muted-fg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.pricing-card ul li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
}

/* ==========================================
   Testimonials
   ========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2rem;
}

.testimonial-card .stars {
  color: #f59e0b;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.testimonial-card blockquote {
  color: var(--color-muted-fg);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author .avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-primary-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.testimonial-author .name {
  font-weight: 600;
  font-size: 0.875rem;
}

.testimonial-author .role {
  color: var(--color-muted-fg);
  font-size: 0.8125rem;
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-fg);
  font-family: var(--font-heading);
}

.faq-question .icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
  color: var(--color-primary);
}

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

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--color-muted-fg);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-primary-fg);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 36rem;
  margin: 0 auto 2rem;
  position: relative;
}

.cta-section .btn {
  background: white;
  color: var(--color-primary);
  font-weight: 700;
  position: relative;
}

.cta-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
  padding: 4rem 0 2rem;
  background: var(--color-fg);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  max-width: 20rem;
}

.footer-col h4 {
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-col ul a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   Stats Section
   ========================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.stat-item .label {
  color: var(--color-muted-fg);
  font-size: 0.9375rem;
  margin-top: 0.25rem;
}

/* ==========================================
   Integrations
   ========================================== */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}

.integration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: var(--color-bg);
  transition: all 0.3s;
}

.integration-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.integration-item .icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.integration-item span {
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ==========================================
   Floating WhatsApp Chat Widget
   ========================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
}

.wa-toggle-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(34, 174, 96, 0.4);
  transition: all 0.3s;
}

.wa-toggle-btn:hover {
  transform: scale(1.1);
}

.wa-toggle-btn.active {
  background: var(--color-secondary);
  color: var(--color-fg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.wa-chat-popup {
  position: absolute;
  bottom: 4.5rem;
  right: 0;
  width: 22rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.wa-chat-popup.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

.wa-chat-header {
  background: var(--color-primary);
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wa-chat-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-chat-name { font-weight: 600; font-size: 0.9375rem; }
.wa-chat-status { font-size: 0.75rem; opacity: 0.8; }

.wa-chat-body {
  padding: 1rem;
  background: var(--color-secondary);
  min-height: 120px;
}

.wa-message {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  border-top-left-radius: 0;
  padding: 0.75rem;
  max-width: 85%;
}

.wa-message p { font-size: 0.875rem; margin: 0; }
.wa-time { font-size: 0.625rem; color: var(--color-muted-fg); margin-top: 0.25rem; display: block; }

.wa-chat-input {
  padding: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.wa-send-btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: var(--color-primary);
  color: white;
  text-align: center;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.3s;
}

.wa-send-btn:hover { background: var(--color-primary-dark); }

@media (max-width: 480px) {
  .wa-chat-popup { width: calc(100vw - 3rem); right: 0; }
}

/* ==========================================
   CTA Glass Card Section
   ========================================== */
.cta-glass-section {
  position: relative;
  overflow: hidden;
}

.cta-glass-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: rgba(34, 174, 96, 0.05);
  border-radius: 50%;
  filter: blur(120px);
}

.cta-glass-card {
  max-width: 56rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 174, 96, 0.2);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.cta-icon {
  width: 4rem; height: 4rem;
  border-radius: 1rem;
  background: rgba(34, 174, 96, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
  color: var(--color-primary);
}

.cta-glass-card h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
.cta-glass-card p { color: var(--color-muted-fg); font-size: 1.125rem; max-width: 36rem; margin: 0 auto 2rem; }

.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2rem; }

.cta-trust-badges {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
}

.trust-badge { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-fg); }
.trust-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--color-primary); }

/* ==========================================
   NEW Badge
   ========================================== */
.badge-new {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  background: var(--color-primary);
  color: var(--color-primary-fg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

/* ==========================================
   Pricing Extras
   ========================================== */
.pricing-description { color: var(--color-muted-fg); font-size: 0.875rem; margin-bottom: 1rem; }

.pricing-users {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; margin-bottom: 1rem; font-weight: 500; font-size: 0.875rem;
}

.pricing-card .currency { font-size: 1.25rem; color: var(--color-muted-fg); vertical-align: top; }
.yearly-details { margin-top: 0.5rem; }
.yearly-total { font-size: 0.75rem; color: var(--color-muted-fg); margin: 0 0 0.25rem; }

.savings-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background: rgba(34, 174, 96, 0.1);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-note { text-align: center; color: var(--color-muted-fg); font-size: 0.875rem; margin-top: 2rem; }
.pricing-card-header { text-align: center; margin-bottom: 1.5rem; }

/* ==========================================
   Footer Extras
   ========================================== */
.footer-contact { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact a, .footer-contact span { font-size: 0.8125rem; display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-contact a:hover { color: white; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }

.social-icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
}

.social-icon:hover { background: var(--color-primary); color: white; }

/* ==========================================
   AI Sales Strategy
   ========================================== */
.ai-sales-strategy {
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-secondary) 100%);
}

.ai-strategy-content {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.ai-strategy-content h2 {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.ai-strategy-content h2 .gradient-text { display: inline; }

.ai-strategy-content p {
  color: var(--color-muted-fg);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.floating-icons { position: absolute; inset: 0; pointer-events: none; }

.float-icon {
  position: absolute;
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  animation: floatBounce 3s ease-in-out infinite;
}

.fi-1 { top: 15%; left: 10%; animation-delay: 0s; }
.fi-2 { top: 25%; right: 15%; animation-delay: 0.2s; }
.fi-3 { top: 60%; left: 8%; animation-delay: 0.4s; }
.fi-4 { bottom: 20%; right: 10%; animation-delay: 0.6s; }
.fi-5 { top: 10%; left: 40%; animation-delay: 0.3s; }
.fi-6 { bottom: 30%; left: 20%; animation-delay: 0.5s; }
.fi-7 { top: 40%; right: 8%; animation-delay: 0.1s; }

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

@media (max-width: 768px) {
  .float-icon { display: none; }
}

/* ==========================================
   Website Flow
   ========================================== */
.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .flow-grid { grid-template-columns: 1fr; }
}

.flow-card {
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  border: 2px solid;
}

.flow-card-red { background: #fef2f2; border-color: #fecaca; }
.flow-card-green { background: #f0fdf4; border-color: rgba(34, 174, 96, 0.3); }

.flow-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.flow-card-header h3 { font-size: 1.25rem; font-weight: 700; }

.flow-icon-circle {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1rem;
}

.flow-steps {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.flow-pill {
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  background: #fff;
}

.flow-pill-red { border: 1px solid #fecaca; color: #374151; }

.flow-arrow { color: #f87171; font-weight: 700; }

.pain-points { margin-bottom: 1.5rem; }

.pain-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.4rem 0;
  font-size: 0.875rem; color: #4b5563;
}

.pain-x {
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: #fee2e2;
  display: flex; align-items: center; justify-content: center;
  color: #ef4444; font-size: 0.65rem; flex-shrink: 0;
}

.flow-result-bad {
  background: #ef4444;
  color: #fff;
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
}

.flow-result-bad p { font-weight: 700; font-size: 1.125rem; }

.flow-sub-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(34, 174, 96, 0.2);
  margin-bottom: 1rem;
}

.flow-sub-header {
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
}

.flow-tags {
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 0.375rem;
  font-size: 0.75rem;
}

.ftag {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 500;
  white-space: nowrap;
}

.flow-arrow-sm { color: #9ca3af; font-size: 0.75rem; }

.flow-benefits {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem; margin-top: 1rem;
}

@media (min-width: 768px) {
  .flow-benefits { grid-template-columns: repeat(3, 1fr); }
}

.flow-benefit-badge {
  display: flex; align-items: center; gap: 0.5rem;
  background: #fff; border-radius: 0.5rem;
  padding: 0.5rem;
  border: 1px solid rgba(34, 174, 96, 0.2);
  font-size: 0.75rem; font-weight: 500; color: #374151;
}

/* ==========================================
   Two-Column Feature+Mockup Layout
   ========================================== */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .two-col-grid { grid-template-columns: 1fr; }
  .order-1-mobile { order: 1; }
  .order-2-mobile { order: 2; }
}

.col-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.section-sub-text {
  color: var(--color-muted-fg);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.feature-list { display: flex; flex-direction: column; gap: 1.5rem; }

.feature-item {
  display: flex; gap: 1rem;
}

.feature-item-icon {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}

.feature-item h4 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.25rem; }
.feature-item p { color: var(--color-muted-fg); font-size: 0.9375rem; }

/* ==========================================
   Chat Mockup (WhatsApp-style)
   ========================================== */
.chat-mockup-wrapper {
  position: relative;
}

.chat-mockup {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(34, 174, 96, 0.2);
  background: rgba(34, 174, 96, 0.05);
}

.chat-header {
  background: var(--color-primary);
  padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.75rem;
  color: #fff;
}

.chat-avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}

.chat-name { font-weight: 600; font-size: 0.9375rem; }
.chat-status { font-size: 0.75rem; opacity: 0.8; }

.online-dot {
  display: inline-block;
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: #86efac;
  margin-right: 0.25rem;
}

.chat-body {
  background: #e5ddd5;
  padding: 1rem;
  min-height: 250px;
  display: flex; flex-direction: column; gap: 0.75rem;
}

.chat-body-sm { min-height: 200px; }

.chat-msg {
  max-width: 80%;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.chat-msg p { font-size: 0.8125rem; color: #1f2937; margin: 0; }
.chat-time { font-size: 0.625rem; color: #6b7280; display: block; text-align: right; margin-top: 0.25rem; }

.chat-msg-left { background: #fff; align-self: flex-start; }
.chat-msg-right { background: #dcf8c6; align-self: flex-end; }

.chat-action-badge {
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  padding: 0.5rem; text-align: center;
}

.chat-action-badge p {
  color: #fff; font-size: 0.75rem; margin: 0;
}

.auto-followup-panel {
  position: absolute;
  right: -1rem; bottom: -1rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  padding: 1rem;
  width: 15rem;
  z-index: 2;
}

.afp-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.afp-icon { font-size: 1rem; }
.afp-title { font-weight: 600; font-size: 0.875rem; }
.afp-row { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--color-muted-fg); padding: 0.125rem 0; }
.afp-row strong { color: var(--color-fg); }

/* ==========================================
   CRM Dashboard Mockup
   ========================================== */
.crm-mockup {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.crm-header {
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  padding: 0.75rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  color: #fff;
}

.crm-header-left { display: flex; align-items: center; gap: 0.5rem; }
.crm-icon { font-size: 1rem; }
.crm-title { font-weight: 600; font-size: 0.9375rem; }
.crm-dots span { display: inline-block; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: rgba(255,255,255,0.3); margin-left: 0.35rem; }

.crm-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; padding: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.crm-stat { text-align: center; }
.crm-stat-val { font-size: 1.5rem; font-weight: 700; }
.crm-stat-label { font-size: 0.6875rem; color: var(--color-muted-fg); }

.crm-leads { padding: 1rem; }
.crm-leads h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; }

.crm-lead-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem;
  background: var(--color-secondary);
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

.crm-lead-info { display: flex; align-items: center; gap: 0.75rem; }
.crm-lead-avatar { width: 2rem; height: 2rem; border-radius: 50%; background: rgba(34,174,96,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.875rem; }
.crm-lead-name { font-weight: 600; font-size: 0.8125rem; }
.crm-lead-stage { font-size: 0.6875rem; color: var(--color-muted-fg); }
.crm-lead-right { text-align: right; }
.crm-lead-amount { font-weight: 600; font-size: 0.8125rem; }
.crm-lead-status { display: inline-block; padding: 0.125rem 0.5rem; border-radius: 9999px; font-size: 0.625rem; font-weight: 600; text-transform: capitalize; }
.crm-status-hot { background: #fee2e2; color: #dc2626; }
.crm-status-warm { background: #fef9c3; color: #ca8a04; }

/* ==========================================
   Lead Info Panel
   ========================================== */
.lead-qual-layout {
  display: flex; gap: 1rem;
}

@media (max-width: 768px) {
  .lead-qual-layout { flex-direction: column; }
  .lead-info-panel { display: none; }
}

.lead-info-panel {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  padding: 1rem;
  width: 12rem; flex-shrink: 0;
}

.lip-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.lip-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.lip-name { font-weight: 600; font-size: 0.8125rem; }
.lip-role { font-size: 0.6875rem; color: var(--color-muted-fg); }

.lip-details { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.75rem; }
.lip-row { display: flex; justify-content: space-between; color: var(--color-muted-fg); }
.lip-row strong { color: var(--color-fg); }
.lip-tag { padding: 0.125rem 0.5rem; border-radius: 9999px; background: rgba(34,174,96,0.1); color: var(--color-primary); font-weight: 600; font-size: 0.6875rem; }

.lip-summary { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--color-border); }
.lip-summary-label { font-size: 0.6875rem; color: var(--color-muted-fg); margin-bottom: 0.25rem; }
.lip-summary p { font-size: 0.75rem; }

.chat-mockup-compact { flex: 1; }

/* ==========================================
   Feature Showcase
   ========================================== */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.showcase-row:last-child { margin-bottom: 0; }

.showcase-row-reverse .showcase-order-1 { order: 1; }
.showcase-row-reverse .showcase-order-2 { order: 2; }

@media (max-width: 768px) {
  .showcase-row { grid-template-columns: 1fr; }
  .showcase-row-reverse .showcase-order-1 { order: 2; }
  .showcase-row-reverse .showcase-order-2 { order: 1; }
}

.showcase-text h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.showcase-text p { color: var(--color-muted-fg); font-size: 1rem; margin-bottom: 1.5rem; }

.showcase-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.showcase-features li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9375rem; color: var(--color-muted-fg);
}

.showcase-dot {
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.showcase-img-wrapper {
  position: relative;
}

.showcase-img-glow {
  position: absolute; inset: 0;
  background: rgba(34, 174, 96, 0.05);
  border-radius: 1rem;
  filter: blur(40px);
  transform: scale(0.95);
  z-index: -1;
}

.showcase-img-wrapper img {
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  animation: floatImage 4s ease-in-out infinite;
}

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

.showcase-placeholder {
  background: var(--color-secondary);
  border: 2px dashed var(--color-border);
  border-radius: 1rem;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--color-muted-fg);
}

/* ==========================================
   Scroll Reveal - Initial hidden state
   ========================================== */
.feature-card, .step, .pricing-card, .testimonial-card,
.use-case-card, .integration-item, .stat-item,
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.is-visible, .step.is-visible, .pricing-card.is-visible,
.testimonial-card.is-visible, .use-case-card.is-visible,
.integration-item.is-visible, .stat-item.is-visible,
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   Use Cases
   ========================================== */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.use-case-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
}

.use-case-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.use-case-card .emoji { font-size: 2.5rem; margin-bottom: 1rem; }
.use-case-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.use-case-card p { color: var(--color-muted-fg); font-size: 0.9375rem; }

/* ==========================================
   Animations
   ========================================== */
@keyframes ping {
  0% { transform: scale(1); opacity: 1; }
  75%, 100% { transform: scale(2); opacity: 0; }
}

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

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

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
