:root {
    /* Colors */
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --accent-primary: #3B82F6;
    --accent-secondary: #6366F1;
    --accent-gradient: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%);
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);

    /* Typography */
    --font-sans: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #0F172A, #3B82F6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subhead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    background: white;
    padding: 0.5rem;
    animation: float 6s ease-in-out infinite;
}

.hero-image-wrapper img {
    border-radius: 0.5rem;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Video Section */
.video-section {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.video-wrapper video {
    width: 100%;
    display: block;
}

/* Cards Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1.25rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

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

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

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

/* Comparison Section */
.comparison-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #F8FAFC, #FFFFFF);
}

.comparison-section .container {
    max-width: 1100px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.col-header {
    margin-bottom: 1.5rem;
}

.col-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Problem Card Styles */
.problem-card {
    background: #F1F5F9;
    border: 1px solid transparent;
    opacity: 0.9;
    padding: 1.25rem;
}

.problem-card .card-icon {
    filter: grayscale(100%);
    opacity: 0.6;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.problem-card h3 {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.problem-card p {
    font-size: 0.95rem;
}

/* Solution Card Styles */
.solution-card {
    background: white;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    padding: 1.25rem;
}

.solution-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
}

.solution-card .card-icon {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.solution-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.solution-card p {
    font-size: 0.95rem;
}

.solution-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--accent-primary);
    z-index: 10;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .col-header {
        display: none;
    }

    .problem-card {
        margin-bottom: 0.5rem;
        border-bottom: 2px solid #E2E8F0;
    }

    .solution-card {
        margin-bottom: 2rem;
    }
}

/* Future Section */
.future-section {
    padding: 6rem 0;
}

.future-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.9rem;
}

.future-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.future-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.future-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.future-card:hover .future-image img {
    transform: scale(1.05);
}

.future-icon {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(241, 245, 249, 0.95);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    animation: icon-bounce 3.6s ease-in-out infinite;
}

.future-content {
    padding: 0.9rem;
    flex-grow: 1;
}

.future-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.future-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

.future-tag-dev {
    background: rgba(34, 197, 94, 0.14);
    color: #166534;
}

.future-tag-explore {
    background: rgba(244, 114, 182, 0.15);
    color: #9d174d;
}

.future-tag-vision {
    background: rgba(59, 130, 246, 0.15);
    color: #1d4ed8;
}

.future-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

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

@keyframes icon-bounce {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Integrations Section */
.integrations-section {
    padding: 6rem 0;
    background: white;
    overflow: hidden;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

.marquee {
    margin-top: 3rem;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee::before,
.marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.marquee::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.marquee::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 4rem;
    animation: scroll 40s linear infinite;
    padding: 0;
}

.marquee-content img {
    height: 40px;
    width: auto;
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.marquee-content img:hover {
    transform: scale(1.1);
}

.marquee.marquee-enhanced .marquee-content {
    animation: none;
    will-change: transform;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    background: white;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.footer-logo img {
    height: 24px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

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

.copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }
}

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

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