/* TextLot Pro — public website */
:root {
  --b1: #5546FF; --b2: #9333EA; --grad: linear-gradient(135deg, #5546FF, #9333EA);
  --ink: #0F1220; --ink-2: #3A3F55; --muted: #646A85; --line: #E9E7F3; --soft: #F6F4FE; --pro: #22C55E;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--b1); }
img { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wordmark { height: 34px; width: auto; display: block; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font: 700 15px/1 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .08s, box-shadow .2s, background .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(85, 70, 255, .3); }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(85, 70, 255, .42); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: #cfcae8; }
.btn-white { background: #fff; color: var(--b1); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }

/* header */
.announce { background: var(--grad); color: #fff; font-size: 14px; font-weight: 600; text-align: center; padding: 8px 16px; }
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.site-nav { display: flex; gap: 26px; flex: 1; }
.site-nav a { color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; }
.site-nav a:hover, .site-nav a.is-active { color: var(--b1); }
.head-cta { display: flex; gap: 10px; align-items: center; }
.head-cta .login { font-weight: 700; color: var(--ink); text-decoration: none; padding: 0 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; background: radial-gradient(900px 500px at 85% 10%, rgba(147, 51, 234, .14), transparent 60%), radial-gradient(700px 520px at 5% 90%, rgba(85, 70, 255, .12), transparent 60%), linear-gradient(180deg, #FBFAFF, #fff); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 650; color: var(--ink-2); margin-bottom: 22px; box-shadow: 0 2px 8px rgba(15, 18, 32, .04); }
.eyebrow .pro { background: var(--pro); color: #fff; font-weight: 800; font-size: 11px; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 20px; font-weight: 800; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: 19px; color: var(--muted); max-width: 540px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .ic { width: 17px; height: 17px; color: var(--pro); stroke-width: 2.4; }

/* phone mockup */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-stage::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--grad); opacity: .16; filter: blur(10px); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.phone { position: relative; width: 300px; height: 610px; border-radius: 46px; background: #0F1220; padding: 12px; box-shadow: 0 40px 80px rgba(42, 26, 120, .28), 0 0 0 2px #2A2F45 inset; }
.phone-screen { width: 100%; height: 100%; border-radius: 36px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0F1220; z-index: 2; }
.ps-head { padding: 52px 16px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #F0EEF8; }
.ps-av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #F97316, #EC4899); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.ps-name { font-weight: 750; font-size: 14px; line-height: 1.2; }
.ps-sub { font-size: 11px; color: var(--muted); }
.ps-free { margin-left: auto; font-size: 10px; font-weight: 800; color: #12A150; background: #E3F7EB; padding: 3px 7px; border-radius: 6px; }
.ps-body { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; background: #FAF9FF; }
.ps-b { max-width: 78%; padding: 8px 12px; border-radius: 18px; font-size: 13px; line-height: 1.35; }
.ps-b.t { background: #EFEEF5; align-self: flex-start; border-bottom-left-radius: 5px; }
.ps-b.m { background: var(--grad); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.ps-img { align-self: flex-end; width: 150px; height: 104px; border-radius: 16px; background: linear-gradient(135deg, #FDE68A, #FB923C 55%, #EC4899); position: relative; overflow: hidden; }
.ps-img::after { content: ""; position: absolute; left: 18px; bottom: 16px; width: 90px; height: 40px; border-radius: 50% 50% 0 0; background: rgba(255,255,255,.55); }
.ps-meta { font-size: 10px; color: var(--muted); align-self: flex-end; margin-right: 4px; }
.ps-comp { padding: 10px 12px 18px; display: flex; gap: 8px; align-items: center; border-top: 1px solid #F0EEF8; }
.ps-comp i { flex: 1; height: 34px; border-radius: 17px; border: 1.5px solid #E9E7F3; display: block; }
.ps-comp b { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); display: block; }
.float-card { position: absolute; background: #fff; border-radius: 16px; box-shadow: 0 16px 40px rgba(15, 18, 32, .14); padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 650; }
.float-card small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.float-card .fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.fc-1 { left: -10px; top: 120px; }
.fc-2 { right: -14px; bottom: 120px; }

/* sections */
section { padding: 90px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.03em; margin: 10px 0 14px; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: #fff; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(42, 26, 120, .08); }
.f-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--grad); margin-bottom: 18px; }
.f-icon .ic { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -.01em; }
.feature p { color: var(--muted); margin: 0; }
.feature.alt .f-icon { background: linear-gradient(135deg, #06B6D4, #3B82F6); }
.feature.alt2 .f-icon { background: linear-gradient(135deg, #22C55E, #0EA5E9); }

.how { background: var(--soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border-radius: 24px; padding: 28px; position: relative; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 22px; justify-content: center; }
.plan { border: 1.5px solid var(--line); border-radius: 28px; padding: 32px; background: #fff; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: 0 24px 60px rgba(85, 70, 255, .16); }
.plan .tag { position: absolute; top: -13px; left: 32px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.plan h3 { font-size: 22px; margin: 0; display: flex; align-items: center; gap: 10px; }
.plan h3 .pro { background: var(--pro); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 3px 8px; border-radius: 7px; }
.plan .for { color: var(--muted); margin: 6px 0 20px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price b { font-size: 54px; letter-spacing: -.04em; line-height: 1; }
.price span { color: var(--muted); font-weight: 600; }
.price-note { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ic { width: 20px; height: 20px; color: var(--pro); stroke-width: 2.6; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2.4px solid var(--muted); border-bottom: 2.4px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* CTA band */
.cta-band { padding: 0 0 90px; }
.cta-box { background: #141826; color: #fff; border-radius: 32px; padding: 56px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-box::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(147, 51, 234, .55), transparent 65%); }
.cta-box::after { content: ""; position: absolute; width: 420px; height: 420px; left: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(85, 70, 255, .5), transparent 65%); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 8px; letter-spacing: -.03em; line-height: 1.1; }
.cta-box p { margin: 0; color: #C9C6FF; font-size: 17px; }

/* simple pages */
.page-hero { padding: 64px 0 30px; text-align: center; background: linear-gradient(180deg, #FBFAFF, #fff); }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -.035em; line-height: 1.08; margin: 10px 0 12px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto; }
.prose { max-width: 760px; margin: 0 auto; padding: 20px 24px 80px; }
.prose h2 { font-size: 22px; margin: 34px 0 10px; letter-spacing: -.01em; }
.prose h3 { font-size: 17px; margin: 22px 0 6px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 22px; }
.prose .updated { color: var(--muted); font-size: 14px; text-align: center; margin-top: -6px; }
.prose .callout { border-radius: 16px; background: var(--soft); border: 1px solid var(--line); padding: 16px 18px; margin: 18px 0; }
.prose .callout.warn { background: #FFF5F5; border-color: #FBD5DA; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; max-width: 1000px; margin: 0 auto; padding: 10px 24px 90px; }
.contact-card { border: 1px solid var(--line); border-radius: 24px; padding: 26px; background: #fff; }
.contact-card h3 { margin-top: 0; }
.contact-card label { display: block; font-weight: 650; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.contact-card input, .contact-card select, .contact-card textarea { width: 100%; font: 500 15px var(--font); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; margin-bottom: 14px; outline: none; background: #fff; color: var(--ink); }
.contact-card input:focus, .contact-card select:focus, .contact-card textarea:focus { border-color: var(--b1); box-shadow: 0 0 0 4px rgba(85, 70, 255, .14); }
.contact-card textarea { min-height: 140px; resize: vertical; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.contact-line .ci { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--b1); flex: none; }
.flash { border-radius: 12px; padding: 11px 14px; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.flash-success { background: #E3F7EB; color: #12A150; }
.flash-error { background: #FDE8EC; color: #DC2645; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0; }
.about-grid div { border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.about-grid b { display: block; font-size: 17px; margin-bottom: 4px; }

/* footer */
.site-foot { background: #0F1220; color: #A9AEC6; padding: 60px 0 30px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.site-foot .wordmark { color: #fff; height: 32px; margin-bottom: 14px; }
.site-foot h4 { color: #fff; font-size: 14px; margin: 4px 0 14px; letter-spacing: .02em; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-foot a { color: #A9AEC6; text-decoration: none; }
.site-foot a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid #23283B; margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }
.foot-company { font-size: 13px; line-height: 1.6; opacity: .85; }
.foot-bottom .small-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-note { justify-content: center; }
  .phone-stage { margin-top: 20px; }
  .features, .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 24px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(15, 18, 32, .08); }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-head.open .site-nav { display: flex; }
  .menu-toggle { display: inline-flex; }
  .site-head .wrap { gap: 12px; justify-content: space-between; }
  .head-cta .btn { display: none; }
}
@media (max-width: 560px) {
  section { padding: 64px 0; }
  .hero { padding: 40px 0 60px; }
  .wrap { padding: 0 18px; }
  .phone { width: 262px; height: 532px; }
  .fc-1 { left: -18px; top: 90px; }
  .fc-2 { right: -18px; bottom: 90px; }
  .cta-box { padding: 34px 26px; }
  .foot-grid { grid-template-columns: 1fr; }
  .plan { padding: 26px; }
  .wordmark { height: 28px; }
  .head-cta .login { padding: 0 4px; font-size: 14px; }
}
.site-nav .mobile-only { display: none; }
@media (max-width: 960px) { .site-head.open .site-nav .mobile-only { display: block; } }

/* Four plans with a billing-period switch */
.plans.plans-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1180px; margin: 0 auto; gap: 18px; }
.plans-4 .plan { padding: 26px 22px; border-radius: 24px; }
.plans-4 .plan .tag { left: 22px; }
.plans-4 .price b { font-size: 42px; }
.plans-4 .plan ul { font-size: 14.5px; gap: 9px; }
.price-note s { opacity: .7; }
.plan-terms { display: flex; justify-content: center; gap: 4px; margin: 0 auto 16px; padding: 4px; border: 1.5px solid var(--line); border-radius: 999px; width: max-content; max-width: 100%; background: #fff; flex-wrap: wrap; }
.plan-terms button { border: 0; background: none; font: 700 14px/1 var(--font); color: var(--ink-2); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.plan-terms button span { color: var(--pro); font-weight: 800; }
.plan-terms button.on { background: var(--grad); color: #fff; }
.plan-terms button.on span { color: #D9FBE5; }
.plan-intro { text-align: center; margin: 0 auto 26px; color: var(--ink-2); font-size: 15px; display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.plan-intro .ic { width: 18px; height: 18px; color: var(--b1); }
@media (max-width: 1100px) { .plans.plans-4 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; } }
@media (max-width: 560px) { .plans.plans-4 { grid-template-columns: 1fr; } .plan-terms button { padding: 9px 11px; font-size: 13px; } }
