/* Home page
 * Split from application.css to keep page-specific styles maintainable.
 */

.home-hero {
    padding: 36px 4px 28px;
    text-align: center;
}

.home-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;
    background: #3b82f6;
    color: white;

    font-size: 32px;
    font-weight: 900;

    box-shadow: 0 14px 28px rgba(59, 130, 246, 0.28);
}

.home-logo-image {
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    display: block;
    border-radius: 24px;
    box-shadow: 0 14px 32px rgba(59, 130, 246, 0.22);
}

.home-title {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 38px;
    line-height: 1.0;
    letter-spacing: -0.03em;
    font-weight: 800;

    color: #0f172a;
}

.home-subtitle {
    max-width: 340px;
    margin: 14px auto 0;

    font-size: 16px;
    line-height: 1.45;

    color: #64748b;
}

.home-card {
    background: white;
    border-radius: 28px;
    padding: 20px;

    border: 1px solid #f1f5f9;

    box-shadow:
            0 1px 2px rgba(0,0,0,0.04),
            0 12px 30px rgba(15,23,42,0.06);
}

.home-card-title {
    margin: 0 0 14px;

    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.home-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-input {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid #e2e8f0;
    border-radius: 18px;

    padding: 15px 16px;

    font-size: 16px;
    color: #0f172a;
    background: #f8fafc;
}

.home-input:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
    background: white;
}

.home-button {
    border: 0;
    border-radius: 18px;

    padding: 15px 18px;

    background: #3b82f6;
    color: white;

    font-size: 16px;
    font-weight: 800;

    cursor: pointer;

    box-shadow: 0 10px 22px rgba(59, 130, 246, 0.24);
}

.home-button:active {
    transform: scale(0.98);
}

.home-features {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-feature {
    display: flex;
    gap: 14px;
    align-items: center;

    padding: 16px;
    border-radius: 22px;

    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(226,232,240,0.7);
}

.home-feature-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;
    background: #f8fafc;

    font-size: 22px;
    flex-shrink: 0;
}

.home-feature-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.home-feature-text {
    margin-top: 2px;
    font-size: 13px;
    color: #94a3b8;
}
.home-events {
    margin-top: 28px;
}

.home-events-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-event-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    text-decoration: none;
    color: inherit;

    background: white;
    border-radius: 22px;
    padding: 16px;

    border: 1px solid rgba(226,232,240,0.7);

    box-shadow:
            0 1px 2px rgba(15,23,42,0.03),
            0 8px 20px rgba(15,23,42,0.04);
}

.home-event-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.home-event-meta {
    margin-top: 4px;
    font-size: 13px;
    color: #94a3b8;
}

.home-event-arrow {
    font-size: 28px;
    color: #cbd5e1;
}
.home-brand {
    margin-top: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.home-seo-section {
    margin-top: 24px;
    padding: 20px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.home-seo-section h2 {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.home-seo-section h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.home-seo-section p,
.home-seo-section li {
    font-size: 15px;
    line-height: 1.55;
    color: #475569;
}

.home-seo-section ul {
    padding-left: 20px;
}

.home-use-cases,
.home-how-it-works {
    margin-top: 24px;
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.home-section-title {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    color: #0f172a;
}

.home-use-case-grid {
    display: grid;
    gap: 14px;
}

.home-use-case {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.home-use-case-icon {
    font-size: 28px;
    line-height: 1;
}

.home-use-case-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.home-use-case-text {
    font-size: 15px;
    line-height: 1.45;
    color: #64748b;
}

.home-steps {
    display: grid;
    gap: 12px;
}

.home-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
}

.home-step span {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    flex: 0 0 auto;
}

.events-new .home-timeline {
    display: grid;
    gap: 14px;
}

.events-new .home-timeline-card {
    position: relative;
    display: flex;
    gap: 14px;
    min-width: 0;
}

.events-new .home-timeline-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 48px;
    bottom: -14px;
    left: 23px;
    width: 2px;
    background: #dbeafe;
}

.events-new .home-timeline-marker {
    position: relative;
    z-index: 1;
    display: flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: #eff6ff;
    font-size: 24px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
}

.events-new .home-timeline-content {
    min-width: 0;
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.events-new .home-timeline-time,
.events-new .home-timeline-result-label {
    margin: 0;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.events-new .home-timeline-title {
    margin: 5px 0 0;
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.events-new .home-timeline-text {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.55;
}

.events-new .home-timeline-result {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid #bfdbfe;
    border-radius: 22px;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 65%, #ecfeff 100%);
    padding: 20px;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1);
}

.events-new .home-timeline-result-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.events-new .home-timeline-result-icon {
    display: flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #2563eb;
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
}

.events-new .home-timeline-result-title {
    margin: 3px 0 0;
    color: #0f172a;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
}

.events-new .home-timeline-transfers {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.events-new .home-timeline-transfer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(191, 219, 254, 0.8);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    padding: 11px 13px;
    color: #334155;
    font-size: 14px;
}

.events-new .home-timeline-transfer strong {
    flex: 0 0 auto;
    color: #0f172a;
    font-weight: 800;
}

.events-new .home-timeline-result-note {
    margin: 14px 0 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .events-new .home-timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .events-new .home-timeline-card {
        display: block;
    }

    .events-new .home-timeline-card:not(:last-child)::after {
        top: 23px;
        bottom: auto;
        left: 48px;
        width: calc(100% - 32px);
        height: 2px;
    }

    .events-new .home-timeline-marker {
        margin-left: 18px;
    }

    .events-new .home-timeline-content {
        min-height: 170px;
        margin-top: 12px;
    }

    .events-new .home-timeline-result {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
        column-gap: 32px;
        align-items: center;
        padding: 24px;
    }

    .events-new .home-timeline-transfers {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin-top: 0;
    }

    .events-new .home-timeline-result-note {
        grid-column: 1;
    }
}

@media (min-width: 1280px) {
    .events-new .home-hero-desktop-image,
    .seo-page .seo-hero-desktop-image {
        max-width: none;
        object-position: right;
    }
}
