@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #2563eb;
    --primary-hover-color: #1d4ed8;
    --secondary-color: #f59e0b;
    --secondary-hover-color: #d97706;
    --bg-color: #f8fafc;
    --bg-white: #fff;
    --text-color: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --input-border: #cbd5e1;
    --error-color: #ef4444;
    --error-bg: #fee2e2;
    --success-color: #10b981;
    --success-bg: #d1fae5;
    --font-family: 'Inter', sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}



/* Modal Styles */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.modal-backdrop.show {
    display: flex;
}

.modal-content {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
}

.modal-title {
    color: #0f172a;
    font-size: 1.25em;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 0;
}

.modal-text {
    color: #475569;
    font-size: 1em;
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-close-btn {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.modal-close-btn:hover {
    background: var(--primary-hover-color);
    transform: translateY(-1px);
}


/* Landing Page Specific Styles */
.landing-body {
    background-color: #ffffff;
    color: #1e293b;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

.hero-section {
    text-align: center;
    padding: 80px 20px 40px;
    background: linear-gradient(180deg, #dbeafe 0%, #ffffff 100%);
    color: #0f172a;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 24px;
}

.main-logo {
    width: 60px;
    height: 60px;
}

.brand-name {
    color: #0f172a;
    font-size: 2.5em;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
}

.main-headline {
    color: #0f172a;
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    max-width: 800px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
    max-width: 500px;
    width: 100%;
    text-align: left;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.feature-icon-wrapper svg {
    width: 100%;
    height: 100%;
}

.feature-text {
    font-size: 1.1em;
    color: #334155;
    line-height: 1.4;
}

.feature-title {
    font-weight: 700;
    color: #0f172a;
}

.feature-desc {
    color: #475569;
}

.pricing-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.plans-text {
    font-size: 1.25em;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* FAQ Section */
.faq-section {
    margin-top: 60px;
    width: 100%;
    max-width: 600px;
    text-align: left;
}

.faq-title {
    font-size: 1.5em;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 25px;
    text-align: center;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.faq-question {
    font-size: 1.1em;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 10px;
}

.faq-answer {
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    padding: 16px 48px;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    letter-spacing: 0.05em;
}

.cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.5), 0 8px 10px -6px rgba(37, 99, 235, 0.1);
    color: #ffffff;
}

.footer-nav {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.footer-nav p {
    color: #64748b;
}

.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9em;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #0f172a;
    text-decoration: none;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h1, h2 {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    margin-right: 5px;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn:hover {
    background: var(--primary-hover-color);
    transform: translateY(-1px);
}

.btn-small {
    display: inline-block;
    background: #e2e8f0;
    color: var(--text-color);
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.btn-small:hover {
    background: #cbd5e1;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e293b;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="number"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.error {
    color: var(--error-color);
    background: var(--error-bg);
    padding: 12px 16px;
    border-radius: 8px;
}

.success {
    color: var(--success-color);
    background: var(--success-bg);
    padding: 12px 16px;
    border-radius: 8px;
}

.grid {
    display: flex;
    gap: 20px;
}

.col {
    flex: 1;
}


.data-table-wrapper {
    overflow-x: auto;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.data-table th, .data-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table th {
    background-color: #f1f5f9;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.05em;
}

.badge {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending_materials { background: #fef3c7; color: #b45309; }
.status-agency_review { background: #e0f2fe; color: #0369a1; }
.status-client_review { background: #dbeafe; color: #1d4ed8; }
.status-finalized { background: #dcfce3; color: #166534; }

.file-list {
    list-style: none;
    padding: 0;
}

.file-list li {
    padding: 12px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    margin-bottom: 8px;
    border-radius: 6px;
}

.review-card {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.score-badge {
    background: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

.date {
    color: #666;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px 30px;
    }
    .brand-name {
        font-size: 1.8em;
    }
    .main-headline {
        font-size: 2em;
        margin-bottom: 30px;
        word-break: break-word;
    }
    .features-list {
        gap: 15px;
    }
    .feature-row {
        gap: 15px;
    }
    .feature-text {
        font-size: 1em;
    }
    .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
}

/* Platform Responsiveness */
@media (max-width: 768px) {
    .container {
        margin: 20px 10px;
        padding: 20px;
        border-radius: 8px;
    }

    .grid {
        flex-direction: column;
        gap: 15px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .data-table-wrapper {
        overflow-x: auto;
        display: block;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .btn {
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .review-header {
        flex-direction: column;
        gap: 5px;
    }
}
