/* ============================================
   Vii Landing Page - Cinematic Dark Theme
   ============================================ */

/* Reset & Base */
.landing-page {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #e1e1e6;
    background: #0a0b14;
    overflow-x: hidden;
}

.landing-page *,
.landing-page *::before,
.landing-page *::after {
    box-sizing: border-box;
}

.landing-page a {
    color: #c9a84c;
    text-decoration: none;
    transition: color 0.3s;
}

.landing-page a:hover {
    color: #e6c65a;
}

/* ---- NAV ---- */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 11, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.landing-nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}

.landing-nav-brand span {
    color: #c9a84c;
}

.landing-nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.landing-nav-links a {
    color: #a0a0b0;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.btn-nav-login {
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 6px;
    color: #c9a84c !important;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-nav-login:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: #c9a84c;
}

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(5, 39, 103, 0.3) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(58, 6, 71, 0.25) 0%, transparent 50%),
                #0a0b14;
}

/* Animated grid */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(201, 168, 76, 0.5);
    border-radius: 50%;
    animation: floatUp linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; animation-duration: 15s; animation-delay: 2s; }
.particle:nth-child(3) { left: 40%; animation-duration: 10s; animation-delay: 4s; }
.particle:nth-child(4) { left: 55%; animation-duration: 14s; animation-delay: 1s; }
.particle:nth-child(5) { left: 70%; animation-duration: 11s; animation-delay: 3s; }
.particle:nth-child(6) { left: 85%; animation-duration: 13s; animation-delay: 5s; }
.particle:nth-child(7) { left: 15%; animation-duration: 16s; animation-delay: 7s; }
.particle:nth-child(8) { left: 60%; animation-duration: 9s; animation-delay: 6s; }

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #c9a84c;
    margin-bottom: 2rem;
    background: rgba(201, 168, 76, 0.05);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.5rem;
    color: #fff;
}

.hero h1 .accent {
    background: linear-gradient(135deg, #c9a84c, #e6c65a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.2rem;
    color: #8888a0;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-landing {
    padding: 0.9rem 2.5rem;
    background: linear-gradient(135deg, #c9a84c, #b8943f);
    color: #0a0b14;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary-landing:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
    color: #0a0b14;
}

.btn-secondary-landing {
    padding: 0.9rem 2.5rem;
    background: transparent;
    color: #e1e1e6;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-secondary-landing:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: rgba(201, 168, 76, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ---- SECTIONS (shared) ---- */
.landing-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #c9a84c;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: #8888a0;
    max-width: 600px;
    line-height: 1.6;
}

.section-desc.centered {
    margin: 0 auto;
    text-align: center;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
    max-width: 1200px;
    margin: 0 auto;
}

/* ---- HOW IT WORKS ---- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.step-card:hover::before {
    opacity: 1;
}

.step-card:hover {
    border-color: rgba(201, 168, 76, 0.15);
    transform: translateY(-4px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(201, 168, 76, 0.1);
    color: #c9a84c;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.75rem;
}

.step-card p {
    font-size: 0.95rem;
    color: #8888a0;
    line-height: 1.6;
    margin: 0;
}

/* ---- TECH / STATS ---- */
.tech-section {
    background: linear-gradient(180deg, rgba(5, 39, 103, 0.08) 0%, rgba(58, 6, 71, 0.05) 100%);
    border-top: 1px solid rgba(201, 168, 76, 0.06);
    border-bottom: 1px solid rgba(201, 168, 76, 0.06);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #c9a84c, #e6c65a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8888a0;
    margin-top: 0.5rem;
}

.tech-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.tech-card:hover {
    border-color: rgba(201, 168, 76, 0.15);
}

.tech-card-icon {
    font-size: 1.5rem;
    color: #c9a84c;
    margin-bottom: 0.75rem;
}

.tech-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem;
}

.tech-card p {
    font-size: 0.85rem;
    color: #8888a0;
    margin: 0;
    line-height: 1.5;
}

/* ---- ABOUT ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1rem;
}

.about-text p {
    font-size: 1rem;
    color: #8888a0;
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-stat-row {
    display: flex;
    gap: 1rem;
}

.about-stat {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.about-stat .stat-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: #c9a84c;
}

.about-stat .stat-lbl {
    font-size: 0.8rem;
    color: #8888a0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* ---- CTA / CONTACT ---- */
.cta-section {
    text-align: center;
    background: radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
}

.cta-section .section-desc {
    margin: 0 auto 2.5rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e1e1e6;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #555570;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(201, 168, 76, 0.4);
}

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

.contact-form .btn-primary-landing {
    align-self: center;
    width: auto;
}

/* ---- FOOTER ---- */
.landing-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.footer-brand span {
    color: #c9a84c;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-links a {
    font-size: 0.85rem;
    color: #6c6c80;
}

.footer-links a:hover {
    color: #c9a84c;
}

.footer-copy {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.8rem;
    color: #555570;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .steps-grid,
    .tech-cards {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .landing-nav-links a:not(.btn-nav-login) {
        display: none;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .landing-section {
        padding: 4rem 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-landing,
    .btn-secondary-landing {
        width: 100%;
        text-align: center;
    }
}
