/* --- RESET & VARIABLES --- */
:root {
    /* Colors - Luxury Noir Palette */
    --black: #050505;
    --black-light: #121212;
    --black-lighter: #1e1e1e;
    --gold: #D4AF37;
    --gold-hover: #F3E5AB;
    --cream: #FCFBF8;
    --cream-muted: #A09E98;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Spacing */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Layout */
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--black);
    color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-serif);
    font-weight: 500;
}

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

/* --- UTILITIES & LAYOUT --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 6rem 0;
}

.bg-dark {
    background-color: var(--black-light);
}

.bg-black {
    background-color: var(--black);
}

.grid {
    display: grid;
    gap: 2rem;
}

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

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

.highlight {
    color: var(--gold);
    font-weight: 600;
}

/* Typography elements */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--cream-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

.divider {
    height: 2px;
    width: 60px;
    background-color: var(--gold);
    margin: 0 auto;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0) 100%);
}

.navbar.scrolled {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* We'll use the generated high-quality dark boudoir background */
    background: url('assets/hero-bg.png') center/cover no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.6) 50%, rgba(5, 5, 5, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding-top: 4rem;
    /* offset for navbar */
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--gold);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--cream-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
}

/* --- VALUE PROPS (The Big Three) --- */
.card {
    background: var(--black-lighter);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.4s ease, border-color 0.4s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--cream);
}

.card-text {
    color: var(--cream-muted);
    font-size: 0.95rem;
}

/* --- ABOUT & GROWTH PATH (Editorial Track) --- */
.growth-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 820px;
    margin: 0 auto;
}

.growth-phase {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
    width: 100%;
    background: var(--black-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.growth-phase:hover {
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.phase-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), rgba(212, 175, 55, 0.15));
}

.phase-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 2.5rem;
    background: rgba(212, 175, 55, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    min-width: 120px;
}

.phase-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    letter-spacing: 2px;
}

.phase-icon {
    color: var(--gold);
    width: 24px;
    height: 24px;
    opacity: 0.6;
}

.phase-body {
    padding: 3rem;
}

.phase-title {
    font-size: 1.75rem;
    color: var(--cream);
    margin-bottom: 1rem;
}

.phase-text {
    color: var(--cream-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.phase-text em {
    color: var(--gold);
    font-style: italic;
    font-family: var(--font-serif);
}

/* Tags / Chips */
.phase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.phase-tag {
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--cream-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.5px;
}

.phase-tag.accent {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.25);
}

/* Stat Callout */
.phase-stat {
    display: inline-flex;
    align-items: baseline;
    gap: 0.75rem;
    background: rgba(212, 175, 55, 0.08);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.phase-stat.align-center {
    align-items: center;
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--cream-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.stat-value.small-stat {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Connector between phases */
.growth-connector {
    display: flex;
    justify-content: center;
    padding: 0.25rem 0;
}

.connector-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.4), rgba(212, 175, 55, 0.08));
}

/* --- TRUST & SAFETY --- */
.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
}

.trust-icon {
    color: var(--gold);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.trust-title {
    font-size: 1.25rem;
    font-family: var(--font-sans);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.trust-text {
    color: var(--cream-muted);
    font-size: 0.95rem;
}

/* --- HOW IT WORKS (Timeline) --- */
.timeline.section-padding {
    padding-bottom: 2rem;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.step {
    flex: 1;
    position: relative;
    padding: 0 1rem;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: rgba(212, 175, 55, 0.2);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1;
}

.step-title {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.step-text {
    color: var(--cream-muted);
    font-size: 0.95rem;
}

.step-connector {
    flex: 0 0 50px;
    height: 2px;
    background: rgba(212, 175, 55, 0.3);
    margin-top: 35px;
}

/* --- APPLICATION FORM --- */
.footer.section-padding {
    padding-top: 2rem;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--black-light);
    padding: 3rem 4rem 4rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.form-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    text-align: center;
    color: var(--cream-muted);
    margin-bottom: 2rem;
}

.application-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cream);
    letter-spacing: 0.5px;
}

.form-hint {
    color: var(--cream-muted);
    font-size: 0.75rem;
    margin-left: 0.5rem;
    font-weight: 400;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="password"] {
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--radius-sm);
    color: var(--cream);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Custom Checkbox */
.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin-top: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    top: 0.2rem;
    height: 20px;
    width: 20px;
    background-color: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.custom-checkbox:hover input~.checkmark {
    border-color: var(--gold);
}

.custom-checkbox input:checked~.checkmark {
    background-color: var(--gold);
    border-color: var(--gold);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--black);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.checkbox-text {
    margin-bottom: 0;
    line-height: 1.4;
    color: var(--cream-muted);
    font-size: 0.875rem;
    user-select: none;
}


.file-upload-wrapper {
    position: relative;
    background: var(--black);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-wrapper:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.02);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--cream-muted);
}

.file-upload-ui i {
    color: var(--gold);
}

.btn-submit {
    margin-top: 1rem;
    padding: 1.25rem;
    font-size: 1.125rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.form-success {
    display: none;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold);
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    color: var(--cream);
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    color: var(--cream-muted);
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

/* --- ANIMATIONS & REVEAL INTERSECTIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* --- RESPONSIVE QUERIES --- */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .growth-phase {
        grid-template-columns: 1fr;
    }

    .phase-header {
        flex-direction: row;
        padding: 1.5rem 2rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        min-width: unset;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .step-connector {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .form-container {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .section-padding {
        padding: 4rem 0;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}