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

:root {
    --primary-red: rgb(235, 10, 30);
    --dark-red: rgb(180, 8, 23);
    --light-gray: #f8f9fa;
    --dark-gray: #333;
    --text-gray: #666;
    --border-gray: #e0e0e0;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-hero: linear-gradient(135deg, rgba(235, 10, 30, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
    --text-primary: #333;
    --text-secondary: #666;
    --card-bg: #ffffff;
    --card-shadow: rgba(0,0,0,0.1);
    --footer-bg: #333;
    --footer-text: #ffffff;
    --footer-text-muted: rgba(255, 255, 255, 0.7);
    --footer-border: rgba(255, 255, 255, 0.1);
    --phone-screen-bg: #f5f5f5;
    --chat-bubble-bg: #ffffff;
    --chat-bubble-text: #333;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1a1a1a;
        --bg-secondary: #2a2a2a;
        --bg-hero: linear-gradient(135deg, rgba(235, 10, 30, 0.1) 0%, rgba(26, 26, 26, 1) 100%);
        --light-gray: #2a2a2a;
        --dark-gray: #e0e0e0;
        --text-gray: #aaa;
        --border-gray: #404040;
        --text-primary: #e0e0e0;
        --text-secondary: #aaa;
        --card-bg: #2a2a2a;
        --card-shadow: rgba(0,0,0,0.4);
        --footer-bg: #0a0a0a;
        --footer-text: #e0e0e0;
        --footer-text-muted: #aaa;
        --footer-border: rgba(255, 255, 255, 0.05);
        --phone-screen-bg: #1a1a1a;
        --chat-bubble-bg: #ffffff;
        --chat-bubble-text: #000000;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Navigation */
.navbar {
    background: var(--card-bg);
    box-shadow: 0 2px 10px var(--card-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

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

.logo {
    display: block;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

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

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

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

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

.btn-demo:hover {
    background: var(--dark-red);
}

/* Hero Section */
.hero {
    padding: 80px 20px;
    background: var(--bg-hero);
    transition: background 0.3s ease;
}

.hero .container {
    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(--text-primary);
}

.hero-title .highlight {
    color: var(--primary-red);
    font-weight: 900;
    letter-spacing: 2px;
    font-family: 'Arial Black', sans-serif;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

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

.btn-primary {
    background: var(--primary-red);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(235, 10, 30, 0.3);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--primary-red);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--primary-red);
    transition: all 0.3s;
    display: inline-block;
}

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

/* Phone Mockup */
.phone-mockup {
    background: var(--card-bg);
    border-radius: 40px;
    padding: 16px;
    box-shadow: 0 20px 60px var(--card-shadow);
    max-width: 360px;
    margin: 0 auto;
    transition: background-color 0.3s ease;
}

.phone-screen {
    background: var(--phone-screen-bg);
    border-radius: 28px;
    padding: 40px 20px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background-color 0.3s ease;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.4;
    animation: slideIn 0.3s ease-out;
}

.chat-bubble.customer {
    background: var(--chat-bubble-bg);
    color: var(--chat-bubble-text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.otto {
    background: var(--primary-red);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

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

.feature-card {
    padding: 32px;
    background: var(--card-bg);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s ease;
    border: 1px solid var(--border-gray);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(235, 10, 30, 0.2);
}

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

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

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

/* How It Works Section */
.how-it-works {
    padding: 100px 20px;
    background: var(--bg-hero);
    transition: background 0.3s ease;
}

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

.step {
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-red);
    color: white;
    font-size: 36px;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 400px;
    margin: 0 auto;
}

/* Pricing Section */
.pricing {
    padding: 100px 20px;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s ease;
    border: 1px solid var(--border-gray);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px var(--card-shadow);
}

.pricing-card.featured {
    background: var(--card-bg);
    border: 3px solid var(--primary-red);
}

.badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-red);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-gray);
}

.amount {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary-red);
    font-family: 'Arial Black', sans-serif;
}

.period {
    font-size: 18px;
    color: var(--text-gray);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-gray);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li:before {
    content: "✓ ";
    color: var(--primary-red);
    font-weight: 700;
    margin-right: 8px;
}

.btn-pricing {
    display: block;
    background: var(--primary-red);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
}

.btn-pricing:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
}

/* CTA Section */
.cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    text-align: center;
}

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

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

.cta .btn-primary {
    background: var(--card-bg);
    color: var(--primary-red);
}

.cta .btn-primary:hover {
    background: var(--bg-secondary);
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 20px 30px;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-img {
    height: 60px;
    width: auto;
}

.footer-brand p {
    color: var(--footer-text-muted);
}

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

.footer-column h4 {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--footer-text);
}

.footer-column a {
    display: block;
    color: var(--footer-text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--footer-text);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--footer-border);
    text-align: center;
    color: var(--footer-text-muted);
}

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

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

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

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

    .hero-cta a {
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .features-grid,
    .steps,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        gap: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta h2 {
        font-size: 32px;
    }
}
