/* home.css — styles for the homepage only (MainSite/home.html.twig) */

/* ===== HERO ===== */
.home-hero {
    position: relative;
    padding: 5rem 0 4rem;
    text-align: center;
    overflow: hidden;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 800px 500px at 50% -5%, rgba(240, 90, 62, 0.1) 0%, transparent 70%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
    mask-image: radial-gradient(ellipse at center top, black 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center top, black 0%, transparent 75%);
}

.home-hero-inner {
    position: relative;
    z-index: 1;
}

.home-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface-1);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    letter-spacing: 0.02em;
}

.home-hero-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 6px var(--brand);
    animation: home-dot-pulse 2s ease-in-out infinite;
}

@keyframes home-dot-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

.home-hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.0;
    color: white;
    letter-spacing: -0.04em;
    margin: 0 0 1.5rem;
}

.home-hero h1 em {
    font-style: normal;
    color: var(--fire);
}

.home-hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

.home-hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    flex-wrap: wrap;
}

/* ===== SECTION SCAFFOLDING ===== */
.home-section {
    padding: 4.5rem 0;
}

.home-section--alt {
    background: var(--surface-1);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.home-section-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin: 0 0 0.75rem;
}

.home-section-label--brand {
    color: var(--brand);
}

.home-section-label--fire {
    color: var(--fire);
}

.home-section-label--purple {
    color: #a78bfa;
}

.home-section h2 {
    font-size: clamp(1.625rem, 3vw, 2.375rem);
    font-weight: 900;
    color: white;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 1rem;
}

/* ===== SPLIT LAYOUT ===== */
.home-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.home-split--reverse {
    direction: rtl;
}

.home-split--reverse>* {
    direction: ltr;
}

.home-split__content p {
    color: var(--muted);
    line-height: 1.75;
    margin: 0 0 1rem;
}

.home-split__content p:last-child {
    margin-bottom: 0;
}

.home-split__content strong {
    color: var(--text);
    font-weight: 600;
}

/* ===== VERSUS TABLE ===== */
.home-versus {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.home-versus__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.75rem;
    align-items: center;
}

.home-versus__bad,
.home-versus__good {
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    line-height: 1.45;
}

.home-versus__bad {
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.14);
    color: #6b7280;
}

.home-versus__good {
    background: rgba(34, 214, 163, 0.04);
    border: 1px solid rgba(34, 214, 163, 0.14);
    color: #d1d5db;
}

.home-versus__tag {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.home-versus__tag--good {
    color: var(--brand);
}

.home-versus__vs {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #4b5563;
    text-align: center;
}

/* ===== STREET PATENT MOCK ===== */
.home-patent-mock {
    background: var(--surface-0);
    border: 1px solid var(--border);
    border-radius: 0.875rem;
    overflow: hidden;
}

.home-patent-mock__header {
    background: var(--surface-2);
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.home-patent-mock__id {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.04em;
}

.home-patent-mock__ts {
    font-size: 0.6875rem;
    color: #4b5563;
}

.home-patent-mock__body {
    padding: 1.5rem 1.25rem;
}

.home-patent-mock__body h4 {
    font-size: 1rem;
    font-weight: 800;
    color: white;
    margin: 0 0 0.625rem;
    letter-spacing: -0.02em;
}

.home-patent-mock__body p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.home-patent-mock__stamp {
    display: inline-block;
    background: rgba(34, 214, 163, 0.08);
    border: 1px solid rgba(34, 214, 163, 0.2);
    padding: 0.4rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.04em;
}

/* ===== IP DISCLAIMER ===== */
.home-disclaimer {
    margin-top: 1.5rem;
    background: rgba(251, 146, 60, 0.06);
    border: 1px solid rgba(251, 146, 60, 0.15);
    border-radius: 0.625rem;
    padding: 1.125rem 1.25rem;
}

.home-disclaimer h3 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fb923c;
    margin: 0 0 0.5rem;
}

.home-disclaimer p {
    font-size: 0.8125rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

.home-disclaimer strong {
    color: var(--text);
    font-weight: 600;
}

/* ===== FOUNDER ===== */
.home-founder-aside {
    text-align: center;
    padding-top: 0.5rem;
}

.home-founder-avatar {
    width: 120px;
    height: 120px;
    border-radius: 1rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 0.875rem;
}

.home-founder-name {
    font-size: 0.9375rem;
    font-weight: 800;
    color: white;
    margin: 0 0 0.25rem;
}

.home-founder-title {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

.home-founder-quote {
    border-left: 3px solid var(--fire);
    padding: 0 0 0 1.25rem;
    margin: 1.25rem 0;
}

.home-founder-quote p {
    font-size: 1.0625rem;
    color: #d1d5db;
    font-style: italic;
    margin: 0;
}

/* ===== AUDIENCES ===== */
.home-audiences {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.home-audience {
    background: var(--surface-0);
    border: 1px solid var(--border);
    border-top-width: 2px;
    border-radius: 0.875rem;
    padding: 1.75rem;
    transition: transform 0.2s;
}

.home-audience:hover {
    transform: translateY(-2px);
}

.home-audience--inventors {
    border-top-color: var(--fire);
}

.home-audience--supporters {
    border-top-color: var(--brand);
}

.home-audience--providers {
    border-top-color: #a78bfa;
}

.home-audience__icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.875rem;
    line-height: 1;
}

.home-audience__who {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.5rem;
}

.home-audience--inventors .home-audience__who {
    color: var(--fire);
}

.home-audience--supporters .home-audience__who {
    color: var(--brand);
}

.home-audience--providers .home-audience__who {
    color: #a78bfa;
}

.home-audience h3 {
    font-size: 1rem;
    font-weight: 800;
    color: white;
    margin: 0 0 0.625rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.home-audience p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* ===== EARLY ACCESS CTA ===== */
.home-section--cta {
    position: relative;
    overflow: hidden;
}

.home-section--cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(240, 90, 62, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.home-cta-block {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.home-cta-block__content h2 {
    margin-bottom: 1rem;
}

.home-cta-block__content>p {
    color: var(--muted);
    line-height: 1.75;
    margin: 0 0 1.5rem;
}

.home-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.home-perks li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: #d1d5db;
    line-height: 1.45;
}

.home-perks li::before {
    content: '✓';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background: var(--brand-dim);
    border: 1px solid rgba(34, 214, 163, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    color: var(--brand);
    font-weight: 700;
    margin-top: 2px;
    text-align: center;
    line-height: 18px;
}

.home-perks strong {
    color: white;
    font-weight: 700;
}

.home-cta-note {
    font-size: 0.8125rem;
    color: #4b5563;
    margin: 0;
}

.home-cta-block__action {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 1.125rem;
    padding: 2.25rem 2rem;
    text-align: center;
}

.home-cta-block__action h3 {
    font-size: 1.1875rem;
    font-weight: 800;
    color: white;
    margin: 0 0 0.375rem;
    letter-spacing: -0.02em;
}

.home-cta-block__action>p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 1.5rem;
}

.home-cta-btn {
    display: inline-flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
}

.home-cta-fine {
    font-size: 0.725rem;
    color: #4b5563;
    margin: 0.875rem 0 0;
    line-height: 1.5;
}

/* ===== PROVIDERS ===== */
.home-provider-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
    max-width: 760px;
    margin: 0 auto 2rem;
}

.home-provider-point {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    background: var(--surface-0);
    border: 1px solid var(--border);
    border-radius: 0.625rem;
    padding: 1.125rem;
}

.home-provider-point__icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.15);
    border-radius: 0.4375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    line-height: 1;
}

.home-provider-point h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.25rem;
}

.home-provider-point p {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.home-provider-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 0 0 2rem;
}

.home-provider-cats span {
    background: var(--surface-0);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

    .home-split,
    .home-split--reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        direction: ltr;
    }

    .home-split--reverse>* {
        direction: ltr;
    }

    .home-audiences {
        grid-template-columns: 1fr;
    }

    .home-cta-block {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .home-hero {
        padding: 3.5rem 0 3rem;
    }

    .home-versus__row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .home-versus__vs {
        display: none;
    }

    .home-provider-grid {
        grid-template-columns: 1fr;
    }

    .home-founder-aside {
        display: flex;
        align-items: center;
        gap: 1.25rem;
        text-align: left;
    }

    .home-founder-avatar {
        width: 64px;
        height: 64px;
        font-size: 1.75rem;
        margin: 0;
        flex-shrink: 0;
    }
}