/* 1. Root Variables & Reset */
:root {
    --primary: #10b981;      /* Emerald Green */
    --primary-glow: rgba(16, 185, 129, 0.4);
    --secondary: #38bdf8;    /* Sky Blue */
    --bg-dark: #0f172a;      /* Deep Navy */
    --bg-card: #1e293b;      /* Slate Blue */
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. Header & Navigation */
.navbar {
    padding: 20px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.flex-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span { color: var(--primary); }

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--primary); }

/* 3. Hero Section */
.hero { padding: 100px 0; }
.hero-flex { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }

.badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-cta { display: flex; align-items: center; gap: 20px; margin-top: 15px; }
section#setup {
    padding: 0;
    padding-bottom: 50px;
}
/* 4. Buttons */
.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-link { color: #fff; font-weight: 600; }
.btn-link i { margin-left: 8px; transition: 0.3s; }
.btn-link:hover i { transform: translateX(5px); }

/* 5. Icon Features Grid */
.section { padding: 100px 0; }
.bg-dark { background: #0b1120; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 2.5rem; margin-bottom: 15px; }

.icon-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: 0.4s;
}

.advantage-card:hover {
    background: #242f42;
    border-color: var(--primary);
    transform: translateY(-10px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.advantage-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.advantage-card p { color: var(--text-dim); font-size: 0.95rem; }

/* 6. Setup Process List */
.split-grid { display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    justify-content: center;
    text-align: center; }

.process-list { margin-top: 30px; }
.process-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.num {
    background: var(--gradient);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

/* 7. Animations */
.floating {
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
/* Clean B2B Footer */
.footer {
    background-color: #0b1120;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand-section {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.footer-brand-section p { 
    margin-top: 15px; 
    color: var(--text-dim); 
    font-size: 1rem;
    line-height: 1.6;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-dim);
}

.legal-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 600;
}

.legal-links a:hover { 
    color: var(--primary); 
}

.divider {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.1);
}
/* Hero Visual Container */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px; /* Adds 3D depth */
}

/* The Banner Image Styling */
.powerhouse-img {
    width: 100%;
    max-width: 650px;
    height: auto;
    border-radius: 24px;
    z-index: 2;
    
    /* Neon Border Glow */
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.2), 
                0 0 100px rgba(56, 189, 248, 0.1);
    
    /* Animation */
    animation: floatingPowerhouse 6s ease-in-out infinite;
    
    /* Blending with dark mode */
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

/* Background Ambient Glow */
.visual-glow-effect {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
    opacity: 0.6;
}

/* Custom Floating Animation for the Cube Arena */
@keyframes floatingPowerhouse {
    0% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(-20px) rotateX(2deg) rotateY(1deg);
    }
    100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
}

/* =========================================
   9. COMPREHENSIVE MOBILE RESPONSIVE 
   ========================================= */

@media (max-width: 768px) {
    /* --- General Spacing --- */
    .section {
        padding: 60px 0; /* Reduced padding for mobile */
    }

    /* --- Hero Scaling --- */
    .hero {
        padding: 40px 0 60px;
    }

    .hero-text h1 {
        font-size: 2.5rem; /* Scale down the giant 4rem text */
        line-height: 1.2;
    }

    .hero-cta {
        flex-direction: column; /* Stack buttons vertically */
        width: 100%;
    }

    .btn {
        width: 100%; /* Make buttons full-width for easy tapping */
        text-align: center;
    }

    /* --- Grids & Cards --- */
    .icon-features-grid {
        grid-template-columns: 1fr; /* Force single column */
        gap: 20px;
    }

    .advantage-card {
        padding: 30px 20px; /* Slimmer cards */
    }

    /* --- Skill Arena Adjustments --- */
    .skill-grid {
        grid-template-columns: 1fr;
    }

    /* --- Setup Process (Numbered List) --- */
    .split-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .process-item {
        margin-bottom: 20px;
        padding-right: 10px;
    }

    .num {
        width: 28px; /* Slightly smaller numbers */
        height: 28px;
        font-size: 0.9rem;
    }

    /* --- Visuals & Images --- */
    .hero-visual, .visual-box {
        order: -1; /* Move images ABOVE text on mobile */
        margin-bottom: 30px;
    }

    .powerhouse-img, .floating {
        max-width: 90%; /* Prevent edge-to-edge crowding */
        margin: 0 auto;
    }

    /* --- Navbar Mobile --- */
    .flex-nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px; display: none;
    }

    .nav-links a {
        margin: 0 8px;
        font-size: 0.85rem;
    }
    .hero-visual{display: none;}
    .hero-flex{grid-template-columns: 1fr;}
}

/* --- Small Mobile (iPhone SE etc.) --- */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
/* Legal Page Specifics */
.legal-page {
    background-color: #0f172a;
}

.legal-container {
    padding: 80px 0;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.4);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content section {
    margin-bottom: 40px;
}

.legal-content h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.legal-content p {
    color: var(--text-dim);
    line-height: 1.8;
}

.legal-notice {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Legal View */
@media (max-width: 768px) {
    .legal-content {
        padding: 30px 20px;
    }
}