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

:root {
    --bg: #0b0b0d;
    --bg-card: rgba(255,255,255,0.03);
    --bg-card-hover: rgba(255,255,255,0.05);
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --text: #ffffff;
    --text-sec: rgba(255,255,255,0.55);
    --text-dim: rgba(255,255,255,0.3);
    --accent: #f96dcc;
    --accent-dim: rgba(249,109,204,0.1);
    --accent-border: rgba(249,109,204,0.3);
    --green: #4ade80;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.15s; }
ul { list-style: none; }

/* =========================================
   LOADER
   ========================================= */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(249,109,204,0.18) 0%, transparent 70%);
    filter: blur(48px);
    animation: loaderPulse 1.5s ease-in-out infinite;
}
.loader-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.88); }
    50%       { opacity: 1;   transform: scale(1.12); }
}

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

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent);
    color: #1a0a14;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    letter-spacing: 0.01em;
    box-shadow: 0 0 28px rgba(249,109,204,0.22);
}
.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 48px rgba(249,109,204,0.38);
    transform: translateY(-1px);
}
.btn-primary:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    filter: none;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--text-sec);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 999px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text); }

.btn-lg  { padding: 15px 32px; font-size: 16px; }
.btn-full { width: 100%; }

/* =========================================
   NAV
   ========================================= */
#nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(11,11,13,0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}
#nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a:not(.btn-primary) {
    color: var(--text-sec);
    font-size: 14px;
    font-weight: 500;
}
.nav-links a:not(.btn-primary):hover { color: var(--text); }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.2s;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 16px 24px 20px;
    border-top: 1px solid var(--border);
    gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
    padding: 10px 0;
    color: var(--text-sec);
    font-size: 15px;
}
.nav-mobile-link:hover { color: var(--text); }
.nav-mobile-cta {
    margin-top: 8px;
    background: var(--accent);
    color: #1a0a14;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 999px;
    text-align: center;
}

/* =========================================
   HERO
   ========================================= */
#hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(249,109,204,0.11) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 65%, rgba(249,109,204,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    padding: 6px 16px;
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    background: var(--accent-dim);
}

.hero-title {
    font-size: clamp(56px, 8.5vw, 100px);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-sec);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.68;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-platforms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-sec);
    background: var(--bg-card);
}

/* =========================================
   STATS
   ========================================= */
#stats { padding: 0 0 80px; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}
.stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
.stat-item {
    background: var(--bg);
    padding: 32px 20px;
    text-align: center;
}
.stat-value {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 13px;
    color: var(--text-sec);
}

/* =========================================
   SECTION SHARED
   ========================================= */
.section-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
    opacity: 0.85;
}
.section-title {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    line-height: 1.15;
}
.section-sub {
    color: var(--text-sec);
    font-size: 17px;
    max-width: 480px;
    margin-bottom: 56px;
    line-height: 1.65;
}

/* =========================================
   PLATFORMS
   ========================================= */
#platforms { padding: 80px 0; }

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}
.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 36px;
    transition: all 0.2s;
}
.platform-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.platform-icon { margin-bottom: 20px; }
.platform-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.platform-card p {
    color: var(--text-sec);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.65;
}
.platform-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.platform-features li {
    font-size: 14px;
    color: var(--text-sec);
    padding-left: 18px;
    position: relative;
}
.platform-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.65;
}

/* =========================================
   SERVICES
   ========================================= */
#services { padding: 80px 0; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 48px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.2s;
}
.service-card:hover {
    border-color: var(--accent-border);
    background: rgba(249,109,204,0.025);
    transform: translateY(-2px);
}
.service-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 12px;
    border: 1px solid rgba(249,109,204,0.14);
    margin-bottom: 16px;
}
.service-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}
.service-card p {
    color: var(--text-sec);
    font-size: 14px;
    line-height: 1.65;
}

/* =========================================
   HOW IT WORKS
   ========================================= */
#how-it-works { padding: 80px 0; }

.steps-grid {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 56px;
}
.step-item {
    flex: 1;
    text-align: center;
    padding: 0 28px;
}
.step-num {
    font-size: 52px;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}
.step-item h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}
.step-item p {
    color: var(--text-sec);
    font-size: 14px;
    line-height: 1.65;
}
.step-divider {
    flex-shrink: 0;
    opacity: 0.6;
}

/* =========================================
   APPLY
   ========================================= */
#apply { padding: 80px 0 110px; }

.apply-wrap {
    max-width: 540px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 44px;
}

/* Progress bar */
.apply-progress {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.progress-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dim);
    background: var(--bg-card);
    transition: all 0.25s;
}
.progress-step.active .progress-dot {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
    box-shadow: 0 0 12px rgba(249,109,204,0.2);
}
.progress-step.done .progress-dot {
    border-color: var(--accent);
    background: var(--accent);
    color: #1a0a14;
}
.progress-step span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
}
.progress-step.active span,
.progress-step.done span { color: var(--text-sec); }

.progress-line {
    flex: 1;
    height: 1px;
    background: var(--border);
    margin: 0 8px 18px;
    transition: background 0.25s;
}
.progress-line.done { background: rgba(249,109,204,0.35); }

/* Form steps */
.form-step { display: none; animation: stepIn 0.22s ease; }
.form-step.active { display: block; }

@keyframes stepIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.step-title {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

/* Role options */
.role-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.role-option input[type="radio"] { display: none; }
.role-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.15s;
}
.role-option:hover .role-card { border-color: var(--border-hover); }
.role-option input:checked + .role-card {
    border-color: var(--accent-border);
    background: var(--accent-dim);
}
.role-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    border: 1px solid var(--border);
    color: var(--text-sec);
    transition: all 0.15s;
}
.role-option input:checked + .role-card .role-icon {
    background: var(--accent-dim);
    border-color: var(--accent-border);
    color: var(--accent);
}
.role-name  { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.role-desc  { font-size: 13px; color: var(--text-sec); }

/* Form fields */
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-sec);
    margin-bottom: 7px;
    letter-spacing: 0.01em;
}
.label-opt { font-weight: 400; color: var(--text-dim); }

.form-input,
.form-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.055);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 15px;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.15s;
    -webkit-appearance: none;
    appearance: none;
}
.form-input:focus,
.form-select:focus { border-color: rgba(249,109,204,0.38); }
.form-input::placeholder { color: rgba(255,255,255,0.22); }
.form-select option { background: #1a1a1e; color: var(--text); }
.form-textarea { resize: vertical; min-height: 96px; }

/* SMS Consent */
.consent-box {
    padding: 16px;
    background: rgba(249,109,204,0.04);
    border: 1px solid rgba(249,109,204,0.12);
    border-radius: 14px;
    margin-bottom: 4px;
}
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}
.consent-checkbox {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}
.consent-text {
    font-size: 12px;
    color: var(--text-sec);
    line-height: 1.65;
}
.consent-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.consent-text strong { color: var(--text); }
.consent-disclaimer {
    margin-top: 10px;
    padding: 10px 12px;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    background: rgba(249,109,204,0.05);
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.65;
}
.consent-disclaimer a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.15s;
}
.consent-disclaimer a:hover {
    color: #fff;
    filter: brightness(1.15);
}

/* Step nav */
.step-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}
.step-nav .btn-primary { flex: 1; }

/* Success */
.success-box {
    text-align: center;
    padding: 16px 0 8px;
}
.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(74,222,128,0.07);
    border: 1px solid rgba(74,222,128,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.success-box h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}
.success-box p {
    color: var(--text-sec);
    font-size: 15px;
    line-height: 1.65;
}
.success-box strong { color: var(--green); }

/* =========================================
   FOOTER
   ========================================= */
#footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 32px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand { max-width: 280px; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.footer-brand p {
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.65;
}
.footer-links { display: flex; gap: 48px; }
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: var(--text-sec); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--text-dim);
}
.footer-legal-highlight {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}
.legal-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.15s;
}
.legal-pill:hover {
    background: rgba(249,109,204,0.18);
    border-color: rgba(249,109,204,0.5);
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(249,109,204,0.12);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .platforms-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    #hero { padding: 120px 0 80px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .platforms-grid { grid-template-columns: 1fr; }

    .services-grid { grid-template-columns: 1fr; }

    .steps-grid { flex-direction: column; gap: 36px; align-items: flex-start; }
    .step-item { padding: 0; text-align: left; }
    .step-divider { display: none; }

    .apply-wrap { padding: 32px 24px; }

    .footer-top { flex-direction: column; gap: 32px; }
    .footer-brand { max-width: 100%; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions a { text-align: center; }
    .footer-links { flex-direction: column; gap: 28px; }
}
