/**
 * Cedula Cheque Landing Pages - Unified Stylesheet
 * Matches dashboard styling patterns for consistent brand experience
 */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f9fafb; /* bg-gray-50 */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

/* ===== HEADER ===== */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb; /* border-gray-200 */
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #111827; /* text-gray-900 */
}

/* ===== MAIN CONTENT ===== */
main {
    flex: 1;
    padding: 40px 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    color: #111827; /* text-gray-900 */
    font-weight: 700;
    line-height: 1.3;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    text-align: center;
}

.page-subtitle {
    font-size: 16px;
    color: #6b7280; /* text-gray-500 */
    margin-bottom: 32px;
    text-align: center;
}

p {
    color: #4b5563; /* text-gray-600 */
    margin-bottom: 16px;
}

a {
    color: #2563eb; /* blue-600 */
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1d4ed8; /* blue-700 */
    text-decoration: underline;
}

ul, ol {
    margin-left: 24px;
    margin-bottom: 16px;
    color: #4b5563;
}

li {
    margin-bottom: 8px;
}

strong {
    color: #111827;
    font-weight: 600;
}

/* ===== CARDS ===== */
.content {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    border: 1px solid #e5e7eb;
    margin-bottom: 32px;
}

.feature-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #eff6ff; /* blue-50 */
    border: 1px solid #dbeafe; /* blue-100 */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.feature-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ===== FEATURES GRID ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    margin-bottom: 48px;
}

.hero h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.hero p {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 24px;
}

/* ===== BADGES ===== */
.badge,
.launch-badge {
    display: inline-block;
    background-color: #2563eb; /* blue-600 */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.date-badge {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ===== SECTIONS ===== */
.section {
    margin-bottom: 40px;
}

.section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-icon {
    font-size: 20px;
}

/* ===== INFO BOXES ===== */
.info-box,
.highlight-box {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #2563eb;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.info-box h3,
.highlight-box h3 {
    color: #111827;
    margin-top: 0;
    margin-bottom: 12px;
}

.problem-section {
    background-color: #fef2f2; /* red-50 */
    border: 1px solid #fecaca; /* red-200 */
    border-left: 4px solid #dc2626; /* red-600 */
    padding: 24px;
    margin: 20px 0;
    border-radius: 8px;
}

.solution-section {
    background-color: #f0fdf4; /* green-50 */
    border: 1px solid #bbf7d0; /* green-200 */
    border-left: 4px solid #16a34a; /* green-600 */
    padding: 24px;
    margin: 20px 0;
    border-radius: 8px;
}

/* ===== CONTACT CARD ===== */
.contact-card {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 32px;
    text-align: center;
}

.contact-card h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 16px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.contact-item-icon {
    font-size: 20px;
}

.email-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}

.email-link:hover {
    border-color: #ffffff;
    color: #ffffff;
}

.response-badge {
    display: inline-block;
    background-color: #16a34a;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
}

/* ===== CONTACT BOX (for privacy page) ===== */
.contact-box {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 24px;
    margin: 24px 0;
    border-radius: 12px;
    text-align: center;
}

.contact-box h3 {
    margin-bottom: 16px;
}

.contact-box strong {
    color: #111827;
    font-size: 16px;
}

/* ===== SUPPORT CHANNELS ===== */
.support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.channel-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.channel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.channel-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.channel-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.channel-desc {
    font-size: 14px;
    color: #6b7280;
}

/* ===== FAQ ===== */
.faq-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.faq-answer {
    color: #4b5563;
    line-height: 1.6;
}

/* ===== TABLES ===== */
.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.feature-table,
.tech-table,
.roadmap-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}

.feature-table th,
.tech-table th,
.roadmap-table th {
    background-color: #f3f4f6; /* gray-100 */
    color: #111827;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
}

.feature-table th:nth-child(2),
.feature-table th:nth-child(3),
.tech-table th:nth-child(2) {
    text-align: center;
    width: 80px;
}

.feature-table td,
.tech-table td,
.roadmap-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}

.feature-table td:nth-child(2),
.feature-table td:nth-child(3),
.tech-table td:nth-child(2) {
    text-align: center;
}

.feature-table tr:hover,
.tech-table tr:hover,
.roadmap-table tr:hover {
    background-color: #f9fafb;
}

.feature-table tr:last-child td,
.tech-table tr:last-child td {
    border-bottom: none;
}

.check {
    color: #16a34a; /* green-600 */
    font-weight: bold;
    font-size: 18px;
}

.dash {
    color: #9ca3af; /* gray-400 */
    font-size: 18px;
}

.badge-new {
    background-color: #dbeafe; /* blue-100 */
    color: #1d4ed8; /* blue-700 */
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

.badge-built {
    background-color: #fef3c7; /* amber-100 */
    color: #92400e; /* amber-800 */
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

/* ===== STATS BANNER ===== */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.stat-card {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== PRICING ===== */
.pricing-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.pricing-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.pricing-card h3 {
    color: #111827;
    margin: 0 0 12px 0;
    font-size: 18px;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: #16a34a;
    margin: 8px 0;
}

.price-period {
    color: #6b7280;
    font-size: 14px;
    font-weight: 400;
}

/* ===== STEPS ===== */
.steps-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin: 24px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 140px;
    max-width: 200px;
}

.step-number {
    background: #2563eb;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
    font-weight: 700;
    font-size: 16px;
}

.step h4 {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.step p {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 0;
}

/* ===== HIGHLIGHT ===== */
.highlight {
    background-color: #dbeafe;
    color: #1d4ed8;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* ===== ROADMAP ===== */
.roadmap-section {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #2563eb;
    padding: 24px;
    margin: 32px 0;
    border-radius: 8px;
}

.roadmap-section h3 {
    color: #111827;
    margin-bottom: 16px;
    font-size: 18px;
}

.roadmap-section h4 {
    margin: 20px 0 12px;
    color: #111827;
    font-size: 15px;
}

.roadmap-table td:nth-child(1) {
    width: 70%;
}

.roadmap-table td:nth-child(2) {
    width: 30%;
    text-align: right;
}

.priority-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 8px;
}

.priority-1 { background-color: #dc2626; color: #ffffff; }
.priority-2 { background-color: #ea580c; color: #ffffff; }
.priority-3 { background-color: #ca8a04; color: #ffffff; }
.priority-4 { background-color: #16a34a; color: #ffffff; }
.priority-5 { background-color: #2563eb; color: #ffffff; }
.priority-6 { background-color: #7c3aed; color: #ffffff; }

/* ===== CHECKLIST ===== */
.checklist-section {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;
    padding: 24px;
    margin: 32px 0;
    border-radius: 8px;
}

.checklist-section h3 {
    color: #166534;
    margin-bottom: 16px;
    font-size: 18px;
}

.checklist-section h4 {
    margin-bottom: 12px;
    font-size: 15px;
}

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

.checklist li {
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checklist .done {
    color: #16a34a;
}

.checklist .pending {
    color: #6b7280;
}

/* ===== TOOLS GRID ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.tool-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.tool-card:hover {
    transform: translateY(-2px);
}

.tool-card h4 {
    color: #111827;
    font-size: 15px;
    margin-bottom: 8px;
}

.tool-card p {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 12px;
}

.tool-card code {
    background-color: #1f2937;
    color: #10b981;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    display: block;
    overflow-x: auto;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}

/* ===== MARKET SECTION ===== */
.market-section {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.market-text {
    flex: 1;
    min-width: 280px;
}

.market-visual {
    flex: 1;
    text-align: center;
    min-width: 180px;
}

.market-visual .icon {
    font-size: 64px;
    color: #2563eb;
}

.market-visual p {
    font-weight: 600;
    color: #111827;
    margin-top: 8px;
}

/* ===== SECTION ANCHOR ===== */
.section-anchor {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
}

/* ===== FOOTER ===== */
footer {
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 24px 0;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    font-size: 13px;
}

.footer-content p {
    color: #6b7280;
    margin-bottom: 8px;
}

.footer-links {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #2563eb;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .content {
        padding: 20px;
    }

    .page-title {
        font-size: 24px;
    }

    .hero h2 {
        font-size: 26px;
    }

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

    header h1 {
        font-size: 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 26px;
    }

    .pricing-section {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        max-width: 100%;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 100%;
    }

    .feature-table,
    .tech-table,
    .roadmap-table {
        font-size: 12px;
    }

    .feature-table th,
    .feature-table td,
    .tech-table th,
    .tech-table td {
        padding: 8px 10px;
    }
}

/* ===== UTILITY CLASSES ===== */
.notranslate {
    /* Prevents browser translation */
}

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

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }