/* ==========================================================================
   1. VARIABLES & GLOBAL RESETS
   ========================================================================== */
:root {
    --p-dark: #6B2C91;
    --p-main: #9D4EDD;
    --p-light: #B799FF;
    --p-xlight: #E5D4FF;
    --text-dark: #111827;
    --text-light: #F9FAFB;
    --text-secondary: #9CA3AF;
    --bg-dark: #101018;
    --bg-light: #FFFFFF;
    --bg-alt: #F8F8FB;
    --border-dark: rgba(255, 255, 255, 0.2);
    --border-light: #E5E7EB;
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body[data-theme="dark"] {
    --bg-main: var(--bg-dark);
    --bg-secondary: #181820;
    --text-primary: var(--text-light);
    --text-muted: #CBD5E1;
    --border-color: var(--border-dark);
}

body[data-theme="light"] {
    --bg-main: var(--bg-light);
    --bg-secondary: var(--bg-alt);
    --text-primary: var(--text-dark);
    --text-muted: #6B7280;
    --border-color: var(--border-light);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}
body.no-scroll { overflow: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1rem 0; }
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    background: rgba(12, 12, 17, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 0 1.5rem;
}
body[data-theme="light"] .navbar { background: rgba(255, 255, 255, 0.8); border-color: var(--border-light); }
.logo { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--text-primary); text-decoration: none; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-weight: 600; color: var(--text-muted); transition: var(--transition); text-decoration: none; }
.nav-links a:hover { color: var(--p-main); }
.nav-links .mobile-only { display: none; }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.theme-toggle-btn { background: none; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; transition: var(--transition); }
.theme-toggle-btn:hover { color: var(--p-light); }
.login-btn { font-weight: 600; color: var(--text-muted); padding: 0.5rem 1rem; }
.login-btn:hover { color: var(--p-main); }
.hamburger-btn { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--text-primary); }

/* ==========================================================================
   3. BUTTONS & CTA
   ========================================================================== */
.cta-btn { 
    font-family: 'Poppins', sans-serif; 
    font-weight: 600; 
    padding: 0.75rem 1.5rem; 
    border-radius: 8px; 
    border: 2px solid transparent; 
    transition: var(--transition); 
    cursor: pointer; 
    display: inline-flex; 
    justify-content: center; 
    align-items: center; 
    gap: 0.5rem; 
    text-decoration: none; 
}
.cta-btn.primary { background: var(--p-main); color: white; }
.cta-btn.primary:hover { background: var(--p-dark); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(157, 78, 221, 0.3); }
.cta-btn.secondary { border-color: var(--p-light); color: var(--p-light); }
body[data-theme="light"] .cta-btn.secondary { border-color: var(--p-main); color: var(--p-main); }
.cta-btn.secondary:hover { background: var(--p-light); color: var(--p-dark); }
body[data-theme="light"] .cta-btn.secondary:hover { background: var(--p-main); color: white; }
.secondary-nav { border-color: var(--border-color); color: var(--text-primary); }
.secondary-nav:hover { background: var(--p-xlight); color: var(--p-dark); }

/* --- HERO SECTION --- */
.hero { text-align: center; padding: 12rem 0 8rem; position: relative; overflow: hidden; }
.hero-content h1 { font-family: 'Poppins', sans-serif; font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -2px; }
.hero-content p { font-size: 1.1rem; color: var(--text-muted); margin: 1.5rem auto 2.5rem; max-width: 600px; }
.search-wrapper {
    max-width: 700px; margin: 0 auto; display: flex; align-items: center;
    background: var(--bg-alt); border-radius: 10px; padding: 0.5rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15); border: 1px solid var(--border-color);
}
.search-wrapper i { margin: 0 1rem; color: var(--text-secondary); }
.search-wrapper input { flex-grow: 1; border: none; background: none; outline: none; font-size: 1rem; padding: 0.75rem 0; }

/* ==========================================================================
   5. ALL OTHER SECTIONS
   ========================================================================== */
.section-header { text-align: center; max-width: 650px; margin: 0 auto 4rem; }
.section-tag { display: inline-block; font-weight: 600; color: var(--p-main); background-color: var(--p-xlight); padding: 0.25rem 0.75rem; border-radius: 99px; margin-bottom: 1rem; }
body[data-theme="dark"] .section-tag { background-color: rgba(157, 78, 221, 0.2); }
.section-header h2 { font-family: 'Poppins', sans-serif; font-size: 2.8rem; font-weight: 700; line-height: 1.2; }
.stats-section { background-color: var(--bg-secondary); padding: 4rem 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.stats-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; align-items: center; }
.stat-item { text-align: center; }
.stat-number { font-family: 'Poppins', sans-serif; font-size: 3rem; font-weight: 700; color: var(--p-main); }
.stat-item p { color: var(--text-muted); font-size: 0.9rem; }
.stat-message h3 { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--text-primary); }
.tabs-container { background: var(--bg-secondary); border-radius: var(--radius); padding: 1rem; border: 1px solid var(--border-color); }
.tab-buttons { display: flex; background: var(--bg-main); border-radius: 8px; padding: 0.5rem; }
.tab-btn { flex: 1; padding: 0.75rem; border: none; background: transparent; font-size: 1rem; font-weight: 600; color: var(--text-muted); cursor: pointer; border-radius: 6px; transition: var(--transition); }
.tab-btn.active { background: var(--bg-secondary); color: var(--text-primary); box-shadow: var(--shadow-md); }
.tab-content { padding: 2rem 0 0; display: none; }
.tab-content.active { display: block; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step-card { text-align: center; }
.step-card i { font-size: 1.5rem; color: var(--p-main); width: 56px; height: 56px; background: var(--bg-main); border-radius: 50%; display: inline-flex; justify-content: center; align-items: center; margin-bottom: 1rem; }
.step-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; color: var(--text-primary); }
.step-card p { font-size: 0.9rem; color: var(--text-muted); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.feature-card { background: var(--bg-main); padding: 2rem; border-radius: var(--radius); transition: var(--transition); border: 1px solid transparent; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-color); }
.feature-card i { font-size: 1.5rem; color: var(--p-main); margin-bottom: 1rem; }
.feature-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; color: var(--text-primary); }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.5rem; }
.who-for-container { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.who-for-card { background: var(--bg-secondary); border-radius: var(--radius); padding: 3rem; }
.who-for-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.8rem; margin-bottom: 1rem; color: var(--text-primary); }
.who-for-card li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.who-for-card li i { color: var(--p-main); }
.vision-section { padding: 8rem 0; position: relative; text-align: center; background-color: var(--bg-secondary); }
.vision-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('https://images.unsplash.com/photo-1531482615713-2c65a2ad9b58?q=80&w=2070') center/cover; opacity: 0.1; }
.vision-container { position: relative; z-index: 2; max-width: 800px; }
blockquote { font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 600; line-height: 1.4; color: var(--text-primary); }
.final-cta { text-align: center; }
.final-cta-container { 
    background: var(--p-dark); 
    padding: 3rem; 
    border-radius: var(--radius); 
    color: var(--text-light); 
}
.final-cta h2 { 
    font-family: 'Poppins', sans-serif; 
    font-size: 2rem; 
    margin-bottom: 1.5rem; 
}
.cta-buttons { 
    display: flex; 
    justify-content: center; 
    gap: 1rem; 
    margin-top: 1.5rem; 
}
.cta-client { 
    background: var(--p-light); 
    color: var(--p-dark); 
    padding: 0.75rem 1.25rem; 
    border-radius: 10px; 
}
.cta-lancer { 
    border-color: var(--p-light); 
    color: var(--p-light); 
    padding: 0.75rem 1.25rem; 
    border-radius: 10px; 
}
.main-footer { background-color: var(--bg-main); border-top: 1px solid var(--border-color); padding-top: 4rem; color: var(--text-muted); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-col h3 { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 1rem; }

/* ==========================================================================
   FOOTER (REDESIGNED STYLES)
   ========================================================================== */
.main-footer {
    background-color: var(--bg-secondary);
    padding: 5rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col .logo {
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-col .tagline {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 250px;
}

.footer-col h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover, .contact-link:hover {
    color: var(--p-main);
}

.contact-link {
    font-weight: 500;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-socials a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--p-main);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}
.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}
.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   8. ANIMATIONS & RESPONSIVE
   ========================================================================== */
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.animate-on-scroll.in-view { opacity: 1; transform: translateY(0); }
.feature-card.animate-on-scroll:nth-child(2) { transition-delay: 100ms; }
.feature-card.animate-on-scroll:nth-child(3) { transition-delay: 200ms; }
.feature-card.animate-on-scroll:nth-child(4) { transition-delay: 300ms; }

/* --- TABLET --- */
@media (max-width: 1024px) {
    .floating-elements { display: none; }
    .features-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-container { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .who-for-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}

/* --- MOBILE (REDESIGNED) --- */
@media (max-width: 768px) {
    .section { padding: 4rem 1.5rem; }
    .section-header h2, .final-cta h2, blockquote { font-size: clamp(1.8rem, 7vw, 2.2rem); }
    
    /* HEADER & NAV */
    .main-header { padding: 0.5rem 0; }
    .navbar { 
        margin-top: 0; 
        border-radius: 0; 
        background: var(--bg-main); 
        border-bottom: 1px solid var(--border-color); 
    }
    .nav-actions .login-btn, .nav-actions .secondary-nav { display: none; }
    
    /* MOBILE MENU */
    .hamburger-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
        padding: 0;
    }
    .hamburger-btn i {
        font-size: 1.8rem;
        color: var(--text-primary);
        transition: var(--transition);
    }
    .hamburger-btn.active i.fa-bars::before { content: "\f00d"; } /* Switch to X icon */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-main);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 5rem;
        gap: 2.5rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav-links a {
        font-size: 1.6rem;
        font-weight: 700;
        color: var(--text-primary);
        padding: 0.5rem 1rem;
    }
    .nav-links .mobile-only {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    .nav-links .mobile-only .login-btn {
        font-size: 1.3rem;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        border: 1px solid var(--border-color);
    }
    .nav-links .mobile-only .cta-btn {
        font-size: 1.3rem;
        padding: 0.75rem 2rem;
        width: 200px;
        text-align: center;
    }

    /* HERO */
    .hero { padding: 9rem 1.5rem 5rem; }
    .hero-content { text-align: left; }
    .hero-content p { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .cta-btn { width: 100%; max-width: 320px; }

    /* FINAL CTA */
    .final-cta-container {
        padding: 2rem;
        border-radius: 8px;
    }
    .final-cta h2 {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    .cta-client, .cta-lancer {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        font-size: 0.9rem;
        padding: 0.65rem 1rem;
        border-radius: 12px;
    }
    .cta-client:hover, .cta-lancer:hover {
        transform: translateY(-2px);
    }

    /* OTHER SECTIONS */
    .stats-container { grid-template-columns: 1fr; }
    .stat-message { grid-column: 1 / -1; }
    .steps-grid, .features-grid, .who-for-container { grid-template-columns: 1fr; }
    .who-for-card { padding: 2rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: left; }
    .footer-socials { justify-content: flex-start; }
    .footer-bottom { flex-direction: column; gap: 1rem; }
    .tab-buttons { flex-direction: column; }
}

/* ==========================================================================
   UPDATED STYLES FOR POPULAR SEARCHES
   ========================================================================== */
.popular-searches {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.popular-searches span {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
}
.search-tag {
    font-size: 0.9rem;
    font-weight: 500;
    color: #4B5563;
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 0.35rem 1rem;
    border-radius: 99px;
    transition: var(--transition);
    text-decoration: none;
}
.search-tag:hover {
    background: var(--bg-alt);
    border-color: #D1D5DB;
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .popular-searches {
        justify-content: flex-start;
        gap: 0.5rem;
    }
    .popular-searches span {
        font-size: 0.85rem;
    }
    .search-tag {
        font-size: 0.85rem;
        padding: 0.3rem 0.8rem;
    }
}
/* ==========================================================================
   1. VARIABLES & GLOBAL RESETS
   ========================================================================== */
:root {
    --p-dark: #6B2C91;
    --p-main: #9D4EDD;
    --p-light: #B799FF;
    --p-xlight: #E5D4FF;
    --text-dark: #111827;
    --text-light: #F9FAFB;
    --text-secondary: #6B7280;
    --bg-dark: #101018;
    --bg-light: #FFFFFF;
    --bg-alt: #F8F8FB;
    --border-dark: rgba(255, 255, 255, 0.1);
    --border-light: #E5E7EB;
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body[data-theme="dark"] {
    --bg-main: var(--bg-dark);
    --bg-secondary: #181820;
    --text-primary: var(--text-light);
    --text-muted: #9CA3AF;
    --border-color: var(--border-dark);
    --glass-nav: rgba(16, 16, 24, 0.85);
}

body[data-theme="light"] {
    --bg-main: var(--bg-light);
    --bg-secondary: var(--bg-alt);
    --text-primary: var(--text-dark);
    --text-muted: #4B5563;
    --border-color: var(--border-light);
    --glass-nav: rgba(255, 255, 255, 0.85);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}
body.no-scroll { overflow: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1rem 0; }
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    background: var(--glass-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 0 1.5rem;
    transition: var(--transition);
}

.logo { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--p-main); text-decoration: none; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { font-weight: 500; color: var(--text-muted); transition: var(--transition); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--p-main); }
.mobile-only-actions { display: none; } /* Hidden on Desktop */

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.theme-toggle-btn { 
    background: none; border: none; color: var(--text-muted); 
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition); padding: 5px; 
}
.theme-toggle-btn:hover { color: var(--p-main); transform: rotate(15deg); }
.theme-toggle-btn i { width: 20px; height: 20px; }

.login-btn { font-weight: 600; color: var(--text-muted); padding: 0.5rem 1rem; text-decoration: none; transition: var(--transition); }
.login-btn:hover { color: var(--p-main); }

.hamburger-btn { 
    display: none; background: none; border: none; 
    cursor: pointer; color: var(--text-primary); 
    padding: 0.5rem; z-index: 1002;
}

/* ==========================================================================
   3. BUTTONS & UI ELEMENTS
   ========================================================================== */
.cta-btn { 
    font-family: 'Poppins', sans-serif; font-weight: 600; padding: 0.75rem 1.5rem; 
    border-radius: 10px; border: 2px solid transparent; transition: var(--transition); 
    cursor: pointer; display: inline-flex; justify-content: center; align-items: center; 
    gap: 0.5rem; text-decoration: none; font-size: 0.95rem;
}
.cta-btn.primary { background: var(--p-main); color: white; border-color: var(--p-main); }
.cta-btn.primary:hover { background: var(--p-dark); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(157, 78, 221, 0.4); border-color: var(--p-dark); }
.cta-btn.secondary-nav { border: 1px solid var(--border-color); color: var(--text-primary); padding: 0.5rem 1.25rem; font-size: 0.9rem; }
.cta-btn.secondary-nav:hover { background: var(--bg-secondary); border-color: var(--p-main); color: var(--p-main); }

.cta-btn.secondary { border-color: var(--p-main); color: var(--p-main); background: transparent; }
.cta-btn.secondary:hover { background: var(--p-main); color: white; }

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero { text-align: center; padding: 12rem 0 8rem; position: relative; overflow: hidden; }
.hero-content h1 { 
    font-family: 'Poppins', sans-serif; font-size: clamp(2.5rem, 5vw, 4.2rem); 
    font-weight: 800; line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 1.5rem;
    color: var(--text-primary);
}
.hero-content p { font-size: 1.15rem; color: var(--text-muted); margin: 0 auto 2.5rem; max-width: 600px; }

.search-wrapper {
    max-width: 650px; margin: 0 auto; display: flex; align-items: center;
    background: var(--bg-main); border-radius: 16px; padding: 0.5rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1); border: 1px solid var(--border-color);
    position: relative; z-index: 10;
}
.search-icon { margin: 0 1rem; color: var(--text-secondary); width: 20px; height: 20px; }
.search-wrapper input { 
    flex-grow: 1; border: none; background: none; outline: none; 
    font-size: 1rem; padding: 0.75rem 0; color: var(--text-primary); 
    min-width: 0; /* Prevents overflow */
}

/* Popular Searches */
.popular-searches { margin-top: 1.5rem; display: flex; justify-content: center; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.popular-searches span { font-weight: 500; font-size: 0.9rem; color: var(--text-muted); }
.search-tag {
    font-size: 0.85rem; font-weight: 500; color: var(--text-secondary);
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    padding: 0.35rem 1rem; border-radius: 99px; transition: var(--transition);
    text-decoration: none;
}
.search-tag:hover { border-color: var(--p-main); color: var(--p-main); background: rgba(157, 78, 221, 0.05); }

/* ==========================================================================
   5. SECTIONS (STATS, FEATURES, TABS)
   ========================================================================== */
.section-header { text-align: center; max-width: 650px; margin: 0 auto 4rem; }
.section-tag { display: inline-block; font-weight: 600; color: var(--p-main); background-color: var(--p-xlight); padding: 0.25rem 0.75rem; border-radius: 99px; margin-bottom: 1rem; font-size: 0.85rem; }
body[data-theme="dark"] .section-tag { background-color: rgba(157, 78, 221, 0.2); }
.section-header h2 { font-family: 'Poppins', sans-serif; font-size: 2.5rem; font-weight: 700; line-height: 1.2; }

/* Stats */
.stats-section { background-color: var(--bg-secondary); padding: 4rem 0; border-y: 1px solid var(--border-color); }
.stats-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; align-items: center; }
.stat-item { text-align: center; }
.stat-number { font-family: 'Poppins', sans-serif; font-size: 2.8rem; font-weight: 700; color: var(--p-main); line-height: 1; margin-bottom: 0.5rem; }
.stat-item p { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.stat-message h3 { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--text-primary); line-height: 1.4; }

/* Tabs */
.tabs-container { background: var(--bg-secondary); border-radius: 20px; padding: 1.5rem; border: 1px solid var(--border-color); }
.tab-buttons { display: flex; background: var(--bg-main); border-radius: 12px; padding: 0.35rem; margin-bottom: 2rem; border: 1px solid var(--border-color); }
.tab-btn { 
    flex: 1; padding: 0.75rem; border: none; background: transparent; 
    font-size: 1rem; font-weight: 600; color: var(--text-muted); cursor: pointer; 
    border-radius: 8px; transition: var(--transition); 
}
.tab-btn.active { background: var(--bg-secondary); color: var(--text-primary); box-shadow: var(--shadow-md); }
.tab-content { display: none; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step-card { text-align: center; }
.icon-circle { 
    width: 60px; height: 60px; background: var(--bg-main); border-radius: 50%; 
    display: inline-flex; justify-content: center; align-items: center; margin: 0 auto 1.25rem;
    border: 1px solid var(--border-color); color: var(--p-main); box-shadow: var(--shadow-md);
}
.step-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; color: var(--text-primary); margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.feature-card { 
    background: var(--bg-main); padding: 2rem; border-radius: 16px; 
    transition: var(--transition); border: 1px solid var(--border-color); 
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--p-main); }
.feature-card i { color: var(--p-main); margin-bottom: 1.25rem; width: 32px; height: 32px; }
.feature-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.15rem; color: var(--text-primary); margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.95rem; color: var(--text-muted); }

/* Who For */
.who-for-container { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.who-for-card { background: var(--bg-secondary); border-radius: 24px; padding: 3.5rem; position: relative; overflow: hidden; border: 1px solid var(--border-color); }
.who-for-card h3 { font-family: 'Poppins', sans-serif; font-size: 2rem; margin-bottom: 1rem; color: var(--text-primary); }
.benefit-list { list-style: none; margin: 2rem 0; }
.benefit-list li { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; color: var(--text-muted); font-size: 1rem; }
.benefit-list li i { color: var(--p-main); width: 18px; height: 18px; }

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.main-footer { background-color: var(--bg-secondary); padding: 5rem 0 0; color: var(--text-muted); font-size: 0.9rem; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 4rem; }
.footer-col .logo { margin-bottom: 1rem; display: inline-block; }
.footer-col h3 { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-col a:hover { color: var(--p-main); }
.footer-socials { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-socials a { 
    display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; 
    background-color: var(--bg-main); border: 1px solid var(--border-color); border-radius: 50%; 
    color: var(--text-muted); transition: var(--transition); 
}
.footer-socials a:hover { background-color: var(--p-main); color: white; border-color: var(--p-main); transform: translateY(-3px); }
.footer-socials a i { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--border-color); padding: 2rem 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* ==========================================================================
   7. ANIMATIONS & RESPONSIVE DESIGN (FIXED)
   ========================================================================== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate-on-scroll.in-view { opacity: 1; transform: translateY(0); }

/* --- TABLET --- */
@media (max-width: 1024px) {
    .features-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    
    /* Improved Mobile Navbar */
    .navbar { padding: 0 1rem; height: 60px; }
    .nav-actions, .nav-links { display: none; } /* Hide default desktop nav elements */
    
    .hamburger-btn { display: flex; align-items: center; justify-content: center; }
    
    /* Full Screen Mobile Menu */
    .nav-links {
        display: flex;
        position: fixed;
        top: 60px; /* Below header */
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--bg-main);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-links.active { transform: translateX(0); }
    .nav-links a { font-size: 1.25rem; font-weight: 600; color: var(--text-primary); display: block; padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); width: 100%; }
    
    .mobile-only-actions { 
        display: flex; flex-direction: column; gap: 1rem; width: 100%; margin-top: 1rem; 
    }
    .mobile-only-actions .login-btn { text-align: center; border: 1px solid var(--border-color); border-radius: 10px; }
    .mobile-only-actions .cta-btn { width: 100%; text-align: center; }

    /* Mobile Hero */
    .hero { padding: 8rem 0 4rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .search-wrapper { flex-direction: column; padding: 1rem; gap: 0.5rem; }
    .search-wrapper input { width: 100%; text-align: center; border-bottom: 1px solid var(--border-color); margin-bottom: 0.5rem; }
    .search-wrapper button { width: 100%; }
    
    /* Stats */
    .stats-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .stat-message { grid-column: auto; }
    
    /* Tabs & Features */
    .steps-grid, .who-for-container { grid-template-columns: 1fr; }
    .who-for-card { padding: 2rem; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .footer-socials { justify-content: center; }
    .footer-col { align-items: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    
    /* Vision */
    .vision-container blockquote { font-size: 1.4rem; }
    
    /* Final CTA */
    .final-cta-container { padding: 2rem 1.5rem; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .cta-buttons .cta-btn { width: 100%; }
}


/* ==========================================================================
   1. VARIABLES & GLOBAL RESETS
   ========================================================================== */
:root {
    /* Brand Colors */
    --p-dark: #6B2C91;
    --p-main: #9D4EDD;
    --p-light: #C77DFF;
    --p-xlight: #E0AAFF;
    
    /* Dynamic Accent Colors (For Icons) */
    --accent-blue: #3A86FF;
    --accent-blue-bg: rgba(58, 134, 255, 0.1);
    --accent-green: #06D6A0;
    --accent-green-bg: rgba(6, 214, 160, 0.1);
    --accent-orange: #FF9F1C;
    --accent-orange-bg: rgba(255, 159, 28, 0.1);
    --accent-red: #EF476F;
    --accent-red-bg: rgba(239, 71, 111, 0.1);
    
    /* Neutrals */
    --text-dark: #111827;
    --text-light: #F9FAFB;
    --text-secondary: #6B7280;
    --bg-dark: #0F0F13;
    --bg-light: #FFFFFF;
    --bg-alt: #F3F4F6;
    
    /* UI Elements */
    --border-light: #E5E7EB;
    --border-dark: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(157, 78, 221, 0.15);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body[data-theme="dark"] {
    --bg-main: var(--bg-dark);
    --bg-secondary: #18181B;
    --text-primary: var(--text-light);
    --text-muted: #9CA3AF;
    --border-color: var(--border-dark);
    --glass-nav: rgba(15, 15, 19, 0.8);
    --card-bg: #1F1F24;
}

body[data-theme="light"] {
    --bg-main: var(--bg-light);
    --bg-secondary: var(--bg-alt);
    --text-primary: var(--text-dark);
    --text-muted: #4B5563;
    --border-color: var(--border-light);
    --glass-nav: rgba(255, 255, 255, 0.85);
    --card-bg: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}
body.no-scroll { overflow: hidden; } /* Locks scroll when menu is open */

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1rem 0; }
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    background: var(--glass-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 0 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.logo { 
    font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 800; 
    color: var(--p-main); text-decoration: none; letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--p-main) 0%, var(--p-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { font-weight: 500; color: var(--text-muted); transition: var(--transition); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--p-main); }
.mobile-only-actions { display: none; }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.theme-toggle-btn { 
    background: transparent; border: 1px solid var(--border-color); 
    color: var(--text-muted); width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition);
}
.theme-toggle-btn:hover { border-color: var(--p-main); color: var(--p-main); background: var(--bg-secondary); }

.hamburger-btn { 
    display: none; background: none; border: none; cursor: pointer; color: var(--text-primary); 
    padding: 0.5rem; z-index: 1002;
}

/* ==========================================================================
   3. BUTTONS & UI ELEMENTS
   ========================================================================== */
.cta-btn { 
    font-family: 'Poppins', sans-serif; font-weight: 600; padding: 0.75rem 1.5rem; 
    border-radius: 12px; border: 2px solid transparent; transition: var(--transition); 
    cursor: pointer; display: inline-flex; justify-content: center; align-items: center; 
    gap: 0.5rem; text-decoration: none; font-size: 0.95rem;
}
.cta-btn.primary { 
    background: linear-gradient(135deg, var(--p-main) 0%, var(--p-dark) 100%); 
    color: white; box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}
.cta-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(157, 78, 221, 0.4); }

.cta-btn.secondary-nav { border: 1px solid var(--border-color); color: var(--text-primary); padding: 0.5rem 1.25rem; }
.cta-btn.secondary-nav:hover { border-color: var(--p-main); color: var(--p-main); background: rgba(157, 78, 221, 0.05); }

.cta-btn.secondary { color: var(--p-main); background: rgba(157, 78, 221, 0.1); border: 1px solid transparent; }
.cta-btn.secondary:hover { background: var(--p-main); color: white; }

/* ==========================================================================
   4. HERO SECTION (DYNAMIC)
   ========================================================================== */
.hero { text-align: center; padding: 11rem 0 8rem; position: relative; overflow: hidden; }
/* Gradient Blob Background Effect */
.hero::before {
    content: ''; position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px; background: radial-gradient(circle, rgba(157, 78, 221, 0.15) 0%, transparent 70%);
    z-index: -1; filter: blur(60px); opacity: 0.8;
}

.hero-content h1 { 
    font-family: 'Poppins', sans-serif; font-size: clamp(2.8rem, 6vw, 4.5rem); 
    font-weight: 800; line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-primary) 30%, var(--p-main) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p { font-size: 1.2rem; color: var(--text-muted); margin: 0 auto 3rem; max-width: 650px; }

.search-wrapper {
    max-width: 650px; margin: 0 auto; display: flex; align-items: center;
    background: var(--bg-main); border-radius: 99px; padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1); border: 2px solid var(--border-color);
    transition: var(--transition);
}
.search-wrapper:focus-within { border-color: var(--p-main); box-shadow: 0 10px 30px -5px rgba(157, 78, 221, 0.2); }
.search-icon { color: var(--text-muted); width: 20px; height: 20px; margin-right: 10px; }
.search-wrapper input { 
    flex-grow: 1; border: none; background: none; outline: none; 
    font-size: 1.05rem; color: var(--text-primary); 
}
.search-wrapper .cta-btn { padding: 0.75rem 2rem; border-radius: 99px; }

/* Tags */
.popular-searches { margin-top: 2rem; display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }
.search-tag {
    font-size: 0.85rem; font-weight: 500; color: var(--text-secondary);
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    padding: 0.4rem 1.2rem; border-radius: 99px; transition: var(--transition); text-decoration: none;
}
.search-tag:hover { border-color: var(--p-main); color: var(--p-main); background: white; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ==========================================================================
   5. FEATURE CARDS & ICONS (MULTICOLOR SYSTEM)
   ========================================================================== */
.section { padding: 6rem 0; }
.section-header .section-tag { 
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1), rgba(58, 134, 255, 0.1));
    color: var(--p-main); padding: 0.35rem 1rem; border-radius: 99px; font-weight: 600; font-size: 0.85rem;
}
.section-header h2 { font-family: 'Poppins', sans-serif; font-size: 2.5rem; font-weight: 700; margin-top: 1rem; }

/* General Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.feature-card { 
    background: var(--card-bg); padding: 2.5rem 2rem; border-radius: 20px; 
    transition: var(--transition); border: 1px solid var(--border-color); 
    position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(157, 78, 221, 0.3); }

/* The Dynamic Icon Box */
.icon-box {
    width: 56px; height: 56px; border-radius: 14px; display: inline-flex; 
    justify-content: center; align-items: center; margin-bottom: 1.5rem;
    transition: var(--transition);
}
.icon-box i { width: 28px; height: 28px; stroke-width: 2px; }

/* --- THE RAINBOW COLOR LOGIC (Applies to Features Grid automatically) --- */

/* Card 1: Blue (Trust) */
.features-grid .feature-card:nth-child(1) .icon-box { background: var(--accent-blue-bg); color: var(--accent-blue); }
.features-grid .feature-card:nth-child(1):hover .icon-box { background: var(--accent-blue); color: white; }

/* Card 2: Green (Money/Wallet) */
.features-grid .feature-card:nth-child(2) .icon-box { background: var(--accent-green-bg); color: var(--accent-green); }
.features-grid .feature-card:nth-child(2):hover .icon-box { background: var(--accent-green); color: white; }

/* Card 3: Orange (Matching) */
.features-grid .feature-card:nth-child(3) .icon-box { background: var(--accent-orange-bg); color: var(--accent-orange); }
.features-grid .feature-card:nth-child(3):hover .icon-box { background: var(--accent-orange); color: white; }

/* Card 4: Purple (Mobile) */
.features-grid .feature-card:nth-child(4) .icon-box { background: rgba(157, 78, 221, 0.1); color: var(--p-main); }
.features-grid .feature-card:nth-child(4):hover .icon-box { background: var(--p-main); color: white; }

/* Card 5: Red (Urgent) */
.features-grid .feature-card:nth-child(5) .icon-box { background: var(--accent-red-bg); color: var(--accent-red); }
.features-grid .feature-card:nth-child(5):hover .icon-box { background: var(--accent-red); color: white; }

/* Card 6: Gold (Badge) */
.features-grid .feature-card:nth-child(6) .icon-box { background: rgba(255, 209, 102, 0.15); color: #FFD166; }
.features-grid .feature-card:nth-child(6):hover .icon-box { background: #FFD166; color: white; }

/* Card 7: Cyan (Tools) */
.features-grid .feature-card:nth-child(7) .icon-box { background: rgba(17, 138, 178, 0.1); color: #118AB2; }
.features-grid .feature-card:nth-child(7):hover .icon-box { background: #118AB2; color: white; }

/* Card 8: Dark (Vision) */
.features-grid .feature-card:nth-child(8) .icon-box { background: rgba(0, 0, 0, 0.05); color: var(--text-dark); }
body[data-theme="dark"] .features-grid .feature-card:nth-child(8) .icon-box { background: rgba(255, 255, 255, 0.1); color: white; }
.features-grid .feature-card:nth-child(8):hover .icon-box { background: var(--text-dark); color: white; }
body[data-theme="dark"] .features-grid .feature-card:nth-child(8):hover .icon-box { background: white; color: black; }

.feature-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }


/* ==========================================================================
   6. STATS & TABS
   ========================================================================== */
.stats-section { background-color: var(--bg-secondary); padding: 4rem 0; }
.stats-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; align-items: center; }
.stat-number { font-size: 3.5rem; font-weight: 800; color: var(--p-main); line-height: 1; margin-bottom: 0.5rem; letter-spacing: -2px; }

.tabs-container { background: var(--card-bg); border-radius: 24px; padding: 2rem; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.tab-buttons { display: flex; background: var(--bg-secondary); border-radius: 14px; padding: 0.4rem; margin-bottom: 2.5rem; max-width: 500px; margin-inline: auto; }
.tab-btn { 
    flex: 1; padding: 0.75rem; border: none; background: transparent; 
    font-size: 1rem; font-weight: 600; color: var(--text-muted); cursor: pointer; 
    border-radius: 12px; transition: var(--transition); 
}
.tab-btn.active { background: var(--bg-main); color: var(--p-main); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

/* Steps Grid (Icon Circles need new styling) */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step-card { text-align: center; }
.step-card .icon-circle { 
    width: 70px; height: 70px; background: var(--bg-secondary); border-radius: 50%; 
    display: inline-flex; justify-content: center; align-items: center; margin: 0 auto 1.5rem;
    color: var(--p-main); transition: var(--transition); position: relative;
}
.step-card:hover .icon-circle { background: var(--p-main); color: white; transform: rotateY(180deg); }
.step-card:hover .icon-circle i { transform: rotateY(-180deg); } /* Keeps icon facing forward */


/* ==========================================================================
   7. WHO FOR & CTA
   ========================================================================== */
.who-for-container { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.who-for-card { background: var(--card-bg); border-radius: 24px; padding: 3.5rem; border: 1px solid var(--border-color); position: relative; overflow: hidden; }
.who-for-card::after { 
    content: ''; position: absolute; top: 0; right: 0; width: 150px; height: 150px; 
    background: radial-gradient(circle, var(--p-xlight) 0%, transparent 70%); opacity: 0.3; pointer-events: none; 
}
.who-for-card h3 { font-family: 'Poppins', sans-serif; font-size: 2rem; margin-bottom: 1rem; }
.benefit-list li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; color: var(--text-muted); }
.benefit-list li i { color: var(--accent-green); background: var(--accent-green-bg); padding: 4px; border-radius: 50%; width: 24px; height: 24px; }

.final-cta-container { 
    background: linear-gradient(135deg, #240046 0%, #6B2C91 100%); 
    padding: 4rem 2rem; border-radius: 24px; color: white; text-align: center;
    position: relative; overflow: hidden;
}
/* Abstract decoration */
.final-cta-container::before {
    content: ''; position: absolute; top: -50px; left: -50px; width: 200px; height: 200px;
    background: rgba(255,255,255,0.1); border-radius: 50%;
}

.final-cta h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 2rem; color: white; }
.cta-client { background: white; color: var(--p-dark); border: none; }
.cta-client:hover { background: var(--p-xlight); transform: translateY(-3px); }
.cta-lancer { border: 1px solid rgba(255,255,255,0.3); color: white; }
.cta-lancer:hover { background: rgba(255,255,255,0.1); color: white; border-color: white; }


/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.main-footer { background-color: var(--bg-secondary); padding: 5rem 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 4rem; }
.footer-socials a { 
    width: 44px; height: 44px; background: var(--card-bg); border-radius: 12px; 
    color: var(--text-secondary); transition: var(--transition); border: 1px solid var(--border-color);
}
.footer-socials a:hover { background: var(--p-main); color: white; border-color: var(--p-main); transform: translateY(-3px); }


/* ==========================================================================
   9. MOBILE RESPONSIVE FIXES
   ========================================================================== */
@media (max-width: 1024px) {
    .features-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .main-header { padding: 0.5rem 0; }
    .navbar { padding: 0 1rem; height: 60px; border-radius: 0; border: none; border-bottom: 1px solid var(--border-color); }
    
    .nav-links, .nav-actions { display: none; } /* Default hidden */
    
    /* MOBILE MENU DRAWER */
    .hamburger-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
    
    .nav-links {
        display: flex; position: fixed; top: 60px; left: 0; width: 100%; height: calc(100vh - 60px);
        background: var(--bg-main); flex-direction: column; padding: 2rem 1.5rem; gap: 1rem;
        transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999; overflow-y: auto;
    }
    .nav-links.active { transform: translateX(0); }
    .nav-links a.nav-link-item { 
        font-size: 1.4rem; font-weight: 700; color: var(--text-primary); 
        padding: 1rem 0; border-bottom: 1px solid var(--border-color); display: block;
    }
    
    .mobile-only-actions { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; width: 100%; }
    .mobile-only-actions .login-btn { text-align: center; border: 1px solid var(--border-color); padding: 1rem; border-radius: 12px; }
    .mobile-only-actions .cta-btn { width: 100%; justify-content: center; padding: 1rem; }

    /* Hero Fixes */
    .hero { padding: 8rem 0 4rem; }
    .search-wrapper { flex-direction: column; border-radius: 20px; padding: 1rem; gap: 1rem; }
    .search-wrapper input { width: 100%; text-align: center; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
    .search-wrapper button { width: 100%; }
    
    /* Grid Fixes */
    .stats-container, .steps-grid, .features-grid, .who-for-container, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .feature-card { padding: 2rem 1.5rem; }
    
    /* Footer */
    .footer-grid { text-align: center; }
    .footer-socials { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
}