/* =========================
   CORE LAYOUT
========================= */

/* Modernized Section Spacing */
section {
    padding: 110px 0;
    border-bottom: 1px solid var(--border);
}

.dashboard-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Glassmorphic Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hero Glow */
.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(circle at 50% -20%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
.display-title {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
}

/* =========================
   GRID SYSTEMS
========================= */

.feature-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.ai-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

/* =========================
   BADGES
========================= */

.badge-live {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

/* =========================
   NAVIGATION HELPERS (CSP SAFE JS SUPPORT)
========================= */

.nav-flex {
    display: flex;
    gap: 0.75rem;
}

.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border-radius: 12px;
}

/* =========================
   ICON HELPERS
========================= */

.icon-sm {
    width: 16px;
}

.icon-primary {
    color: var(--primary);
}

/* =========================
   FOOTER SYSTEM (CSP SAFE)
========================= */

.footer {
    padding: 5rem 0;
    background: white;
    border-top: 1px solid var(--border);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

/* Logo */
.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Description */
.footer-description {
    max-width: 480px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Links */
.footer-links {
    display: flex;
    gap: 2.5rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Bottom row */
.footer-bottom {
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Copy text */
.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* Engine status */
.engine-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Status dot */
.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

/* =========================
   AD SLOT
========================= */

.ad-slot-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem 0;
    background: transparent;
}

.billboard-ad {
    width: 100%;
    max-width: 970px;
    height: 250px;
    background: #f1f5f9;
    border: 1px dashed var(--border);
    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .nav-actions span {
        display: none;
    }

    .navbar {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-content {
        display: block;
        justify-content: space-between;
        align-items: flex-start;
        padding-top: 1px;
    }
}

/* Navigation & Logo */
.nav-logo-link {
    cursor: pointer;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-actions-wrapper {
    display: flex;
    gap: 0.75rem;
}

.btn-sponsor {
    text-decoration: none;
    border: 1px solid #fee2e2;
    background: #fffafb;
}

.icon-heart {
    width: 16px;
    color: #ef4444;
    fill: #ef4444;
}

.text-sponsor {
    color: #b91c1c;
    font-weight: 600;
}

.icon-nav {
    width: 16px;
    color: var(--primary);
}

/* Header / Hero */
.hero-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh;
}

.text-primary-span {
    color: var(--primary);
}

.hero-btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}
@media (max-width: 768px) {
     .hero-btn-group {
     	display: grid;
    	grid-template-columns: repeat(2, 1fr);
    	gap: 1rem;
     }
     .hero-btn-group > :nth-child(3) {
    grid-column: 1 / -1;
}
}

.btn-hero-launch {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
}

.btn-hero-specs {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
}

.link-support {
    text-decoration: none;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.icon-support {
    width: 14px;
}

/* Sections & Cards */
.section-alt {
    background: var(--bg-alt);
    padding: 2rem 0;
}

.dqs-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.dqs-icon-box {
    background: var(--primary);
    color: white;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-dqs {
    width: 36px;
    height: 36px;
}

.dqs-content {
    flex: 1;
    min-width: 250px;
}

.dqs-title {
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.dqs-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.badge-proprietary {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
}

/* Features */
.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.features-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.card-mini {
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.icon-mini-wrapper {
    margin-bottom: 1.25rem;
}

.card-mini-title {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.card-mini-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* AI Intelligence */
.section-ai {
    background: var(--bg-alt);
    padding: 4rem 0;
}

.highlight-text-box {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.card-ai-main {
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: white;
}

.ai-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.ai-card-desc {
    color: var(--text-muted);
    margin: 0;
}

.ai-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ai-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.icon-check {
    width: 16px;
    color: #16a34a;
}

/* Architecture */
.arch-header-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.arch-icon-badge {
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px;
    border-radius: 8px;
}

.arch-title {
    margin: 0;
    font-weight: 800;
}

.badge-core {
    background: var(--primary);
    color: white;
    border: none;
}

.arch-icon-box {
    background: #eff6ff;
    color: #3b82f6;
}

.arch-icon-box-engine {
    background: rgba(255, 255, 255, 0.2);
}

.arch-icon-box-ui {
    background: #ecfeff;
    color: #0891b2;
}

/* Footer */
.footer-main {
    padding: 5rem 0;
    background: white;
    border-top: 1px solid var(--border);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-desc {
    max-width: 480px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.footer-link-item {
    text-decoration: none;
    color: var(--text-main);
}

.footer-bottom {
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.engine-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}
