/* Found Phones — homepage / landing enhancements */

.page-home {
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --navy-950: #0a1628;
    --navy-900: #0f2744;
    --navy-800: #132f52;
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(45, 212, 191, 0.22);
    --glow-teal: 0 0 40px rgba(20, 184, 166, 0.35);
}

/* Header on homepage */
.page-home .site-header {
    background: rgba(10, 22, 40, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .site-header .logo-image {
    filter: brightness(1.05);
}

.page-home .site-nav a:not(.btn) {
    color: rgba(255, 255, 255, 0.82);
}

.page-home .site-nav a:not(.btn):hover {
    color: var(--white);
}

.page-home .nav-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.page-home .btn-ghost {
    color: rgba(255, 255, 255, 0.9);
}

/* Hero */
.page-home .hero {
    background: linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 40%, #0c4a6e 100%);
    padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 112px);
}

.page-home .hero::after {
    display: none;
}

.page-home .hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 75% 15%, rgba(20, 184, 166, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.12) 0%, transparent 45%);
    pointer-events: none;
}

.page-home .hero-badge {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--teal-400);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.page-home .hero h1 {
    font-size: clamp(2.125rem, 5vw, 3.25rem);
    letter-spacing: -0.02em;
}

.page-home .hero p.lead {
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    max-width: 520px;
}

.page-home .hero-price-note {
    margin-top: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
}

.page-home .hero-visual-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.25) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    pointer-events: none;
}

.page-home .hero-visual {
    position: relative;
}

.page-home .hero-shot img {
    width: min(240px, 40vw);
    border-radius: 32px;
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        var(--glow-teal);
}

.page-home .btn-glow {
    background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-600) 100%);
    border: none;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.4);
}

.page-home .btn-glow:hover {
    background: linear-gradient(135deg, var(--teal-400) 0%, var(--teal-500) 100%);
    box-shadow: 0 6px 28px rgba(20, 184, 166, 0.5);
    color: var(--white);
}

.page-home .hero .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.page-home .hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
}

.page-home .btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
    min-height: 52px;
}

/* Section typography */
.section-eyebrow {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 10px;
}

.section-title--left,
.section-subtitle--left {
    text-align: left;
    margin-left: 0;
}

.section-subtitle--left {
    max-width: 520px;
}

/* Trust strip */
.trust-strip {
    margin-top: -40px;
    padding: 0 0 72px;
    position: relative;
    z-index: 2;
}

.trust-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.trust-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.trust-card:hover {
    border-color: rgba(20, 184, 166, 0.35);
    box-shadow: var(--shadow), 0 0 24px rgba(20, 184, 166, 0.12);
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
    color: var(--teal-600);
    margin-bottom: 14px;
}

.trust-icon svg {
    width: 22px;
    height: 22px;
}

.trust-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--slate-900);
}

.trust-card p {
    font-size: 0.85rem;
    color: var(--slate-600);
    line-height: 1.5;
    margin: 0;
}

/* How it works */
.steps-section {
    padding: 80px 0;
    background: var(--white);
}

.steps-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step;
    margin-top: 8px;
}

.step-card {
    position: relative;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px 28px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.step-card:hover {
    border-color: rgba(20, 184, 166, 0.3);
    transform: translateY(-2px);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(20, 184, 166, 0.15);
    line-height: 1;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--teal-500) 0%, var(--blue-600) 100%);
    color: var(--white);
    margin-bottom: 18px;
}

.step-icon svg {
    width: 26px;
    height: 26px;
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--slate-900);
}

.step-card p {
    font-size: 0.925rem;
    color: var(--slate-600);
    line-height: 1.6;
    margin: 0;
}

/* App download */
.app-download {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}

.app-download-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.app-download-note {
    font-size: 0.875rem;
    color: var(--slate-500);
    margin: 12px 0 20px;
}

.app-download-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.app-download-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.app-download-phone {
    position: relative;
    width: min(240px, 70vw);
    height: auto;
    border-radius: 32px;
    box-shadow: var(--shadow-lg), var(--glow-teal);
}

.app-download--page {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    border-top: none;
    padding: 56px 0 72px;
    background:
        radial-gradient(ellipse 70% 50% at 85% 30%, rgba(20, 184, 166, 0.12), transparent 55%),
        linear-gradient(165deg, #f1f5f9 0%, #ffffff 48%, #f8fafc 100%);
}

.app-download--page .section-eyebrow {
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--teal-600, #0d9488);
}

.app-download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.store-badges--app {
    margin-top: 8px;
}

/* Pricing polish */
.landing-pricing {
    padding: 88px 0;
    background: var(--slate-50);
}

.landing-pricing .pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.landing-pricing .pricing-card {
    display: flex;
    flex-direction: column;
    padding: 28px 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    background: var(--white);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
}

.landing-pricing .pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.landing-pricing .pricing-card-featured {
    border-color: var(--teal-500);
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(20, 184, 166, 0.2),
        0 0 48px rgba(20, 184, 166, 0.18);
}

.landing-pricing .pricing-card-featured:hover {
    transform: translateY(-3px);
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(20, 184, 166, 0.35),
        0 0 56px rgba(20, 184, 166, 0.25);
}

.landing-pricing .pricing-badge {
    background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.7rem;
    padding: 6px 12px;
    border-radius: 999px;
}

.landing-pricing .pricing-card h3 {
    font-size: 1.25rem;
    margin-top: 8px;
}

.landing-pricing .pricing-amount {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--slate-900);
}

.landing-pricing .pricing-features {
    flex: 1;
    margin: 20px 0 24px;
}

.landing-pricing .pricing-features li {
    font-size: 0.925rem;
    padding: 6px 0;
}

.pricing-footnote {
    text-align: center;
    margin-top: 32px;
    font-size: 0.875rem;
    color: var(--slate-500);
}

/* Final CTA */
.landing-cta {
    padding: 88px 0;
    background: linear-gradient(165deg, var(--navy-950) 0%, var(--navy-800) 50%, #0c4a6e 100%);
    color: var(--white);
    text-align: center;
}

.landing-cta-inner {
    max-width: 640px;
}

.landing-cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.landing-cta p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 28px;
    line-height: 1.65;
}

/* Footer on homepage */
.page-home .site-footer {
    background: var(--navy-950);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
    padding: 48px 0 32px;
}

.page-home .footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    line-height: 1.5;
}

.page-home .footer-inner nav a {
    color: rgba(255, 255, 255, 0.65);
}

.page-home .footer-inner nav a:hover {
    color: var(--teal-400);
}

.page-home .footer-social-link {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
}

.page-home .footer-social-link:hover {
    color: var(--white);
    background: var(--teal-600);
}

/* Responsive */
@media (max-width: 1100px) {
    .landing-pricing .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .landing-pricing .pricing-card {
        padding: 32px 24px;
    }

    .landing-pricing .pricing-amount {
        font-size: 2.25rem;
    }
}

@media (max-width: 960px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .app-download-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-title--left,
    .section-subtitle--left {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .app-download-actions {
        justify-content: center;
    }

    .app-download-visual {
        order: -1;
    }

    .landing-pricing .pricing-card-featured {
        transform: none;
    }

    .landing-pricing .pricing-card-featured:hover {
        transform: translateY(-3px);
    }

    .hero-visual {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .hero-shot-finder {
        transform: none;
    }

    .hero-shot img {
        width: min(240px, 72vw);
    }
}

@media (max-width: 640px) {
    .trust-strip {
        margin-top: -24px;
    }

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

    .landing-pricing .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Homepage mobile nav on dark header */
@media (max-width: 900px) {
    .page-home .site-nav.is-open {
        background: var(--navy-950);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .page-home .site-nav.is-open a:not(.btn) {
        color: rgba(255, 255, 255, 0.9);
    }
}

@media (prefers-reduced-motion: reduce) {
    .step-card:hover,
    .landing-pricing .pricing-card:hover,
    .trust-card:hover {
        transform: none;
    }
}
