/* SARISARI - SEO landing pages (layout in includes/landing.php)
   Loaded after css/home.css, which supplies the header, buttons, awning,
   feature cards and footer. */

.landing .main-nav a[aria-current="page"] {
    background: #F1ECFF;
    color: var(--purple);
}

.landing .login-btn {
    text-decoration: none;
}

/* ============ HERO ============ */
.lp-hero {
    padding: 140px 0 96px;
    background:
        radial-gradient(ellipse 60% 70% at 85% 30%, rgba(255, 183, 24, 0.22), transparent 70%),
        radial-gradient(ellipse 50% 60% at 10% 90%, rgba(9, 185, 176, 0.14), transparent 70%),
        var(--cream-deep);
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}

.lp-breadcrumb {
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
}
.lp-breadcrumb a { color: var(--purple); text-decoration: none; }
.lp-breadcrumb a:hover { text-decoration: underline; }

.lp-title {
    margin-top: 16px;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.06;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.lp-title .gradient-text { animation: none; }

.lp-lead {
    margin-top: 20px;
    max-width: 560px;
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--ink-soft);
}

.lp-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.lp-perks {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lp-perks li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px 6px 8px;
    background: #fff;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
}
.lp-perks .material-icons { font-size: 18px; color: var(--teal); }

.lp-hero-art { position: relative; }
.lp-hero-art.is-tablet .device-tablet { transform: rotate(2deg); }

/* The phone sits in normal flow here, not overlapping a tablet */
.lp-phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(300px, 70%);
    margin: 0 auto;
    border-width: 10px;
    border-radius: 38px;
    transform: rotate(3deg);
}
.lp-phone img { border-radius: 28px; }

/* ============ SECTIONS ============ */
.lp-section { padding: 96px 0; }
.lp-tinted { background: var(--cream-deep); }
.lp-narrow { max-width: 820px; }

.lp-hero + .awning { margin-top: -22px; }

/* Problems */
.lp-problems {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.lp-problem {
    padding: 28px;
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 6px 0 rgba(30, 21, 72, 0.07);
}

.lp-problem .material-icons {
    width: 56px; height: 56px;
    display: grid;
    place-items: center;
    background: #FEE6E8;
    color: var(--coral);
    border-radius: 16px;
    font-size: 30px;
}
.lp-problem:nth-child(3n+2) .material-icons { background: #FDE4F0; color: var(--pink); }
.lp-problem:nth-child(3n+3) .material-icons { background: #F5EAFD; color: var(--violet); }

.lp-problem h3 { margin-top: 18px; font-family: var(--display); font-size: 21px; font-weight: 600; line-height: 1.2; }
.lp-problem p { margin-top: 8px; color: var(--ink-soft); }

/* Steps */
.lp-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.lp-steps li {
    position: relative;
    padding: 30px 28px 28px;
    background: #fff;
    border: 2px solid #EFEAFF;
    border-radius: 26px;
}

.lp-step-number {
    width: 52px; height: 52px;
    display: grid;
    place-items: center;
    background: var(--purple);
    color: #fff;
    border-radius: 50%;
    font-family: var(--display);
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 5px 0 var(--purple-dark);
}
.lp-steps li:nth-child(2) .lp-step-number { background: var(--blue); box-shadow: 0 5px 0 #0D76B6; }
.lp-steps li:nth-child(3) .lp-step-number { background: var(--teal); box-shadow: 0 5px 0 #068E87; }

.lp-steps h3 { margin-top: 20px; font-family: var(--display); font-size: 22px; font-weight: 600; }
.lp-steps p { margin-top: 8px; color: var(--ink-soft); }

/* Article text */
.lp-prose { max-width: 780px; }
.lp-prose article + article { margin-top: 44px; }
.lp-prose h2 { font-family: var(--display); font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.15; }
.lp-prose p { margin-top: 14px; font-size: 18px; color: var(--ink-soft); }
.lp-prose a { color: var(--purple); font-weight: 700; }
.lp-prose strong { color: var(--ink); }

/* Questions */
.lp-faq { display: grid; gap: 12px; }

.lp-faq details {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 0 rgba(30, 21, 72, 0.06);
    overflow: hidden;
}

.lp-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .material-icons { flex-shrink: 0; color: var(--purple); transition: transform 0.2s ease; }
.lp-faq details[open] summary .material-icons { transform: rotate(180deg); }
.lp-faq details p { padding: 0 22px 20px; color: var(--ink-soft); font-size: 17px; }

/* Related pages */
.lp-related {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.lp-related a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 24px;
    background: #fff;
    border: 2px solid #EFEAFF;
    border-radius: 22px;
    font-family: var(--display);
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lp-related a:hover { transform: translate(-3px, -3px); border-color: var(--purple); box-shadow: 6px 6px 0 var(--purple); }
.lp-related .material-icons { color: var(--purple); }

/* Closing call to action */
.lp-cta-section { padding: 0 0 110px; }

.lp-cta {
    position: relative;
    padding: 84px 40px 64px;
    background: linear-gradient(135deg, #2A1670 0%, #5B2FE0 55%, #A84DE0 100%);
    border-radius: 44px;
    color: #fff;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(62, 27, 168, 0.3);
}

.lp-cta .awning { position: absolute; top: 0; left: 0; right: 0; --w: 40px; height: 14px; }
.lp-cta h2 { font-family: var(--display); font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; line-height: 1.1; text-wrap: balance; }
.lp-cta p { margin: 16px auto 30px; max-width: 560px; font-size: 19px; font-weight: 600; opacity: 0.92; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
    .lp-hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .lp-problems, .lp-steps, .lp-related { grid-template-columns: 1fr; }
    .lp-hero-art.is-tablet { max-width: 620px; }
}

@media (max-width: 768px) {
    .lp-hero { padding: 110px 0 76px; }
    .lp-section { padding: 68px 0; }
    .lp-cta-section { padding-bottom: 76px; }
    .lp-cta { padding: 64px 22px 44px; border-radius: 32px; }
    .lp-faq summary { font-size: 17px; padding: 18px; }
    .lp-faq details p { padding: 0 18px 18px; }
}
