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

:root {
    /* Dark Mode Color Palette */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;

    /* Brand Colors */
    --instagram-gradient-start: #833ab4;
    --instagram-gradient-mid: #fd1d1d;
    --instagram-gradient-end: #fcb045;
    --tiktok-cyan: #00f2ea;
    --tiktok-pink: #ff0050;
    --youtube-red: #ff0000;

    /* Hot Pink Luxury Accent */
    --hot-pink: #ff006e;
    --hot-pink-glow: rgba(255, 0, 110, 0.6);
    --hot-pink-soft: rgba(255, 0, 110, 0.3);

    /* Glassmorphism — darker for mobile contrast */
    --glass-bg: rgba(0, 0, 0, 0.45);
    --glass-border: rgba(255, 255, 255, 0.14);

    /* Accent & Effects */
    --shadow-intense: rgba(0, 0, 0, 0.6);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    /* Navbar Height */
    --nav-height: 70px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: #000000;
    min-height: 100vh;
    min-height: 100dvh;
    /* modern mobile viewport */
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   FULL-SCREEN HERO BACKGROUND
   ============================================ */
.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('profile.jpg');
    background-size: cover;
    background-position: center 15%;
    background-repeat: no-repeat;
    background-color: #000000;
    z-index: 0;
    pointer-events: none !important;
}

/* ============================================
   OVERLAY — Smooth fade from photo → solid black
   ============================================ */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0) 35%,
            rgba(0, 0, 0, 0.25) 45%,
            rgba(0, 0, 0, 0.55) 55%,
            rgba(0, 0, 0, 0.82) 63%,
            rgba(0, 0, 0, 0.96) 72%,
            #000000 80%);
    z-index: 1;
    pointer-events: none !important;
}

/* ============================================
   CONTAINER & LAYOUT — mobile-first
   ============================================ */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    padding-top: calc(var(--nav-height) + 52vh);
    /* push all content below the face area */
    padding-bottom: calc(env(safe-area-inset-bottom, 1rem) + 1.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    min-height: 100dvh;
    gap: var(--spacing-md);
    position: relative;
    z-index: 2;
}

/* ============================================
   PROFILE SECTION
   ============================================ */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    animation: fadeInDown 0.8s ease-out;
    margin-bottom: var(--spacing-xs);
}

/* Headline — bold, bright white, heavy shadow */
.handle {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #ffffff;
    text-shadow:
        0 0 12px rgba(0, 0, 0, 0.9),
        0 2px 24px rgba(0, 0, 0, 0.8),
        0 4px 40px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.bio {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.02em;
    line-height: 1.55;
    text-align: center;
    max-width: 90%;
    text-shadow:
        0 0 8px rgba(0, 0, 0, 0.9),
        0 1px 12px rgba(0, 0, 0, 0.7),
        0 2px 20px rgba(0, 0, 0, 0.5);
}

/* ============================================
   SOCIAL BUTTONS — 90% width, darker glass
   ============================================ */
.links-section {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.social-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.125rem 1.75rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 8px 24px var(--shadow-intense),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.button-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.icon {
    width: 26px;
    height: 26px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.button-text {
    font-size: 1.05rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.social-button:hover .button-shine {
    left: 100%;
}

.social-button:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.social-button:active {
    transform: scale(0.97);
    background: rgba(0, 0, 0, 0.55);
}

/* Instagram Button */
.instagram {
    color: #ffffff;
}

.instagram:hover {
    background: rgba(131, 58, 180, 0.2);
    border-color: var(--hot-pink);
    box-shadow:
        0 12px 40px rgba(255, 0, 110, 0.35),
        0 0 50px var(--hot-pink-soft);
    transform: translateY(-3px);
}

/* TikTok Button */
.tiktok {
    color: #ffffff;
}

.tiktok:hover {
    background: rgba(0, 242, 234, 0.15);
    border-color: var(--hot-pink);
    box-shadow:
        0 12px 40px rgba(255, 0, 110, 0.35),
        0 0 50px var(--hot-pink-soft);
    transform: translateY(-3px);
}

.tiktok .button-text {
    background: linear-gradient(135deg, #00f2ea 0%, var(--hot-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* YouTube Button */
.youtube {
    color: #ffffff;
}

.youtube:hover {
    background: rgba(255, 0, 0, 0.15);
    border-color: var(--hot-pink);
    box-shadow:
        0 12px 40px rgba(255, 0, 110, 0.35),
        0 0 50px var(--hot-pink-soft);
    transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    text-align: center;
    margin-top: var(--spacing-sm);
    animation: fadeIn 1s ease-out 0.4s backwards;
    padding-bottom: var(--spacing-sm);
}

.footer-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE — MOBILE-ONLY REFINEMENTS
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }

    .handle {
        font-size: 1.75rem;
    }

    .social-button {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .button-text {
        font-size: 0.95rem;
    }

    .icon {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 360px) {
    .handle {
        font-size: 1.5rem;
    }

    .bio {
        font-size: 0.82rem;
    }

    .social-button {
        padding: 0.9rem 1.25rem;
    }

    .links-section {
        width: 94%;
    }
}

/* Extra-tall phones – add more breathing room at top */
@media (min-height: 750px) {
    .container {
        padding-top: 60vh;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.social-button:focus-visible {
    outline: 3px solid var(--tiktok-cyan);
    outline-offset: 4px;
}

.apply-cta {
    background: var(--hot-pink);
    border-color: var(--hot-pink);
    box-shadow: 0 10px 25px var(--hot-pink-soft);
    margin-bottom: 0.5rem;
}

.apply-cta .button-text {
    font-size: 1.15rem;
    font-weight: 900;
}

.apply-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px var(--hot-pink-glow);
}

/* ============================================
   NAVBAR STYLES
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-md);
}

.nav-logo {
    font-weight: 900;
    font-size: 1.1rem;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.nav-apply-btn,
.nav-back-btn {
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--hot-pink);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--hot-pink-soft);
}

.nav-apply-btn:hover,
.nav-back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--hot-pink-glow);
}

/* ============================================
   FORM PAGE STYLES (TYPEFORM STYLE)
   ============================================ */
.form-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 var(--spacing-md);
    z-index: 2000;
    /* High z-index to stay above background layers */
}

/* Use standard user-requested debug classes for absolute certainty */
.form-card,
.form-ui,
.ok-btn,
.nav-arrows,
.nav-arrows button,
button,
input,
textarea,
select,
label.choice-item {
    pointer-events: auto !important;
    position: relative;
    z-index: 9999 !important;
}

.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 10001;
}

.progress-bar {
    height: 100%;
    background: var(--hot-pink);
    width: 0%;
    transition: width 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 0 10px var(--hot-pink-glow);
}

#coachingForm {
    width: 100%;
    max-width: 680px;
    position: relative;
    z-index: 10002;
}

.step {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: 100%;
}

.step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.header-spacing {
    height: 60px;
}

.question-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.step-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--hot-pink);
    opacity: 0.9;
}

.question-container label {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.question-container input[type="text"],
.question-container input[type="email"],
.question-container input[type="number"],
.question-container textarea {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    padding: 0.75rem 0;
    font-size: 1.4rem;
    color: var(--hot-pink);
    width: 100%;
    outline: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.question-container input:focus,
.question-container textarea:focus {
    border-color: var(--hot-pink);
}

/* Choices Styles */
.choice-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.choice-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.choice-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.choice-item input {
    display: none;
}

.choice-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #ffffff;
    flex-shrink: 0;
}

.choice-label {
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.choice-item:has(input:checked) {
    background: rgba(255, 0, 110, 0.15);
    border-color: var(--hot-pink);
}

.choice-item:has(input:checked) .choice-box {
    background: var(--hot-pink);
    border-color: var(--hot-pink);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.next-btn,
.submit-btn {
    background: var(--hot-pink);
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.75rem;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--hot-pink-soft);
}

.next-btn:hover,
.submit-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 18px var(--hot-pink-glow);
}

.helper-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Success State */
.success-step {
    text-align: center;
}

.success-content h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.success-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.return-home {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: 800;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.return-home:hover {
    background: var(--hot-pink);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Footer Controls */
.form-footer {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10003;
}

.footer-nav {
    display: flex;
    gap: 2px;
}

.footer-btn {
    background: var(--hot-pink);
    color: #ffffff;
    border: none;
    width: 44px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-btn:first-child {
    border-radius: 8px 0 0 8px;
}

.footer-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.footer-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.footer-btn svg {
    width: 24px;
    height: 24px;
}

.footer-btn:not(:disabled):hover {
    background: #ff3388;
}

/* Shake Animation */
.shake {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .question-container label {
        font-size: 1.4rem;
    }

    .question-container input,
    .question-container textarea {
        font-size: 1.1rem;
    }

    .form-footer {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .success-content h1 {
        font-size: 1.8rem;
    }

    .nav-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        position: relative;
        z-index: 10010;
        /* Force above fixed elements */
    }

    .next-btn,
    .submit-btn {
        width: 100%;
        padding: 1.125rem 2rem;
        font-size: 1.1rem;
        display: block;
    }

    .helper-text {
        display: none;
    }

    .form-wrapper {
        justify-content: flex-start;
        padding-top: 15vh;
        min-height: auto;
    }
}