/* =============================================================
   Fince — landing-page-specific styles. Loaded AFTER fince.css.
   ============================================================= */

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

.hero-landing {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    color: #fff;
    padding: 96px 24px;
}

.hero-landing__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.hero-landing__copy { max-width: 560px; }

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.hero-landing h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 20px;
}

.hero-landing__lede {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 32px;
    max-width: 480px;
}

.hero-landing__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
}

.hero-landing__trust {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
}

.hero-landing__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 480px;
}

.hero-sparkle {
    position: absolute;
    top: -8px;
    right: 12%;
    width: 80px;
    height: 80px;
    color: var(--c-primary-soft);
    opacity: 0.4;
    animation: float 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

@media (min-width: 900px) {
    .hero-landing { padding: 120px 48px; }
    .hero-landing__inner {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
    .hero-landing h1 { font-size: 56px; }
    .hero-landing__lede { font-size: 19px; }
}

/* ---------- App Store badge (inline-SVG approximation) ---------- */

.appstore-badge {
    display: inline-block;
    transition: transform 200ms ease-out;
    line-height: 0;
}
.appstore-badge:hover { transform: scale(1.05); }
.appstore-badge svg { width: 180px; height: 60px; display: block; }

/* ---------- Secondary text CTA ---------- */

.cta-secondary {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    transition: border-color 200ms ease-out;
}
.cta-secondary:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* ---------- Screenshot images (frames are baked into the PNGs) ---------- */

.phone-frame {
    display: block;
    max-width: 100%;
    width: 280px;
}
.phone-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(20, 20, 40, 0.12);
}

.phone-frame--hero {
    width: 320px;
    transform: rotate(-3deg);
}
.phone-frame--showcase-right {
    width: 260px;
    transform: rotate(3deg);
}
.phone-frame--small {
    width: 220px;
}

@media (min-width: 768px) {
    .phone-frame--small { width: 260px; }
}

/* ---------- Trust strip ---------- */

.trust-strip {
    background: #fff;
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid var(--c-border);
}
.trust-strip__items {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 22px;
    font-size: 13px;
    color: #555;
}
.trust-strip__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.trust-strip__item svg {
    width: 16px;
    height: 16px;
    color: var(--c-primary);
}

/* ---------- Generic landing section ---------- */

.section {
    padding: 80px 24px;
}
.section__inner {
    max-width: 1100px;
    margin: 0 auto;
}
.section__heading {
    text-align: center;
    margin-bottom: 56px;
}
.section__heading h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--c-text);
    margin: 0 0 12px;
}
.section__heading p {
    font-size: 17px;
    color: var(--c-text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section { padding: 96px 32px; }
    .section__heading h2 { font-size: 36px; }
}

.section--soft  { background: var(--c-primary-soft); }
.section--gray  { background: #FAFAFA; }
.section--white { background: #fff; }

/* ---------- Features grid ---------- */

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 600px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 32px;
    transition: box-shadow 250ms ease, transform 250ms ease, border-color 250ms ease;
}
.feature-card:hover {
    box-shadow: 0 8px 32px rgba(83, 74, 183, 0.12);
    transform: translateY(-2px);
    border-color: #DCD8F0;
}
.feature-card svg.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--c-primary);
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-text);
    margin: 0 0 8px;
}
.feature-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ---------- AI showcase (split section) ---------- */

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.split__visual {
    display: flex;
    justify-content: center;
    order: -1;
}
@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; gap: 80px; }
    .split__visual { order: 0; }
}
.split__copy h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--c-text);
    margin: 0 0 16px;
}
@media (min-width: 768px) {
    .split__copy h2 { font-size: 36px; }
}
.split__copy > p {
    font-size: 17px;
    color: var(--c-text-secondary);
    line-height: 1.6;
    margin: 0 0 20px;
}
.split__copy ul li {
    color: var(--c-text);
    font-size: 16px;
    margin-bottom: 10px;
}
.split__footnote {
    color: var(--c-text-tertiary);
    font-size: 13px;
    margin-top: 24px;
    line-height: 1.6;
}

/* ---------- Screenshot showcase (horizontal scroll) ---------- */

.shots-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 16px 24px 32px;
    margin: 0 -24px;
    scrollbar-width: thin;
}
.shots-scroll::-webkit-scrollbar { height: 6px; }
.shots-scroll::-webkit-scrollbar-thumb { background: #DCD8F0; border-radius: 4px; }

.shot-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    text-align: center;
}
/* ---------- Privacy "what we don't do" cards ---------- */

.dont-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0 24px;
}
@media (min-width: 768px) {
    .dont-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
.dont-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
}
.dont-card svg {
    width: 28px;
    height: 28px;
    color: #EF4444;
    margin: 0 auto 10px;
}

.privacy-deep {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.privacy-deep h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--c-text);
    margin: 0 0 16px;
}
@media (min-width: 768px) { .privacy-deep h2 { font-size: 36px; } }
.privacy-deep > p {
    font-size: 17px;
    color: var(--c-text-secondary);
    line-height: 1.6;
}

/* ---------- Pricing ---------- */

.pricing-card {
    max-width: 420px;
    margin: 0 auto;
    border: 2px solid var(--c-primary);
    border-radius: 20px;
    padding: 40px 32px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(83, 74, 183, 0.15);
    text-align: center;
}
.pricing-card__label {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 16px;
}
.pricing-card__price {
    font-size: 56px;
    font-weight: 800;
    color: var(--c-text);
    letter-spacing: -0.03em;
    line-height: 1;
}
.pricing-card__price small {
    font-size: 18px;
    font-weight: 500;
    color: var(--c-text-secondary);
    margin-left: 4px;
}
.pricing-card__yearly {
    color: var(--c-text-secondary);
    font-size: 14px;
    margin: 8px 0 24px;
}
.pricing-card hr {
    border: none;
    border-top: 1px solid var(--c-border);
    margin: 24px 0;
}
.pricing-card ul {
    text-align: left;
    margin: 0 0 28px;
}
.pricing-card ul li {
    list-style: none;
    padding-left: 28px;
    position: relative;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--c-text);
}
.pricing-card ul li::before { content: none; }
.pricing-card ul li svg {
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    color: var(--c-accent-green);
}
.pricing-card .btn-primary { display: block; text-align: center; text-decoration: none; }
.pricing-card__note {
    color: var(--c-text-tertiary);
    font-size: 12px;
    margin: 14px 0 0;
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 720px; margin: 0 auto; }
.faq-list details {
    border-bottom: 1px solid var(--c-border);
    padding: 20px 4px;
}
.faq-list summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--c-text);
    font-size: 16px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 200ms ease-out;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    color: var(--c-text-tertiary);
    transition: transform 200ms ease-out, color 200ms ease-out;
    line-height: 1;
}
.faq-list details[open] summary { color: var(--c-primary); }
.faq-list details[open] summary::after {
    content: "−";
    color: var(--c-primary);
}
.faq-list details p {
    padding-top: 12px;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ---------- Final CTA ---------- */

.cta-final {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    color: #fff;
    padding: 96px 24px;
    text-align: center;
}
.cta-final h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}
@media (min-width: 768px) { .cta-final h2 { font-size: 44px; } }
.cta-final p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    margin: 0 0 32px;
}
.cta-final .appstore-badge { display: inline-block; }

/* ---------- Override main bg pattern on landing (cleaner look) ---------- */

body.landing main { background-image: none; }
