/* --- 1. CORE VARIABLES & RESET --- */
:root {
    --purple: #9d4edd;
    --dark: #050505;
    --glass: rgba(12, 12, 12, 0.9);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent; 
    text-decoration: none !important;
    list-style: none !important;
}

/* --- 2. PAGE ARCHITECTURE --- */
html, body {
    background-color: var(--dark);
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh;
    scrollbar-width: none;
}
body::-webkit-scrollbar { display: none; }

/* --- 3. REPAIRED HEADER (MATCHING MAIN/FEATURED) --- */
header {
    height: 70px;
    position: fixed;
    top: 0; 
    width: 100%;
    z-index: 9999;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: flex-end; /* Links to the right */
    align-items: center;
    position: relative;
}

.logo-wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
}

.split-logo {
    display: flex;
    gap: 8px;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.part-krng { color: #fff; }
.part-3d { color: var(--purple); }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #666;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.3s;
}

.nav-menu .nav-links a:hover {
    color: #fff;
}

/* --- 4. FORM LAYOUT --- */
.order-container { 
    padding: 140px 20px 100px; 
    max-width: 600px; 
    margin: 0 auto; 
}

.order-header { text-align: center; margin-bottom: 40px; }
.order-header h1 { 
    font-size: clamp(2.5rem, 6vw, 3.5rem); 
    font-weight: 900; 
    margin-bottom: 10px; 
    letter-spacing: -2px;
}
.order-header p { color: #666; font-size: 1.1rem; }

.order-form { 
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group label { 
    display: block; 
    margin-bottom: 12px; 
    font-size: 0.75rem; 
    font-weight: 900; 
    color: var(--purple); 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
}

input[type="text"], 
input[type="email"] {
    width: 100%; 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px; 
    border-radius: 12px; 
    color: #fff; 
    outline: none; 
    transition: 0.3s;
    font-size: 1rem;
}

input:focus { 
    border-color: var(--purple); 
    background: rgba(157, 78, 221, 0.05); 
}

/* --- 5. INTERACTIVE ELEMENTS --- */
.radio-group { display: flex; gap: 25px; margin-top: 5px; }
.radio-option { 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    color: #888; 
    transition: 0.3s; 
    font-weight: 600;
}
.radio-option:hover { color: #fff; }
.radio-option input { accent-color: var(--purple); width: 18px; height: 18px; }

.file-input-wrapper { 
    position: relative; 
    width: 100%; 
    height: 100px; 
    border: 2px dashed rgba(255, 255, 255, 0.1); 
    border-radius: 15px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: 0.3s; 
}
.file-input-wrapper:hover { 
    border-color: var(--purple); 
    background: rgba(157, 78, 221, 0.05); 
}

input[type="file"] { position: absolute; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
#fileNameDisplay { font-size: 0.9rem; color: #666; font-weight: 500; }

.submit-btn {
    background: var(--purple); 
    color: #fff; 
    border: none; 
    padding: 20px; 
    border-radius: 12px;
    font-weight: 900; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    cursor: pointer; 
    transition: 0.3s; 
    margin-top: 10px;
}

.submit-btn:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.4); 
}

.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* --- MOBILE --- */
@media (max-width: 900px) {
    html, body { overflow-y: auto; }
    .app-container { height: auto; min-height: 100vh; padding-bottom: 40px; }
    
    .nav-menu {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: #000000c4; visibility: hidden; opacity: 0; transition: 1.5s;
        display: flex; align-items: center; justify-content: center;
        z-index: 9998;
    }
    
    .nav-menu.active { visibility: visible; opacity: 1; }
    .nav-links { flex-direction: column; gap: 40px; align-items: center; }
    .nav-links a { font-size: 2.5rem; color: #ff00dd; }

    .features-grid { grid-template-columns: 1fr; flex-grow: 0; }
    .feature-card { height: auto; min-height: 200px; max-height: none; }
}

/* HAMBURGER */
.menu-btn { display: none; background: none; border: none; cursor: pointer; z-index: 10000; position: absolute; left: 25px; }
.bar { display: block; width: 25px; height: 2px; background: #fff; margin: 6px 0; transition: 0.4s; }
.menu-btn.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.active .bar:nth-child(2) { opacity: 0; }
.menu-btn.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) { .menu-btn { display: block; } }