/* ============================================================
   SYVRAZE — Main Stylesheet
   Aesthetic: AI / Cyberpunk / Japanese High-Tech
   Fonts: Orbitron (headings) + Rajdhani (body) + JetBrains Mono (code)
   ============================================================ */

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
    --bg-void:      #010103;
    --bg-deep:      #040408;
    --bg-base:      #07070d;
    --bg-surface:   #0a0a16;
    --bg-elevated:  #0e0e1e;
    --bg-card:      rgba(10, 10, 22, 0.7);

    --accent-blue:  #00f2ff;
    --accent-blue2: #0099ff;
    --accent-purple:#8a2be2;
    --accent-violet:#bf40bf;
    --accent-green: #00ffaa;
    --accent-red:   #ff0055;
    --accent-gold:  #ffcc00;

    --text-primary: #ffffff;
    --text-secondary: #a0a0c0;
    --text-muted:   #666688;
    --text-inverse: #010103;

    --border-subtle: rgba(0, 242, 255, 0.1);
    --border-dim:    rgba(255, 255, 255, 0.05);
    --border-glow:   rgba(0, 242, 255, 0.4);

    --glass-bg:     rgba(4, 4, 12, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);

    --nav-height:   80px;

    --radius-sm:    6px; /* Softened from 2px */
    --radius-md:    12px; /* Softened from 4px */
    --radius-lg:    20px; /* Softened from 8px */
    --radius-xl:    32px; /* Softened from 16px */
    --radius-pill:  999px;

    --shadow-glow-blue:   0 0 30px rgba(0, 242, 255, 0.1);
    --shadow-glow-purple: 0 0 30px rgba(138, 43, 226, 0.15);
    --shadow-card:        0 15px 60px rgba(0,0,0,0.6);

    --transition-fast: 0.1s ease;
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --font-display: 'Orbitron', monospace;
    --font-body:    'Rajdhani', sans-serif;
    --font-mono:    'JetBrains Mono', monospace;
}

/* ─── Scanline Effect ───────────────────────────────────────── */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.05) 50%),
                linear-gradient(90deg, rgba(255, 0, 0, 0.01), rgba(0, 255, 0, 0.005), rgba(0, 0, 255, 0.01));
    background-size: 100% 4px, 4px 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.2;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ─── Custom Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
}

/* ─── Selection ─────────────────────────────────────────────── */
::selection {
    background: var(--accent-blue);
    color: var(--text-inverse);
}

/* ─── Animated Background ───────────────────────────────────── */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 242, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}
.bg-grid::after {
    content: "SYVRAZE / SYSTEM_INIT / 2026";
    position: absolute;
    bottom: 20px; right: 20px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0.2;
    letter-spacing: 2px;
}

.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    animation: orbFloat 25s ease-in-out infinite;
}
.orb-1 {
    width: 800px; height: 800px;
    background: var(--accent-blue);
    top: -300px; left: -200px;
}
.orb-2 {
    width: 600px; height: 600px;
    background: var(--accent-red);
    bottom: -200px; right: -100px;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(50px, 50px) scale(1.1); }
}

/* ─── Layout ────────────────────────────────────────────────── */
.main-content { position: relative; z-index: 1; padding-top: var(--nav-height); }
.container { max-width: 1300px; margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; }

/* ─── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(to right, #fff, var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.3));
}

.section-tag {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 4px 12px;
    background: rgba(0, 242, 255, 0.1);
    border-left: 3px solid var(--accent-blue);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-blue);
    letter-spacing: 2px;
    margin-bottom: 24px;
}

/* ─── User Menu ─────────────────────────────────────────────── */
.user-menu {
    position: relative;
}

.user-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dim);
    padding: 6px 16px 6px 6px;
    border-radius: var(--radius-pill);
    color: #fff;
    cursor: pointer;
    transition: var(--transition-base);
}

.user-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-glow);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
    color: var(--bg-void);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 220px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 1001;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.user-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-blue);
}

.user-dropdown i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-dim);
    margin: 8px 0;
}

.user-dropdown a.danger {
    color: var(--accent-red);
}

.user-dropdown a.danger:hover {
    background: rgba(255, 0, 85, 0.05);
}

/* ─── Navigation ────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    z-index: 1000;
    border-bottom: 1px solid var(--border-dim);
    background: rgba(1, 1, 3, 0.8);
    backdrop-filter: blur(10px);
}
.nav-container {
    max-width: 1400px; margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 15px;
    text-decoration: none;
}
.logo-icon {
    font-size: 24px;
    color: var(--accent-blue);
    filter: drop-shadow(0 0 8px var(--accent-blue));
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 4px;
}

.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-base);
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-blue);
    text-shadow: 0 0 10px var(--accent-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dim);
    background: rgba(255,255,255,0.03);
    cursor: pointer;
    padding: 10px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: rgba(255,255,255,0.85);
    border-radius: 2px;
    margin: 4px 0;
    transition: var(--transition-base);
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 32px;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    border-radius: var(--radius-sm);
}
.btn-primary {
    background: var(--accent-blue);
    color: var(--bg-void);
    font-weight: 700;
}
.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 30px var(--accent-blue);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: var(--border-dim);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
}

.btn-lg { padding: 18px 48px; font-size: 14px; }

/* ─── Hero Section ──────────────────────────────────────────── */
.hero {
    min-height: 90vh;
    display: flex; align-items: center;
    padding: 100px 0;
    position: relative;
}
.hero-inner { max-width: 900px; text-align: left; }

.hero-title {
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.9;
    margin-bottom: 32px;
}
.hero-title span { display: block; }

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.6;
    border-left: 2px solid var(--accent-blue);
    padding-left: 24px;
}

.purchase-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

.order-summary {
    position: sticky;
    top: 100px;
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.order-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.order-total {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-dim);
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: #fff;
}

/* ─── Product Card ──────────────────────────────────────────── */
.product-showcase {
    background: var(--bg-deep);
    border: 1px solid var(--border-dim);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.product-info h2 { font-size: 2.5rem; margin-bottom: 24px; }
.product-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}
.product-feature-item {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
    display: flex; align-items: center; gap: 10px;
}
.product-feature-item i { color: var(--accent-blue); }

/* ─── Hero & Stats ────────────────────────────────────────── */
.hero-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
    margin-bottom: 80px;
}
.stat-item {
    text-align: center;
    flex: 1;
}
.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
    padding: 100px 0 50px;
    border-top: 1px solid var(--border-dim);
    background: rgba(1, 1, 3, 0.5);
    position: relative;
    z-index: 10;
}
.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
}
.footer-brand { max-width: 400px; }
.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 20px 0 32px;
    line-height: 1.6;
}
.footer-social { display: flex; gap: 20px; }
.footer-social a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition-base);
}
.footer-social a:hover {
    color: var(--accent-blue);
    filter: drop-shadow(0 0 8px var(--accent-blue));
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
}
.footer-col h4 {
    font-size: 11px;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 24px;
    opacity: 0.5;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-base);
}
.footer-col ul li a:hover { color: var(--accent-blue); }

.footer-bottom {
    max-width: 1300px;
    margin: 80px auto 0;
    padding: 30px 32px 0;
    border-top: 1px solid var(--border-dim);
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ─── Cards & Components ───────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    padding: 40px;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}
.card:hover {
    border-color: var(--border-subtle);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card), var(--shadow-glow-blue);
}

 .form-group { margin-bottom: 18px; }
 .form-label {
     display: block;
     margin-bottom: 10px;
     font-size: 0.85rem;
     color: var(--text-secondary);
     font-family: var(--font-body);
 }
 .input-wrapper { position: relative; }
 .input-icon {
     position: absolute;
     left: 14px;
     top: 50%;
     transform: translateY(-50%);
     color: var(--text-muted);
     font-size: 0.9rem;
     pointer-events: none;
 }
 .form-input {
     width: 100%;
     background: rgba(255, 255, 255, 0.03);
     border: 1px solid var(--border-dim);
     color: #fff;
     padding: 14px 14px 14px 42px;
     border-radius: var(--radius-md);
     outline: none;
     transition: var(--transition-base);
 }
 .form-input::placeholder { color: rgba(255,255,255,0.35); }
 .form-input:focus {
     border-color: var(--border-glow);
     box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.08);
     background: rgba(255, 255, 255, 0.05);
 }

.radio-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.radio-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-dim);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: var(--transition-base);
    user-select: none;
}
.radio-option:hover {
    border-color: var(--border-subtle);
    background: rgba(0, 212, 255, 0.04);
}
.radio-option.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    border-color: var(--border-dim);
    background: rgba(255, 255, 255, 0.02);
}
.radio-option.is-disabled:hover {
    border-color: var(--border-dim);
    background: rgba(255, 255, 255, 0.02);
}
.radio-option.is-disabled .radio-dot::after {
    opacity: 0;
}
.radio-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.radio-dot {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
    flex: 0 0 16px;
}
.radio-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent-blue);
    opacity: 0;
    transform: scale(0.6);
    transition: var(--transition-base);
}
.radio-option input:checked + .radio-dot {
    border-color: rgba(0, 212, 255, 0.75);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}
.radio-option input:checked + .radio-dot::after {
    opacity: 1;
    transform: scale(1);
}
.radio-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .nav-container { padding: 0 20px; }
    .product-showcase { padding: 40px; gap: 40px; }
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        padding: 14px 16px 18px;
        flex-direction: column;
        gap: 6px;
        background: rgba(1, 1, 3, 0.95);
        border-bottom: 1px solid var(--border-dim);
        backdrop-filter: blur(12px);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-base);
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links li { width: 100%; }
    .nav-link {
        display: block;
        width: 100%;
        padding: 12px 12px;
        border-radius: var(--radius-md);
        letter-spacing: 1px;
    }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

    .hero { padding: 90px 0 70px; }
    .hero-inner { text-align: center; }
    .hero-subtitle {
        border-left: 0;
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .product-showcase { grid-template-columns: 1fr; }
    .product-features { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; align-items: stretch; padding: 32px 24px; }
    .purchase-grid { grid-template-columns: 1fr; }
    .order-summary { position: static; top: auto; }

    .footer-container { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (max-width: 520px) {
    :root { --nav-height: 72px; }
    .logo-text { font-size: 1.25rem; letter-spacing: 3px; }
    .user-name { display: none; }
    .btn { padding: 12px 18px; }
    .btn-lg { padding: 16px 22px; }
    .card { padding: 24px; }
    .order-summary { padding: 22px; }
    .footer { padding: 70px 0 40px; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Utilities ────────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-48 { margin-bottom: 48px; }
.animate-fade-up { animation: fadeUp 0.8s forwards; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }
.flex-wrap { flex-wrap: wrap; }
.btn-full { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 11px; }
.btn-outline {
    background: transparent;
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}
.btn-outline:hover {
    background: var(--accent-blue);
    color: var(--bg-void);
}

