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

html {
    scroll-behavior: smooth;
}

body {
    background: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
}

/* ===== CHROME TEXT GRADIENT ===== */
.chrome-text {
    background: linear-gradient(180deg, #e8e8e8 0%, #a0a0a0 40%, #e8e8e8 60%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== CHROME BAR DIVIDERS ===== */
.chrome-bar {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #606060, #e8e8e8, #a0a0a0, #e8e8e8, #606060);
    position: relative;
}

.chrome-bar.thin {
    height: 1px;
    background: linear-gradient(90deg, transparent, #a0a0a0, #e8e8e8, #a0a0a0, transparent);
    margin: 0 60px;
}

/* ===== REFLECTIVE LINES ===== */
.reflective-line {
    width: 60%;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

/* ===== DIAMOND MOTIF ===== */
.diamond {
    width: 14px;
    height: 14px;
    background: linear-gradient(180deg, #e8e8e8, #a0a0a0, #e8e8e8);
    transform: rotate(45deg);
    margin: 0 auto 24px;
}

.diamond.small {
    width: 8px;
    height: 8px;
    margin: 24px auto 0;
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(180deg, #e8e8e8 0%, #a0a0a0 40%, #e8e8e8 60%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 48px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #0a0a0a;
    position: relative;
    padding: 60px 20px;
}

.hero-inner {
    text-align: center;
}

.brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(2.8rem, 8vw, 6rem);
    text-transform: none;
    letter-spacing: 0.02em;
    background: linear-gradient(180deg, #f0f0f0 0%, #e8e8e8 20%, #a0a0a0 50%, #e8e8e8 80%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: chromeShine 3s ease-in-out infinite alternate;
}

@keyframes chromeShine {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 0% 100%;
    }
}

.brand {
    background-size: 100% 200%;
}

.reflect {
    width: 240px;
    height: 40px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(168,168,168,0.18) 0%, transparent 100%);
    filter: blur(8px);
    transform: scaleY(-0.5);
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
    color: #a0a0a0;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 16px;
}

/* =========================================
   PROCESS SECTION
   ========================================= */
.process {
    padding: 80px 20px 80px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.processing-label {
    font-family: 'Fira Code', monospace;
    font-size: 0.7rem;
    color: #606060;
    letter-spacing: 0.4em;
    text-align: center;
    margin-bottom: 12px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.processing-label.visible {
    opacity: 1;
    animation: processingBlink 1.5s step-end infinite;
}

@keyframes processingBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 32px 0;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.step-num {
    font-family: 'Fira Code', monospace;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1;
    background: linear-gradient(180deg, #e8e8e8 0%, #a0a0a0 40%, #e8e8e8 60%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    min-width: 60px;
}

.step-body {
    flex: 1;
}

.step-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #f0f0f0;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.step-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #a0a0a0;
    line-height: 1.65;
}

/* =========================================
   APPLICATION SECTION
   ========================================= */
.application {
    padding: 80px 20px;
    max-width: 640px;
    margin: 0 auto;
}

.form-mock {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-label {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    color: #606060;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.input-field {
    height: 44px;
    border: 1px solid #606060;
    border-radius: 0;
    background: transparent;
    position: relative;
    transition: border-color 0.3s ease;
}

.input-field:hover {
    border-color: #a0a0a0;
}

.input-field::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #e8e8e8, #a0a0a0);
    transition: width 0.4s ease;
}

.input-field:hover::after {
    width: 100%;
}

.submit-btn {
    margin-top: 16px;
    padding: 14px 0;
    border: 1px solid #a0a0a0;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.submit-btn:hover {
    border-color: #e8e8e8;
    background: rgba(232,232,232,0.05);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232,232,232,0.08), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    background: linear-gradient(180deg, #e8e8e8 0%, #a0a0a0 40%, #e8e8e8 60%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   COMPLETE SECTION
   ========================================= */
.complete {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.complete-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.4rem, 3vw, 2rem);
    background: linear-gradient(180deg, #e8e8e8 0%, #a0a0a0 40%, #e8e8e8 60%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    position: relative;
}

.shine-sweep {
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e8e8e8, transparent);
    margin: 0 auto 24px;
    animation: shineSweep 3s ease-in-out infinite;
}

@keyframes shineSweep {
    0% { transform: scaleX(0.3); opacity: 0.3; }
    50% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(0.3); opacity: 0.3; }
}

.complete-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: #606060;
    letter-spacing: 0.15em;
    text-transform: none;
}

/* =========================================
   FADE-IN ANIMATION CLASS
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   METALLIC BORDERS ON STEPS (HOVER)
   ========================================= */
.step {
    border-left: 2px solid transparent;
    padding-left: 20px;
    transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.3s ease;
}

.step:hover {
    border-left-color: #c0c0c0;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 600px) {
    .step {
        gap: 16px;
    }

    .step-num {
        min-width: 40px;
        font-size: 1.8rem;
    }

    .chrome-bar.thin {
        margin: 0 20px;
    }

    .process {
        padding: 60px 16px;
    }

    .application {
        padding: 60px 16px;
    }
}
