/* ============================================================
   trip-planner.css — scoped styles for /trip-planner/ landing
   ============================================================ */

/* ---- Hero overrides ---------------------------------------- */

.tp-hero .hero-visual-clip {
    height: 100vh;
    min-height: 560px;
}

.tp-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.tp-hero .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.tp-hero .hero-desc {
    font-size: 1.125rem;
    max-width: 36rem;
    margin: 0 auto;
    opacity: 0.9;
}

.tp-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.tp-trust-line {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.04em;
}

.btn-lg {
    padding: 0.9rem 2.25rem;
    font-size: 1rem;
}

/* ---- Section wrapper --------------------------------------- */

.tp-section {
    max-width: 80rem;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.bento-lower-tier .tp-feature-grid {
    padding: 0;
}

.tp-section-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--tertiary);
    background: rgba(253, 157, 26, 0.1);
    border-radius: 2rem;
    padding: 0.35rem 1rem;
    margin-bottom: 1rem;
}

.tp-section-title {
    font-family: var(--font-headline);
    font-weight: 900;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--on-surface);
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.tp-section-subtitle {
    font-size: 1.0625rem;
    color: color-mix(in srgb, var(--on-surface) 65%, transparent);
    max-width: 38rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* ---- Feature cards ---------------------------------------- */

.tp-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .tp-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tp-feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tp-feature-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tp-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.11), 0 3px 8px rgba(0, 0, 0, 0.07);
}

.tp-feature-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: rgba(0, 109, 119, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tp-feature-icon svg {
    color: var(--primary);
}

.tp-feature-card h3 {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1rem;
    color: var(--on-surface);
    line-height: 1.3;
    margin: 0;
}

.tp-feature-card p {
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--on-surface) 65%, transparent);
    line-height: 1.6;
    margin: 0;
}

/* ---- Preview section --------------------------------------- */

.tp-preview-section {
    background: linear-gradient(to bottom, var(--surface, #fef8f3), #f0ece8);
    padding: 5rem 1.5rem;
}

.tp-preview-inner {
    max-width: 72rem;
    margin: 0 auto;
}

.tp-preview-wrap {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.25), 0 12px 30px -8px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.08);
    aspect-ratio: 16 / 9;
}

.tp-preview-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    filter: blur(2px);
    transform: scale(1.03);
}

.tp-preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 109, 119, 0.55) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}

/* Placeholder shown when no screenshot image exists */
.tp-preview-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f4f5 0%, #d0eaec 50%, #b8dde0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 320px;
}

.tp-preview-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 80%;
    max-width: 500px;
    opacity: 0.4;
}

.tp-preview-placeholder-cell {
    background: var(--primary);
    border-radius: 0.375rem;
    height: 2.5rem;
}

.tp-preview-placeholder-cell:nth-child(odd) {
    opacity: 0.6;
}

.tp-preview-overlay-title {
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: clamp(1.125rem, 3vw, 1.75rem);
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.tp-preview-overlay-sub {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 28rem;
    line-height: 1.5;
}

.tp-preview-caption {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    color: color-mix(in srgb, var(--on-surface) 55%, transparent);
}

/* ---- CTA strip -------------------------------------------- */

.tp-cta-strip {
    background: var(--primary);
    padding: 5rem 1.5rem;
    text-align: center;
}

.tp-cta-strip-inner {
    max-width: 44rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.tp-cta-strip-title {
    font-family: var(--font-headline);
    font-weight: 900;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    line-height: 1.2;
}

.tp-cta-strip-sub {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.tp-cta-strip .btn-primary {
    background-color: #fff;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.tp-cta-strip .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.92);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.tp-cta-strip .tp-trust-line {
    color: rgba(255, 255, 255, 0.6);
}
