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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    font-weight: 400;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #000;
    background-color: transparent;
    color: #000;
    text-decoration: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.btn:hover {
    background-color: #000;
    color: #fff;
}

.btn-primary {
    background-color: #000;
    color: #fff;
}

.btn-primary:hover {
    background-color: #333;
}

.btn-secondary {
    background-color: transparent;
    color: #000;
    border-color: #000;
}

.btn-secondary:hover {
    background-color: #000;
    color: #fff;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

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

.nav-brand h1 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #666;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-note {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Problem Section */
.problem {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.problem h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.problem-item {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border: 1px solid #eee;
}

.problem-item h3 {
    color: #d32f2f;
    margin-bottom: 1rem;
}

/* Solution Section */
.solution {
    padding: 80px 0;
}

.solution h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.solution-item {
    padding: 2rem;
    border: 1px solid #eee;
    text-align: center;
}

.solution-item h3 {
    margin-bottom: 1rem;
    color: #000;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background-color: #fff;
    padding: 2rem;
    border: 1px solid #eee;
    text-align: left;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* Integration Section */
.integration {
    padding: 80px 0;
}

.integration h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.integration-item {
    padding: 2rem;
    border: 1px solid #eee;
    text-align: center;
}

/* Demo Section */
.demo {
    padding: 80px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.demo h2 {
    margin-bottom: 1rem;
}

.demo p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #666;
}

.demo-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    text-align: center;
    background-color: #000;
    color: #fff;
}

.cta h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta p {
    color: #ccc;
    margin-bottom: 2rem;
}

.cta .btn-primary {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

.cta .btn-primary:hover {
    background-color: #f0f0f0;
}

.cta-note {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 1rem;
}

/* Website Scanner Section */
.scanner {
    padding: 80px 0;
    background-color: #f0f8ff;
    text-align: center;
}

.scanner h2 {
    margin-bottom: 1rem;
}

.scanner p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.scanner-form {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.scan-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.scan-input-group input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.scan-input-group input:focus {
    outline: none;
    border-color: #000;
}

.scan-note {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.scan-results {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    text-align: left;
}

.scan-score {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.score-circle {
    text-align: center;
    min-width: 120px;
}

.score-number {
    font-size: 3rem;
    font-weight: 600;
    color: #000;
}

.score-label {
    font-size: 0.9rem;
    color: #666;
}

.score-details h3 {
    margin-bottom: 0.5rem;
}

.scan-issues {
    margin-bottom: 2rem;
}

.scan-issues ul {
    list-style: none;
    padding: 0;
}

.scan-issues li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.scan-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.email-report {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.email-input-group {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 1rem auto 0;
}

.email-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
}

/* Footer */
.footer {
    padding: 60px 0 20px;
    background-color: #f8f8f8;
    border-top: 1px solid #eee;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #000;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #666;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid #eee;
        gap: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .demo-buttons {
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 15px;
    }

    .problem-grid,
    .solution-grid,
    .features-grid,
    .integration-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .problem-item,
    .solution-item,
    .feature-card,
    .integration-item {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Loading optimization */
.hero {
    min-height: 60vh;
}

/* Performance optimizations */
.nav {
    will-change: transform;
}

.btn {
    will-change: background-color, color;
}
