/* Firebreak - Common Styles */

/* CSS Variables - Professional Palette with Data Viz */
:root {
    /* Primary Brand Colors */
    --navy-blue: #1a2a66;
    --logo-red: #CE2029;

    /* Backgrounds - Simplified */
    --papyrus: #f5f1ea;
    --white: #ffffff;

    /* Data Visualization - VIBGYOR Rainbow */
    --viz-violet: #8b5cf6;
    --viz-indigo: #6366f1;
    --viz-blue: #3b82f6;
    --viz-green: #10b981;
    --viz-yellow: #fbbf24;
    --viz-orange: #f97316;
    --viz-red: #ef4444;

    /* Functional Colors */
    --green-grade: #10b981;
    --orange-grade: #f97316;
    --red-grade: #ef4444;
    --text-primary: #1c1c1e;
    --text-muted: #6b7280;
}

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

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: #1c1c1e;
    line-height: 1.6;
    background: #f5f5f7;
}

/* Header */
header {
    background: var(--navy-blue);
    color: white;
    padding: 30px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 28px;
    width: auto;
}

.app-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

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

nav a:hover {
    opacity: 0.8;
}

.btn-header {
    background: var(--logo-red);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: var(--navy-blue);
    color: white;
    padding: 120px 60px;
    text-align: center;
}

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

.hero h1 {
    font-size: 48px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 60px;
    opacity: 0.95;
    line-height: 1.6;
}

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

/* Buttons */
.btn {
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #b01d24;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--navy-blue);
}

.btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-success {
    background: var(--green-grade);
    color: white;
}

.btn-success:hover {
    background: #5a9945;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--red-grade);
    color: white;
}

.btn-danger:hover {
    background: #c23030;
    transform: translateY(-2px);
}

.page-title {
    font-size: 48px;
    color: var(--navy-blue);
    text-align: center;
}

.page-subtitle {
    font-size: 20px;
    color: #999;
    margin-bottom: 60px;
    text-align: center;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 90px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--navy-blue);
    margin-bottom: 24px;
}

.how-it-works .section-header h2 {
    color: white;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.how-it-works .section-header p {
    color: rgba(255,255,255,0.8);
}

.how-it-works .step-number {
    background-color: var(--papyrus);
    color: var(--navy-blue);
}
/* Features Section */
.features {
    padding: 120px 60px;
    background: var(--white);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.feature-card {
    text-align: center;
    padding: 45px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--papyrus);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 36px;
    color: var(--navy-blue);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--navy-blue);
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* Benefits Section */
.benefits {
    padding: 120px 60px;
    background: var(--papyrus);
}

.benefits-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.benefit-list {
    list-style: none;
}

.benefit-item {
    display: flex;
    gap: 30px;
    margin-bottom: 45px;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--navy-blue);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--navy-blue);
}

.benefit-text p {
    color: #666;
    font-size: 14px;
}

.benefits-image {
    text-align: center;
}

.app-preview {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* Insurance Section */
.insurance {
    padding: 120px 60px;
    background: var(--white);
}

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

.insurance-highlight {
    background: var(--navy-blue);
    color: white;
    padding: 90px 60px;
    border-radius: 20px;
    margin-bottom: 60px;
}

.insurance-highlight h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.insurance-highlight p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.insurance-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: var(--papyrus);
    padding: 45px;
    border-radius: 12px;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

/* How It Works */
.how-it-works {
    padding: 120px 60px;
    background: var(--navy-blue);
    color: white;
}

.steps {
    max-width: 1200px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--navy-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step p {
    opacity: 0.9;
}

/* CTA Section */
.cta {
    padding: 120px 60px;
    background: var(--papyrus);
    text-align: center;
}

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

.cta h2 {
    font-size: 36px;
    color: var(--navy-blue);
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* Content Section */
.content-section {
    padding: 120px 60px;
    background: var(--white);
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 22px;
    color: var(--navy-blue);
    margin-bottom: 16px;
}

.card p {
    color: #666;
    line-height: 1.7;
}

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

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

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy-blue);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5ea;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--navy-blue);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: var(--navy-blue);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

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

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

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

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

footer {
    background: var(--navy-blue);
    color: white;
    padding: 40px 20px;
    margin-top: 80px;
}

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

.footer-content p {
    color: rgba(255,255,255,0.6);
}

.footer-content a {
    color: white;
    text-decoration: none;
}


/* FAQ Styles */
.faq-item {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-answer {
    color: #666;
    line-height: 1.7;
    padding-left: 32px;
}

/* Tutorial Styles */
.tutorial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.tutorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.tutorial-icon {
    width: 60px;
    height: 60px;
    background: var(--papyrus-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--navy-blue);
    margin-bottom: 20px;
}

.tutorial-card h3 {
    font-size: 20px;
    color: var(--navy-blue);
    margin-bottom: 12px;
}

.tutorial-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Resource Styles */

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.resource-category {
    margin-bottom: 60px;
}

.resource-category h3 {
    font-size: 28px;
    color: var(--navy-blue);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--papyrus-light);
}

.resource-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.resource-icon {
    width: 50px;
    height: 50px;
    background: var(--papyrus-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--navy-blue);
    flex-shrink: 0;
}

.resource-content h4 {
    font-size: 18px;
    color: var(--navy-blue);
    margin-bottom: 8px;
}

.resource-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* Support Styles */
.support-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

.support-icon {
    width: 80px;
    height: 80px;
    background: var(--papyrus-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: var(--navy-blue);
}

.support-card h3 {
    font-size: 24px;
    color: var(--navy-blue);
    margin-bottom: 16px;
}

.support-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Queue and Upload Styles */
.error-message {
    font-size: 12px;
    color: #c62828;
    margin-top: 8px;
    padding: 8px;
    background: #ffebee;
    border-radius: 6px;
}

.progress-info {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

/* Form Shared Styles */
.page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.form-hint {
    font-size: 13px;
    color: #8e8e93;
    margin-top: 5px;
}

.form-label.required::after {
    content: " *";
    color: var(--red-grade);
}

.success-message {
    background: white;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: none;
}

.success-message.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--green-grade);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
}

/* Utility Classes */
.mt-2 {
    margin-top: 16px;
}

.mb-2 {
    margin-bottom: 16px;
}

.text-center {
    text-align: center;
}

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

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        display: none;
    }

    .hero h1 {
        font-size: 32px;
    }

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

    .benefits-content {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .insurance-highlight h3 {
        font-size: 24px;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }
}


