@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #0891b2;
    /* Cyan 600 */
    --primary-light: #ecfeff;
    /* Cyan 50 */
    --accent: #2563eb;
    --price-color: #000000;
    /* Blue 600 */
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-600: #475569;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--slate-900);
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.glass-dark {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout Sections */
section {
    padding: 100px 0;
    position: relative;
    width: 100%;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), radial-gradient(circle at top right, var(--primary), transparent);
    background-color: var(--slate-950);
    color: white;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.hero-wrapper>div {
    flex: 1;
    min-width: 300px;
}

@media (max-width: 992px) {
    .hero {
        padding: 140px 0 60px;
    }

    .hero-wrapper {
        gap: 48px;
        text-align: center;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-wrapper {
        gap: 40px;
    }
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 24px;
    text-transform: uppercase;
    color: white;
}

.hero .description {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--slate-200);
    /* Lighter slate for better contrast */
    max-width: 600px;
}

/* Cards Design */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    border-radius: 48px;
    padding: 32px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px -12px rgba(8, 145, 178, 0.15);
}

.card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 24px;
    transition: transform 0.7s ease;
}

.card:hover img {
    transform: scale(1.05);
}

/* FAQ Section */
.faq-item {
    border-bottom: 1px solid var(--slate-100);
    padding: 24px 0;
}

.faq-question {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--slate-900);
    display: block;
    margin-bottom: 8px;
}

.faq-answer {
    color: var(--slate-600);
    font-size: 0.95rem;
}

/* Dark Theme FAQ */
.faq-dark .faq-question {
    color: white;
}

.faq-dark .faq-answer {
    color: var(--slate-400);
}

.faq-dark .faq-item {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Dark Theme FAQ */
.faq-dark .faq-question {
    color: white;
}

.faq-dark .faq-answer {
    color: var(--slate-400);
}

.faq-dark .faq-item {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Design System & Utilities */
.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    text-transform: uppercase;
    line-height: 1.1;
}

.section-subtitle {
    color: var(--slate-600);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
    font-size: 1.125rem;
}

.text-center {
    text-align: center;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    section {
        padding: 64px 0;
    }
}

/* Footer & Nav SSI Components */
header nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: padding 0.3s ease;
}

.nav-container {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    margin: 0 24px;
    border-radius: 24px;
    padding: 12px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 110;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--slate-900);
    letter-spacing: -0.05em;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-item {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-600);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-item:hover {
    color: var(--slate-900);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 110;
}

.nav-call-btn {
    padding: 10px 20px;
    border-radius: 14px;
    font-weight: 700;
    color: var(--slate-900);
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-call-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    margin-right: -8px;
}

.hamburger .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-900);
    margin: 4px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* Mobile Navigation */
@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-item {
        font-size: 1.25rem;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-call-btn span {
        display: none;
    }

    .nav-call-btn {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    header nav {
        padding: 16px 0;
    }

    .nav-container {
        margin: 0 16px;
        padding: 10px 20px;
    }

    .logo-text {
        font-size: 1rem;
    }
}

body.nav-open {
    overflow: hidden;
}

/* Matrix Table */
.matrix-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.matrix-table th {
    background: var(--slate-900);
    color: white;
    padding: 16px;
    text-align: left;
}

.matrix-table td {
    padding: 16px;
    border-bottom: 1px solid var(--slate-200);
    background: white;
}

/* Case Study */
.case-study {
    background: var(--slate-900);
    color: white;
    padding: 48px;
    border-radius: 48px;
    margin: 64px 0;
}

.case-study h3 {
    color: var(--primary);
    margin-bottom: 24px;
}

/* Global Mobile Fixes (Overall Mobile-Friendly) */
@media (max-width: 992px) {
    .hero .container>div {
        flex-direction: column !important;
        gap: 48px !important;
        text-align: center !important;
    }

    .hero .container>div>div {
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }

    .hero h1 {
        font-size: 3rem;
        line-height: 1.1;
    }

    .hero .description {
        margin: 0 auto;
    }

    .hero img {
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 768px) {
    .matrix-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .case-study {
        padding: 32px 24px;
        border-radius: 24px;
    }

    /* Fix for section headers with inline styles */
    section h2[style*="font-size"] {
        font-size: 2.25rem !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating Call Button - Stacked Above Chatbot */
#lns-floating-call {
    position: fixed !important;
    bottom: 100px !important;
    right: 24px !important;
    top: auto !important;
    left: auto !important;
    z-index: 99998 !important;
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
    color: white !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.4) !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

#lns-floating-call:hover {
    transform: scale(1.1) !important;
    background: var(--accent) !important;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.5) !important;
}

#lns-floating-call svg {
    width: 24px !important;
    height: 24px !important;
    fill: white !important;
}

@media (max-width: 768px) {
    #lns-floating-call {
        width: 50px !important;
        height: 50px !important;
        bottom: 90px !important;
        right: 20px !important;
    }

    #lns-floating-call svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* Responsive Video Container */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    margin: 48px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}