/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-alt: #0f0f17;
    --accent: #f97316;
    --accent-hover: #fb923c;
    --accent-glow: rgba(249, 115, 22, 0.3);
    --text-primary: #f1f1f3;
    --text-secondary: #b0b0ba;
    --text-muted: #7a7a88;
    --border: #1e1e2a;
    --border-light: #272735;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 40px var(--accent-glow);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

strong {
    color: var(--accent);
    font-weight: 600;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    letter-spacing: 0.3px;
}
.btn--accent {
    background: linear-gradient(135deg, var(--accent), #ea580c);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn--accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.45);
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}
.header--scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 10px 0;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--border);
}
.header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--accent), #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity var(--transition);
    cursor: pointer;
    user-select: none;
}
.logo:hover {
    opacity: 0.85;
}
.logo--footer {
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: inline-block;
}

/* Nav */
.nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav__link {
    padding: 9px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
    white-space: nowrap;
}
.nav__link:hover,
.nav__link:focus-visible {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}
.nav__toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle--active span:nth-child(2) {
    opacity: 0;
}
.nav__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 0%, #1a1a2e 0%, var(--bg-primary) 70%);
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(249, 115, 22, 0.06) 0%, transparent 55%),
                radial-gradient(circle at 70% 50%, rgba(249, 115, 22, 0.04) 0%, transparent 55%);
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 0.9s ease-out;
}
.hero__title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 20%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Particles */
.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.particle {
    position: absolute;
    background: var(--accent);
    border-radius: 50%;
    animation: floatParticle 6s ease-in-out infinite;
}
@keyframes floatParticle {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.5); }
}

/* ========== SECTIONS ========== */
.section {
    padding: 90px 0;
    background: var(--bg-primary);
    position: relative;
}
.section--alt {
    background: var(--bg-alt);
}
.section__title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 36px;
    padding-bottom: 18px;
    position: relative;
    color: var(--text-primary);
    line-height: 1.3;
}
.section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}
.section__content p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-size: 1.02rem;
    line-height: 1.8;
}
.section__content p:last-child {
    margin-bottom: 0;
}

/* ========== FAQ ========== */
.faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}
.faq__item:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow);
}
.faq__item[open] {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.2), var(--shadow);
}
.faq__question {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    color: var(--text-primary);
    transition: color var(--transition);
}
.faq__question::-webkit-details-marker {
    display: none;
}
.faq__question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}
.faq__item[open] .faq__question::after {
    content: '−';
    transform: rotate(180deg);
}
.faq__item[open] .faq__question {
    color: var(--accent);
}
.faq__answer {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    animation: fadeIn 0.35s ease-out;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}
.footer__desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-top: 6px;
}
.footer__heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.footer__links ul li {
    margin-bottom: 10px;
}
.footer__links ul li a {
    color: var(--text-muted);
    font-size: 0.93rem;
    transition: color var(--transition);
}
.footer__links ul li a:hover {
    color: var(--accent);
}
.footer__info p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}
.footer__bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 30px;
    margin-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Reveal on scroll */
.section {
    animation: fadeInUp 0.7s ease-out both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }
    .nav__list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: rgba(16, 16, 24, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 90px 28px 30px;
        gap: 4px;
        transition: right var(--transition);
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.5);
    }
    .nav__list--open {
        right: 0;
    }
    .nav__link {
        display: block;
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }
    .hero {
        padding: 100px 20px 60px;
    }
    .section {
        padding: 60px 0;
    }
    .section__title {
        margin-bottom: 24px;
    }
    .faq__question {
        padding: 16px 18px;
        font-size: 0.98rem;
    }
    .faq__answer {
        padding: 0 18px 16px;
    }
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer__bottom {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .header__inner {
        padding: 0 16px;
    }
    .logo {
        font-size: 1.35rem;
    }
    .hero__title {
        font-size: 1.7rem;
    }
    .hero__subtitle {
        font-size: 0.95rem;
    }
    .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    .section__title {
        font-size: 1.4rem;
    }
    .section__content p {
        font-size: 0.95rem;
    }
}