/* Palm reading SEO landing page */
.palm-landing {
    padding-bottom: 24px;
}

.palm-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
    padding: 36px 24px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #fffdf2 0%, #fff4b8 45%, #ffe77a 100%);
    border: 1px solid rgba(233, 208, 0, 0.55);
    box-shadow: 0 12px 40px rgba(233, 208, 0, 0.18);
    margin-bottom: 28px;
}

.palm-hero::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    top: -80px;
    right: -60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.65) 0%, transparent 70%);
    pointer-events: none;
}

.palm-hero-copy {
    position: relative;
    z-index: 1;
    text-align: center;
}

.palm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(30, 26, 8, 0.12);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--kc-subtitle, #5f5209);
}

.palm-hero-badge .material-icons {
    font-size: 16px;
    color: #c15700;
}

.palm-hero h1 {
    font-size: clamp(1.85rem, 5vw, 2.65rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--kc-title, #191506);
    margin-bottom: 14px;
}

.palm-hero-lead {
    font-size: clamp(1rem, 2.4vw, 1.15rem);
    color: var(--kc-subtitle, #5f5209);
    max-width: 540px;
    margin: 0 auto 22px;
    line-height: 1.65;
}

.palm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.palm-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8a00, #ff6f00);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(255, 111, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.palm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 111, 0, 0.42);
    color: #fff;
}

.palm-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(30, 26, 8, 0.14);
    color: var(--kc-ink, #1e1a08);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.palm-btn-secondary:hover {
    background: #fff;
    color: var(--kc-ink, #1e1a08);
}

.palm-hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
}

.palm-hero-visual-ring {
    position: absolute;
    width: min(280px, 72vw);
    height: min(280px, 72vw);
    border-radius: 50%;
    border: 2px dashed rgba(193, 87, 0, 0.25);
    animation: palm-ring-spin 28s linear infinite;
}

.palm-hero-visual-glow {
    position: absolute;
    width: min(220px, 60vw);
    height: min(220px, 60vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 138, 0, 0.22) 0%, transparent 68%);
}

.palm-hero-visual img {
    position: relative;
    width: min(200px, 55vw);
    height: auto;
    filter: drop-shadow(0 14px 28px rgba(193, 87, 0, 0.22));
    animation: palm-float 4s ease-in-out infinite;
}

.palm-hero-visual-icon {
    position: relative;
    width: min(180px, 48vw);
    height: min(180px, 48vw);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.55);
    border: 2px solid rgba(193, 87, 0, 0.2);
    box-shadow: 0 14px 28px rgba(193, 87, 0, 0.18);
    animation: palm-float 4s ease-in-out infinite;
}

.palm-hero-visual-icon .material-icons {
    font-size: min(96px, 26vw);
    color: #c15700;
    filter: drop-shadow(0 4px 12px rgba(193, 87, 0, 0.2));
}

@keyframes palm-ring-spin {
    to { transform: rotate(360deg); }
}

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

.palm-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 28px;
}

.palm-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eee;
    text-align: center;
}

.palm-trust-item .material-icons {
    font-size: 22px;
    color: #c15700;
}

.palm-trust-item strong {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--kc-title, #191506);
}

.palm-trust-item span {
    font-size: 0.72rem;
    color: var(--kc-muted, #616161);
    line-height: 1.35;
}

.palm-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 32px;
}

.palm-feature-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px 20px;
    border: 1px solid #eee;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.palm-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(233, 208, 0, 0.14);
}

.palm-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff6b0, #ffe77a);
    margin-bottom: 12px;
}

.palm-feature-icon .material-icons {
    font-size: 22px;
    color: #c15700;
}

.palm-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--kc-title, #191506);
    margin-bottom: 8px;
}

.palm-feature-card p {
    margin: 0;
    font-size: 0.92rem;
    color: #555;
    line-height: 1.6;
}

.palm-section-head {
    text-align: center;
    margin-bottom: 22px;
}

.palm-section-head h2 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    color: var(--kc-title, #191506);
    margin-bottom: 8px;
}

.palm-section-head p {
    margin: 0;
    color: var(--kc-muted, #616161);
    font-size: 0.95rem;
}

.palm-steps {
    margin-bottom: 32px;
}

.palm-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.palm-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 18px;
    background: #fffdf8;
    border: 1px solid #f0e6c8;
}

.palm-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--kc-gold, #e9d000);
    font-weight: 900;
    font-size: 0.95rem;
    color: var(--kc-ink, #1e1a08);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.palm-step h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--kc-title, #191506);
}

.palm-step p {
    margin: 0;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.55;
}

.palm-app-cta {
    position: relative;
    overflow: hidden;
    padding: 32px 24px;
    border-radius: 22px;
    margin-bottom: 28px;
    text-align: center;
    background: linear-gradient(145deg, #1e1a08 0%, #3d2f0a 55%, #5a3b00 100%);
    color: #fff;
    box-shadow: 0 16px 40px rgba(30, 26, 8, 0.28);
}

.palm-app-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(255, 231, 122, 0.18) 0%, transparent 45%);
    pointer-events: none;
}

.palm-app-cta-inner {
    position: relative;
    z-index: 1;
}

.palm-app-cta h2 {
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    font-weight: 900;
    margin-bottom: 10px;
}

.palm-app-cta p {
    max-width: 520px;
    margin: 0 auto 20px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.palm-app-cta .palm-btn-primary {
    background: linear-gradient(135deg, #ffe77a, #e9d000);
    color: var(--kc-ink, #1e1a08);
    box-shadow: 0 8px 24px rgba(233, 208, 0, 0.35);
}

.palm-app-cta .palm-btn-primary:hover {
    color: var(--kc-ink, #1e1a08);
}

.palm-app-note {
    display: block;
    margin-top: 14px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}

.palm-seo {
    background: #fffdf8;
    border-radius: 20px;
    padding: 28px 22px;
    border: 1px solid #f0e6c8;
    line-height: 1.75;
    font-size: 0.95rem;
    color: #3e2e16;
}

.palm-sticky-cta {
    display: none;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    z-index: 1035;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(233, 208, 0, 0.65);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
}

.palm-sticky-cta.is-visible {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.palm-sticky-cta-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--kc-title, #191506);
    line-height: 1.3;
}

.palm-sticky-cta .palm-btn-primary {
    padding: 10px 18px;
    font-size: 0.85rem;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .palm-hero {
        grid-template-columns: 1.05fr 0.95fr;
        padding: 48px 40px;
        gap: 32px;
    }

    .palm-hero-copy {
        text-align: left;
    }

    .palm-hero-lead {
        margin-left: 0;
    }

    .palm-hero-actions {
        justify-content: flex-start;
    }

    .palm-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .palm-steps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .palm-step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .palm-trust-row {
        grid-template-columns: 1fr;
    }

    body.kc-bottom-nav-active .palm-landing,
    body.kc-bottom-nav-active .face-landing {
        padding-bottom: 72px;
    }
}

@media (min-width: 992px) {
    .palm-sticky-cta {
        display: none !important;
    }
}

/* Face reading landing hero scan */
.face-landing .face-hero-scan {
    position: relative;
    overflow: hidden;
    width: min(200px, 55vw);
    border-radius: 12px;
    filter: drop-shadow(0 14px 28px rgba(60, 20, 95, 0.28));
    z-index: 1;
}

.face-landing .face-hero-scan img {
    display: block;
    width: 100%;
    height: auto;
    filter: none;
    animation: palm-float 4s ease-in-out infinite;
}

.face-landing .face-hero-scan::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #27E2C0, #fff, #27E2C0, transparent);
    animation: face-hero-scan 4.2s ease-in-out infinite alternate;
    z-index: 1;
    pointer-events: none;
}

@keyframes face-hero-scan {
    from { top: 15%; }
    to { top: 85%; }
}
