/* SoftTalk public homepage redesign. Everything is scoped under .st-home. */
.st-home {
    --st-bg: #fbfbfa;
    --st-surface: #ffffff;
    --st-ink: #0b1b2b;
    --st-navy: #0b1b2b;
    --st-navy-2: #12283d;
    --st-muted: #5b6b7a;
    --st-line: #e6e8e6;
    --st-green: #0d9e6f;
    --st-green-dark: #0a7f59;
    --st-green-soft: #e6f6f0;
    background: var(--st-bg);
    color: var(--st-ink);
    font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}
.st-home *, .st-home *::before, .st-home *::after { box-sizing: border-box; }
.st-home h1, .st-home h2, .st-home h3, .st-home h4 { color: var(--st-ink); letter-spacing: -0.02em; margin: 0; }
.st-home p { margin: 0; }
.st-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.st-section { padding: 88px 0; }
.st-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
    color: var(--st-green-dark); background: var(--st-green-soft); border-radius: 999px; padding: 6px 14px;
}
.st-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--st-green); display: inline-block; }
.st-h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; font-weight: 700; margin-top: 16px; }
.st-lead { font-size: 18px; line-height: 1.6; color: var(--st-muted); }
.st-sub { max-width: 640px; margin: 14px auto 0; color: var(--st-muted); font-size: 17px; line-height: 1.6; }
.st-center { text-align: center; }

/* Buttons */
.st-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px;
    padding: 14px 24px; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none;
    border: 1.5px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.st-btn:hover { transform: translateY(-2px); text-decoration: none; }
.st-btn:focus-visible { outline: 3px solid rgba(13, 158, 111, .4); outline-offset: 2px; }
.st-btn-primary { background: var(--st-green); color: #fff; box-shadow: 0 8px 20px rgba(13, 158, 111, .28); }
.st-btn-primary:hover { background: var(--st-green-dark); color: #fff; }
.st-btn-dark { background: var(--st-navy); color: #fff; }
.st-btn-dark:hover { background: var(--st-navy-2); color: #fff; }
.st-btn-ghost { background: transparent; color: var(--st-ink); border-color: #cfd5d2; }
.st-btn-ghost:hover { border-color: var(--st-ink); color: var(--st-ink); }
.st-btn-light { background: #fff; color: var(--st-navy); }
.st-btn-light:hover { color: var(--st-navy); }

/* Hero */
.st-hero { padding: 150px 0 72px; position: relative; }
.st-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 60% 50% at 80% 10%, rgba(13, 158, 111, .10), transparent 70%);
}
.st-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.st-hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; font-weight: 800; margin-top: 20px; }
.st-hero h1 em { font-style: normal; color: var(--st-green); }
.st-hero .st-lead { margin-top: 20px; max-width: 520px; }
.st-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.st-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14px; color: var(--st-muted); }
.st-trust span::before { content: "✓"; color: var(--st-green); font-weight: 700; margin-right: 6px; }

/* Call console */
.st-console {
    background: linear-gradient(160deg, var(--st-navy-2), var(--st-navy)); border-radius: 24px; color: #dbe6ee;
    box-shadow: 0 30px 60px rgba(11, 27, 43, .25); overflow: hidden; border: 1px solid rgba(255, 255, 255, .06);
}
.st-console-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.st-live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #fff; }
.st-live i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc9f; animation: st-pulse 1.8s infinite; }
.st-sim-badge { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ffd98a; background: rgba(255, 217, 138, .12); border: 1px solid rgba(255, 217, 138, .35); border-radius: 999px; padding: 4px 10px; }
.st-console-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.st-wave { display: flex; align-items: center; gap: 3px; height: 28px; }
.st-wave b { width: 3px; border-radius: 3px; background: var(--st-green); animation: st-wave 1.2s ease-in-out infinite; }
.st-wave b:nth-child(odd) { animation-delay: .15s; } .st-wave b:nth-child(3n) { animation-delay: .35s; }
.st-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; opacity: 0; animation: st-rise .6s ease forwards; }
.st-msg small { display: block; font-size: 11px; opacity: .6; margin-bottom: 3px; font-weight: 600; }
.st-msg.ai { background: rgba(13, 158, 111, .18); border: 1px solid rgba(13, 158, 111, .35); color: #eafaf3; align-self: flex-start; border-bottom-left-radius: 4px; }
.st-msg.caller { background: rgba(255, 255, 255, .08); color: #e8eef3; align-self: flex-end; border-bottom-right-radius: 4px; }
.st-msg:nth-child(2) { animation-delay: .3s; } .st-msg:nth-child(3) { animation-delay: .9s; }
.st-msg:nth-child(4) { animation-delay: 1.5s; } .st-msg:nth-child(5) { animation-delay: 2.1s; }
.st-booking { margin: 4px 18px 18px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 255, 255, .22); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.st-booking strong { display: block; color: #fff; font-size: 15px; }
.st-booking span { font-size: 12.5px; color: #9fb2c2; }
.st-booking .st-pill-ok { background: #3ddc9f; color: #05281b; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.st-console-foot { padding: 10px 18px 14px; font-size: 11.5px; color: #8ea2b2; }

/* Cards / steps */
.st-grid { display: grid; gap: 20px; margin-top: 48px; }
.st-grid-4 { grid-template-columns: repeat(4, 1fr); }
.st-grid-3 { grid-template-columns: repeat(3, 1fr); }
.st-card { background: var(--st-surface); border: 1px solid var(--st-line); border-radius: 20px; padding: 26px; transition: transform .25s ease, box-shadow .25s ease; }
.st-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(11, 27, 43, .08); }
.st-card h3 { font-size: 18px; font-weight: 700; margin: 14px 0 8px; }
.st-card p { font-size: 15px; line-height: 1.55; color: var(--st-muted); }
.st-num { width: 40px; height: 40px; border-radius: 12px; background: var(--st-green-soft); color: var(--st-green-dark); font-weight: 800; display: grid; place-items: center; }
.st-band { background: var(--st-surface); border-top: 1px solid var(--st-line); border-bottom: 1px solid var(--st-line); }

/* Analytics */
.st-analytics { background: var(--st-navy); border-radius: 28px; padding: 40px; color: #dbe6ee; margin-top: 48px; }
.st-analytics .st-sim-badge { margin-bottom: 20px; display: inline-block; }
.st-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.st-kpi { background: rgba(255, 255, 255, .06); border-radius: 16px; padding: 18px; }
.st-kpi b { display: block; font-size: 30px; color: #fff; letter-spacing: -0.02em; }
.st-kpi span { font-size: 13px; color: #9fb2c2; }
.st-bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; margin-top: 26px; }
.st-bars i { flex: 1; border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, var(--st-green), rgba(13, 158, 111, .35)); transform-origin: bottom; animation: st-grow 1s ease both; }

/* Demo */
.st-demo { background: var(--st-navy); color: #dbe6ee; }
.st-demo .st-h2, .st-demo h3 { color: #fff; }
.st-demo .st-sub { color: #9fb2c2; }
.st-demo .st-eyebrow { background: rgba(13, 158, 111, .2); color: #6ee7b7; }
.st-demo-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
.st-demo-grid.has-inbound { grid-template-columns: 1.4fr 1fr; align-items: start; }
.st-demo .container { max-width: 100%; padding: 0; }
.st-voices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.st-voice { display: flex; align-items: center; gap: 12px; text-align: left; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 12px; color: #fff; cursor: pointer; transition: background .2s ease; }
.st-voice:hover { background: rgba(255, 255, 255, .1); }
.st-voice img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.st-voice span { font-size: 14px; font-weight: 600; flex: 1; }
.st-voice i { color: #6ee7b7; }

/* FAQ */
.st-faq { max-width: 820px; margin: 40px auto 0; }
.st-faq details { background: var(--st-surface); border: 1px solid var(--st-line); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; }
.st-faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary::after { content: "+"; color: var(--st-green); font-size: 22px; line-height: 1; }
.st-faq details[open] summary::after { content: "–"; }
.st-faq .st-faq-body { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--st-muted); }

/* Final CTA */
.st-final { background: linear-gradient(135deg, var(--st-green), #087a56); border-radius: 32px; padding: 64px 28px; text-align: center; color: #fff; }
.st-final h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.st-final p { margin: 14px auto 0; max-width: 560px; color: rgba(255, 255, 255, .88); font-size: 17px; }
.st-final .st-cta-row { justify-content: center; }
.st-final .st-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.st-final .st-btn-ghost:hover { border-color: #fff; color: #fff; }

/* Reveal on scroll */
.st-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.st-reveal.in { opacity: 1; transform: none; }

@keyframes st-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 159, .6); } 70% { box-shadow: 0 0 0 9px rgba(61, 220, 159, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 159, 0); } }
@keyframes st-wave { 0%, 100% { height: 6px; } 50% { height: 26px; } }
@keyframes st-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes st-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (max-width: 991px) {
    .st-hero { padding-top: 120px; }
    .st-hero-grid, .st-demo-grid.has-inbound { grid-template-columns: 1fr; }
    .st-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .st-grid-3 { grid-template-columns: 1fr; }
    .st-kpis { grid-template-columns: repeat(2, 1fr); }
    .st-voices { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .st-section { padding: 60px 0; }
    .st-grid-4 { grid-template-columns: 1fr; }
    .st-cta-row .st-btn { width: 100%; }
    .st-analytics { padding: 24px 18px; }
    .st-msg { max-width: 94%; }
}
@media (prefers-reduced-motion: reduce) {
    .st-home *, .st-home *::before, .st-home *::after { animation: none !important; transition: none !important; }
    .st-msg, .st-reveal { opacity: 1; transform: none; }
}
.st-demo-grid > .col-lg-4 { width: 100%; max-width: 100%; padding: 0; flex: none; }
.st-demo-grid .card { border: 0; background: transparent; }

/* FAQ rich content (embedded video, tables) */
.st-faq .st-faq-body iframe { max-width: 100%; border: 0; border-radius: 12px; }
.st-faq .st-faq-body table { width: 100%; border-collapse: collapse; margin: 12px 0; display: block; overflow-x: auto; }
.st-faq .st-faq-body th, .st-faq .st-faq-body td { border: 1px solid var(--st-line); padding: 8px 12px; text-align: left; }
.st-faq .st-faq-body th { background: var(--st-green-soft); color: var(--st-ink); }
