:root {
    /* Colors */
    --color-primary: #3999e5; /* Dremio Blue */
    --color-primary-dark: #2d7ab8;
    --color-secondary: #4FB5B0; /* Dremio Teal/Mint */
    --color-navy: #1C2333; /* Dark Navy Background */
    --color-navy-light: #2A384A; /* Lighter Navy for cards */
    --color-text-white: #ffffff;
    --color-text-gray: #d1d5db;
    --color-accent-blue: #58E1F7;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #1C2333 0%, #29384e 100%);
    --gradient-text: linear-gradient(90deg, #58E1F7 0%, #3999e5 100%);
    --gradient-card: linear-gradient(145deg, rgba(42, 56, 74, 0.6) 0%, rgba(42, 56, 74, 0.3) 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(57, 153, 229, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(57, 153, 229, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

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

.btn-light {
    background: white;
    color: var(--color-primary);
}

.btn-light:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(28, 35, 51, 0.85); /* transaprent navy */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: white;
}

.logo-icon {
    color: var(--color-accent-blue);
    font-size: 1.8rem;
    display: flex;
}

.site-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.site-nav a:not(.btn) {
    font-size: 0.95rem;
    color: var(--color-text-gray);
    font-weight: 500;
}

.site-nav a:not(.btn):hover {
    color: white;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(57,153,229,0.15) 0%, rgba(28,35,51,0) 70%);
    filter: blur(60px);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text-wrapper h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-gray);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-width: 140px;
}

.glass-card i {
    font-size: 3rem;
    color: var(--color-accent-blue);
}

.glass-card span {
    font-weight: 600;
    font-size: 0.9rem;
}

.card-1 {
    transform: translate(-50px, -30px);
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    transform: translate(50px, 30px);
    animation: float 6s ease-in-out infinite 2s;
}

.connection-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent-blue), transparent);
    transform: translate(-50%, -50%) rotate(-15deg);
    opacity: 0.5;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-15px) translateX(10px); }
    100% { transform: translateY(0px) translateX(0px); }
}

/* Problem Section */
.problem-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-navy);
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

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

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-gray);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--color-navy-light);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.error-light {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444; /* Red for errors/problems */
}

.success-light {
    background: rgba(57, 153, 229, 0.1);
    color: var(--color-primary);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

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

/* Solution Section */
.solution-section {
    padding: var(--spacing-xl) 0;
    position: relative;
    background: linear-gradient(180deg, var(--color-navy) 0%, #161c2a 100%);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.solution-card {
    background: var(--color-navy-light);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
}

.large-card {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.solution-card p {
    color: var(--color-text-gray);
    margin-bottom: 1.5rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.check-list i {
    color: var(--color-secondary);
}

.visual-semantic {
    flex: 1;
    height: 200px;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMDAiIGN5PSIxMDAiIHI9IjgwIiBmaWxsPSJyZ2JhKDU3LDE1MywyMjksMC4xKSIgLz48Y2lyY2xlIGN4PSIxMDAiIGN5PSIxMDAiIHI9IjUwIiBmaWxsPSJyZ2JhKDU3LDE1MywyMjksMC4yKSIgLz48L3N2Zz4=') no-repeat center center;
    background-size: contain;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
}

.cta-box {
    background: var(--gradient-text); 
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-accent-blue) 100%);
    box-shadow: 0 20px 40px rgba(57, 153, 229, 0.2);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-box p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

/* Footer */
.site-footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

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

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; transition-delay: 0.6s; }

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

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text-wrapper h1 {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
    }
    
    .hero-visual {
        display: none; /* Hide visual on mobile for simplicity or adjust */
    }
    
    .site-nav {
        display: none; /* Need JS toggle for mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-navy);
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .site-nav.active {
        display: block;
    }
    
    .site-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .large-card {
        grid-column: span 1;
        flex-direction: column;
    }
}
