@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ===============
   CSS VARIABLES
   =============== */
:root {
    --primary-color: #00f0d0;
    --primary-dark: #00c4aa;
    --secondary-color: #8b5cf6;
    --accent-orange: #f97316;
    --accent-pink: #ec4899;
    --bg-color: #070714;
    --bg-card: rgba(20, 16, 48, 0.65);
    --bg-card-hover: rgba(30, 24, 70, 0.85);
    --text-color: #f0f0ff;
    --text-muted: #9494b8;
    --border-color: rgba(139, 92, 246, 0.25);
    --border-glow: rgba(0, 240, 208, 0.35);
    --card-bg: rgba(20, 16, 48, 0.7);
    --hover-overlay: rgba(0, 240, 208, 0.08);
    --transition-speed: 0.35s;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --glow-teal: 0 0 20px rgba(0, 240, 208, 0.4);
    --glow-purple: 0 0 25px rgba(139, 92, 246, 0.35);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* ===============
   RESET
   =============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6, p, a, span, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

html,
body {
    min-height: 100vh;
    font-family: var(--font-body);
    background-color: var(--bg-color);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(139, 92, 246, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 60%, rgba(0, 240, 208, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 10% 80%, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.65;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
}

/* ===============
   GLOBAL COMPONENTS
   =============== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===============
   HEADER
   =============== */
.header {
    background: rgba(7, 7, 20, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-list a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: none !important;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #070714 !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    transition: none !important;
    box-shadow: var(--glow-teal);
}

.btn-signup:hover {
    background: #33f5da;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-color) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--border-color);
    transition: none !important;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
    background: var(--hover-overlay);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
    transition: none !important;
    transform: none !important;
}

.mobile-menu-toggle:hover {
    background: none;
    border: none;
    color: var(--text-color);
    transform: none !important;
    box-shadow: none !important;
}

/* ===============
   ADS BLOCK
   =============== */
.ad-banner-container {
    margin-top: 92px;
    text-align: center;
}

.ad-banner-img {
    width: 100%;
    height: 100px;
    display: block;
    border-radius: var(--radius-md);
    transition: transform var(--transition-speed) ease;
    border: 1px solid var(--border-color);
}

.ad-banner-img:hover {
    transform: scale(1.01);
    border-color: var(--border-glow);
}

/* ===============
   FOOTER
   =============== */
.footer {
    background: rgba(4, 4, 14, 0.95);
    padding: 80px 0 32px;
    margin-top: 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-logo img {
    height: 36px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    letter-spacing: 0.03em;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-newsletter {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.footer-newsletter input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 10px 18px;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 13px;
    outline: none;
    transition: border-color var(--transition-speed);
}

.footer-newsletter input::placeholder {
    color: var(--text-muted);
}

.footer-newsletter input:focus {
    border-color: var(--primary-color);
}

.footer-newsletter button {
    background: var(--primary-color);
    color: #070714;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-speed);
    white-space: nowrap;
}

.footer-newsletter button:hover {
    background: #33f5da;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    transition: all var(--transition-speed);
}

.footer-social a:hover {
    background: var(--hover-overlay);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 13px;
}

/* ===============
   SECTION HEADERS
   =============== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 560px;
    margin: 16px auto 0;
    line-height: 1.7;
}

/* ===============
   RESPONSIVE
   =============== */
@media (max-width: 1200px) {
    .nav-list {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(7, 7, 20, 0.97);
        backdrop-filter: blur(20px);
        padding: 0 20px;
        border-bottom: 1px solid var(--border-color);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: none !important;
    }

    .nav-list.active {
        max-height: 600px;
        padding: 20px;
    }

    .nav-list a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
        text-align: center;
    }

    .nav-list a::after {
        display: none;
    }

    .ad-banner-img {
        height: 50px;
    }

    .footer {
        padding: 60px 0 30px;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        margin: 16px auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col ul {
        align-items: center;
    }

    .footer-newsletter {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 16px auto 0;
    }

    .footer-newsletter button {
        width: 100%;
    }
}
