/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #dbe4f3;
    background-color: #0e1623;
    overflow-x: hidden;
    padding-top: 80px; /* Account for fixed header */
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(14, 22, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    height: 32px;
    width: auto;
}

.nav-brand h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2f78ff;
}

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

.nav-links a {
    text-decoration: none;
    color: #9fb4d8;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3ea0ff;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0b1320 0%, #0e1623 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #fbbf24;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #2f78ff;
    color: white;
}

.btn-primary:hover {
    background: #3ea0ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(47, 120, 255, 0.35);
}

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

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

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #3ea0ff;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Dashboard Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-mockup {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.mockup-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.pipeline-diagram {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.pipeline-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 120px;
}

.node-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.node {
    position: relative;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.node:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(47, 120, 255, 0.3);
}

.node::after {
    content: attr(data-label);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: #9fb4d8;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.node:hover::after {
    opacity: 1;
}

.node-icon {
    font-size: 1.2rem;
}

.source-node {
    border-color: #3ea0ff;
}

.process-node {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2f78ff 0%, #3ea0ff 100%);
    border-color: #2f78ff;
    box-shadow: 0 0 20px rgba(47, 120, 255, 0.35);
}

.process-node .node-icon {
    color: white;
    font-size: 1.5rem;
}

.node-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(47, 120, 255, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.dest-node {
    border-color: #3ea0ff;
}

.pipeline-arrows {
    display: flex;
    align-items: center;
}

.arrow {
    font-size: 1.5rem;
    color: #3ea0ff;
    animation: flow 2s ease-in-out infinite;
}

@keyframes flow {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(5px);
    }
}

/* Responsive adjustments for pipeline */
@media (max-width: 768px) {
    .pipeline-flow {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .pipeline-arrows {
        transform: rotate(90deg);
    }
    
    .node-group {
        flex-direction: row;
        gap: 1rem;
    }
    
    .node {
        width: 40px;
        height: 40px;
    }
    
    .process-node {
        width: 50px;
        height: 50px;
    }
    
    .node-icon {
        font-size: 1rem;
    }
    
    .process-node .node-icon {
        font-size: 1.3rem;
    }
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3ea0ff;
}

.metric-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #0b1320;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Problem Section */
.problem {
    padding: 6rem 0;
    background: #0b1320;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.problem-item {
    text-align: center;
    padding: 2rem;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #dbe4f3;
}

.problem-item p {
    color: #9fb4d8;
    line-height: 1.6;
}

/* Solution Section */
.solution {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0e1623 0%, #0b1320 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.solution-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(47, 120, 255, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.step:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(47, 120, 255, 0.2);
}

.step-number {
    background: #2f78ff;
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(47, 120, 255, 0.35);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #dbe4f3;
}

.step-content p {
    color: #9fb4d8;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.connectors {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.connector {
    background: #2f78ff;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Use Case Section */
.use-case {
    padding: 6rem 0;
    background: #0b1320;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Comparison Section */
.comparison {
    padding: 6rem 0;
    background: #0e1623;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.comparison-intro p {
    font-size: 1.25rem;
    color: #9fb4d8;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(47, 120, 255, 0.15);
}

.comparison-number {
    background: #2f78ff;
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(47, 120, 255, 0.35);
}

.comparison-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #dbe4f3;
}

.comparison-split {
    display: grid;
    gap: 1rem;
}

.limitation {
    padding: 1rem;
    background: rgba(255, 107, 107, 0.1);
    border-left: 3px solid #ff6b6b;
    border-radius: 0.5rem;
    color: #dbe4f3;
    line-height: 1.6;
}

.solution {
    padding: 1rem;
    background: rgba(47, 120, 255, 0.1);
    border-left: 3px solid #2f78ff;
    border-radius: 0.5rem;
    color: #dbe4f3;
    line-height: 1.6;
}

.solution ul {
    margin: 0.5rem 0 0 1rem;
    padding: 0;
}

.solution li {
    margin-bottom: 0.25rem;
    color: #9fb4d8;
}

.limitation strong,
.solution strong {
    color: #dbe4f3;
    font-weight: 600;
}

.use-case-content {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.use-case-scenario, .use-case-solution, .use-case-result {
    text-align: center;
}

.use-case-scenario h3, .use-case-solution h3, .use-case-result h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #dbe4f3;
}

.use-case-scenario p, .use-case-result .result-note {
    color: #9fb4d8;
    line-height: 1.6;
    font-size: 1.1rem;
}

.solution-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 0.5rem;
    min-width: 120px;
    font-weight: 500;
    color: #dbe4f3;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.flow-icon {
    font-size: 1.5rem;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #3ea0ff;
    font-weight: bold;
}

.chat-example {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.chat-message {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: left;
}

.chat-message.user {
    background: rgba(47, 120, 255, 0.1);
    color: #3ea0ff;
}

.chat-message.ai {
    background: rgba(255, 255, 255, 0.04);
    color: #dbe4f3;
}

.chat-message:last-child {
    margin-bottom: 0;
}

.result-note {
    font-style: italic;
    margin-top: 1rem;
}

/* Contact Info in CTA */
.contact-info {
    margin-top: 1.5rem;
}

.contact-info a {
    color: #3ea0ff;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer Contact */
.footer-contact {
    margin-top: 1rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: #9fb4d8;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #dbe4f3;
    text-decoration: underline;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #dbe4f3;
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(47, 120, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(47, 120, 255, 0.25);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #dbe4f3;
}

.feature-card p {
    color: #9fb4d8;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0b1320 0%, #0e1623 100%);
    color: white;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: #0b1320;
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2f78ff;
    margin-bottom: 1rem;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 28px;
    width: auto;
}

.footer-brand p {
    color: #9fb4d8;
}

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

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #3ea0ff;
}

.footer-column a {
    display: block;
    color: #9fb4d8;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #dbe4f3;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1rem;
    text-align: center;
    color: #9fb4d8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .nav {
        padding: 1rem;
    }
    
    .nav-logo {
        height: 28px;
    }
    
    .footer-logo {
        height: 24px;
    }
    
    .nav-links {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .solution-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .comparison-card {
        flex-direction: column;
        text-align: center;
    }
    
    .comparison-split {
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}
