/* 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;
}

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