/* --- 1. BRAND DNA --- */
:root {
    --brand-green: #37a000;    
    --brand-blue: #2cabdc;     
    --brand-navy: #0b1c33;     
    --bg-light: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-dark: #0f172a;
    --text-main: #334155;
    --text-light: #64748b;
    --pill-radius: 50px;
    --container-width: 1200px;
    --shadow-soft: 0 20px 40px rgba(0,0,0,0.06);
    --shadow-hover: 0 25px 50px rgba(44, 171, 220, 0.15);
}

/* --- 2. RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
    color: var(--brand-navy);
    line-height: 1.2;
}

a { text-decoration: none; transition: 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- 3. UTILITIES --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-padding { padding: 100px 0; }
.text-center { text-align: center; }

.highlight {
    background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* --- 4. BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--pill-radius);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    border: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--brand-green) 0%, var(--brand-blue) 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(55, 160, 0, 0.25);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(44, 171, 220, 0.35); }

.btn-white {
    background: white;
    color: var(--brand-navy);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}
.btn-white:hover { transform: translateY(-3px); color: var(--brand-blue); }

/* --- 5. NAVBAR (GLOBAL) --- */
.navbar {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }

/* Logo Control - Fixed Size */
.logo-wrapper img {
    width: 100%;
    height: auto;
    max-height: 50px;
    object-fit: contain;
}

.nav-menu { display: flex; gap: 30px; }
.nav-link { font-weight: 600; color: var(--brand-navy); font-size: 0.95rem; font-family: 'Outfit', sans-serif;}
.nav-link:hover, .nav-link.active { color: var(--brand-blue); }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- 6. FOOTER (GLOBAL) --- */
footer { background: #0f172a; color: white; padding: 40px 0; text-align: center; font-size: 0.9rem; }
.cta-footer { background: linear-gradient(135deg, var(--brand-navy) 0%, #1e293b 100%); padding: 80px 0; color: white; text-align: center; }
.footer-nav { margin-top: 20px; display: flex; justify-content: center; gap: 20px; }
.footer-nav a { color: rgba(255,255,255,0.7); }
.footer-nav a:hover { color: white; }

/* --- 7. HOME PAGE (Index) --- */
.hero {
    padding: 80px 0 120px;
    background: radial-gradient(circle at top right, #f0fdf4 0%, #fff 40%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-tagline {
    display: inline-block;
    background: #e0f2fe;
    color: #0284c7;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-content h1 { font-size: 3.8rem; margin-bottom: 24px; font-weight: 800; letter-spacing: -1px; }
.hero-content p { font-size: 1.25rem; color: var(--text-light); margin-bottom: 40px; max-width: 550px; }

/* Hero Visual */
.hero-card-stack { position: relative; height: 500px; }
.card-ui {
    position: absolute;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #e2e8f0;
    padding: 20px;
    transition: 0.5s;
}
.ui-main {
    width: 90%; height: 400px; top: 20px; left: 20px; z-index: 2;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.ui-float-1 {
    top: 80px; right: -20px; z-index: 3; padding: 15px 25px;
    border-left: 5px solid var(--brand-green);
    animation: float 4s ease-in-out infinite;
}
.ui-float-2 {
    bottom: 80px; left: -20px; z-index: 3; padding: 15px 25px;
    border-left: 5px solid var(--brand-blue);
    animation: float 4s ease-in-out infinite 1s;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Villain Section */
.villain-section { background-color: var(--brand-navy); color: white; padding: 100px 0; }
.villain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.stat-box {
    background: rgba(255,255,255,0.05); padding: 20px;
    border-radius: 10px; border-left: 3px solid #ef4444; margin-bottom: 20px;
}

/* Benefits Cards */
.b-card {
    background: white; border-radius: 20px; padding: 40px;
    transition: 0.3s; border: 1px solid transparent; height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.b-card:hover { border-color: var(--brand-blue); transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.b-icon { font-size: 2.5rem; margin-bottom: 20px; display: inline-block; }

/* --- 8. FEATURES PAGE --- */
.feature-header {
    padding: 80px 0;
    background: radial-gradient(circle at bottom left, #f0fdf4 0%, #ffffff 60%);
    text-align: center;
}
.feature-header h1 { font-size: 3rem; font-weight: 800; margin-bottom: 20px; }
.feature-header p { font-size: 1.2rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }

.feature-block {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 120px;
}
.feature-block.reverse { direction: rtl; }
.feature-block.reverse .feature-text { direction: ltr; text-align: left; }
.feature-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.feature-text p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 30px; }
.feature-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--brand-navy); }
.icon-check {
    width: 24px; height: 24px; background: #dcfce7; color: var(--brand-green);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
}
.mockup-container { position: relative; }
.mockup-bg {
    background: white; border-radius: 20px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0; overflow: hidden; height: 400px;
    display: flex; align-items: center; justify-content: center; position: relative;
}
.stack-section { background: var(--bg-subtle); padding: 80px 0; }
.stack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.stack-card { background: white; padding: 30px; border-radius: 16px; border: 1px solid #e2e8f0; transition: 0.3s; }
.stack-card:hover { transform: translateY(-5px); border-color: var(--brand-blue); }
.stack-icon { font-size: 2rem; margin-bottom: 20px; color: var(--brand-blue); }

/* --- 9. PRICING PAGE --- */
.pricing-header {
    padding: 80px 0 60px;
    background: radial-gradient(circle at center, #f0fdf4 0%, #ffffff 70%);
}
.pricing-header h1 { font-size: 3rem; margin-bottom: 20px; font-weight: 800; }
.pricing-header p { font-size: 1.2rem; color: var(--text-light); max-width: 600px; margin: 0 auto 40px; }

.toggle-container {
    display: flex; align-items: center; justify-content: center;
    gap: 15px; margin-bottom: 40px; font-weight: 600; color: var(--brand-navy);
}
.switch { position: relative; display: inline-block; width: 60px; height: 34px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc; transition: .4s; border-radius: 34px;
}
.slider:before {
    position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px;
    background-color: white; transition: .4s; border-radius: 50%;
}
input:checked + .slider { background-color: var(--brand-green); }
input:checked + .slider:before { transform: translateX(26px); }
.save-badge { background: #dcfce7; color: var(--brand-green); font-size: 0.8rem; padding: 4px 12px; border-radius: 20px; font-weight: 700; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; align-items: start; }
.price-card { background: white; border-radius: 20px; padding: 40px; border: 1px solid #e2e8f0; transition: 0.3s; position: relative; }
.card-popular { border: 2px solid var(--brand-blue); box-shadow: 0 20px 40px rgba(44, 171, 220, 0.15); transform: scale(1.05); z-index: 2; }
.popular-badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--brand-blue); color: white; padding: 6px 20px;
    border-radius: 20px; font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.plan-name { font-size: 1.4rem; margin-bottom: 10px; color: var(--brand-navy); }
.plan-price { font-size: 3rem; font-weight: 800; color: var(--brand-navy); margin-bottom: 5px; }
.plan-period { color: var(--text-light); font-size: 0.9rem; }
.plan-features { margin: 30px 0; list-style: none; text-align: left; }
.plan-features li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--text-main); }
.check { color: var(--brand-green); font-weight: bold; }
.cross { color: #cbd5e1; }
.btn-card { width: 100%; border: 2px solid var(--brand-navy); color: var(--brand-navy); background: transparent; }
.btn-card:hover { background: var(--brand-navy); color: white; }
.btn-popular { width: 100%; background: linear-gradient(90deg, var(--brand-green), var(--brand-blue)); color: white; border: none; }
.btn-popular:hover { box-shadow: 0 10px 20px rgba(44, 171, 220, 0.3); }

.faq-section { background-color: var(--bg-subtle); padding: 80px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; margin: 40px auto 0; text-align: left; }
.faq-item h4 { margin-bottom: 10px; font-size: 1.1rem; }
.faq-item p { font-size: 0.95rem; color: var(--text-light); }

/* --- 10. CONTACT PAGE --- */
.contact-header {
    padding: 80px 0 60px;
    background: radial-gradient(circle at top right, #e0f2fe 0%, #ffffff 60%);
    text-align: center;
}
.contact-header h1 { font-size: 3rem; font-weight: 800; margin-bottom: 20px; }
.contact-header p { font-size: 1.2rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; margin-bottom: 80px; }
.info-card { background: #f8fafc; padding: 40px; border-radius: 20px; height: 100%; }
.info-item { margin-bottom: 30px; display: flex; gap: 20px; }
.info-icon {
    width: 50px; height: 50px; background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--brand-blue);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); flex-shrink: 0;
}
.info-text h4 { font-size: 1.1rem; margin-bottom: 5px; }
.info-text p { color: var(--text-light); font-size: 0.95rem; margin: 0; }
.info-text a { color: var(--brand-green); font-weight: 600; }
.form-card { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.08); border: 1px solid #e2e8f0; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--brand-navy); }
.form-control {
    width: 100%; padding: 12px 15px; border: 1px solid #cbd5e1; border-radius: 8px;
    font-family: inherit; font-size: 1rem; transition: 0.3s;
}
.form-control:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(44, 171, 220, 0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* --- 11. STARTUPS PAGE --- */
.startup-hero { background: #0f172a; color: white; padding: 100px 0; text-align: center; }
.startup-hero h1 { color: white; font-size: 3.5rem; margin-bottom: 20px; }
.startup-hero p { color: #94a3b8; font-size: 1.2rem; max-width: 700px; margin: 0 auto 40px; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: -60px; }
.pain-card { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); text-align: left; }
.pain-icon { color: #ef4444; font-size: 1.5rem; margin-bottom: 15px; }
.program-section { background: #f0fdf4; padding: 80px 0; margin-top: 80px; border-radius: 20px; }

/* --- 12. ABOUT PAGE --- */
.about-hero { padding: 100px 0; background: var(--bg-subtle); text-align: center; }
.story-block { max-width: 800px; margin: 0 auto; }
.story-text { font-size: 1.1rem; color: var(--text-light); margin-bottom: 20px; }
.stats-bar { background: var(--brand-navy); color: white; padding: 60px 0; margin: 60px 0; }
.stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; }
.stat-item { text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 700; display: block; }
.stat-label { font-size: 0.9rem; opacity: 0.8; }

/* --- 13. RESPONSIVE --- */
@media (max-width: 900px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 2.8rem; }
    .hero-grid, .villain-grid, .feature-block, .feature-block.reverse, .pricing-grid, .contact-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
    .hero-card-stack { height: 350px; margin-top: 40px; }
    .ui-float-1, .ui-float-2 { display: none; }
    .feature-block.reverse { direction: ltr; }
    .feature-text { text-align: center; }
    .card-popular { transform: scale(1); margin-top: 20px; }
    .pain-grid { grid-template-columns: 1fr; margin-top: 30px; }
    .stats-grid { flex-direction: column; }
}