:root {
    --bg-color: #ffffff;
    --bg-alt: #f4f6fb;
    --text-primary: #0b1220;
    --text-secondary: #475569;

    --accent-cyan: #14b8a6;
    --accent-purple: #2563eb;
    --accent-pink: #f97316;

    --glass-bg: rgba(255, 255, 255, 0.82);
    --glass-border: rgba(15, 23, 42, 0.12);

    --font-main: 'Space Grotesk', sans-serif;

    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.15), transparent 35%),
        radial-gradient(circle at 85% 15%, rgba(20, 184, 166, 0.18), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(249, 115, 22, 0.12), transparent 45%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(244, 247, 255, 0.9));
    background-attachment: fixed;
}

body::before,
body::after {
    content: '';
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
    opacity: 0.55;
    pointer-events: none;
    animation: floatGlow 18s ease-in-out infinite;
}

body::before {
    left: -140px;
    bottom: -160px;
    background: radial-gradient(circle at 30% 30%, rgba(20, 184, 166, 0.55), rgba(59, 130, 246, 0.15), transparent 65%);
}

body::after {
    right: -160px;
    top: 120px;
    background: radial-gradient(circle at 40% 40%, rgba(147, 197, 253, 0.7), rgba(37, 99, 235, 0.18), transparent 60%);
    animation-delay: -6s;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(18px, -22px) scale(1.05);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--accent-cyan);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
    color: white;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-sm {
    padding: 8px 16px;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--text-primary);
    cursor: pointer;
    font-family: var(--font-main);
}

.btn-sm:hover {
    background: rgba(15, 23, 42, 0.1);
}

/* Header */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background:
        radial-gradient(circle at 15% 20%, rgba(20, 184, 166, 0.15), transparent 40%),
        radial-gradient(circle at 85% 10%, rgba(37, 99, 235, 0.18), transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
}

.aurora-bg {
    position: absolute;
    inset: -20%;
    z-index: 0;
    opacity: 0.55;
    filter: blur(18px);
    background-image:
        repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 7%, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, 0.9) 16%),
        repeating-linear-gradient(100deg, rgba(56, 189, 248, 0.5) 10%, rgba(165, 180, 252, 0.45) 15%, rgba(147, 197, 253, 0.5) 20%, rgba(221, 214, 254, 0.4) 25%, rgba(96, 165, 250, 0.45) 30%);
    background-size: 300% 200%;
    background-position: 50% 50%;
    animation: auroraShift 50s linear infinite;
    pointer-events: none;
}

@keyframes auroraShift {
    0% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 350% 50%;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.92));
    /* Soft glow for futuristic readability */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Removed .background-glow as static image replaces it */


.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* General Sections */
.section {
    padding: 100px 0;
}

.alt-bg {
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition-speed);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1);
}

.card .icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.solutions-images {
    display: flex;
    gap: 24px;
    align-items: stretch;
    flex-wrap: nowrap;
}

.solutions-images .solution-image-card {
    flex: 1 1 0;
    min-width: 0;
}

.solution-image-card {
    margin: 0;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    background: #ffffff;
    position: relative;
    height: 320px;
}

.solution-image-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.solution-image {
    object-position: center;
}

.solution-image.left-focus {
    object-position: left center;
}

.solution-image.center-focus {
    object-position: center center;
}

/* Keep this specific artwork fully visible inside the card frame */
.solution-image-card img.solution-image.center-focus {
    object-fit: contain;
    background: #0f172a;
}

.solution-card {
    height: 300px;
    border-radius: 20px;
    background-color: var(--bg-alt);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: var(--transition-speed);
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(5, 10, 20, 0.6), rgba(5, 10, 20, 0.2), transparent);
    z-index: 1;
}

.solution-card:hover {
    border-color: var(--accent-purple);
}

.sol-content {
    position: relative;
    z-index: 2;
}

.sol-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.solution-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.solution-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.2);
}

/* Lead Qualification */
.lead-qualification {
    background: radial-gradient(circle at 10% 15%, rgba(16, 185, 129, 0.12), transparent 45%),
        radial-gradient(circle at 90% 10%, rgba(249, 115, 22, 0.14), transparent 50%),
        linear-gradient(135deg, #ffffff 0%, #f3f4f6 60%, #eef2ff 100%);
}

.lq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.lq-panel {
    position: relative;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.12);
    background: #0f172a;
    display: flex;
    align-items: flex-end;
    padding: 28px;
}

.lq-panel-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lq-panel-media .lq-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.1);
}

.lq-panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.75) 80%);
    z-index: 1;
}

.lq-panel-content {
    position: relative;
    z-index: 2;
    max-width: 420px;
    color: white;
}

.lq-panel-content h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.lq-panel-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 14px;
}

.lq-metric {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-weight: 600;
    color: white;
}

.lq-dots {
    position: absolute;
    left: 26px;
    bottom: 26px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    opacity: 0.45;
}

.lq-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}

.lq-play {
    position: absolute;
    left: 22px;
    bottom: 70px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    z-index: 2;
    backdrop-filter: blur(6px);
}

.lq-muted {
    opacity: 0.55;
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    justify-content: center;
}

.contact-box {
    text-align: center;
    padding: 60px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
    border: 1px solid var(--glass-border);
    max-width: 700px;
    width: 100%;
}

.contact-box h2 {
    margin-bottom: 15px;
}

.contact-box .btn-large {
    font-size: 1.2rem;
    margin: 30px 0;
}

.social-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-links a {
    color: var(--text-secondary);
    font-weight: 600;
}

.social-links a:hover {
    color: var(--accent-cyan);
}

/* Glass Banner */
.glass-banner {
    padding-top: 60px;
    padding-bottom: 100px;
}

.glass-banner-inner {
    display: flex;
    justify-content: center;
}

.glass-banner-card {
    width: 100%;
    max-width: 980px;
    padding: 70px;
    border-radius: 28px;
    background: url('assets/images/glass-orb.svg') center/cover no-repeat;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
    text-align: center;
}

.glass-banner-card h3 {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.glass-banner-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 26px;
}

/* Footer */
/* Footer */
.site-footer {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(2, minmax(120px, 1fr)) 1.2fr;
    gap: 32px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 14px;
}

.footer-tagline {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.footer-meta {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
}

.footer-column h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.footer-column a {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.footer-column a:hover {
    color: var(--accent-cyan);
}

.footer-note {
    margin-bottom: 16px;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0ea5e9, #22c55e);
    color: white;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(34, 197, 94, 0.25);
}

.footer-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(14, 165, 233, 0.35);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 24px;
    font-size: 0.9rem;
}

.footer-links a {
    margin-left: 20px;
    color: var(--text-secondary);
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solutions-images {
        flex-direction: column;
    }

    .lq-grid {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .lq-media {
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Todo: Implement mobile menu drawer */
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links a {
        margin: 0 10px;
    }

    .lq-video-frame {
        width: 100%;
        max-width: 260px;
        height: 160px;
    }

    .glass-banner-card {
        padding: 50px 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-links a {
        margin: 0 10px;
    }
}
