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

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

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

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.2;
}

.problem-statements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.problem-item, .solution-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.problem-item h2, .solution-item h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.problem-item p, .solution-item p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.problem-item ul {
    list-style: none;
    padding-left: 0;
}

.problem-item li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.problem-item li::before {
    content: "❌";
    position: absolute;
    left: 0;
}

.benefits {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.benefit h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #34d399;
}

.benefit p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Main Content */
.main-content {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
    font-weight: 700;
}

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

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #374151;
    font-style: italic;
}

.testimonial-content p::before {
    content: """;
    font-size: 2rem;
    color: #2563eb;
    line-height: 1;
}

.testimonial-content p::after {
    content: """;
    font-size: 2rem;
    color: #2563eb;
    line-height: 1;
}

.author-info h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #64748b;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 5rem 0 2rem;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content > p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.email-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    outline: none;
    transition: box-shadow 0.2s;
    font-family: inherit;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

.form-help {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.cta-button {
    background: #2563eb;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
}

.cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.cta-button:active {
    transform: translateY(0);
}

.alternative-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.alternative-contact p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.alternative-contact a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
}

.alternative-contact a:hover {
    text-decoration: underline;
}

.process-note {
    font-size: 1.1rem;
    background: rgba(34, 197, 94, 0.2);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Form Message Styles */
.form-message {
    margin-top: 2rem;
    animation: fadeIn 0.5s ease-in;
}

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

.success-message {
    background: rgba(34, 197, 94, 0.2);
    border: 2px solid rgba(34, 197, 94, 0.4);
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
}

.error-message {
    background: rgba(251, 191, 36, 0.2);
    border: 2px solid rgba(251, 191, 36, 0.4);
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
}

.success-message h3 {
    color: #22c55e;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.error-message h3 {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.success-message p,
.error-message p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.success-message ol,
.error-message ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.success-message ul,
.error-message ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.success-message li,
.error-message li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.success-message a,
.error-message a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
}

.success-message a:hover,
.error-message a:hover {
    text-decoration: underline;
}

.success-message .next-steps h4 {
    color: #22c55e;
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.1rem;
}

.success-message .contact-info {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.success-message .note,
.error-message .note {
    background: rgba(59, 130, 246, 0.2);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    border-left: 4px solid #3b82f6;
}

#submitted-email,
#submitted-message,
#error-submitted-email,
#error-submitted-message {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    word-break: break-all;
}

/* Footer */
.footer-bottom {
    background: #0f172a;
    padding: 1rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .problem-statements {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .problem-item, .solution-item {
        padding: 1.5rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
    
    .cta-form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .nav-logo h1 {
        font-size: 1.3rem;
    }
    
    .problem-item h2, .solution-item h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        padding: 2rem 0;
    }
    
    .main-content {
        padding: 3rem 0;
    }
    
    .cta-section {
        padding: 3rem 0 2rem;
    }
}

/* Focus and accessibility improvements */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

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