/* --- NEXUS LANDING PAGE v10.0 (Website PRO Style) --- */

/* Reset & Scoping */
.landing-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0b1120;
    color: #e2e8f0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 9000;
    line-height: 1.5;
    scroll-behavior: smooth;
}

/* Background Texture */
.landing-wrapper::before {
    content: "";
    position: fixed;
    /* Static background while scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15), transparent 50%),
        radial-gradient(ellipse at bottom, rgba(15, 23, 42, 1), #0b1120),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm1 1h38v38H1V1z' fill='%231e293b' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}

/* --- NAVBAR --- */
.landing-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 40px;
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 9999;
    min-height: 70px;
    height: auto;
    box-sizing: border-box;
}

.nav-center {
    justify-self: center;
}

.nav-right {
    justify-self: end;
}

/* Login Widget (Pill Style) */
.login-widget {
    display: flex;
    align-items: center;
    background: rgba(30, 41, 59, 0.4);
    padding: 4px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.login-widget:focus-within {
    background: rgba(30, 41, 59, 1);
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.login-widget input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 12px;
    width: 120px;
    outline: none;
    font-family: inherit;
    transition: width 0.2s;
}

.login-widget input:focus {
    width: 140px;
}

.login-widget input::placeholder {
    color: #64748b;
}

.login-widget button {
    background: #f97316;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.login-widget button:hover {
    background: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}


/* --- HERO SECTION --- */
#landing-page .hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Forced Centering */
    text-align: center;
}

#landing-page .hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 24px 0;
    letter-spacing: -2px;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 900px;
}

#landing-page .hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 650px;
    /* Tighter width for better reading */
    margin: 0 auto 30px;
    font-weight: 400;
    line-height: 1.6;
}

/* --- DASHBOARD PREVIEW MOCKUP --- */
#landing-page .dashboard-preview {
    width: 100%;
    /* Ensure it takes full width of container */
    max-width: 1000px;
    background: #0f172a;
    border-radius: 16px;
    border: 1px solid #334155;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    /* Stronger shadow */
    margin: 40px auto 0;
    overflow: hidden;
    text-align: left;
}

#landing-page .preview-header {
    background: #1e293b;
    padding: 14px 24px;
    border-bottom: 1px solid #334155;
    display: flex;
    gap: 8px;
    align-items: center;
}

#landing-page .preview-body {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns */
    gap: 20px;
    background: radial-gradient(circle at top, #1e293b, #0f172a);
    min-height: 300px;
}

/* MOCK CARDS CSS DRAWING */
.prev-card {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
    backdrop-filter: blur(5px);
}

.prev-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-title {
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.prev-desc {
    color: #64748b;
    font-size: 0.8rem;
}

.big-card {
    grid-column: span 2;
    grid-row: span 1;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
}

/* Card Colors */
.prev-card.green {
    border-top: 3px solid #10b981;
}

.prev-card.green .prev-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.prev-card.blue {
    border-top: 3px solid #3b82f6;
}

.prev-card.blue .prev-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.prev-card.purple {
    border-top: 3px solid #8b5cf6;
}

.prev-card.purple .prev-icon {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}


/* --- SECTIONS (Value & Modules) --- */
.section-header h2 {
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
}

.value-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

/* Module Cards Refined */
.feature-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border-color: #64748b;
    z-index: 10;
}

.feat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* --- FOOTER --- */
.website-footer h3 {
    margin: 0;
}

.website-footer h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.footer-contact li {
    margin-bottom: 12px;
}

.footer-legal li {
    margin-bottom: 8px;
}

.footer-legal a:hover {
    color: #3b82f6;
}

.socials span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.socials span:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .landing-nav {
        grid-template-columns: 1fr;
        height: auto;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    .nav-left {
        display: none;
    }

    .nav-right {
        justify-self: center;
    }

    .dashboard-preview {
        margin: 40px 10px 0;
    }

    .preview-body {
        grid-template-columns: 1fr;
    }

    .big-card {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    #landing-features {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    #landing-features {
        grid-template-columns: 1fr !important;
    }
}