:root {
  /* Minimalist Clinical / Fintech Theme */
  --bg-color: #ffffff; 
  --bg-gray: #f9fafb;
  --surface-dark: #022c22; /* Very dark rich green/black for cards */
  --border-color: #e5e7eb;
  
  --primary: #047857; /* Deep emerald green */
  --primary-hover: #065f46;
  --accent: #10b981;  /* Bright green for icons in dark mode */
  
  --text-main: #111827;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  
  --text-white: #ffffff;
  --text-white-muted: #9ca3af;
  
  --transition: all 0.3s ease;
  
  /* Utilities */
  --red-light: #fee2e2;
  --red-dark: #ef4444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Utilities */
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-red { color: var(--red-dark); }
.text-primary { color: var(--primary); }
.mt-4 { margin-top: 2rem; }
.mb-8 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; margin-inline: auto; }
.text-2xl { font-size: 1.5rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.bg-gray { background-color: var(--bg-gray); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);}
.flex { display: flex; } .justify-between { justify-content: space-between; } .items-center { align-items: center; }
.gap-4 { gap: 1rem; } .border-t { border-top: 1px solid var(--border-color); }
.pt-12 { padding-top: 3rem; } .pb-6 { padding-bottom: 1.5rem; } .pt-6 { padding-top: 1.5rem; } .mt-12 { margin-top: 3rem; }
.text-gray { color: var(--text-light); }
.transition { transition: var(--transition); }

/* Typography */
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.02em; font-weight: 700;}
.hero-title { font-size: 3.5rem; margin-bottom: 24px; color: var(--text-main); }
.hero-title .highlight { color: var(--primary); }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; max-width: 700px; margin-inline: auto; line-height: 1.6;}

.hero-badge {
  display: inline-flex; align-items: center; padding: 6px 14px;
  background: #ecfdf5; color: var(--primary); border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
  margin-bottom: 24px; text-transform: uppercase;
}
.sub-label {
    display: block; font-size: 0.75rem; font-weight: 700; color: var(--primary);
    letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none;
  transition: var(--transition);
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 10px rgba(4, 120, 87, 0.2); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(4, 120, 87, 0.3); }

.btn-outline { background: transparent; color: var(--text-main); border: 1px solid var(--border-color); }
.btn-outline:hover { background: var(--bg-gray); border-color: #d1d5db; }

.btn-text { background: transparent; color: var(--text-muted); padding: 12px 16px; }
.btn-text:hover { color: var(--text-main); }
.btn-large { padding: 16px 36px; font-size: 1.05rem; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 24px 0; transition: var(--transition); background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.navbar.scrolled { padding: 16px 0; border-bottom: 1px solid var(--border-color); box-shadow: 0 4px 20px rgba(0,0,0,0.03); background: rgba(255,255,255,0.98); }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; display:flex; align-items:center; }
.logo-text { color: var(--text-main); } .logo-pro { color: var(--primary); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text-main); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; }

/* Global Section */
.section-padding { padding: 120px 0; }
.section-header { margin-bottom: 64px; max-width: 650px; margin-inline: auto; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* Hero Specifics */
.hero { padding: 200px 0 100px; display: flex; align-items: center; flex-direction: column; background: var(--bg-color); }
.hero-cta { display: flex; gap: 16px; justify-content: center; align-items: center; margin-bottom: 48px; }
.hero-proof { border-top: 1px solid var(--border-color); padding-top: 32px; max-width: 800px; margin: 0 auto;}
.hero-proof p { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 16px; text-transform: uppercase;}
.hero-proof .logos { display: flex; justify-content: center; align-items: center; gap: 40px; color: var(--text-main); font-weight: 600; font-size: 1rem;}
.hero-proof .logos span { display: flex; align-items: center; gap: 8px;}
.hero-proof .logos i { color: var(--primary); font-size: 1.4rem;}

/* Dark Cards (The core visual element from the ref) */
.dark-card { 
    background-color: var(--surface-dark); 
    color: var(--text-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 25px rgba(2, 44, 34, 0.15);
    border: 1px solid rgba(255,255,255,0.05);
}
.dark-card h3 { color: #fff; margin-bottom: 12px; font-size: 1.25rem;}
.dark-card p { color: var(--text-white-muted); font-size: 0.95rem; }

/* Timeline Section */
.timeline-section { position: relative; }
.timeline-wrapper { position: relative; max-width: 800px; margin: 0 auto; padding: 40px 0;}
.timeline-line {
    position: absolute; left: 120px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, transparent, var(--border-color) 10%, var(--border-color) 90%, transparent);
}
.timeline-item { display: flex; align-items: flex-start; gap: 40px; margin-bottom: 60px; position: relative;}
.timeline-item:last-child { margin-bottom: 0; }
.time-marker { 
    width: 80px; text-align: right; font-weight: 800; font-size: 1.2rem; color: var(--text-main);
    padding-top: 8px; flex-shrink: 0; font-family: monospace;
}
.time-marker::after {
    content: ''; position: absolute; left: 115px; top: 16px; width: 12px; height: 12px;
    background: var(--primary); border: 3px solid var(--bg-gray); border-radius: 50%;
}
.timeline-item .timeline-content { flex: 1; padding: 40px;}

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto;}
@media(min-width: 900px){
    /* To perfectly match the 6-cards logic from screenshot if it's 3 columns or 2. Reference was long. I'll do 3 columns for desktop width */
   .features-grid { grid-template-columns: repeat(2, 1fr); gap: 32px;}
}
.feature-card { padding: 40px; display: flex; flex-direction: column; transition: transform 0.2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(2, 44, 34, 0.2); }
.icon-wrap { background: rgba(16, 185, 129, 0.1); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--accent); border-radius: 12px; margin-bottom: 24px;}

/* Compare Section */
.compare-grid { display: flex; gap: 40px; align-items: stretch; justify-content: center; max-width: 1000px; margin: 0 auto;}
.compare-box { flex: 1; padding: 48px; border-radius: 16px; border: 1px solid var(--border-color); background: #fff;}
.compare-box.basic { border-top: 4px solid var(--red-dark);}
.compare-box.pro { border: none; border-top: 4px solid var(--primary); }

.box-header { display: flex; align-items: center; gap: 16px; margin-bottom: 32px;}
.box-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; flex-shrink: 0;}
.box-icon.negative { background: var(--red-dark); }
.box-icon.positive { background: var(--primary); }

.compare-list li { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; color: var(--text-muted); font-size: 0.95rem; line-height: 1.5;}
.compare-list i { margin-top: 3px; font-size: 1.2rem; flex-shrink: 0;}
.pro .compare-list { color: var(--text-white-muted); }

/* Big CTA Box Final */
.big-cta-box { padding: 80px 40px; }
.big-cta-box h2 { font-size: 2.5rem; color: #fff;}

/* Pricing Section */
.pricing-wrapper { display: flex; justify-content: center; margin-top: 40px; }
.pricing-card { 
    max-width: 450px; width: 100%; text-align: center; 
    border: 2px solid var(--primary); transform: scale(1.05);
    background: var(--surface-dark);
}
.plan-badge { 
    display: inline-block; padding: 4px 12px; background: var(--primary); 
    color: white; border-radius: 100px; font-size: 0.7rem; font-weight: 700; 
    margin-bottom: 24px; letter-spacing: 1px;
}
.price { display: flex; align-items: center; justify-content: center; gap: 4px; margin-bottom: 8px; }
.price .currency { font-size: 1.5rem; font-weight: 600; align-self: flex-start; margin-top: 8px; }
.price .amount { font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -2px; }
.price .period { font-size: 1.1rem; color: var(--text-white-muted); align-self: flex-end; margin-bottom: 12px; }
.trial-text { color: var(--accent); font-size: 0.9rem; margin-bottom: 32px; }

.pricing-features { text-align: left; margin-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.pricing-features li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--text-white-muted); }
.pricing-features i { font-size: 1.2rem; flex-shrink: 0; }
.pricing-note { font-size: 0.75rem; color: var(--text-white-muted); margin-top: 24px; }

/* FAQ Section */
.faq-accordion { display: flex; flex-direction: column; gap: 16px; }
.accordion-item { 
    background: #fff; border: 1px solid var(--border-color); 
    border-radius: 12px; overflow: hidden; transition: var(--transition);
}
.accordion-header { 
    padding: 24px; display: flex; justify-content: space-between; align-items: center; 
    cursor: pointer; transition: var(--transition);
}
.accordion-header h3 { font-size: 1.1rem; color: var(--text-main); margin-bottom: 0; transition: var(--transition); }
.accordion-header i { font-size: 1.2rem; color: var(--text-muted); transition: transform 0.3s ease; }

.accordion-content { 
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fafafa;
}
.accordion-content p { padding: 0 24px 24px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

.accordion-item.active { border-color: var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.accordion-item.active .accordion-header h3 { color: var(--primary); }
.accordion-item.active .accordion-header i { transform: rotate(45deg); color: var(--primary); }

/* Animations - Scroll Reveals */
.fade-in-up { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Mobile Adaptations */
@media (max-width: 900px) {
  .hero-title { font-size: 2.8rem; }
  .hero-cta { flex-direction: column; width: 100%;}
  .hero-cta .btn { width: 100%; justify-content: center;}
  
  .timeline-line { left: 40px; }
  .timeline-item { gap: 24px; flex-direction: column;}
  .time-marker { width: auto; text-align: left; padding-left: 60px; font-size: 1.5rem;}
  .time-marker::after { left: 35px; top: 8px;}
  
  .features-grid { grid-template-columns: 1fr; }
  .compare-grid { flex-direction: column; }
  .hero-proof .logos { flex-direction: column; gap: 16px; align-items: center;}
  
  .big-cta-box h2 { font-size: 1.8rem;}
  
  /* Pricing Mobile */
  .pricing-card { transform: none; padding: 24px; }
  .price .amount { font-size: 3rem; }
  
  /* FAQ Mobile */
  .accordion-header { padding: 18px 20px; }
  .accordion-header h3 { font-size: 1rem; padding-right: 12px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-mockup-wrapper { margin-top: 32px; }
  .wa-bubble { display: none; }
}

/* ========================================================================= */
/* CSS UI SIMULATION (FAKE SCREENSHOTS / DASHBOARDS / BUBBLES)               */
/* ========================================================================= */

/* Fake OS Window (Dashboard) */
.hero-mockup-wrapper {
    margin-top: 60px;
    perspective: 2000px;
    z-index: 10;
    width: 100%;
}
.fake-ui-window {
    background: #ffffff !important;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 50px 100px rgba(0,0,0,0.15);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left !important;
    transform: rotateX(2deg);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fake-ui-window:hover {
    transform: rotateX(0deg) translateY(-10px);
}
.fake-ui-header {
    background: #f1f5f9;
    padding: 12px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
}
.fake-ui-dots { display: flex; gap: 8px; margin-right: 20px; }
.fake-ui-dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.fake-ui-dots i:nth-child(1) { background: #ff5f56; }
.fake-ui-dots i:nth-child(2) { background: #ffbd2e; }
.fake-ui-dots i:nth-child(3) { background: #27c93f; }
.fake-ui-url {
    background: #fff; border-radius: 6px; padding: 4px 12px; font-size: 0.7rem; color: #94a3b8; font-family: monospace; flex-grow: 1; max-width: 400px; text-align: center; border: 1px solid #e2e8f0; margin: 0 auto;
}

.fake-ui-body { display: flex; min-height: 500px; background: #fff !important; }
.fake-sidebar { width: 220px; background: #022c22 !important; padding: 40px 20px; display: flex; flex-direction: column; gap: 40px; flex-shrink: 0;}
.fake-logo { font-size: 1.1rem; font-weight: 900; color: #fff !important; text-align: center; letter-spacing: 1px;}
.fake-logo span { color: #10b981; }
.fake-menu { list-style: none !important; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px;}
.fake-menu li { 
    padding: 12px 16px; border-radius: 12px; font-size: 0.8rem; color: rgba(255,255,255,0.7) !important; 
    display:flex; align-items:center; gap:12px; cursor: default; transition: all 0.2s;
}
.fake-menu li i { font-size: 1.1rem; }
.fake-menu li.active { background: rgba(16, 185, 129, 0.2); color: #fff !important; font-weight: 700;}

/* Main Dashboard Area */
.fake-main { flex-grow: 1; padding: 40px; background: #ffffff !important; position: relative;}
.fake-header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px;}
.fake-avatar { width: 36px; height: 36px; border-radius: 50%; background: #047857; border: 2px solid #fff; box-shadow: 0 0 0 2px #047857;}

.fake-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px;}
.fake-card { border: 1px solid #f1f5f9; padding: 20px; border-radius: 16px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.02); display: flex; flex-direction: column; gap: 6px;}
.fake-card.highlight { border-color: rgba(4, 120, 87, 0.1); background: #f0fdf4; }
.fake-card-label { font-size: 0.65rem; color: #64748b; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;}
.fake-card-val { font-size: 1.75rem; font-weight: 900; color: #020617; }
.fake-badge-success { font-size: 0.65rem; color: #059669; font-weight: 700; background: #d1fae5; padding: 4px 10px; border-radius: 100px; width: fit-content;}
.fake-badge-neutral { font-size: 0.65rem; color: #475569; font-weight: 700; background: #f1f5f9; padding: 4px 10px; border-radius: 100px; width: fit-content;}

.fake-list-box { background: #f8fafc; border-radius: 20px; padding: 24px; border: 1px solid #f1f5f9; }
.fake-list-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f1f5f9;}
.fake-list-item:last-child { border-bottom: none; }
.fake-list-info { display: flex; align-items: center; gap: 16px; }
.fake-time { font-size: 0.8rem; font-weight: 800; color: #020617; }
.fake-name { font-size: 0.8rem; font-weight: 500; color: #64748b; }
.fake-status { font-size: 0.7rem; font-weight: 800; color: #047857; }
.fake-status.wa { color: #16a34a; }

/* Floating WhatsApp Bubbles */
.wa-bubble {
    position: absolute; background: #ffffff; border-radius: 18px; border-top-right-radius: 4px;
    padding: 16px 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.15); width: 300px; z-index: 30; border: 1px solid rgba(0,0,0,0.05);
}
.wa-bubble::before {
    content: ''; position: absolute; top: 0; right: -12px; width: 24px; height: 24px; background: #ffffff; clip-path: polygon(0 0, 0% 100%, 100% 0);
}
.wa-name { display: block; font-size: 0.75rem; font-weight: 900; color: #047857; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px;}
.wa-text { display: block; font-size: 0.9rem; color: #1e293b; line-height: 1.5; font-weight: 500;}
.wa-time { display: block; font-size: 0.7rem; color: #94a3b8; text-align: right; margin-top: 10px;}

.right-floating { right: -80px; top: -60px; transform: rotate(3deg); animation: float 6s ease-in-out infinite; }
.right-floating-low { right: -100px; bottom: 20px; transform: rotate(-2deg); animation: float 5s ease-in-out infinite; }

@keyframes float {
    0% { transform: translateY(0px) rotate(3deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(3deg); }
}

/* FAQ Fix (Crucial) */
.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding-bottom: 12px;
}
.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

@media (max-width: 900px) {
    .fake-sidebar { display: none; }
    .fake-ui-body { min-height: auto; flex-direction: column;}
    .fake-main { padding: 24px; }
    .fake-metrics { grid-template-columns: 1fr; gap: 12px;}
    .hero-mockup-wrapper { perspective: none; }
    .fake-ui-window { transform: none !important; }
    .right-floating, .right-floating-low { display: none; }
}
