:root {
    /* Colors */
    --primary: #14B8A6;
    /* Teal */
    --primary-dark: #0f766e;
    --dark-bg: #0f172a;
    /* Slate 900 */
    --darker-bg: #020617;
    /* Slate 950 */
    --light-bg: #ffffff;
    --text-dark: #1e293b;
    /* Slate 800 */
    --text-light: #f8fafc;
    /* Slate 50 */
    --text-muted: #64748b;
    /* Slate 500 */
    --border-light: #e2e8f0;
    /* Slate 200 */

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;

    /* Fonts */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border-radius: 9999px;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-dark {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    gap: 8px;
}

.btn-dark:hover {
    background-color: var(--darker-bg);
    transform: translateY(-2px);
}

/* Header */
.site-header {
    background-color: #000;
    color: #fff;
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
}

.logo img {
    height: 80px;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background-color: #000;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

.prev-slide,
.next-slide {
    background: none;
    border: none;
    font-size: 0.9rem;
}

/* Intro Section */
.intro-section {
    padding: 100px 0;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(20, 184, 166, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.intro-section h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--dark-bg);
}

.intro-section .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 60px;
}

.intro-image {
    width: 100%;
    margin-bottom: 60px;
}

.intro-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.intro-text-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.intro-text-block h3 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.intro-text-block p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.intro-cards {
    display: flex;
    gap: 20px;
}

.intro-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    flex: 1;
    transition: transform 0.2s, box-shadow 0.2s;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: #fff;
}

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

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

/* Stats Section */
.stats-section {
    background-color: var(--darker-bg);
    padding: 80px 0;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-icon {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 16px;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Solutions Header */
.solutions-header {
    text-align: center;
    padding: 100px 0 40px;
}

.solutions-header h2 {
    font-size: 3rem;
    color: var(--dark-bg);
    margin-bottom: 16px;
}

.solutions-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Product Sections */
.product-section {
    padding: 80px 0;
}

.product-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.product-section.reverse .product-content {
    flex-direction: row-reverse;
}

.product-info {
    flex: 1;
}

.product-image {
    flex: 1;
}

.product-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    color: #fff;
}

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

.product-icon.blue {
    background-color: #3b82f6;
}

.product-icon.indigo {
    background-color: #6366f1;
}

.product-info h3 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    color: var(--dark-bg);
}

.product-tagline {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.product-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.product-features {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.product-features i {
    color: var(--primary);
}

/* How We Work Section */
.how-we-work-section {
    padding: 100px 0;
    background-color: #fff;
}

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

.section-header-center h2 {
    font-size: 3rem;
    color: var(--dark-bg);
    margin-bottom: 16px;
}

.section-header-center p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.process-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.process-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    color: #fff;
}

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

.process-icon.blue {
    background-color: #3b82f6;
}

.process-icon.indigo {
    background-color: #6366f1;
}

.process-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--dark-bg);
}

.process-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.process-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.process-list li i {
    font-size: 0.8rem;
}

/* Precision Section */
.precision-section {
    padding: 100px 0;
    background-color: #f8fafc;
}

.features-grid-3 {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #fff;
}

.feature-box-icon.teal {
    background-color: var(--primary);
}

.feature-box-icon.blue {
    background-color: #3b82f6;
}

.feature-box-icon.indigo {
    background-color: #6366f1;
}

.feature-box h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark-bg);
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Consumer Apps Section */
.consumer-apps-section {
    padding: 100px 0;
    background-color: #fff;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.app-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    border: 1px solid var(--border-light);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.app-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-icon-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.app-icon-overlay.pink {
    background-color: #ec4899;
}

.app-icon-overlay.orange {
    background-color: #f97316;
}

.app-icon-overlay.red {
    background-color: #ef4444;
}

.app-icon-overlay.purple {
    background-color: #a855f7;
}

.app-content {
    padding: 24px;
}

.app-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark-bg);
}

.app-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* CTA Sections */
.cta-section-teal {
    background-color: var(--primary);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.btn-white {
    background-color: #fff;
    color: var(--primary);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-white:hover {
    background-color: #f0fdfa;
}

.cta-section-dark {
    background-color: var(--darker-bg);
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

.cta-content-center {
    max-width: 800px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(20, 184, 166, 0.3);
    background-color: rgba(20, 184, 166, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.cta-section-dark h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.cta-section-dark p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    gap: 8px;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.cta-feature h4 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.cta-feature p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    color: var(--text-muted);
}

.footer-nav a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a:hover {
    color: #fff;
}

/* Precision Section */
.precision-section {
    padding: 100px 0;
    background-color: #f8fafc;
}

.features-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-box {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-box-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #fff;
}

.feature-box-icon.teal {
    background-color: var(--primary);
}

.feature-box-icon.blue {
    background-color: #3b82f6;
}

.feature-box-icon.indigo {
    background-color: #6366f1;
}

.feature-box h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark-bg);
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .intro-text-block {
        grid-template-columns: 1fr;
    }

    .product-content,
    .product-section.reverse .product-content {
        flex-direction: column;
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid,
    .features-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* Layout & Scale Fixes */
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 16px;
        max-width: 100vw;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: #0f172a;
        padding: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .header-actions {
        display: none;
    }

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

    /* Scaling Typography */
    h1,
    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }

    h2,
    .intro-section h2,
    .solutions-header h2,
    .section-header-center h2,
    .cta-section-dark h2,
    .cta-section-teal h2,
    .cta-content h2 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }

    h3,
    .intro-text-block h3,
    .product-info h3,
    .process-card h3 {
        font-size: 1.5rem !important;
    }

    .stat-number {
        font-size: 2.2rem !important;
    }

    /* Reduce paddings to prevent weird vertical whitespace */
    .product-section,
    .how-we-work-section,
    .precision-section,
    .consumer-apps-section,
    .cta-section-teal,
    .cta-section-dark,
    .stats-section,
    .intro-section,
    .solutions-header {
        padding: 50px 0 !important;
    }

    .intro-cards {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .stats-grid,
    .process-grid,
    .features-grid-3,
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .cta-features {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .cta-feature {
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

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