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

:root {
    --bg: #0a0b0f;
    --bg-elevated: #101118;
    --surface: #141520;
    --surface-hover: #1a1b28;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.1);
    --text-primary: #e8e9ed;
    --text-secondary: #8a8d9b;
    --text-tertiary: #5a5d6b;
    --accent: #ff8a3d;
    --accent-hover: #ff9d5c;
    --accent-soft: rgba(255, 138, 61, 0.08);
    --accent-glow: rgba(255, 138, 61, 0.12);
    --section-gap: 7rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ===== LAYOUT ===== */
section {
    padding: var(--section-gap) 2rem;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
}

.section-label {
    font-family: 'Sora', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.section-heading {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subheading {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.7;
}

.section-center {
    text-align: center;
}

.section-center .section-subheading {
    margin: 0 auto;
}

/* ===== NAV ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 11, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.75rem 2rem;
}

.nav-brand {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.nav-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-soft), transparent 60%);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.25s ease;
}

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

.nav-cta {
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    color: var(--accent) !important;
    padding: 8px 18px;
    border: 1px solid rgba(255, 138, 61, 0.25);
    border-radius: 6px;
    transition: all 0.25s ease !important;
}

.nav-cta:hover {
    background: var(--accent-soft);
    border-color: rgba(255, 138, 61, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--accent);
    color: #0a0b0f;
    border: none;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(255, 138, 61, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--surface);
}

/* ===== AMBIENT GLOWS ===== */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    opacity: 0.06;
}

.glow--accent {
    background: var(--accent);
}

.glow--warm {
    background: #6a3a1a;
}

/* ===== CARDS ===== */
.card {
    padding: 2.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent-soft);
    border: 1px solid rgba(255, 138, 61, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

.card-tag {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.03em;
}

/* ===== FORMS ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(255, 138, 61, 0.35);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5d6b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.form-group select option {
    background: var(--surface);
    color: var(--text-primary);
}

.form-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* ===== FOOTER ===== */
footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--text-secondary);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    letter-spacing: 0.02em;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
}

.fade-up.animated {
    animation: fadeUp 0.7s ease-out forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
    padding: 10rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.page-header .glow {
    width: 600px;
    height: 600px;
}

.page-header h1 {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 560px;
    position: relative;
    z-index: 1;
}

/* ===== ELEVATED SECTION ===== */
.section-elevated {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ===== CTA BANNER ===== */
.cta-banner {
    text-align: center;
    position: relative;
}

.cta-banner .glow {
    width: 500px;
    height: 500px;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
}

.cta-banner h2 {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-banner .btn-primary {
    position: relative;
    z-index: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr !important;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .grid-2 {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 640px) {
    section {
        padding: 4rem 1.25rem;
    }

    nav {
        padding: 0.85rem 1.25rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 11, 15, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 99;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .menu-toggle {
        display: block;
        z-index: 101;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 8rem 1.25rem 3rem;
    }
}
