/* 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: #f8fafc;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.8;
}

/* Ad Banners */
.ad-banner-top,
.ad-banner-bottom {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    text-align: center;
}

.ad-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    z-index: 1000;
}

/* Main Content */
.main {
    min-height: calc(100vh - 200px);
    padding: 1.5rem 0;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Upload Section */
.upload-section {
    margin-bottom: 4rem;
}

.upload-container {
    max-width: 600px;
    margin: 0 auto;
}

.upload-area {
    border: 3px dashed #cbd5e1;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    border-color: #667eea;
    background: #f8fafc;
}

.upload-area.dragover {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: scale(1.02);
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #667eea;
    display: flex;
    justify-content: center;
    align-items: center;
}

.upload-area h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.upload-area p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.browse-link {
    color: #667eea;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.file-info {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Progress Bar */
.progress-container {
    margin-top: 2rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    color: #64748b;
    font-weight: 500;
}

/* Messages */
.message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.message.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Features Section */
.features {
    margin-bottom: 4rem;
}

.features h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 3rem;
}

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

.feature {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #667eea;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1rem;
}

.feature p {
    color: #64748b;
}

/* How It Works Section */
.how-it-works {
    margin-bottom: 4rem;
}

.how-it-works h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 3rem;
}

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

.step {
    text-align: center;
    position: relative;
}

.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: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.step p {
    color: #64748b;
}

/* About Section */
.about {
    position: relative;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 24px;
    padding: 1px;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-content {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 23px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.about-icon {
    margin: 0 auto 2rem;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.about h3 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.about-description {
    margin-bottom: 2.5rem;
}

.about-description p {
    color: #334155;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
    font-weight: 600;
    color: #334155;
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.8);
}

.feature-badge {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0;
    }
    
    .main {
        padding: 1rem 0;
    }
    
    .footer {
        padding: 0.75rem 0;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .nav {
        display: none;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .features h3,
    .how-it-works h3 {
        font-size: 2rem;
    }
    
    .features-grid,
    .steps {
        grid-template-columns: 1fr;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .ad-sidebar {
        display: none;
    }
    
    .about-content {
        padding: 2rem 1.5rem;
    }
    
    .about h3 {
        font-size: 2rem;
    }
    
    .about-features {
        gap: 1rem;
    }
    
    .about-feature {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .upload-area {
        padding: 1.5rem 1rem;
    }
    
    .upload-icon {
        font-size: 3rem;
    }
    
    .upload-area h3 {
        font-size: 1.3rem;
    }
    
    .feature,
    .about {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Loading Animation */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* File Upload Styles */
.file-selected {
    background: #f0fdf4 !important;
    border-color: #22c55e !important;
}

.file-selected .upload-icon {
    color: #22c55e;
}

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

/* Accessibility Enhancements */
.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;
}

/* Focus styles for better accessibility */
*:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
[tabindex]:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #667eea;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Enhanced contrast for better readability */
.upload-area[role="button"]:focus {
    border-color: #667eea;
    background: #f8fafc;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

/* Print styles for better SEO */
@media print {
    .ad-banner-top,
    .ad-banner-bottom,
    .ad-sidebar {
        display: none !important;
    }
    
    .header,
    .footer {
        background: white !important;
        color: black !important;
    }
    
    .hero h2 {
        color: black !important;
        -webkit-text-fill-color: initial !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .upload-area {
        border-color: #000;
    }
    
    .hero h2 {
        color: #000;
        -webkit-text-fill-color: initial;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Hide scrollbar for ad sidebar on smaller screens */
@media (max-width: 1400px) {
    .ad-sidebar {
        display: none;
    }
}

/* Educational Content Section */
.educational-content {
    margin: 3rem 0;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
}

.educational-content h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
    margin-bottom: 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.content-article {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 4px solid #667eea;
}

.content-article h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1rem;
}

.content-article p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.content-article p:last-child {
    margin-bottom: 0;
}

/* Content Ad Placement */
.content-ad-placement {
    margin: 3rem 0;
    padding: 1rem;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

/* Tutorial Section */
.tutorial-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.tutorial-section h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
    margin-bottom: 2rem;
}

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

.tutorial-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.tutorial-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tutorial-item h4::before {
    content: "📚";
    font-size: 1.2rem;
}

.tutorial-item p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.tutorial-item p:last-child {
    margin-bottom: 0;
}

/* Enhanced FAQ Section */
.faq-section {
    margin: 3rem 0;
    padding: 2rem 0;
    background: #f8fafc;
    border-radius: 16px;
}

.faq-section h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
    margin-bottom: 2rem;
}

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

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 4px solid #10b981;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item h4::before {
    content: "❓";
    font-size: 1rem;
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    margin: 3rem 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    text-align: center;
    color: white;
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .content-grid,
    .tutorial-content,
    .faq-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .educational-content,
    .tutorial-section,
    .faq-section {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }
    
    .educational-content h3,
    .tutorial-section h3,
    .faq-section h3 {
        font-size: 1.3rem;
    }
    
    .content-article,
    .tutorial-item,
    .faq-item {
        padding: 1.5rem;
    }
    
    .content-article h4,
    .tutorial-item h4,
    .faq-item h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .content-grid,
    .tutorial-content,
    .faq-container {
        padding: 0 0.5rem;
    }
    
    .content-article,
    .tutorial-item,
    .faq-item {
        padding: 1rem;
    }
    
    .educational-content h3,
    .tutorial-section h3,
    .faq-section h3 {
        font-size: 1.3rem;
    }
}

/* Legal Pages Styles */
.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: #64748b;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.legal-content {
    line-height: 1.7;
}

.legal-content section {
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1rem;
    border-left: 4px solid #667eea;
    padding-left: 1rem;
}

.legal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #475569;
    margin: 1.5rem 0 0.75rem 0;
}

.legal-content p {
    margin-bottom: 1rem;
    color: #334155;
}

.legal-content ul {
    margin: 1rem 0 1rem 1.5rem;
    color: #334155;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: #667eea;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #764ba2;
}

.contact-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin: 1rem 0;
}

.privacy-summary, .terms-summary {
    background: #f0fdf4;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
    margin: 1rem 0;
}

.privacy-summary h3, .terms-summary h3 {
    color: #166534;
    margin-bottom: 1rem;
}

.privacy-summary ul, .terms-summary ul {
    margin-left: 0;
    list-style: none;
}

.privacy-summary li, .terms-summary li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

/* Contact Page Styles */
.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.contact-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-methods h2, .contact-form-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #64748b;
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: #667eea;
    text-decoration: none;
}

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

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group small {
    display: block;
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Business Info Section */
.business-info {
    margin: 4rem 0;
}

.business-info h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
    margin-bottom: 2rem;
}

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

.business-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.business-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1rem;
}

.business-item p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

/* Quick Tips Section */
.quick-tips {
    margin: 4rem 0;
}

.quick-tips h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
    margin-bottom: 2rem;
}

.tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.tip-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.tip-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.tip-content p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive Design for Legal and Contact Pages */
@media (max-width: 768px) {
    .legal-page, .contact-page {
        padding: 1rem 0;
    }
    
    .legal-page h1, .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .faq-grid, .business-grid, .tips-list {
        grid-template-columns: 1fr;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .tip {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .legal-content h2 {
        font-size: 1.3rem;
    }
    
    .contact-hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Blog Page Styles */
.blog-page {
    background: #f8fafc;
}

.blog-hero {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    margin-bottom: 3rem;
}

.blog-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.featured-article {
    margin-bottom: 3rem;
}

.blog-post {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.blog-post.featured {
    border: 2px solid #667eea;
}

.post-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.post-category {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.blog-post.featured .post-category {
    background: #10b981;
}

.post-header h2,
.post-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.post-header h2 a,
.post-header h3 a {
    color: #334155;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-header h2 a:hover,
.post-header h3 a:hover {
    color: #667eea;
}

.blog-post.featured .post-header h2 {
    font-size: 1.8rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    color: #64748b;
    font-size: 0.9rem;
}

.post-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.post-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #334155;
    margin: 1.5rem 0 1rem 0;
}

.post-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin: 1.25rem 0 0.75rem 0;
}

.post-content p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.post-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.post-content li {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.post-content strong {
    color: #334155;
    font-weight: 600;
}

.post-excerpt {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.post-excerpt p {
    color: #64748b;
    line-height: 1.6;
}

.blog-posts {
    margin: 3rem 0;
}

.blog-posts h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
    margin-bottom: 2rem;
}

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

.newsletter-section {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
}

.newsletter-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto 1rem auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.newsletter-form button:hover {
    background: #059669;
}

.newsletter-disclaimer {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0;
}

/* Blog Page Responsive Design */
@media (max-width: 768px) {
    .blog-hero {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-hero p {
        font-size: 1rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-header h2,
    .post-header h3 {
        font-size: 1.3rem;
    }
    
    .blog-post.featured .post-header h2 {
        font-size: 1.5rem;
    }
    
    .newsletter-section {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
    
    .newsletter-content h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .newsletter-form button {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 1.8rem;
    }
    
    .post-header,
    .post-content,
    .post-excerpt {
        padding: 1rem;
    }
    
    .post-header h2,
    .post-header h3 {
        font-size: 1.2rem;
    }
    
    .newsletter-content h3 {
        font-size: 1.3rem;
    }
}

/* Article Page Styles */
.article-page {
    background: #f8fafc;
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin: 1rem 0 2rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #94a3b8;
}

.breadcrumb-current {
    color: #64748b;
}

/* Article Header */
.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-category {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-meta time {
    color: #64748b;
    font-size: 0.9rem;
}

.reading-time {
    color: #64748b;
    font-size: 0.9rem;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Article Content */
.article-content {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
}

.article-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.article-section {
    margin-bottom: 3rem;
}

.article-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1.5rem;
    border-left: 4px solid #667eea;
    padding-left: 1rem;
}

.article-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #334155;
    margin: 2rem 0 1rem 0;
}

.article-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #475569;
    margin: 1.5rem 0 0.75rem 0;
}

.article-section p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.article-section ul,
.article-section ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article-section li {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.article-section strong {
    color: #334155;
    font-weight: 600;
}

/* Feature List */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Tip Box */
.tip-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.tip-box h4 {
    color: #92400e;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tip-box p {
    color: #92400e;
    margin-bottom: 0;
}

/* Checklist */
.checklist {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.checklist h4 {
    color: #166534;
    font-weight: 600;
    margin-bottom: 1rem;
}

.checklist ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.checklist li {
    color: #166534;
    margin-bottom: 0.5rem;
    padding-left: 0;
}

/* Best Practices */
.best-practices {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.best-practices h3 {
    color: #334155;
    font-weight: 600;
    margin-bottom: 1rem;
    border-left: 3px solid #667eea;
    padding-left: 1rem;
}

.best-practices ul {
    margin-bottom: 2rem;
}

.best-practices li {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.cta-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.cta-box p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-box .cta-button {
    background: white;
    color: #667eea;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-box .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Blog page specific CTA styling */
.blog-page .cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
}

.blog-page .cta-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.blog-page .cta-box p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    color: white;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.blog-page .cta-box .cta-button {
    background: white;
    color: #667eea;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-page .cta-box .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    background: #f8fafc;
}

/* Related Articles */
.related-articles {
    margin: 3rem 0;
}

.related-articles h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
    margin-bottom: 2rem;
}

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

.related-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.related-item h3 {
    margin-bottom: 0.75rem;
}

.related-item h3 a {
    color: #334155;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.related-item h3 a:hover {
    color: #667eea;
}

.related-item p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Article Page Responsive Design */
@media (max-width: 768px) {
    .article-header {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1rem;
    }
    
    .article-content {
        padding: 2rem 1.5rem;
    }
    
    .article-section h2 {
        font-size: 1.5rem;
    }
    
    .article-section h3 {
        font-size: 1.2rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-content {
        padding: 1.5rem 1rem;
    }
    
    .tip-box,
    .checklist,
    .best-practices {
        padding: 1rem;
    }
} 