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

:root {
    --gold: #C9A961;
    --black: #000000;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Grain texture overlay */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section {
    width: 100%;
    max-width: 1400px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align: center;
}

.badge-container {
    opacity: 0;
    animation: fadeIn 1s ease 0.2s forwards;
}

.badge {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(201, 169, 97, 0.15));
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.badge:hover {
    transform: scale(1.05);
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.main-title {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.4s forwards;
}

.title-number {
    font-size: 6rem;
    font-weight: 200;
    letter-spacing: 0.05em;
    color: var(--gold);
    line-height: 1;
}

.title-word {
    font-size: 6rem;
    font-weight: 200;
    letter-spacing: 0.4em;
    color: var(--white);
    line-height: 1;
}

.divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    opacity: 0;
    animation: expandWidth 0.8s ease 0.6s forwards;
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

.tagline {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--white);
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
}

.subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-decoration: none;
    border: 1px solid;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

.cta-btn.primary:hover {
    background: transparent;
    color: var(--gold);
    transform: translateX(4px);
}

.cta-btn.secondary {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-btn.secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.cta-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.cta-btn:hover svg {
    transform: translateX(2px);
}

.info-bar {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeIn 1s ease 1.4s forwards;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.info-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
}

.info-value {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.info-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    width: 100%;
    padding: 3rem;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

.modal-close:hover {
    color: var(--gold);
}

.modal-title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 3rem;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(201, 169, 97, 0.02);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-submit {
    margin-top: 1rem;
    padding: 1rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--white);
    background: transparent;
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.form-submit:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem 0;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 60px;
    height: 60px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--gold);
}

.form-success p {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
}

/* Back Button */
.back-button {
    position: fixed;
    top: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 100;
    opacity: 0;
    animation: fadeIn 0.6s ease 0.2s forwards;
}

.back-button:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(201, 169, 97, 0.05);
    transform: translateX(-4px);
}

.back-button svg {
    width: 16px;
    height: 16px;
}

/* Application Page */
.apply-page {
    min-height: 100vh;
    padding: 6rem 2rem 4rem;
}

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

.apply-header {
    text-align: center;
    margin-bottom: 6rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.apply-badge {
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(201, 169, 97, 0.15));
    opacity: 0;
    animation: fadeIn 0.8s ease 0.3s forwards;
}

.apply-title {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.5s forwards;
}

.apply-tagline {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--white);
    opacity: 0;
    animation: fadeIn 0.8s ease 0.9s forwards;
}

.apply-section {
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.8s forwards;
}

.section-heading {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}

.section-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.02em;
}

.requirements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.requirement-item {
    padding-left: 2rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.requirement-item::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 1.1rem;
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--gold);
}

.form-checkbox label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    cursor: pointer;
}

.success-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem 2rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--black);
    background: var(--gold);
    border: 1px solid var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.success-btn:hover {
    background: transparent;
    color: var(--gold);
    transform: translateX(-4px);
}

.success-btn svg {
    width: 16px;
    height: 16px;
}

.form-success h3 {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--white);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .hero-section {
        gap: 4rem;
        padding: 2rem 1.5rem;
    }

    .badge {
        width: 140px;
        height: 140px;
    }

    .main-title {
        flex-direction: column;
        gap: 0.5rem;
    }

    .title-number,
    .title-word {
        font-size: 3rem;
        letter-spacing: 0.2em;
    }

    .tagline {
        font-size: 0.875rem;
    }

    .subtitle {
        font-size: 0.7rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }

    .info-bar {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 2rem;
    }

    .info-divider {
        width: 60px;
        height: 1px;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .back-button {
        top: 1.5rem;
        left: 1.5rem;
        padding: 0.625rem 1.25rem;
    }

    .apply-page {
        padding: 5rem 1.5rem 3rem;
    }

    .apply-header {
        margin-bottom: 4rem;
        padding-bottom: 3rem;
    }

    .apply-title {
        flex-direction: column;
        gap: 0.5rem;
    }

    .apply-badge {
        width: 100px;
        height: 100px;
    }

    .apply-tagline {
        font-size: 0.75rem;
    }

    .section-heading {
        font-size: 1.25rem;
    }

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