/* ============================================
   ROOT TOKENS
   ============================================ */
:root {
    --orange:     #F26522;
    --amber:      #FFB800;
    --white:      #FFFFFF;
    --text-light: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border:     rgba(255, 255, 255, 0.15);
    --grad-orange: linear-gradient(135deg, #F26522 0%, #FFB800 100%);
    --grad-text:   linear-gradient(270deg, #F26522, #FFB800, #F26522);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out:    cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html { font-size: 16px; }

body {
    font-family: 'Outfit', sans-serif;
    color: var(--white);
    background: #050308;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100dvh;
    width: 100vw;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   BACKGROUND — IMG-BASED (perfect color match)
   ============================================ */

/* Wrapper clips everything */
.bg-wrap {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Full viewport photo, smartly crops if needed but naturally fits 16:9 frames */
.bg-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Adjusted to keep the subject's face visible */
    display: block;
    animation: slowZoom 28s ease-in-out infinite alternate;
}

/* Vignette: subtle full-screen dimming and edge darkening for text legibility */
.bg-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0.24) 30%,
            rgba(0, 0, 0, 0.52) 100%),
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.16) 20%,
            rgba(0, 0, 0, 0.16) 75%,
            rgba(0, 0, 0, 0.56) 100%
        );
    pointer-events: none;
}

@keyframes slowZoom {
    from { transform: scale(1.15) translateX(-2%); }
    to   { transform: scale(1.2) translateX(0%); }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(1rem, 3vw, 1.8rem) clamp(1.5rem, 5vw, 3.5rem);
}

.logo {
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    transition: transform 0.35s var(--ease-bounce), filter 0.3s ease;
}

.logo--oron {
    height: clamp(44px, 7vw, 140px);
}

.logo--oron:hover {
    transform: scale(1.07) rotate(-2deg);
    filter: drop-shadow(0 6px 18px rgba(242, 101, 34, 0.5));
}

.logo--odm {
    height: clamp(36px, 5.85vw, 120px);
    opacity: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.logo--odm:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* ============================================
   HERO — SINGLE PAGE
   ============================================ */
.hero {
    position: relative;
    z-index: 10;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(6rem, 12vh, 8rem) clamp(1.5rem, 5vw, 3rem) clamp(6rem, 10vh, 8rem);
}

.hero-content {
    text-align: center;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 2.5vh, 1.6rem);
}

/* ─── Badge ─── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: clamp(0.65rem, 1.5vw, 0.78rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.25);
    border-radius: 50px;
    padding: 0.4rem 1.1rem;
}

.badge-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--amber);
    flex-shrink: 0;
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.7); }
    50%       { box-shadow: 0 0 0 8px rgba(255, 184, 0, 0); }
}

/* ─── Main Headline ─── */
.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.7rem, 8.1vw, 6.75rem);
    font-weight: 900;
    line-height: 1.1;
    padding-bottom: 0.1em;
    letter-spacing: -0.02em;
    background: var(--grad-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradShift 6s linear infinite;
    text-shadow: none;
}

@keyframes gradShift {
    from { background-position: 0% center; }
    to   { background-position: 200% center; }
}

/* ─── Subtitle ─── */
.hero-sub {
    font-size: clamp(0.85rem, 2.2vw, 1.15rem);
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amber);
    animation: breathe 3.5s ease-in-out infinite alternate;
}

@keyframes breathe {
    from { opacity: 0.65; letter-spacing: 0.18em; }
    to   { opacity: 1;    letter-spacing: 0.3em; text-shadow: 0 0 18px rgba(255, 184, 0, 0.45); }
}

/* ─── Coming Soon Block ─── */
.coming-soon-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: clamp(1.2rem, 3vh, 1.8rem) clamp(1.5rem, 5vw, 3rem);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 100%;
    max-width: 600px;
}

.coming-soon-label {
    font-size: clamp(0.7rem, 1.8vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ─── Countdown ─── */
.countdown {
    display: flex;
    align-items: center;
    gap: clamp(0.4rem, 1.5vw, 1rem);
    justify-content: center;
}

.count-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-width: clamp(50px, 10vw, 80px);
}

.count-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 3.8rem);
    font-weight: 700;
    line-height: 1;
    background: var(--grad-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.15s ease;
}

.count-label {
    font-size: clamp(0.55rem, 1.2vw, 0.68rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.count-sep {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--orange);
    opacity: 0.55;
    margin-bottom: clamp(0.8rem, 2vh, 1.4rem);
    line-height: 1;
    flex-shrink: 0;
}

.launched {
    font-size: clamp(1rem, 3vw, 1.4rem);
    font-weight: 700;
    color: var(--amber);
}

/* ─── Data Collection Form ─── */
.data-collection-form {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin-top: 1rem;
    text-align: left;
}

.form-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    color: var(--amber);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.form-intro p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--white);
    margin-bottom: 0.5rem;
}

.form-intro .small-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section h3 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--orange);
}

.section-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: -0.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-select option {
    background: #111;
    color: #fff;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: rgba(242, 101, 34, 0.55);
    box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.15);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: var(--text-muted);
}

.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.checkbox-group.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.8rem;
}

.radio-group label, .checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1.4;
}

.radio-group input[type="radio"], .checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: var(--orange);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.privacy-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.privacy-notice strong {
    color: var(--white);
    display: block;
    margin-bottom: 0.3rem;
}

.sub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--grad-orange);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(242, 101, 34, 0.3);
    transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s ease;
    margin-top: 1rem;
}

.sub-btn.full-width {
    width: 100%;
}

.sub-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.sub-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(242, 101, 34, 0.5); }
.sub-btn:hover::before { transform: translateX(100%); }
.sub-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }

.sub-btn-loader {
    display: none;
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.sub-btn.loading .sub-btn-text { opacity: 0.7; }
.sub-btn.loading .sub-btn-loader { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-msg {
    font-size: 0.95rem;
    font-weight: 500;
    min-height: 1.5rem;
    transition: color 0.3s ease;
    text-align: center;
    margin-top: -0.5rem;
}
.form-msg.success { color: #4ade80; }
.form-msg.error   { color: #f87171; }

/* ─── Fade-in entrance ─── */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    animation: fadeUp 0.85s var(--ease-out) var(--d, 0s) forwards;
}

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

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    text-align: center;
    padding: clamp(0.8rem, 2vh, 1.2rem) 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    pointer-events: none;
}

.site-footer a, .site-footer .footer-link {
    pointer-events: auto;
}

.footer-tag {
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--grad-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradShift 6s linear infinite;
    margin-bottom: 0.2rem;
}

.footer-copy {
    font-size: clamp(0.6rem, 1.2vw, 0.7rem);
    color: var(--text-muted);
}

.footer-link {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--white);
}

/* ============================================
   RESPONSIVE TWEAKS
   ============================================ */

/* Tablet */
@media (max-width: 700px) {
    .coming-soon-block {
        padding: 1rem 1.2rem;
    }

    .count-unit { min-width: 44px; }
}

/* Small mobile */
@media (max-width: 420px) {
    .input-wrap {
        flex-direction: column;
        border-radius: 16px;
        padding: 0.8rem 1rem;
        align-items: stretch;
    }

    .email-input { text-align: center; padding: 0.4rem 0; }

    .sub-btn { width: 100%; padding: 0.9rem 1rem; }

    .count-num { font-size: 1.8rem; }
    .count-sep { font-size: 1.4rem; margin-bottom: 1rem; }
}

/* Very short screens (landscape phones) */
@media (max-height: 600px) {
    .hero-content { gap: 0.6rem; }

    .hero-headline { font-size: clamp(2rem, 7vw, 4rem); }

    .coming-soon-block { padding: 0.7rem 1.2rem; gap: 0.5rem; }

    .count-num { font-size: clamp(1.4rem, 4vw, 2.2rem); }
    .count-sep { font-size: 1.4rem; margin-bottom: 0.8rem; }

    .hero-sub { display: none; }
}
/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .fade-in { opacity: 1; transform: none; animation: none; }
    .bg-photo { animation: none; }
}
