/* ========================================
   DILIGEO LANDING PAGE
   ======================================== */

:root {
    --blue-900: #0f1f3d;
    --blue-800: #1a3157;
    --blue-700: #1a3c6e;
    --blue-600: #2554a0;
    --blue-500: #3b6fd4;
    --blue-100: #e8f0fe;
    --blue-50: #f4f7fc;
    --accent: #2554a0;
    --text: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- NAV ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-700);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    padding: 8px 20px;
    border: 2px solid var(--accent);
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--white);
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-block;
    font-family: inherit;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--blue-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
    width: 100%;
}

/* ---- HERO ---- */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 50%, var(--blue-50) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: var(--blue-100);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--blue-900);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-sub {
    max-width: 480px;
}

.hero-metrics {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
}

.metric-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    min-width: 120px;
    box-shadow: var(--shadow-sm);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-900);
    line-height: 1.2;
}

.metric-label {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* ---- REPORT PREVIEW ---- */
.report-preview {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.report-header-bar {
    background: var(--gray-100);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.report-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #34d399; }

.report-title-bar {
    font-size: 0.75rem;
    color: var(--text-light);
    font-family: monospace;
}

.report-body {
    padding: 24px;
}

.report-section-fake {
    margin-bottom: 20px;
}

.report-h1 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 10px;
}

.report-h2 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue-700);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.report-pills {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.pill {
    font-size: 0.65rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.pill-orange { background: #fff7ed; color: #c2410c; }
.pill-blue { background: #eff6ff; color: #1d4ed8; }
.pill-gray { background: var(--gray-100); color: var(--text-light); }

.report-line {
    height: 8px;
    background: var(--gray-100);
    border-radius: 4px;
    margin-bottom: 6px;
}

.report-line.inline {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0;
    flex: 1;
}

.w35 { width: 35%; }
.w45 { width: 45%; }
.w50 { width: 50%; }
.w60 { width: 60%; }
.w65 { width: 65%; }
.w70 { width: 70%; }
.w75 { width: 75%; }
.w80 { width: 80%; }
.w85 { width: 85%; }
.w95 { width: 95%; }

.report-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 60px;
    margin-bottom: 12px;
    padding: 0 8px;
}

.chart-bar {
    flex: 1;
    background: var(--gray-200);
    border-radius: 4px 4px 0 0;
}

.chart-bar.accent { background: var(--accent); }

.risk-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.risk-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.risk-dot.high { background: #ef4444; }
.risk-dot.med { background: #f59e0b; }
.risk-dot.low { background: #22c55e; }

/* Pie chart */
.pie-chart-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.pie-chart {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.pie-legend {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pie-legend-item {
    font-size: 0.6rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pie-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ---- SECTIONS ---- */
.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--gray-50);
}

.section-dark {
    background: var(--blue-900);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--blue-900);
    letter-spacing: -0.3px;
}

.section-title.light {
    color: var(--white);
}

.section-sub {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-sub.light {
    color: var(--gray-300);
}

/* ---- PROBLEMS ---- */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.problem-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.problem-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--blue-900);
}

.problem-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---- STEPS ---- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.step-card {
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--blue-900);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ---- REPORT TOC ---- */
.report-toc {
    max-width: 680px;
    margin: 48px auto 0;
}

.toc-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}

.toc-item:last-child {
    border-bottom: none;
}

.toc-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 32px;
    padding-top: 2px;
}

.toc-content h3 {
    font-size: 1.05rem;
    color: var(--blue-900);
    margin-bottom: 4px;
}

.toc-content p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ---- AUDIENCE ---- */
.audience-single {
    max-width: 600px;
    margin: 32px auto 0;
    text-align: center;
}

.audience-single p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.audience-single ul {
    list-style: none;
    text-align: left;
    max-width: 520px;
    margin: 0 auto;
}

.audience-single li {
    font-size: 0.95rem;
    color: var(--text);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.audience-single li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ---- CONTACT FORM ---- */
.contact-form {
    max-width: 580px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    outline: none;
    transition: border-color 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.45);
}

.contact-form select {
    appearance: none;
    cursor: pointer;
}

.contact-form select option {
    color: var(--text);
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.12);
}

.contact-form select {
    margin-bottom: 12px;
}

.contact-form textarea {
    margin-bottom: 16px;
    resize: vertical;
    min-height: 80px;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 12px;
}

/* ---- FOOTER ---- */
.footer {
    padding: 24px 0;
    border-top: 1px solid var(--gray-200);
}

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

.footer-text {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ---- TRUST ---- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.trust-item {
    text-align: center;
    padding: 8px;
}

.trust-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--blue-100);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.trust-item h3 {
    font-size: 1rem;
    color: var(--blue-900);
    margin-bottom: 8px;
}

.trust-item p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---- CONTACT EMAIL ---- */
.contact-email {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.contact-email a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.contact-email a:hover {
    color: var(--white);
}

.footer-text a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-text a:hover {
    color: var(--accent);
}

.footer-legal {
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
    margin-top: 16px;
}

.footer-legal p {
    font-size: 0.75rem;
    color: var(--gray-300);
    text-align: center;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-metrics {
        gap: 20px;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
    }

    .footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
