/* --- 1. Global Reset & Variables --- */
:root {
    --bg-dark: #020617;
    --card-bg: #0f172a;
    --primary: #22c55e; /* Brand Green */
    --primary-soft: rgba(34, 197, 94, 0.1);
    --primary-glow: rgba(34, 197, 94, 0.3);
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --glass: rgba(15, 23, 42, 0.7);
    --border: rgba(255, 255, 255, 0.08);
    --section-divider: rgba(255, 255, 255, 0.15); /* White line color */
}

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

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* --- Section Dividers --- */
section, footer {
    border-top: 0.5px solid var(--section-divider);
}

/* Remove border from the first section so it doesn't clash with header */
section:first-of-type {
    border-top: none;
}

.container { 
    width: 92%; 
    max-width: 1400px; 
    margin: 0 auto; 
}

/* --- 2. Header & Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 0.5px solid var(--section-divider);
    padding: 12px 0;
}

.header-wrapper {
    width: 100%;
    padding: 0 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.main-logo {
    height: 55px; 
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.main-logo:hover { transform: scale(1.05); }

.status-badge {
    background: var(--primary-soft);
    border: 1px solid var(--primary-glow);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot { 
    width: 6px; 
    height: 6px; 
    background: var(--primary); 
    border-radius: 50%; 
    animation: blink 1.5s infinite; 
}

.desktop-nav {
    display: flex;
    justify-content: flex-end;
}

.desktop-nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-link:hover { color: #fff; }

.nav-cta {
    background: var(--primary);
    color: #000 !important;
    padding: 10px 22px;
    border-radius: 50px; 
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 15px var(--primary-soft);
    transition: 0.3s;
}

/* --- 3. Hero Section --- */
.hero {
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    padding: 120px 0 80px; 
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid var(--primary-glow);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.badge-icon {
    color: var(--primary);
    font-size: 14px;
    animation: lightning-pulse 2s infinite;
}

.badge-text {
    color: var(--text-main);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 25px;
}

.highlight {
    color: var(--primary);
    display: block;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 540px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-primary-hero {
    background: var(--primary);
    color: #020617;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-secondary-hero {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-mask {
    position: relative;
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 75%);
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 75%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.blended-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    display: block;
    mix-blend-mode: lighten; 
    filter: drop-shadow(0 0 40px var(--primary-glow));
    animation: stable-float 8s ease-in-out infinite;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
}

/* --- 4. ROI & ROI Cards Section --- */
.roi-card {
    background-color: var(--card-bg);
    border: 1px solid var(--primary-soft);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.roi-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-soft);
}

.featured-card {
    border-color: var(--primary-glow);
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
}

.accent-green-gradient, .text-gradient-emerald {
    background: linear-gradient(135deg, #4ade80 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.progress-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 99px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #16a34a, var(--primary));
    box-shadow: 0 0 15px var(--primary-glow);
    border-radius: 99px;
}

.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-soft) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

/* --- 5. Shared Utilities & Layout --- */
.relative { position: relative; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.overflow-hidden { overflow: hidden; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    .lg\:-translate-y-6 { transform: translateY(-1.5rem); }
}

/* --- 6. Glassmorphism & Comparison --- */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, var(--primary-soft), transparent 70%);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-glow);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.15);
}

.connector-line {
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 12px var(--primary);
    opacity: 0.3;
}

.connector-line-v {
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 12px var(--primary);
    opacity: 0.3;
}

.step-pill {
    background: linear-gradient(135deg, #16a34a 0%, var(--primary) 100%);
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}

.vs-circle {
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.pain-point { border-left: 2px solid rgba(239, 68, 68, 0.3); }
.gain-point { border-left: 2px solid var(--primary); }

.glow-dot { animation: pulse-emerald 3s infinite ease-in-out; }

/* --- 7. Footer Section --- */
.main-footer {
    background: var(--bg-dark);
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo img { height: 35px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--text-dim); font-size: 0.95rem; max-width: 300px; }

.footer-links h4, .footer-cta h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-links ul { list-style: none; }
.footer-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: 0.3s;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-links a:hover { color: var(--primary); transform: translateX(5px); }

.footer-input {
    display: flex;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 5px;
}

.footer-input input { background: transparent; border: none; color: #fff; padding: 10px; outline: none; width: 100%; }
.footer-input button { background: var(--primary); border: none; width: 40px; height: 40px; border-radius: 6px; cursor: pointer; font-weight: bold; }

.footer-bottom {
    border-top: 0.5px solid var(--section-divider);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
}

.footer-legal a { color: #64748b; text-decoration: none; margin-left: 20px; transition: 0.3s; }
.footer-legal a:hover { color: #fff; }

.social-links { display: flex; gap: 15px; margin-top: 25px; }
.social-icon {
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim); text-decoration: none; transition: 0.4s;
}
.social-icon:hover { color: #000; background: var(--primary); transform: translateY(-5px); }

/* --- 8. Responsiveness --- */
.mobile-menu-toggle {
    display: none; 
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1100;
}

@media (max-width: 992px) {
    .mobile-menu-toggle { display: block; }
    .status-badge { display: none; }
    
    .desktop-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: #020617;
        padding: 100px 40px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border);
        display: block;
        z-index: 1050;
    }

    .desktop-nav.active { right: 0; }
    .desktop-nav ul { flex-direction: column; gap: 30px; align-items: flex-start; }

    .hero-grid { grid-template-columns: 1fr; text-align: center; padding-top: 100px; }
    .hero-badge { margin: 0 auto 25px; }
    .hero-desc { margin: 0 auto 35px; }
    .hero-btns { justify-content: center; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 640px) {
    .main-header { padding: 8px 0; }
    .main-logo { height: 32px; }
    .hero-title { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn-primary-hero, .btn-secondary-hero { width: 100%; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 0 auto 20px; }
    .social-links { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 15px; }
    .footer-legal a { margin: 0 10px; }
}

/* --- 9. Animations --- */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes stable-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes lightning-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.1); } }
@keyframes pulse-emerald { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 0.7; transform: scale(1.05); } }