@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary-color: #ff8a00;
    --accent-color: #ffb703;
    --secondary-color: #0b1220;
    --bg-body: #fff7ed;
    --bg-dark: #fff7ed;
    --bg-section: #ffffff;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-white: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.92);
    --border-color: rgba(2, 6, 23, 0.12);
    --transition: all 0.32s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text-main);
    background: radial-gradient(1400px 600px at 15% -10%, rgba(255, 138, 0, 0.16), transparent 60%),
        radial-gradient(900px 500px at 90% 10%, rgba(255, 183, 3, 0.14), transparent 60%),
        var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 800;
    color: var(--text-main);
}

body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .container {
        width: 90%;
        padding: 0;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(2, 6, 23, 0.04);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 138, 0, 0.7);
    border-radius: 999px;
}

body > header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    border-bottom: 1px solid rgba(2, 6, 23, 0.06);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

body > header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 40px rgba(2, 6, 23, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 5%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 12px;
}

.logo img {
    height: 36px;
    filter: drop-shadow(0 10px 18px rgba(2, 6, 23, 0.12));
}

.nav-list ul {
    display: flex;
    gap: 14px;
    align-items: center;
}

.nav-list a {
    font-weight: 700;
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.78);
    letter-spacing: 0.2px;
    position: relative;
    padding: 6px 8px;
    border-radius: 10px;
}

.nav-list a:hover {
    color: var(--text-main);
    background: rgba(255, 138, 0, 0.12);
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-auth .btn-signup {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #111827;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 35px rgba(255, 138, 0, 0.18);
    border: 1px solid rgba(255, 138, 0, 0.35);
    letter-spacing: 0.4px;
}

.header-auth .btn-signup:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 45px rgba(255, 138, 0, 0.28);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: rgba(15, 23, 42, 0.88);
    transition: var(--transition);
}

footer {
    background: radial-gradient(900px 450px at 20% 0%, rgba(255, 138, 0, 0.18), transparent 60%), var(--secondary-color);
    padding: 5.5rem 5% 3rem;
    color: var(--text-white);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .footer-desc {
    margin-top: 1.2rem;
    color: rgba(226, 232, 240, 0.76);
    font-size: 0.98rem;
    line-height: 1.8;
}

.footer-nav h4,
.footer-contact h4 {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.4rem;
    font-size: 1.05rem;
    letter-spacing: 0.6px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-nav a {
    color: rgba(226, 232, 240, 0.78);
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.9rem;
    gap: 10px;
}

.footer-links a {
    color: var(--accent-color);
    margin-left: 1.2rem;
}

section {
    padding: 6.5rem 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.15rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 0.95rem;
    font-weight: 800;
    color: rgba(255, 138, 0, 0.95);
    letter-spacing: 0.14em;
    margin-bottom: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: min(720px, calc(100% - 24px));
    background: rgba(255, 255, 255, 0.92);
    padding: 10px;
    z-index: 1005;
    gap: 10px;
    border-radius: 999px;
    border: 1px solid rgba(2, 6, 23, 0.08);
    box-shadow: 0 22px 60px rgba(2, 6, 23, 0.16);
    backdrop-filter: blur(12px);
}

.mobile-bottom-bar a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 999px;
}

.mobile-bottom-bar .btn-login {
    background: rgba(2, 6, 23, 0.06);
    color: var(--text-main);
    border: 1px solid rgba(2, 6, 23, 0.08);
}

.mobile-bottom-bar .btn-register {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #111827;
    border: 1px solid rgba(255, 138, 0, 0.35);
}

@media (max-width: 1200px) {
    .header-container {
        padding: 14px 20px;
    }
}

@media (max-width: 992px) {
    .nav-list {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.97);
        padding: 6rem 2rem;
        z-index: 999;
        border-left: 1px solid rgba(2, 6, 23, 0.08);
        backdrop-filter: blur(16px);
    }

    .nav-list.active {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-list ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .nav-list a {
        font-size: 1.3rem;
        padding: 12px 18px;
        border-radius: 18px;
        color: var(--text-main);
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }

    .header-auth .btn-signup:first-child {
        display: none;
    }

    .header-auth .btn-signup {
        padding: 9px 14px;
        font-size: 0.78rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links a {
        margin: 0 0.6rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4.25rem 0;
    }

    .mobile-bottom-bar {
        display: flex;
    }

    body {
        padding-bottom: 92px;
    }
}

@media (max-width: 768px) {
    .ad-container img,
    .ad-wrapper img {
        min-height: 50px;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 42px;
    }
}
