/* Reset & Variables - NEW STYLE */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@600;700;800&display=swap');

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --bg-main: #0f172a;
    --bg-card: #1e293b;
    --bg-dark: #020617;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --border: #334155;
    --header-bg: rgba(15, 23, 42, 0.95);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

* {
    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.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

body.no-scroll { overflow: hidden; }

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

ul { list-style: none; }

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

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

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 0; }

/* ── Header ── */
body > header {
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.2rem 0;
    border-bottom: 1px solid transparent;
}

body > header.scrolled {
    padding: 0.8rem 0;
    background-color: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1800px;
    margin: 0 auto;
}

.logo img {
    height: 40px;
    transition: var(--transition);
    filter: brightness(1.2);
}

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

.nav-list ul {
    display: flex;
    gap: 2.2rem;
}

.nav-list a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 0.5rem 0;
    position: relative;
}

.nav-list a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--text-main);
}

.nav-list a:hover::before,
.nav-list a.active::before { width: 100%; }

.header-auth .btn-signup {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.header-auth .btn-signup:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-main);
    transition: var(--transition);
    border-radius: 2px;
}

@media (max-width: 1024px) {
    .header-auth {
        margin-left: auto;
        margin-right: 1.5rem;
    }

    .header-auth .btn-signup {
        padding: 0.6rem 1.4rem;
        font-size: 0.85rem;
    }

    .nav-list {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        padding: 8rem 2rem 4rem;
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
        overflow-y: auto;
    }

    .nav-list.active {
        display: block;
        opacity: 1;
    }

    .nav-list ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-list a {
        font-size: 1.4rem;
        display: block;
        text-align: center;
    }

    .mobile-menu-toggle { display: flex; }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background: var(--accent);
    }

    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: var(--accent);
    }
}

/* ── Footer ── */
footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #000 100%);
    padding: 5rem 5% 2.5rem;
    border-top: 2px solid var(--primary);
    color: var(--text-light);
}

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

.footer-brand p {
    color: var(--text-muted);
    max-width: 380px;
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 1.2rem;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav a {
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
    padding: 0.25rem 0;
}

.footer-nav a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.footer-contact p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links { display: flex; gap: 2.5rem; }
.footer-links a { color: var(--text-light); }
.footer-links a:hover { color: var(--primary-light); }

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links { justify-content: center; }
}

/* ── Ad Container ── */
.ad-container {
    max-width: 1200px;
    margin: 3.5rem auto;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border);
    background: var(--bg-card);
}

/* ── Section Title ── */
.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-main);
    position: relative;
    display: block;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

/* ── Mobile Fixed Button ── */
.mobile-fixed-btn {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 1.2rem;
    background: linear-gradient(180deg, transparent 0%, var(--bg-dark) 30%);
    z-index: 1000;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    padding-bottom: 1.5rem;
}

.mobile-btn {
    flex: 1;
    max-width: 220px;
    display: block;
    text-align: center;
    padding: 1rem 1.2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    letter-spacing: -0.01em;
    transition: var(--transition);
}

.mobile-btn--outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--primary);
}

.mobile-btn--outline:active,
.mobile-btn--outline:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.02);
}

.mobile-btn--solid {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.mobile-btn--solid:active,
.mobile-btn--solid:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

@media (max-width: 1024px) {
    .mobile-fixed-btn {
        display: flex;
    }

    body {
        padding-bottom: 100px;
    }
}
