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

:root {
    --primary-red: #FF4444;
    --dark-red: #DC2626;
    --accent-orange: #FF6B35;
    --charcoal: #1a1a2e;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2d3748;
    --text-light: #718096;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--charcoal);
}

.logo-icon {
    font-size: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-demo {
    background: var(--primary-red);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

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

.btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 68, 68, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 68, 68, 0.1) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, -50px) rotate(180deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--charcoal);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-red);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Neural Network Visualization */
.hero-visual {
    position: relative;
    height: 500px;
}

.neural-network {
    position: relative;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-orange) 100%);
    box-shadow: 0 8px 30px rgba(255, 68, 68, 0.4);
    animation: pulse 3s infinite ease-in-out;
}

.node-1 { top: 10%; left: 20%; animation-delay: 0s; }
.node-2 { top: 30%; right: 10%; animation-delay: 0.6s; }
.node-3 { bottom: 30%; left: 10%; animation-delay: 1.2s; }
.node-4 { bottom: 10%; right: 30%; animation-delay: 1.8s; }
.node-5 { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100px; height: 100px; animation-delay: 2.4s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red) 0%, transparent 100%);
    opacity: 0.3;
    animation: flow 2s infinite linear;
}

@keyframes flow {
    0% { opacity: 0.1; }
    50% { opacity: 0.5; }
    100% { opacity: 0.1; }
}

/* Problem Solution Section */
.problem-solution {
    padding: 80px 0;
    background: var(--white);
}

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

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

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

.problem-card {
    padding: 32px;
    background: var(--light-gray);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 22px;
    color: var(--charcoal);
    margin-bottom: 12px;
}

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

.solution-banner {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    padding: 48px;
    border-radius: 16px;
    text-align: center;
    color: var(--white);
}

.solution-banner h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.solution-banner p {
    font-size: 18px;
    opacity: 0.95;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.feature-card {
    background: var(--white);
    padding: 36px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-red);
    box-shadow: 0 12px 30px rgba(255, 68, 68, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.step {
    flex: 1;
    background: var(--light-gray);
    padding: 40px;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-red);
    opacity: 0.3;
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 24px;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
}

.step-arrow {
    font-size: 36px;
    color: var(--primary-red);
    font-weight: 800;
}

/* Use Cases Section */
.use-cases {
    padding: 80px 0;
    background: var(--light-gray);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.use-case-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(255, 68, 68, 0.15);
}

.use-case-card h3 {
    font-size: 24px;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.use-case-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.benefit {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-orange) 100%);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, #2d3748 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

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

.cta-content > p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

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

.email-input {
    flex: 1;
    max-width: 350px;
    padding: 14px 20px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    outline: none;
}

.cta-note {
    font-size: 14px;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 16px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-red);
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: 42px;
    }

    .features-grid,
    .problems-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .cta-form {
        flex-direction: column;
    }

    .email-input {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
}
