/* ==========================================================================
   Variables & Root
   ========================================================================== */
:root {
    /* Colors */
    --primary: #10B981; /* Selling Green */
    --primary-hover: #059669;
    --primary-light: rgba(16, 185, 129, 0.1);
    
    --secondary: #8B5CF6;
    --secondary-hover: #7C3AED;
    --secondary-light: rgba(139, 92, 246, 0.1);
    
    --bg-main: #FAFAFA;
    --bg-alt: #F3F4F6;
    --surface: rgba(255, 255, 255, 0.85);
    
    --text-main: #111827;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.container-sm {
    max-width: 800px;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.text-green { color: var(--primary); }
.text-purple { color: var(--secondary); }

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

.glass-panel {
    background: var(--surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.bg-light-gray {
    background-color: var(--bg-alt);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

.btn-secondary:hover {
    background-color: var(--bg-main);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-ghost:hover {
    color: var(--text-main);
    background-color: rgba(0,0,0,0.03);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.75rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
}

.logo-image {
    width: 48px;
    height: 48px;
    object-fit: cover; /* Crops the white padding */
    transform: scale(1.35); /* Upsizes the logo */
    mix-blend-mode: multiply; /* Removes the white background, blending with the navbar */
    border-radius: var(--radius-sm);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

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

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    text-align: center;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(139, 92, 246, 0.05) 40%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 4.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 10;
}

/* Background Graphs */
.hero-charts-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.bg-chart {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: float-slow 8s ease-in-out infinite;
}

.bg-chart-1 { top: 15%; left: 5%; transform: rotate(-5deg); animation-delay: 0s; }
.bg-chart-2 { top: 60%; right: 5%; transform: rotate(8deg); animation-delay: 1s; }
.bg-chart-3 { bottom: 10%; left: 15%; transform: rotate(3deg); animation-delay: 2s; }

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(var(--rot)); }
    50% { transform: translateY(-20px) rotate(var(--rot)); }
}

.bg-chart-1 { --rot: -5deg; }
.bg-chart-2 { --rot: 8deg; }
.bg-chart-3 { --rot: 3deg; }

/* QR Code */
.qr-container {
    width: 60px;
    height: 60px;
    background: white;
    padding: 4px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(black 2px, transparent 2px),
        radial-gradient(black 2px, transparent 2px);
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
    opacity: 0.8;
}

/* Laser Scanner Animation */
.scanner-container {
    position: relative;
    overflow: hidden;
}

.laser-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary), 0 0 5px var(--primary);
    z-index: 10;
    animation: scan-loop 3s linear infinite;
}

@keyframes scan-loop {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Reveal Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

/* Abstract Mockups in Hero */
.hero-image-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 500px;
    perspective: 1000px;
}

.hero-image {
    position: absolute;
    width: 80%;
    height: 400px;
    left: 10%;
    bottom: 0;
    z-index: 1;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
    transform: rotateX(5deg) translateY(20px);
    transform-origin: bottom center;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.08);
}

.mockup-header {
    height: 48px;
    background: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}
.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E5E7EB;
}
.mockup-dots span:nth-child(1) { background: #FF5F56; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #27C93F; }

.mockup-url {
    margin: 0 auto;
    background: var(--bg-alt);
    padding: 4px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.dashboard-preview {
    display: flex;
    height: calc(100% - 48px);
    background: #FFFFFF;
}

.sidebar {
    width: 60px;
    background: var(--bg-alt);
    border-right: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.sidebar-item {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: #E5E7EB;
}

.sidebar-item.active {
    background: var(--primary-light);
}

.main-content {
    flex: 1;
    padding: 1.5rem;
}

.content-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.greeting {
    width: 200px;
    height: 24px;
    background: #E5E7EB;
    border-radius: var(--radius-sm);
}

.action-btn {
    width: 120px;
    height: 32px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

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

.stat-card {
    height: 80px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
}

.recent-activity {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-row {
    height: 48px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
}

/* Floating Client Portal Mockup */
.floating-mockup {
    position: absolute;
    width: 320px;
    height: 240px;
    right: 5%;
    top: 50px;
    z-index: 2;
    background: rgba(255,255,255,0.95);
    transform: rotate(5deg);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

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

.client-mockup-header {
    background: var(--secondary);
    color: white;
    justify-content: center;
}

.client-brand {
    font-weight: 600;
    font-size: 0.9rem;
}

.client-preview {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.invoice-status {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.badge-success {
    background: #10B981;
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
}

.payment-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
}

.payment-btn {
    background: var(--bg-alt);
    color: var(--text-main);
    padding: 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.trusted-by {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ==========================================================================
   Two-Sided Product Section
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.split-feature {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.split-feature.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.feature-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-tag.tag-purple {
    background: var(--secondary-light);
    color: var(--secondary);
}

.split-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.split-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box.purple {
    background: var(--secondary-light);
    color: var(--secondary);
}

.icon-box svg {
    width: 20px;
    height: 20px;
}

.split-visual {
    flex: 1;
    position: relative;
    height: 400px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Detailed Mockups */
.mini-app-window {
    width: 85%;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.mini-app-header {
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: var(--bg-alt);
    font-size: 0.875rem;
    font-weight: 600;
}

.mini-app-header.client-theme {
    background: var(--secondary);
    color: white;
}

.mini-app-header.client-theme .mini-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-ca {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.mini-app-body {
    padding: 1.5rem;
    background: #FAFAFA;
}

/* Card inside mockup */
.mockup-card {
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

/* Dashboard Mockup Details */
.tax-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}
.tax-label {
    color: var(--text-muted);
}
.tax-val {
    font-weight: 600;
    color: var(--text-main);
}
.tax-val.positive { color: var(--primary); }
.tax-val.negative { color: #EF4444; }
.tax-divider {
    height: 1px;
    background: rgba(0,0,0,0.05);
    margin: 0.5rem 0;
}
.tax-row.total {
    font-size: 1rem;
}
.tax-row.total .tax-val {
    color: var(--primary);
    font-size: 1.125rem;
}

/* Portal Mockup Details */
.invoice-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    align-items: center;
}
.invoice-id {
    color: var(--text-muted);
    font-family: monospace;
}
.invoice-badge {
    background: rgba(139, 92, 246, 0.1);
    color: var(--secondary);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
}
.invoice-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.invoice-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 1.5rem;
}
.invoice-items {
    margin-bottom: 1.5rem;
}
.item-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 0.35rem 0;
    border-bottom: 1px dashed rgba(0,0,0,0.05);
}
.item-row:last-child { border-bottom: none; }
.mini-btn-stripe {
    width: 100%;
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
}

/* Scanner Mockup Details */
.scanner-card {
    position: relative;
    overflow: hidden;
}
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #EAB308;
    box-shadow: 0 0 10px #EAB308;
    animation: scan 2s infinite linear;
}
@keyframes scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}
.receipt-img {
    width: 100%;
    height: 120px;
    background: #F3F4F6;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 0.75rem;
    border: 1px dashed #D1D5DB;
}
.receipt-data {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.data-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}
.data-label { color: var(--text-muted); }
.data-val { font-weight: 600; font-family: monospace;}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 0, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3);
}

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

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-muted);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
    background-color: var(--bg-main);
    padding: 6rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: var(--transition);
}

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

.pricing-card.highlighted {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
    padding: 3.5rem 2.5rem; /* Make it taller */
    background: white;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.pricing-header {
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 2rem;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.plan-price .currency {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    margin-right: 0.25rem;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    align-self: flex-end;
    margin-bottom: 0.5rem;
    margin-left: 0.25rem;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.plan-features {
    flex: 1;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.plan-features li.disabled {
    color: var(--text-light);
    text-decoration: line-through;
}

.plan-features svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.plan-features li.disabled svg {
    color: var(--text-light);
}

.pricing-action .btn-full {
    width: 100%;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: 4rem 0 8rem;
}

.cta-box {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    border: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-desc {
    color: #9CA3AF;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.cta-subtext {
    color: #6B7280;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.cta-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.cta-dec-1 {
    width: 300px;
    height: 300px;
    background: rgba(16, 185, 129, 0.3);
    top: -100px;
    left: -100px;
}

.cta-dec-2 {
    width: 200px;
    height: 200px;
    background: rgba(139, 92, 246, 0.3);
    bottom: -50px;
    right: -50px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 250px;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.social-links a {
    color: var(--text-muted);
}
.social-links a:hover {
    color: var(--text-main);
}

/* ==========================================================================
   Features Banner
   ========================================================================== */
.features-banner {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.banner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-main);
    font-weight: 600;
}

.banner-item svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

/* ==========================================================================
   Steps Section (How it works)
   ========================================================================== */
.steps-section {
    padding: 6rem 0;
}

.steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 4rem;
    position: relative;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.step-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step-connector {
    flex: 0 0 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(16,185,129,0) 100%);
    margin-top: 24px; /* Half of step-number height */
    opacity: 0.5;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 6rem 0;
    background: white;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.faq-item {
    padding: 1.5rem 2rem;
    background: var(--bg-alt);
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .split-feature, .split-feature.reverse { flex-direction: column; gap: 3rem; }
    .banner-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn:not(.btn-primary) { display: none; }
    .menu-btn { display: block; }

    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
    }
    
    .hero-title { font-size: 2.5rem; }
    .hero-image-wrapper { height: 320px; }
    .hero-image { height: 320px; width: 96%; left: 2%; transform: none; border-radius: var(--radius-md); }
    .floating-mockup { display: none; }
    .hero-charts-bg { display: none; }
    
    .pricing-grid { grid-template-columns: 1fr; }
    .banner-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    
    .steps-grid { flex-direction: column; align-items: center; gap: 2rem; }
    .step-connector { display: none; }
    
    .cta-box { padding: 3rem 1.5rem; }
    .cta-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-image-wrapper { height: 260px; }
    .hero-image { height: 260px; }
    .footer-grid { grid-template-columns: 1fr; }
}


/* ── Live Demo Section ───────────────────────────────────────── */
.demo-section {
    padding: 5rem 0;
    background: white;
}
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.demo-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 2px solid transparent;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.demo-card.green {
    border-color: rgba(16,185,129,0.3);
    background: rgba(16,185,129,0.03);
}
.demo-card.green:hover {
    border-color: #10B981;
    box-shadow: 0 8px 30px rgba(16,185,129,0.15);
}
.demo-card.indigo {
    border-color: rgba(99,102,241,0.3);
    background: rgba(99,102,241,0.03);
}
.demo-card.indigo:hover {
    border-color: #6366f1;
    box-shadow: 0 8px 30px rgba(99,102,241,0.15);
}
.demo-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.demo-card.green .demo-card-icon { background: rgba(16,185,129,0.1); }
.demo-card.indigo .demo-card-icon { background: rgba(99,102,241,0.1); }
.demo-card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0f172a;
    margin: 0 0 0.25rem;
}
.demo-card-desc {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}
.demo-card-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: auto;
}
.demo-card.green .demo-card-link { color: #10B981; }
.demo-card.indigo .demo-card-link { color: #6366f1; }

.footer-yukon { margin-top: 0.5rem; font-size: 0.8rem; opacity: 0.6; }
.footer-credit { color: inherit; text-decoration: underline; opacity: 0.7; }

/* ── Follow-up Intelligence section ───────────────────────────────────────── */
.feature-tag.tag-new { background: rgba(239,68,68,0.1); color: #DC2626; }
.icon-box.red   { background: #EF4444; color: white; }
.icon-box.amber { background: #F59E0B; color: white; }

.nudge-visual { background: linear-gradient(135deg, rgba(239,68,68,0.05), rgba(245,158,11,0.08)); }
.nudge-window { border: 2px solid #EF4444; box-shadow: 0 10px 40px rgba(239,68,68,0.15); }
.nudge-header { background: #1e293b; color: white; }
.nudge-urgent-badge {
    background: #EF4444; color: white;
    font-size: 0.65rem; padding: 2px 8px;
    border-radius: 999px; font-weight: 700;
}
.nudge-body {
    padding: 1rem;
    display: flex; flex-direction: column; gap: 0.6rem;
}
.nudge-item {
    border-radius: 10px; padding: 0.75rem;
    display: flex; align-items: flex-start; gap: 0.6rem;
}
.nudge-item.hot  { background: #FEF2F2; border: 1px solid #FECACA; }
.nudge-item.warn { background: #FFFBEB; border: 1px solid #FDE68A; }
.nudge-item.dim  { background: #F8FAFC; border: 1px solid #E2E8F0; }

.nudge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    margin-top: 4px; flex-shrink: 0;
}
.nudge-dot.red   { background: #EF4444; }
.nudge-dot.amber { background: #F59E0B; }
.nudge-dot.slate { background: #94A3B8; }

.nudge-content { flex: 1; }
.nudge-meta {
    display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.2rem;
}
.nudge-number { font-weight: 700; font-size: 0.8rem; font-family: monospace; }
.nudge-client { font-size: 0.75rem; color: #6B7280; }
.nudge-badge {
    margin-left: auto;
    font-size: 0.65rem; font-weight: 700;
    padding: 1px 6px; border-radius: 999px;
}
.nudge-badge.hot  { background: #FEE2E2; color: #DC2626; }
.nudge-badge.warn { background: #FEF3C7; color: #D97706; }
.nudge-badge.dim  { background: #F1F5F9; color: #64748B; }
.nudge-desc   { font-size: 0.72rem; color: #6B7280; margin: 0; }
.nudge-amount { font-weight: 700; font-size: 0.85rem; color: #111827; flex-shrink: 0; }
