/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.hero-background {
    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 1000 1000"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23e0e7ff" stroke-width="1" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-headline {
    margin-bottom: 24px;
    color: #1a202c;
    font-weight: 700;
}

.hero-subheadline {
    margin-bottom: 40px;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #4a5568;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Problem → Outcome Section */
.problem-outcome {
    padding: 100px 0;
    background: white;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
    color: #1a202c;
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    font-weight: 600;
}

.problem-outcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.before-column h2 {
    color: #e53e3e;
    margin-bottom: 40px;
    font-size: 1.5rem;
    font-weight: 600;
}

.after-column h2 {
    color: #38a169;
    margin-bottom: 40px;
    font-size: 1.5rem;
    font-weight: 600;
}

.problem-item,
.outcome-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.problem-item {
    background: #fef5e7;
    border-left: 4px solid #f56565;
}

.outcome-item {
    background: #f0fff4;
    border-left: 4px solid #48bb78;
}

.problem-item:hover,
.outcome-item:hover {
    transform: translateX(8px);
}

.problem-icon,
.outcome-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.problem-item p,
.outcome-item p {
    font-size: 16px;
    color: #2d3748;
    margin: 0;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
}

.stat-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: white;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Tool Sections */
.tools {
    padding: 100px 0;
    background: #fafafa;
}

.tool-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
    padding: 60px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tool-section:hover {
    transform: translateY(-8px);
}

.tool-section:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.tool-section:nth-child(even) .tool-content {
    order: 2;
}

.tool-section:nth-child(even) .tool-video {
    order: 1;
}

.tool-content h2 {
    color: #1a202c;
    margin-bottom: 16px;
}

.tool-value-prop {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 32px;
    font-weight: 500;
}

.tool-features {
    list-style: none;
}

.tool-features li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: #2d3748;
    font-size: 16px;
}

.tool-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
    font-size: 18px;
}

.tool-video {
    display: flex;
    justify-content: center;
    align-items: center;
}

.demo-video {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.demo-video:hover {
    transform: scale(1.02);
}

.video-fallback {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.video-fallback p {
    font-size: 18px;
    font-weight: 500;
    color: white;
    margin-bottom: 8px;
}

/* Keep placeholder styles for any remaining placeholders */
.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.play-button {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.video-placeholder p {
    font-size: 18px;
    font-weight: 500;
    color: white;
}

/* Coming Soon Section */
.tool-section.coming-soon {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px dashed #cbd5e0;
    opacity: 0.8;
}

.tool-section.coming-soon h2 {
    color: #4a5568;
}

.tool-section.coming-soon .tool-value-prop {
    color: #718096;
    font-style: italic;
}

.tool-section.coming-soon .tool-features li {
    color: #718096;
}

.coming-soon-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #4a5568;
    border: 2px dashed #a0aec0;
}

.coming-soon-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.coming-soon-placeholder p {
    font-size: 18px;
    font-weight: 500;
    color: #4a5568;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.how-it-works h2 {
    margin-bottom: 60px;
    color: #1a202c;
}

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

.step {
    padding: 40px 20px;
    border-radius: 16px;
    background: #f7fafc;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 24px;
}

.step h3 {
    margin-bottom: 16px;
    color: #1a202c;
}

.step p {
    color: #4a5568;
}

.integrations {
    margin-top: 60px;
}

.integrations p {
    font-size: 18px;
    margin-bottom: 24px;
    color: #4a5568;
}

.integration-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.integration-logo {
    padding: 16px 24px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.3s ease;
}

.integration-logo:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Why Choose Section */
.why-choose {
    padding: 100px 0;
    background: #f7fafc;
}

.why-choose h2 {
    text-align: center;
    margin-bottom: 60px;
    color: #1a202c;
}

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

.benefit-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 24px;
}

.benefit-item h3 {
    margin-bottom: 16px;
    color: #1a202c;
}

.benefit-item p {
    color: #4a5568;
}

/* Final CTA Section */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 40px;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta .btn-primary {
    background: white;
    color: #667eea;
}

.final-cta .btn-primary:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.final-cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.final-cta .btn-secondary:hover {
    background: white;
    color: #667eea;
}

/* Footer */
.footer {
    padding: 40px 0;
    background: #1a202c;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo h3 {
    color: white;
    font-size: 1.5rem;
}

.footer-contact p {
    margin-bottom: 8px;
    color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .problem-outcome-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .tool-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
        margin-bottom: 80px;
    }
    
    .tool-section:nth-child(even) .tool-content,
    .tool-section:nth-child(even) .tool-video {
        order: initial;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 250px;
        text-align: center;
    }
    
    .integration-logos {
        gap: 16px;
    }
    
    .integration-logo {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .tool-section {
        padding: 24px;
    }
    
    .step {
        padding: 24px 16px;
    }
    
    .benefit-item {
        padding: 24px 16px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for video placeholders */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.video-placeholder:hover .play-button {
    animation: pulse 2s infinite;
}