/* LOS-AI Landing Page Styles */
/* Matches the glass-morphism dark aesthetic of the LOS-AI login page. */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0b0e;
    color: #e2e4e9;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
    animation: ambientShift 20s ease-in-out infinite alternate;
    z-index: -2;
    pointer-events: none;
}

@keyframes ambientShift {
    0% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.6; transform: scale(1); }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    pointer-events: none;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
}

.glow-orb-1 {
    width: 280px;
    height: 280px;
    background: rgba(99, 102, 241, 0.25);
    top: 10%;
    left: -60px;
    animation: orbFloat 20s ease-in-out infinite alternate;
}

.glow-orb-2 {
    width: 220px;
    height: 220px;
    background: rgba(139, 92, 246, 0.22);
    bottom: 10%;
    right: -80px;
    animation: orbFloat 18s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.15); }
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #818cf8;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto;
}

.glass-card {
    background: rgba(18, 20, 26, 0.82);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 20px 60px rgba(0, 0, 0, 0.35);
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(10, 11, 14, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #f8fafc;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.nav-logo-icon i {
    font-size: 1.1rem;
    color: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #c7d2fe;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.nav-cta:hover {
    background: rgba(99, 102, 241, 0.22);
    border-color: rgba(99, 102, 241, 0.45);
    color: #fff;
}

.hero {
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero-card {
    padding: 4rem 3rem;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    margin-bottom: 1.75rem;
}

.hero-logo-icon {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.35);
    margin-bottom: 1.25rem;
}

.hero-logo-icon i {
    font-size: 2.25rem;
    color: #fff;
}

.hero-title {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #f8fafc 0%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #94a3b8;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
}

.hero-tagline {
    font-size: 1.35rem;
    color: #e2e4e9;
    max-width: 680px;
    margin: 0 auto 2rem;
    line-height: 1.5;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.6rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: #e2e4e9;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    padding: 1.75rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.05),
        0 24px 60px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    color: #a5b4fc;
    font-size: 1.1rem;
}

.feature-card h3 {
    color: #f8fafc;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.content-card {
    padding: 2.5rem;
}

.content-card h3 {
    color: #f8fafc;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.content-card h3 i {
    color: #818cf8;
    font-size: 1.1rem;
}

.content-card p {
    color: #cbd5e1;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.content-card p:last-child {
    margin-bottom: 0;
}

.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1.5rem;
}

.highlight-box {
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.08);
    border-left: 3px solid #6366f1;
    margin-top: 1.25rem;
}

.highlight-box p {
    color: #e2e4e9;
    font-size: 1rem;
    margin: 0;
}

.code-block {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.5rem;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.7;
    overflow-x: auto;
    margin-top: 1rem;
}

.code-block .comment {
    color: #64748b;
}

.code-block .path {
    color: #a5b4fc;
}

.services-table-wrap {
    overflow-x: auto;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.services-table th,
.services-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.services-table th {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.02);
}

.services-table td {
    color: #e2e4e9;
}

.services-table td code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    color: #a5b4fc;
    font-size: 0.85rem;
}

.services-table tr:last-child td {
    border-bottom: none;
}

.services-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.video-card {
    padding: 2rem;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #94a3b8;
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.25);
}

.video-placeholder i {
    font-size: 3rem;
    color: #6366f1;
    opacity: 0.8;
}

.video-placeholder p {
    font-size: 1.1rem;
    color: #e2e4e9;
    margin: 0;
}

.video-placeholder span {
    font-size: 0.9rem;
    color: #64748b;
}

.video-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

.cta-card {
    padding: 3.5rem 2rem;
    text-align: center;
}

.cta-card h2 {
    font-size: 2rem;
    color: #f8fafc;
    margin-bottom: 0.75rem;
}

.cta-card p {
    color: #94a3b8;
    max-width: 560px;
    margin: 0 auto 1.75rem;
    font-size: 1.05rem;
}

.site-footer {
    padding: 3rem 0 2.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 2rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #f8fafc;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-logo i {
    color: #818cf8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.footer-copy {
    color: #64748b;
    font-size: 0.85rem;
}

.footer-copy a {
    color: #94a3b8;
    text-decoration: none;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 4rem 0 2.5rem;
    }

    .hero-card {
        padding: 2.5rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .content-card,
    .feature-card,
    .video-card,
    .cta-card {
        padding: 1.5rem;
    }
}
