/* MiniSuit AI — design system (brand palette preserved: indigo #4F46E5 → violet #7C3AED, ocean #2c7da0) */
:root {
  --indigo: #4F46E5;
  --indigo-600: #4338ca;
  --indigo-700: #3730a3;
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --violet: #7C3AED;
  --ocean: #2c7da0;
  --teal: #0d9488;
  --amber: #d97706;
  --amber-50: #fffbeb;
  --emerald: #059669;
  --rose: #e11d48;
  --ink: #0f172a;
  --ink-2: #1f2937;
  --muted: #64748b;
  --line: #e6e9f5;
  --bg: #f6f7ff;
  --card: #ffffff;
  --grad: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  --grad-soft: linear-gradient(135deg, #eef4ff 0%, #f4f0ff 50%, #eafaff 100%);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 8px -2px rgba(79, 70, 229, .08);
  --shadow: 0 10px 30px -12px rgba(79, 70, 229, .25);
  --shadow-lg: 0 30px 60px -25px rgba(49, 46, 129, .35);
  --radius: 20px;
  --radius-lg: 28px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink-2); line-height: 1.6;
  background: linear-gradient(180deg, #f9faff 0%, #f0f3ff 100%); min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-700); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(79, 70, 229, .45); outline-offset: 2px; border-radius: 8px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; scroll-margin-top: 70px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--indigo);
  background: var(--indigo-50); border: 1px solid var(--indigo-100); padding: .35rem .8rem; border-radius: 999px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-top: 14px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.06rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border: 0; border-radius: 14px; padding: .8rem 1.25rem; font-weight: 650; font-size: .95rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s; white-space: nowrap;
}
.btn:disabled { opacity: .7; cursor: progress; transform: none !important; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .6); }
.btn-primary:hover { color: #fff; transform: translateY(-1px) scale(1.01); box-shadow: 0 14px 28px -10px rgba(79, 70, 229, .65); }
.btn-ghost { background: #fff; color: var(--ink-2); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--indigo); border-color: var(--indigo-100); transform: translateY(-1px); }
.btn-soft { background: var(--indigo-50); color: var(--indigo-600); }
.btn-soft:hover { background: var(--indigo-100); color: var(--indigo-700); }
.btn-success { background: var(--emerald); color: #fff; }
.btn-success:hover { background: #047857; color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #0f766e; color: #fff; }
.btn-violet { background: var(--violet); color: #fff; }
.btn-violet:hover { background: #6d28d9; color: #fff; }
.btn-sm { padding: .5rem .85rem; font-size: .84rem; border-radius: 11px; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.02rem; border-radius: 16px; }
.btn-block { width: 100%; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
.spinner.dark { border-color: #e5e7eb; border-top-color: var(--indigo); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(224, 231, 255, .9);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 800; font-size: 1.22rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 14px -6px rgba(79,70,229,.7); }
.brand span { color: var(--indigo); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { color: #475569; font-weight: 550; font-size: .92rem; padding: .5rem .8rem; border-radius: 10px; }
.nav-links a:hover { color: var(--indigo); background: var(--indigo-50); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 650; padding: .35rem .75rem; border-radius: 999px; background: #f1f5f9; color: #475569; }
.pill-premium { background: var(--amber-50); color: #b45309; border: 1px solid #fde68a; }
.pill-indigo { background: var(--indigo-50); color: var(--indigo-600); }
.pill-low { background: #fff1f2; color: var(--rose); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; padding: 10px 20px 16px; }
.mobile-menu a { display: block; padding: .7rem .2rem; color: var(--ink-2); font-weight: 600; border-bottom: 1px solid #f1f5f9; }
.mobile-menu.open { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; }
.hero::before { width: 520px; height: 520px; background: rgba(79, 70, 229, .16); top: -160px; left: -140px; }
.hero::after { width: 460px; height: 460px; background: rgba(124, 58, 237, .14); top: 40px; right: -160px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; margin-top: 18px; letter-spacing: -.035em; }
.hero-lead { font-size: 1.15rem; color: #475569; margin-top: 18px; max-width: 560px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 38px; flex-wrap: wrap; }
.stat strong { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--ink); }
.stat span { font-size: .84rem; color: var(--muted); }
.hero-visual { position: relative; }
.mock {
  background: rgba(255,255,255,.95); border: 1px solid #fff; border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow-lg); position: relative;
}
.mock-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; display: block; }
.mock-dots i:nth-child(1) { background: #fca5a5; } .mock-dots i:nth-child(2) { background: #fcd34d; } .mock-dots i:nth-child(3) { background: #86efac; }
.mock-file { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--indigo-50); }
.mock-file .ic { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--indigo); display: grid; place-items: center; }
.mock-job { display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.mock-job:last-child { border-bottom: 0; }
.mock-job b { color: var(--ink); font-weight: 650; }
.mock-job small { display: block; color: var(--muted); font-size: .76rem; }
.match { font-weight: 700; color: var(--indigo); font-size: .86rem; }
.bar { height: 6px; border-radius: 999px; background: #eef2ff; overflow: hidden; margin-top: 6px; width: 90px; }
.bar > i { display: block; height: 100%; background: var(--grad); border-radius: inherit; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .74rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: var(--indigo-50); color: var(--indigo-600); }
.chip.gap { background: #fff7ed; color: #c2410c; }
.float-card {
  position: absolute; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow);
  display: flex; gap: 10px; align-items: center; font-size: .82rem; font-weight: 600; border: 1px solid #f1f5f9;
  animation: float 6s ease-in-out infinite;
}
.float-card .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.float-a { left: -34px; bottom: 40px; }
.float-b { right: -22px; top: -22px; animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.glass { background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* About / mission */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: stretch; }
.about-story { padding: 36px; }
.about-story h3 { font-size: 1.5rem; display: flex; gap: .6rem; align-items: center; }
.about-story p { color: #475569; margin-top: 14px; }
.about-story .by { color: var(--indigo); font-weight: 650; font-size: .88rem; margin-top: 18px; }
.mv { display: grid; gap: 18px; }
.mv-card { padding: 26px; position: relative; overflow: hidden; }
.mv-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.1rem; margin-bottom: 14px; }
.mv-card h4 { font-size: 1.15rem; }
.mv-card p { color: #475569; margin-top: 8px; font-size: .96rem; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.value { padding: 20px; text-align: left; }
.value i { color: var(--indigo); font-size: 1.15rem; }
.value b { display: block; margin-top: 10px; color: var(--ink); }
.value span { font-size: .87rem; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service {
  padding: 24px 20px; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative;
  border-left: 4px solid var(--indigo); text-align: left; background: #fff; display: flex; flex-direction: column;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--indigo-100); }
.service .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 14px; }
.service h3 { font-size: 1.05rem; }
.service p { color: var(--muted); font-size: .88rem; margin-top: 8px; flex: 1; }
.service .go { margin-top: 14px; font-weight: 650; font-size: .86rem; color: var(--indigo); }
.tag { position: absolute; top: 14px; right: 14px; font-size: .68rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; }
.tag-free { background: #ecfdf5; color: var(--emerald); }
.tag-pro { background: var(--amber-50); color: #b45309; }
.ic-indigo { background: var(--indigo-50); color: var(--indigo); }
.ic-violet { background: #f5f3ff; color: var(--violet); }
.ic-amber { background: var(--amber-50); color: var(--amber); }
.ic-teal { background: #f0fdfa; color: var(--teal); }
.ic-ocean { background: #ecfeff; color: var(--ocean); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; position: relative; }
.step .num { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; font-family: var(--display); }
.step h4 { margin-top: 16px; font-size: 1.1rem; }
.step p { color: var(--muted); margin-top: 6px; font-size: .94rem; }

/* ---------- Workspace / tools ---------- */
.workspace { padding: 0; overflow: hidden; }
.tabs { display: flex; gap: 6px; padding: 10px; background: #f8f9ff; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto; border: 0; background: transparent; padding: .8rem 1rem; border-radius: 14px; font-weight: 650; color: #475569;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-size: .92rem; transition: background .15s, color .15s;
}
.tab:hover { background: #fff; color: var(--indigo); }
.tab.active { background: #fff; color: var(--indigo); box-shadow: var(--shadow-sm); }
.tab .lock { font-size: .7rem; color: #b45309; }
.panel { padding: 32px; }
.panel-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 22px; }
.panel-head h3 { font-size: 1.4rem; display: flex; gap: .6rem; align-items: center; }
.panel-head p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.label { font-size: .85rem; font-weight: 650; color: var(--ink-2); }
.hint { font-size: .78rem; color: var(--muted); }
.input, .textarea {
  width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: .8rem .95rem; font-size: .95rem;
  transition: border-color .15s, box-shadow .15s; outline: none;
}
.textarea { resize: vertical; min-height: 90px; line-height: 1.55; }
.input:focus, .textarea:focus { border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
.input.error { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(225, 29, 72, .1); }
.combo { position: relative; }
.combo-list {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); max-height: 230px; overflow-y: auto; padding: 6px;
}
.combo-list div { padding: .55rem .7rem; border-radius: 10px; cursor: pointer; font-size: .92rem; }
.combo-list div:hover, .combo-list div.hl { background: var(--indigo-50); color: var(--indigo-600); }
.combo-list .empty { color: var(--muted); cursor: default; }
.dropzone {
  border: 2px dashed #c7d2fe; border-radius: 18px; padding: 28px; text-align: center; cursor: pointer; background: #fbfcff;
  transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--indigo); background: var(--indigo-50); }
.dropzone i { font-size: 1.9rem; color: #818cf8; }
.dropzone p { margin-top: 8px; font-weight: 600; font-size: .94rem; }
.dropzone small { color: var(--muted); }
.dropzone.teal { border-color: #99f6e4; } .dropzone.teal:hover, .dropzone.teal.drag { border-color: var(--teal); background: #f0fdfa; } .dropzone.teal i { color: #2dd4bf; }
.file-chip { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--indigo-50); padding: 12px 14px; border-radius: 14px; }
.file-chip .name { font-weight: 600; font-size: .9rem; word-break: break-all; }
.file-chip .size { color: var(--muted); font-size: .78rem; margin-left: 6px; }
.link-danger { background: none; border: 0; color: var(--rose); font-weight: 600; font-size: .85rem; }
.divider { display: flex; align-items: center; gap: 12px; color: #94a3b8; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; margin: 4px 0; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.panel-actions { margin-top: 24px; }
.premium-note { display: flex; gap: 10px; align-items: center; background: var(--amber-50); border: 1px solid #fde68a; color: #92400e; padding: 12px 14px; border-radius: 14px; font-size: .88rem; margin-bottom: 20px; }
.premium-note button { margin-left: auto; }

.result { margin-top: 26px; }
.result-card { border-radius: 18px; padding: 22px; background: #f8fffb; border: 1px solid #d1fae5; }
.result-title { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: #065f46; }
.result-section { margin-top: 18px; }
.result-section h5 { margin: 0 0 8px; font-size: .9rem; color: var(--ink); font-family: var(--display); }
.job-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-top: 10px; }
.job-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.job-top b { color: var(--ink); font-size: 1rem; }
.job-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin-top: 6px; }
.job-missing { font-size: .8rem; color: #b45309; margin-top: 8px; }
.job-ok { font-size: .8rem; color: var(--emerald); margin-top: 8px; }
.apply { display: inline-flex; gap: .4rem; align-items: center; font-weight: 650; font-size: .86rem; margin-top: 10px; }
.callout { border-radius: 14px; padding: 14px 16px; font-size: .9rem; margin-top: 12px; }
.callout-amber { background: var(--amber-50); color: #78350f; }
.callout-blue { background: #eff6ff; color: #1e3a8a; }
.callout-teal { background: #f0fdfa; color: #134e4a; }
.callout-red { background: #fff1f2; color: #9f1239; }
.output { margin-top: 22px; }
.output .textarea { min-height: 320px; background: #fbfcff; font-size: .92rem; }
.output-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pretty { white-space: pre-wrap; font-size: .92rem; color: #334155; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.plan { padding: 32px; position: relative; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.plan:hover { transform: translateY(-5px); box-shadow: 0 24px 46px -20px rgba(79, 70, 229, .35); }
.plan-popular { border: 2px solid var(--indigo); background: linear-gradient(180deg, #ffffff 0%, #fafaff 100%); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .74rem; font-weight: 700; padding: .3rem .9rem; border-radius: 999px; white-space: nowrap; }
.plan-name { font-size: 1.2rem; font-weight: 750; font-family: var(--display); }
.price { font-family: var(--display); font-size: 2.8rem; font-weight: 800; color: var(--ink); margin-top: 10px; letter-spacing: -.03em; }
.price small { font-size: .95rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan-desc { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.features { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; flex: 1; }
.features li { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; color: #334155; }
.features li i { margin-top: 4px; font-size: .85rem; }
.features .yes i { color: var(--emerald); }
.features .pro i { color: var(--indigo); }
.features .no { color: #94a3b8; }
.features .no i { color: #cbd5e1; }
.pay-methods { display: flex; justify-content: center; gap: 14px; margin-top: 26px; color: var(--muted); font-size: .85rem; flex-wrap: wrap; }
.pay-methods span { display: inline-flex; gap: .4rem; align-items: center; }

/* ---------- Testimonials ---------- */
.ts-section { background: var(--grad-soft); border-radius: var(--radius-lg); padding: 48px 20px; }
.ts-carousel { position: relative; max-width: 760px; margin: 0 auto; outline: none; }
.ts-track { display: grid; }
.ts-slide {
  grid-area: 1 / 1; background: #fff; border-radius: 24px; box-shadow: 0 20px 45px -20px rgba(31,41,55,.28);
  padding: 40px 40px 30px; text-align: center; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease, visibility .55s;
}
.ts-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.ts-quote { color: var(--ocean); font-size: 1.7rem; }
.ts-text { color: #374151; font-size: 1.06rem; line-height: 1.75; font-style: italic; max-width: 580px; margin: 14px auto 0; }
.ts-person { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 22px; text-align: left; }
.ts-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--ocean), var(--indigo)); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.ts-name { font-weight: 700; color: #111827; font-size: .96rem; }
.ts-role { font-size: .8rem; color: #6b7280; }
.ts-stars { color: #f59e0b; margin-top: 12px; letter-spacing: 3px; }
.ts-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none;
  background: #fff; color: var(--ocean); box-shadow: 0 6px 16px -6px rgba(31,41,55,.35); display: grid; place-items: center; z-index: 3; transition: all .2s;
}
.ts-arrow:hover { background: var(--ocean); color: #fff; }
.ts-prev { left: -22px; } .ts-next { right: -22px; }
.ts-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 24px; }
.ts-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: #cbd5e1; padding: 0; transition: all .25s; }
.ts-dot.is-active { width: 28px; border-radius: 999px; background: var(--ocean); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 650; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--indigo); transition: transform .2s; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { color: #475569; padding: 0 0 18px; font-size: .95rem; }

/* ---------- CTA & footer ---------- */
.cta-band { background: var(--grad); color: #fff; border-radius: var(--radius-lg); padding: 56px 40px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.08); top: -200px; right: -120px; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.cta-band p { opacity: .9; margin-top: 10px; font-size: 1.05rem; }
.cta-band .btn-ghost { margin-top: 26px; color: var(--indigo-700); border: 0; }
footer { padding: 56px 0 36px; color: var(--muted); font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h5 { font-family: var(--display); color: var(--ink); font-size: .95rem; margin: 0 0 12px; }
.foot-grid a { display: block; color: var(--muted); padding: 3px 0; }
.foot-grid a:hover { color: var(--indigo); }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(15, 23, 42, .55); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-box { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 28px; position: relative; animation: pop .22s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1f5f9; color: #475569; font-size: 1.1rem; }
.modal-close:hover { background: #e2e8f0; }
.modal-icon { width: 58px; height: 58px; border-radius: 18px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.5rem; margin: 0 auto 12px; }
.modal-summary { background: var(--indigo-50); border-radius: 16px; padding: 16px; margin: 18px 0; }
.modal-summary .row { display: flex; justify-content: space-between; align-items: center; }
.modal-summary ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: .88rem; color: #334155; }
.modal-summary li i { color: var(--emerald); margin-right: 8px; }
.steps-mini { display: grid; gap: 6px; font-size: .82rem; color: var(--muted); margin: 12px 0; padding-left: 1.1rem; }
.status { margin-top: 14px; border-radius: 14px; padding: 12px 14px; font-size: .88rem; text-align: center; }
.status-ok { background: #ecfdf5; color: #065f46; }
.status-warn { background: var(--amber-50); color: #92400e; }
.status-err { background: #fff1f2; color: #9f1239; }
.status-info { background: #f8fafc; color: #475569; }

/* ---------- Toast ---------- */
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: 22px; z-index: 120; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 16px; font-size: .9rem; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: flex-start; animation: pop .2s ease; pointer-events: auto; }
.toast.ok i { color: #34d399; } .toast.warn i { color: #fbbf24; } .toast.err i { color: #fb7185; } .toast.info i { color: #a5b4fc; }

/* ---------- Chat ---------- */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; border: 0;
  background: var(--grad); color: #fff; font-size: 1.4rem; box-shadow: 0 14px 30px -10px rgba(79,70,229,.7); display: grid; place-items: center; transition: transform .2s;
}
.chat-fab:hover { transform: scale(1.06); }
.chat-fab .dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
.chat-win {
  position: fixed; right: 22px; bottom: 94px; z-index: 95; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - 120px));
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); animation: pop .2s ease;
}
.chat-head { background: var(--grad); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat-head .av { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.chat-head b { display: block; font-size: .98rem; }
.chat-head small { opacity: .85; font-size: .76rem; display: flex; align-items: center; gap: .35rem; }
.chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.chat-head .actions { margin-left: auto; display: flex; gap: 4px; }
.chat-head button { background: rgba(255,255,255,.14); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 10px; }
.chat-head button:hover { background: rgba(255,255,255,.26); }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; background: #f8f9ff; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: .9rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; color: #1f2937; }
.msg.user { background: var(--indigo); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg a { color: var(--indigo); text-decoration: underline; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #a5b4fc; animation: bounce 1.2s infinite; display: block; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .6; } 30% { transform: translateY(-5px); opacity: 1; } }
.quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 0; background: #fff; }
.quick button { border: 1px solid var(--indigo-100); background: var(--indigo-50); color: var(--indigo-600); border-radius: 999px; padding: .35rem .7rem; font-size: .76rem; font-weight: 600; }
.quick button:hover { background: var(--indigo-100); }
.chat-form { display: flex; gap: 8px; padding: 12px 14px 14px; background: #fff; }
.chat-form input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: .65rem 1rem; font-size: .9rem; outline: none; }
.chat-form input:focus { border-color: var(--indigo); }
.chat-form button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; flex-shrink: 0; }
.chat-foot { text-align: center; font-size: .7rem; color: #94a3b8; padding: 0 0 10px; background: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-visual { max-width: 520px; margin: 10px auto 0; width: 100%; }
  .float-a { left: -6px; } .float-b { right: -6px; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .section { padding: 64px 0; }
  .services { grid-template-columns: 1fr 1fr; }
  .pricing, .panel-grid { grid-template-columns: 1fr; }
  .panel { padding: 22px 18px; }
  .tab { flex: 0 0 auto; padding: .7rem .85rem; font-size: .86rem; }
  .ts-slide { padding: 30px 22px 24px; }
  .ts-text { font-size: .96rem; }
  .ts-prev { left: -6px; } .ts-next { right: -6px; }
  .ts-arrow { width: 38px; height: 38px; top: auto; bottom: -4px; transform: none; }
  .nav-actions .pill { display: none; }
  .about-story, .plan { padding: 24px; }
  .cta-band { padding: 42px 22px; }
}
@media (max-width: 460px) {
  .services, .values, .foot-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 20px; }
  .float-card { display: none; }
  .chat-win { right: 12px; bottom: 88px; }
  .chat-fab { right: 14px; bottom: 14px; }
  .nav-actions .btn span { display: none; }
}
