/* Dash.ai — Modern design system */

:root {
    --bg: #0a0a0f;
    --bg-elevated: #12121a;
    --bg-card: #16161f;
    --border: rgba(255, 255, 255, 0.08);
    --text: #f4f4f5;
    --text-muted: #a1a1aa;
    --accent: #6366f1;
    --accent-hover: #818cf8;
    --accent-muted: rgba(99, 102, 241, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --font-sans: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Outfit', system-ui, sans-serif;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;
    --transition: 0.2s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
}

.btn-primary:hover {
    background: #e4e4e7;
}

.btn-accent {
    background: var(--accent);
    color: white;
}

.btn-accent:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 0 3px var(--accent-muted);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-wrap,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    display: block;
    height: 48px;
    width: auto;
    object-fit: contain;
    color: var(--text);
}

.logo-img-footer {
    height: 40px;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav a:not(.btn) {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.nav a:not(.btn):hover {
    color: var(--text);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(72px + var(--space-3xl)) 0 var(--space-3xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(99, 102, 241, 0.06), transparent);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    margin-bottom: var(--space-lg);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-muted);
    border-radius: 100px;
}

.badge-pin {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-beacon 2s ease-in-out infinite;
}

@keyframes pulse-beacon {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5); }
    50% { opacity: 0.8; }
    70% { box-shadow: 0 0 0 6px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    color: var(--text);
}

.hero-gradient {
    background: linear-gradient(90deg, #0ea5e9, var(--accent), #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto var(--space-xl);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

/* Departure board (terminal) */
.departure-board {
    margin-top: var(--space-2xl);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.departure-board-inner {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.departure-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

.departure-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-amber { background: #f59e0b; }
.dot-green { background: #22c55e; }

.departure-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.departure-grid-head {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr 1.2fr;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.departure-rows {
    padding: 0 var(--space-lg) var(--space-lg);
}

.departure-row {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr 1.2fr;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
    color: var(--text);
    border-radius: var(--radius);
    transition: background var(--transition);
}

.departure-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.departure-row .status-secured { color: #22c55e; }
.departure-row .status-active { color: #0ea5e9; }
.departure-row .status-unlimited { color: #f59e0b; }
.departure-row .status-scheduled { color: var(--accent); }

/* Sections */
.section {
    padding: var(--space-3xl) 0;
}

.section-heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

.section-lead {
    font-size: 1.0625rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

/* Section badges */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    margin-bottom: var(--space-md);
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 100px;
    border: 1px solid transparent;
    justify-content: center;
}

.section-badge-security {
    color: #059669;
    background: rgba(5, 150, 105, 0.15);
    border-color: rgba(5, 150, 105, 0.3);
}

.section-badge-features {
    color: #d97706;
    background: rgba(217, 119, 6, 0.15);
    border-color: rgba(217, 119, 6, 0.3);
}

.section-badge-data {
    color: var(--accent);
    background: var(--accent-muted);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Security section – globe */
.security-section .container {
    text-align: center;
}

.security-section .section-badge,
.security-section .section-heading,
.security-section .section-lead {
    text-align: center;
}

.security-section .feature-grid {
    text-align: left;
}

.globe-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.security-section .radar-screen {
    width: 260px;
    height: 260px;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.feature-icon {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Enterprise plan card (boarding pass style) */
.features-section .container {
    text-align: center;
}

.features-section .section-badge,
.features-section .section-heading,
.features-section .section-lead {
    text-align: center;
}

.features-section .enterprise-card {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.enterprise-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.enterprise-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    background: linear-gradient(90deg, #0ea5e9, var(--accent));
}

.enterprise-header .enterprise-label,
.enterprise-header-right .enterprise-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    display: block;
    margin-bottom: 0.25rem;
}

.enterprise-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.enterprise-header-right {
    text-align: right;
}

.enterprise-staff {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.enterprise-body {
    padding: var(--space-xl);
}

.enterprise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.enterprise-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.enterprise-item-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border-radius: var(--radius);
}

.enterprise-item .icon-users { background: rgba(34, 197, 94, 0.2); }
.enterprise-item .icon-gauge { background: rgba(14, 165, 233, 0.2); }
.enterprise-item .icon-zap { background: rgba(245, 158, 11, 0.2); }
.enterprise-item .icon-server { background: rgba(139, 92, 246, 0.2); }
.enterprise-item .icon-drive { background: rgba(244, 63, 94, 0.2); }
.enterprise-item .icon-shield { background: rgba(20, 184, 166, 0.2); }

.enterprise-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.enterprise-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.enterprise-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-lg);
    border-top: 1px dashed var(--border);
}

.enterprise-disclaimer {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Data Control section */
.data-section .container {
    text-align: center;
}

.data-section .section-badge,
.data-section .section-heading,
.data-section .section-lead {
    text-align: center;
}

.data-section .data-cards {
    text-align: left;
}

.data-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.data-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.data-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.data-card-icon {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

.data-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.data-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.data-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.data-tags span {
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
}

/* CTA section */
.cta-section {
    position: relative;
    background: linear-gradient(180deg, var(--bg-elevated) 0%, #0f0f18 100%);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 30% 50%, rgba(14, 165, 233, 0.08), transparent),
        radial-gradient(ellipse 50% 50% at 70% 50%, rgba(99, 102, 241, 0.08), transparent);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-md);
}

.cta-lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto var(--space-xl);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.btn-light {
    background: var(--text);
    color: var(--bg);
}

.btn-light:hover {
    background: #e4e4e7;
}

.btn-outline-light {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
    background: var(--bg-card);
    border-color: var(--text-muted);
}

/* Plans (legacy – kept for reference, not used in current HTML) */
.plan-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.plan-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.plan-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.plan-badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bg);
    background: var(--accent);
    border-radius: 100px;
}

.plan-body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-xl);
    padding: var(--space-xl);
    align-items: start;
}

.plan-features {
    list-style: none;
}

.plan-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.plan-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.plan-metrics {
    min-width: 160px;
    padding: var(--space-md);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.8125rem;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xs);
    color: var(--text-muted);
}

.metric-row:last-child {
    margin-bottom: 0;
}

.hud-value {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--accent);
}

/* Governance */
.governance-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.governance-content .section-heading {
    margin-bottom: var(--space-xs);
}

.governance-content .section-lead {
    margin-bottom: var(--space-lg);
}

.governance-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xs);
    color: var(--text);
}

.governance-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.spec-list {
    list-style: none;
    margin-top: var(--space-md);
    padding-left: 0;
}

.spec-list li {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.spec-list strong {
    color: var(--text);
    font-weight: 500;
}

.governance-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.radar-screen {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px solid var(--border);
    position: relative;
    background:
        radial-gradient(circle at center, transparent 30%, var(--accent-muted) 31%, transparent 32%),
        radial-gradient(circle at center, transparent 60%, var(--accent-muted) 61%, transparent 62%);
    overflow: hidden;
}

.sweep {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 50%;
    transform-origin: 0 100%;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.25), transparent);
    animation: sweep 6s linear infinite;
}

@keyframes sweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.target {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
}

.t1 { top: 32%; left: 58%; }
.t2 { top: 68%; left: 28%; }

/* Footer */
.footer {
    margin-top: 0;
    padding: var(--space-2xl) 0 var(--space-xl);
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-lg);
    row-gap: var(--space-md);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--text);
}

.footer-dot {
    opacity: 0.6;
}

.footer-location {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-pin {
    font-size: 0.875rem;
}

.footer-copy {
    width: 100%;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

/* Responsive */
@media (max-width: 768px) {
    .nav a:not(.btn) {
        display: none;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .departure-grid-head,
    .departure-row {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .departure-grid-head span:nth-child(3),
    .departure-grid-head span:nth-child(4),
    .departure-row span:nth-child(3),
    .departure-row span:nth-child(4) {
        display: none;
    }

    .enterprise-grid {
        grid-template-columns: 1fr;
    }

    .enterprise-footer {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .data-cards {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        order: 1;
    }

    .security-section .radar-screen {
        width: 200px;
        height: 200px;
    }
}
