/* ==========================================================================
   NIMO PIONEER PROGRAM — Premium UI v3.0
   Aesthetic: DJI / Apple / Yarbo — Ultra-Premium Hardware Dark
   ========================================================================== */

/* --- CSS VARIABLES ------------------------------------------------------- */
:root {
    --bg-void:        #000000;
    --bg-deep:        #0F0F11;
    --bg-card:        rgba(255, 255, 255, 0.03);
    --bg-card-hover:  rgba(255, 255, 255, 0.055);
    --bg-frosted:     rgba(255, 255, 255, 0.05);
    --border-subtle:  1px solid rgba(255, 255, 255, 0.08);

    --text-headline:  #FFFFFF;
    --text-body:      #D1D1D6;
    --text-muted:     #888899;
    --neon-cyan:      #00E5FF;
    --neon-cyan-dim:  rgba(0, 229, 255, 0.12);

    --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono:   'Fira Code', 'SF Mono', 'Consolas', monospace;

    --radius-card: 16px;
    --radius-btn:  8px;
    --section-pad: 120px 0;
    --container:   1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 0.01em;
    color: var(--text-body);
    background-color: var(--bg-void);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- TYPOGRAPHY UTILITIES ------------------------------------------------ */
.mono { font-family: var(--font-mono); }
.neon-cyan { color: var(--neon-cyan); }
.text-center { text-align: center; }

h1, h2, h3 {
    color: var(--text-headline);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { max-width: 680px; line-height: 1.8; }

/* --- LAYOUT -------------------------------------------------------------- */
.container {
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
}

.section-padding { padding: var(--section-pad); }

/* Fade-in animation */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- BADGE / PRE-HEADLINE ----------------------------------------------- */
.label-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    margin-bottom: 2rem;
}

/* --- BUTTONS ------------------------------------------------------------ */
.btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.2s ease;
    border-radius: var(--radius-btn);
    border: none;
}

.btn-primary {
    background: #FFFFFF;
    color: #000000;
    padding: 1rem 2.5rem;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    background: #F0F0F0;
}

.btn-outline {
    background: transparent;
    color: #FFFFFF;
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* ==========================================================================
   BLOCK 1 — HERO
   bg: pure #000000
   ========================================================================== */
.block-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-void);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: 
        linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.65) 35%, transparent 60%),
        linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 25%),
        url('assets/hero.jpng.png') no-repeat;
    background-size: cover;
    /* Shift up to crop the bottom-right watermark */
    background-position: center 15%;
}

/* No CSS overlay — the image already has a built-in dark-left gradient composition */
.hero-bg::after {
    content: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    max-width: 700px;
}

.hero-content .pre-headline {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
}

.hero-content .headline {
    margin-bottom: 1.25rem;
}

.hero-content .sub-headline {
    font-size: clamp(1.3rem, 2.5vw, 1.85rem);
    font-weight: 400;
    color: var(--text-headline);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 16px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.9);
}

.hero-content .hook {
    font-size: 1.05rem;
    color: #C8C8CD;
    margin-bottom: 2.5rem;
    max-width: 500px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.85);
}

/* ==========================================================================
   BLOCK 2 — MANIFESTO
   bg: #0F0F11
   ========================================================================== */
.block-manifesto {
    background-color: var(--bg-deep);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.manifesto-image-box {
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 24px 56px rgba(0,0,0,0.6);
}

.manifesto-image-box img,
.content-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.08);
    transition: transform 0.8s ease;
}

.manifesto-image-box:hover img { transform: scale(1.12); }

.manifesto-text-box h2 { margin-bottom: 1.5rem; }
.manifesto-text-box p  { color: var(--text-body); margin-bottom: 1.25rem; line-height: 1.8; }

/* ==========================================================================
   BLOCK 3 — VANGUARD ARSENAL
   bg: subtle gradient
   ========================================================================== */
.block-privileges {
    background: linear-gradient(180deg,
        #0F0F11 0%,
        #0A0A0D 60%,
        #121215 100%);
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--neon-cyan);
    margin-bottom: 1.25rem;
    display: block;
}

.section-title {
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 4rem;
    line-height: 1.8;
}

.privileges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* Premium Glass Card */
.feature-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.feature-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-cyan);
    letter-spacing: 0.15em;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--text-headline);
    margin: 0;
}

.feature-card p {
    font-size: 0.97rem;
    color: var(--text-body);
    line-height: 1.75;
    max-width: 100%;
}

/* ==========================================================================
   BLOCK 3.5 — APPLICATION PROCESS
   bg: #0A0A0D
   ========================================================================== */
.block-process {
    background: #0A0A0D;
}

.process-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 4rem;
}

/* Process cards share the same glass style */
.process-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 2.5rem 2rem;
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.3s ease;
}

.process-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.process-card .step-num {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.process-card .step-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--neon-cyan);
    margin-bottom: 0.75rem;
}

.process-card h3 {
    font-size: 1.25rem;
    color: var(--text-headline);
    margin-bottom: 1rem;
}

.process-card p {
    font-size: 0.97rem;
    color: var(--text-body);
    line-height: 1.75;
    max-width: 100%;
}

.process-footer {
    margin-top: 4rem;
    text-align: center;
}

.process-footer p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

/* ==========================================================================
   BLOCK 4 — THE IRONCLAD RULE
   bg: #0F0F11
   ========================================================================== */
.block-rule {
    background-color: var(--bg-deep);
}

.rule-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.rule-text-col h2 { margin-bottom: 1.5rem; }

.rule-text-col p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    max-width: 560px;
}

.rule-disclaimer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.rule-image-col {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    aspect-ratio: 4 / 3;
}

.rule-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    display: block;
    transition: transform 0.8s ease;
}

.rule-image-col:hover img { transform: scale(1.14); }

/* ==========================================================================
   BLOCK 5 — APPLY (formerly "terminal")
   bg: #000000
   ========================================================================== */
.block-apply {
    background: var(--bg-void);
}

.apply-wrapper {
    background: var(--bg-frosted);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-subtle);
    border-radius: 24px;
    padding: 4rem;
    max-width: 860px;
    margin: 0 auto;
}

.apply-wrapper h2 { margin-bottom: 1.25rem; }

.apply-wrapper > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 640px;
}

/* Terminal status lines (minimal) */
.term-status {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}
.term-status.muted   { color: var(--text-muted); }
.term-status.success { color: #34D399; }
.term-status.prompt  { color: var(--text-headline); margin-top: 1rem; margin-bottom: 2rem; }
.term-status.prompt span { color: var(--neon-cyan); margin-right: 0.5rem; }

/* --- NATIVE FORM STYLING --- */
.npp-form {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.9rem;
    color: var(--text-body);
    font-weight: 500;
}

.npp-form input[type="text"],
.npp-form input[type="email"],
.npp-form input[type="url"],
.npp-form textarea,
.npp-form select {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-btn);
    padding: 0.85rem 1rem;
    color: var(--text-headline);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.npp-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65em auto;
}

.npp-form input:focus,
.npp-form textarea:focus,
.npp-form select:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 3px var(--neon-cyan-dim);
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.form-checkbox-group input[type="checkbox"] {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    position: relative;
    margin-top: 0.2rem;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}

.form-checkbox-group input[type="checkbox"]:checked {
    background: var(--neon-cyan);
    border-color: var(--neon-cyan);
}

.form-checkbox-group input[type="checkbox"]:checked::after {
    content: '✔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 0.85rem;
    font-weight: bold;
}

.form-checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    cursor: pointer;
}

.form-loading {
    text-align: center;
    padding: 1rem 0;
    font-size: 1.1rem;
    animation: blink 1.5s infinite;
}

.form-success {
    text-align: center;
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-card);
    border: 1px solid rgba(39, 201, 63, 0.3);
    margin-top: 2.5rem;
}
.form-success .term-status.success {
    font-size: 1.25rem;
}

/* Blink cursor */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}
.cursor { animation: blink 1.1s step-end infinite; }

/* --- NDA SCROLL BOX --- */
.nda-scroll-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-btn);
    padding: 1.5rem;
    max-height: 260px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
    font-size: 0.9rem;
    line-height: 1.7;
}

.nda-scroll-box::-webkit-scrollbar { width: 5px; }
.nda-scroll-box::-webkit-scrollbar-track { background: transparent; }
.nda-scroll-box::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

.nda-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-headline);
    text-align: center;
    margin-bottom: 0.25rem;
}

.nda-subtitle {
    font-weight: 600;
    text-align: center;
    color: var(--text-body);
    margin-bottom: 1rem;
}

.nda-body {
    color: var(--text-body);
    margin-bottom: 0.75rem;
    max-width: 100%;
    line-height: 1.7;
}

.nda-clause-title {
    font-weight: 700;
    color: var(--text-headline);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.nda-list {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-body);
}

.nda-list li {
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .privileges-grid { grid-template-columns: repeat(2, 1fr); }
    .process-wrapper { grid-template-columns: 1fr; gap: 1.25rem; }
    .split-layout,
    .rule-layout    { grid-template-columns: 1fr; gap: 3rem; }
    .manifesto-image-box,
    .rule-image-col  { aspect-ratio: 16/9; }
}

@media (max-width: 640px) {
    :root { --section-pad: 80px 0; }
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    .privileges-grid { grid-template-columns: 1fr; }
    .apply-wrapper { padding: 2rem 1.5rem; }
}
