/* ==========================================================================
   NEXTAI PANELS LANDING PAGE STYLES (DARK MODE)
   ========================================================================== */

.nextai-landing-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #e2e8f0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Typography Defaults */
.nextai-landing-wrapper h2,
.nextai-landing-wrapper h3,
.nextai-landing-wrapper h4 {
    color: #ffffff;
    font-weight: 800;
    line-height: 1.2;
}

.nextai-landing-wrapper p {
    color: #94a3b8;
    line-height: 1.6;
}

/* ==================
   1. HERO HEADER
================== */
.landing-hero {
    text-align: center;
    margin-bottom: 80px;
}

.landing-hero h1 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.landing-hero h1 span {
    color: #0066FF;
}

.landing-hero-desc {
    font-size: 18px;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.landing-hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
}

.hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 200px;
}

.hero-feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 15px;
    color: #0066FF;
}

.hero-feature-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 1.5;
}

.hero-feature-title {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
}

/* ==================
   2. SECTION TITLES
================== */
.landing-section-title {
    font-size: 36px;
    margin-bottom: 40px;
    letter-spacing: -1px;
    text-align: center;
}

/* ==================
   3. PANELS GRID
================== */
.landing-panels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

/* Reuse existing panel-card styles from panels-slider.css if possible, or define specifics here */
.landing-panels-grid .panel-card {
    background: rgba(20, 20, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    backdrop-filter: blur(10px);
}

.landing-panels-grid .panel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 102, 255, 0.3);
}

.landing-panels-grid .panel-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px auto;
    border-radius: 25px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background-color: #000;
}

.landing-panels-grid .panel-rating {
    color: #0066FF;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.landing-panels-grid h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.landing-panels-grid .panel-credits {
    font-size: 13px;
    color: #a5b4fc;
    font-weight: 600;
    margin-bottom: 15px;
}

.landing-panels-grid .panel-desc {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 25px;
    flex-grow: 1;
}

.landing-panels-grid .panel-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: auto;
    width: 100%;
}

.landing-panels-grid .panel-btn-primary,
.landing-panels-grid .panel-btn-secondary {
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.landing-panels-grid .panel-btn-primary {
    display: inline-block;
    background: #0066FF;
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    border: none;
}

.landing-panels-grid .panel-btn-primary:hover {
    background: #0055cc;
    color: #fff;
    transform: translateY(-2px);
}

.landing-panels-grid .panel-btn-secondary {
    display: inline-flex;
    align-items: center;
    color: #0066FF;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
}

.landing-panels-grid .panel-btn-secondary::after {
    content: "›";
    font-size: 20px;
    margin-left: 5px;
    margin-top: -2px;
}

.landing-panels-grid .panel-btn-secondary:hover {
    color: #0055cc;
    transform: translateY(-2px);
}

/* ==================
   4. BENTO BOXES
================== */
.landing-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 80px;
}

.bento-card {
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.bento-card.bg-blue {
    background: #0066FF;
    color: #ffffff;
    border: none;
}

.bento-card h3 {
    font-size: 32px;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.bento-card p {
    font-size: 16px;
    margin: 0;
}

.bento-card.bg-blue p {
    color: rgba(255, 255, 255, 0.8);
}

.bento-icon-large {
    font-size: 80px;
    color: #ffffff;
    opacity: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bento-card.bg-dark-icon .bento-icon-large {
    color: #0066FF;
}

/* ==================
   5. CTA BANNER
================== */
.landing-cta-banner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-top: 100px;
    margin-bottom: 40px;
}

.landing-cta-content {
    flex: 1;
}

.landing-cta-content h2 {
    font-size: 42px;
    letter-spacing: -1px;
    margin-bottom: 30px;
}

.landing-cta-btn {
    display: inline-block;
    background: #0066FF;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.landing-cta-btn:hover {
    background: #0052cc;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.4);
}

.landing-cta-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.landing-cta-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* ==================
   RESPONSIVE DESIGN
================== */
/* Tablet & Small Desktop (Max 1024px) */
@media (max-width: 1024px) {
    .landing-panels-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .landing-hero h1 {
        font-size: 42px;
    }
}

/* Mobile (Max 768px) */
@media (max-width: 768px) {
    .nextai-landing-wrapper {
        padding: 40px 15px;
    }

    .landing-hero h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .landing-hero-desc {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .landing-hero-features {
        gap: 20px;
        padding: 30px 0;
    }

    .hero-feature-item {
        max-width: 45%;
    }

    .landing-section-title {
        font-size: 28px;
        margin-bottom: 30px;
        text-align: center;
    }

    .landing-panels-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }

    .landing-bento-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }

    .bento-card {
        padding: 30px;
        text-align: center;
    }

    .bento-card h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .landing-cta-content h2 {
        font-size: 28px;
    }

    .landing-cta-banner {
        margin-top: 50px;
    }

    /* Stack buttons vertically on mobile */
    .landing-panels-grid .panel-card-footer {
        flex-direction: column;
    }

    .landing-panels-grid .panel-btn-primary,
    .landing-panels-grid .panel-btn-secondary {
        width: 100%;
        padding: 14px;
        font-size: 15px;
    }
}

/* Small Mobile (Max 480px) */
@media (max-width: 480px) {
    .landing-hero h1 {
        font-size: 28px;
    }

    .hero-feature-item {
        max-width: 100%;
    }

    .landing-panels-grid .panel-card {
        padding: 20px;
    }

    .bento-card {
        padding: 20px;
    }

    .landing-cta-content h2 {
        font-size: 24px;
    }

    .landing-panels-grid .panel-btn-primary,
    .landing-panels-grid .panel-btn-secondary {
        font-size: 14px;
        padding: 12px;
    }
}