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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #E9292E;
    --primary-dark: #C91F23;
    --text-dark: #1D242A;
    --text-gray: #5A6C7D;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.brand-ai {
    color: var(--primary-color);
}

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

/* Navigation */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

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

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

.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-color);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    padding: 80px 0 120px;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
    font-weight: 600;
}

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

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.demo-gif {
    width: 100%;
    max-width: 700px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 48px;
}

/* Video Demo Section */
.video-demo {
    background: var(--bg-light);
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Section */
.features {
    background: var(--bg-white);
}

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

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

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.feature-icon-img {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

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

/* Capabilities Section */
.capabilities {
    background: var(--bg-light);
}

.capabilities-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
    margin-bottom: 48px;
}

.example-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    height: 280px;
}

.example-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.example-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.example-card h3 {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 24px 32px;
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1;
    max-width: 45%;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.capability-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-white);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.capability-check {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* Use Cases Section */
.use-cases {
    background: var(--bg-white);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.use-case-card {
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-4px);
}

.use-case-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 600;
}

.use-case-card p {
    line-height: 1.6;
    opacity: 0.95;
}

/* API Section */
.api-section {
    background: #1a1d23;
    color: white;
}

.api-section .section-title,
.api-section .section-subtitle {
    color: white;
}

.api-section .section-subtitle {
    color: #9ca3af;
}

.api-demo {
    background: #0d1117;
    border-radius: 12px;
    padding: 32px;
    margin-top: 48px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow-x: auto;
    border: 1px solid #30363d;
}

.api-demo pre {
    margin: 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.api-demo code {
    color: #c9d1d9;
}

/* CTA Section */
.cta-section {
    background: var(--bg-light);
}

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

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: 600;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.contact-email {
    margin-top: 40px;
    text-align: center;
}

.email-label {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.email-link {
    display: inline-block;
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    padding: 20px 40px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
}

.email-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.footer-logo img {
    height: 50px;
    margin-bottom: 16px;
    padding: 16px 20px;
    background: white;
    border-radius: 8px;
}

.footer-logo p {
    color: #94a3b8;
    max-width: 300px;
}

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

.footer-column h4 {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    text-align: center;
    color: #94a3b8;
}

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

    .hero-content h1 {
        font-size: 36px;
    }

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

    .nav-links {
        display: none;
    }

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

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

    .capabilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

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

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 28px;
    }

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

    section {
        padding: 48px 0;
    }

    .feature-card,
    .use-case-card {
        padding: 24px;
    }

    .api-demo {
        padding: 16px;
    }

    .api-demo pre {
        font-size: 12px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.capability-item,
.use-case-card {
    animation: fadeInUp 0.6s ease-out;
}
