/* ============================================================
   Doctor HTML — TypeIt4U Exact Theme
   Primary: #FF6B9D (hot pink), Font: Poppins/Inter, White bg
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* ── Brand: EXACT TypeIt4U colors ── */
  --pink:         #FF6B9D;
  --pink-dark:    #e85589;
  --pink-light:   #ff8fb5;
  --pink-glow:    rgba(255,107,157,0.18);
  --orange:       #FF8C42;
  --grad:         linear-gradient(135deg, #FF6B9D 0%, #FF8C42 100%);
  --grad-soft:    linear-gradient(135deg, #fff0f6 0%, #fff8f4 100%);

  /* ── Tints ── */
  --pink-50:   #fff0f6;
  --pink-100:  #ffe0ed;
  --pink-200:  #ffc0d9;
  --peach-50:  #fff8f3;
  --peach-100: #ffede0;

  /* ── Backgrounds ── */
  --bg:       #ffffff;
  --bg-soft:  #fafafa;
  --bg-card:  #ffffff;

  /* ── Text ── */
  --ink:      #1a1a2e;
  --ink-2:    #52526b;
  --ink-3:    #a0a0b8;

  /* ── Borders ── */
  --line:     rgba(0,0,0,0.08);
  --line-sm:  rgba(0,0,0,0.05);
  --line-pk:  rgba(255,107,157,0.2);

  /* ── Status ── */
  --green:    #22c55e;
  --green-bg: rgba(34,197,94,0.1);
  --amber:    #f59e0b;
  --amber-bg: rgba(245,158,11,0.1);
  --red:      #ef4444;
  --red-bg:   rgba(239,68,68,0.1);
  --blue:     #3b82f6;
  --blue-bg:  rgba(59,130,246,0.1);

  /* ── Shape ── */
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --pill: 100px;

  /* ── Shadows ── */
  --sh-xs:   0 1px 3px rgba(0,0,0,0.06);
  --sh-sm:   0 2px 8px rgba(0,0,0,0.08);
  --sh:      0 4px 20px rgba(0,0,0,0.09);
  --sh-lg:   0 12px 40px rgba(0,0,0,0.11);
  --sh-pink: 0 6px 20px rgba(255,107,157,0.32);

  /* ── Typography ── */
  --font:     'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
  --font-alt: 'Inter', system-ui, -apple-system, sans-serif;

  --t: 0.18s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; color: var(--ink); }
p { color: var(--ink-2); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
ul { list-style: none; }
button, input, select, textarea { font-family: var(--font); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--pink-200); border-radius: 3px; }

/* ── Utilities ── */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 88px 0; }
.muted      { color: var(--ink-3); font-size: 0.84rem; }


/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  border-radius: var(--pill);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--t);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn, .btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--sh-pink);
}
.btn:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,107,157,0.38);
  color: #fff;
}
.btn:active { transform: translateY(0); }

.btn-white {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: var(--sh-xs);
}
.btn-white:hover { border-color: var(--line-pk); background: var(--pink-50); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--pink);
  border: 1.5px solid var(--pink);
}
.btn-outline:hover { background: var(--pink-50); transform: translateY(-1px); }

.btn-ghost {
  background: var(--pink-50);
  color: var(--pink);
  border: none;
}
.btn-ghost:hover { background: var(--pink-100); }

.btn-success { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(34,197,94,0.25); }
.btn-success:hover { transform: translateY(-1px); color: #fff; }
.btn-danger  { background: var(--red);   color: #fff; }
.btn-danger:hover { transform: translateY(-1px); color: #fff; }

.btn-sm  { padding: 7px 16px; font-size: 0.8rem; }
.btn-lg  { padding: 13px 30px; font-size: 0.95rem; }
.btn-full { width: 100%; justify-content: center; }


/* ══════════════════════════════════════
   FORMS
══════════════════════════════════════ */
.form-group { margin-bottom: 16px; }
label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-control {
  width: 100%;
  padding: 10px 13px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  font-size: 0.875rem;
  font-family: var(--font);
  outline: none;
  transition: all var(--t);
}
.form-control:focus { border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-glow); }
.form-control::placeholder { color: var(--ink-3); }
select.form-control {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23a0a0b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
textarea.form-control { resize: vertical; min-height: 90px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr;     gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }


/* ══════════════════════════════════════
   BADGES
══════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--pill);
  font-size: 0.69rem;
  font-weight: 600;
  line-height: 1.4;
}
.badge-pink    { background: var(--pink-100);  color: var(--pink-dark); }
.badge-green   { background: var(--green-bg);  color: #16a34a; }
.badge-red     { background: var(--red-bg);    color: #dc2626; }
.badge-amber   { background: var(--amber-bg);  color: #d97706; }
.badge-blue    { background: var(--blue-bg);   color: #2563eb; }
.badge-gray    { background: var(--bg-soft);   color: var(--ink-3); border: 1px solid var(--line); }
/* Status */
.badge.completed, .badge.status-completed   { background: var(--green-bg); color: #16a34a; }
.badge.processing,.badge.status-processing  { background: var(--blue-bg);  color: #2563eb; }
.badge.queued,    .badge.status-queued      { background: var(--amber-bg); color: #d97706; }
.badge.failed,    .badge.status-failed      { background: var(--red-bg);   color: #dc2626; }
.badge.draft,     .badge.status-draft       { background: var(--bg-soft);  color: var(--ink-3); }


/* ══════════════════════════════════════
   ALERTS
══════════════════════════════════════ */
.alert {
  padding: 11px 15px;
  border-radius: var(--r);
  font-size: 0.84rem;
  margin-bottom: 14px;
  border-left: 3px solid;
  line-height: 1.5;
}
.alert-error   { background: var(--red-bg);   border-color: var(--red);   color: #b91c1c; }
.alert-success { background: var(--green-bg); border-color: var(--green); color: #15803d; }
.alert-info    { background: var(--blue-bg);  border-color: var(--blue);  color: #1d4ed8; }
.alert-warning { background: var(--amber-bg); border-color: var(--amber); color: #92400e; }
.error { background: var(--red-bg); border: 1px solid rgba(239,68,68,0.2); border-radius: var(--r); padding: 10px 14px; color: #b91c1c; font-size: 0.84rem; margin-bottom: 14px; }


/* ══════════════════════════════════════
   CARDS & PANELS
══════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--sh-xs);
  transition: all var(--t);
}
.card:hover { border-color: var(--line-pk); box-shadow: var(--sh); transform: translateY(-2px); }

/* Admin panel */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--sh-xs);
}
.panel-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line-sm);
  background: linear-gradient(135deg, var(--pink-50) 0%, var(--peach-50) 100%);
  flex-wrap: wrap;
  gap: 8px;
}
.panel-hd h2 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 7px;
}
.panel-bd { padding: 18px 20px; }


/* ══════════════════════════════════════
   TABLES
══════════════════════════════════════ */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 9px 14px;
  text-align: left;
  font-size: 0.69rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-sm);
  font-size: 0.84rem;
  color: var(--ink-2);
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--pink-50); }


/* ══════════════════════════════════════
   PUBLIC TOPBAR — exact TypeIt4U style
══════════════════════════════════════ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-sm);
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--grad);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  box-shadow: var(--sh-pink);
  flex-shrink: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color var(--t);
}
.nav a:hover { color: var(--pink); }
.nav-cta {
  background: var(--grad);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: var(--pill);
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  box-shadow: var(--sh-pink);
  transition: all var(--t);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255,107,157,0.4); }


/* ══════════════════════════════════════
   HERO — TypeIt4U layout
══════════════════════════════════════ */
.hero {
  padding: 72px 0 64px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
/* Pink blob top-right like TypeIt4U */
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 620px; height: 620px;
  background: radial-gradient(ellipse, rgba(255,107,157,0.12) 0%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 10%;
  width: 360px; height: 360px;
  background: radial-gradient(ellipse, rgba(255,140,66,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* kicker pill */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pink-50);
  color: var(--pink);
  border: 1px solid var(--line-pk);
  padding: 5px 14px;
  border-radius: var(--pill);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--ink);
}
.hero-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 28px;
  font-weight: 400;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

/* Stat row — like TypeIt4U "22 · 10+ · Free" */
.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line-sm);
  padding-top: 24px;
}
.hero-stat {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid var(--line-sm);
}
.hero-stat:first-child { padding-left: 0; text-align: left; }
.hero-stat:last-child  { border-right: none; }
.hero-stat-val { font-size: 1.6rem; font-weight: 800; color: var(--ink); line-height: 1; }
.hero-stat-val.grad { background: var(--grad); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero-stat-lbl { font-size: 0.75rem; color: var(--ink-3); margin-top: 3px; font-weight: 500; }

/* Hero visual — mock browser card */
.hero-visual { position: relative; }
.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 4px 16px rgba(255,107,157,0.1);
  position: relative;
}
.browser-dots { display: flex; gap: 5px; margin-bottom: 14px; }
.bd { width: 10px; height: 10px; border-radius: 50%; }
.bd-r { background: #ff5f57; } .bd-y { background: #febc2e; } .bd-g { background: #28c840; }
.mock-url {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: var(--ink-3);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.mock-body { background: var(--bg-soft); border-radius: var(--r); padding: 16px; min-height: 200px; }
.mock-line { height: 9px; border-radius: 5px; background: var(--line); margin-bottom: 8px; }
.mock-line.pk  { background: linear-gradient(90deg, var(--pink-100), var(--peach-100)); }
.mock-line.w80 { width: 80%; } .mock-line.w60 { width: 60%; } .mock-line.w40 { width: 40%; } .mock-line.w30 { width: 30%; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12px; }
.mock-cell { background: var(--pink-50); border-radius: 8px; height: 52px; border: 1px solid var(--line-pk); }
.mock-cell:nth-child(2) { background: var(--peach-50); }
.mock-btn {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grad);
  color: #fff;
  padding: 7px 16px;
  border-radius: var(--pill);
  font-size: 0.75rem;
  font-weight: 600;
}
/* Floating badges */
.float-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: var(--sh);
  animation: float 3s ease-in-out infinite;
  white-space: nowrap;
}
.float-badge.f-tr { top: -14px; right: -14px; color: var(--green); animation-delay: 0s; }
.float-badge.f-bl { bottom: -14px; left: -14px; color: var(--pink); animation-delay: 1s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }


/* ══════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════ */
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .kicker { margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(1.7rem,3vw,2.3rem); margin-bottom: 12px; }
.sec-head p  { color: var(--ink-2); max-width: 520px; margin: 0 auto; font-size: 0.96rem; }


/* ══════════════════════════════════════
   FEATURES GRID — TypeIt4U style
══════════════════════════════════════ */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: all var(--t);
  box-shadow: var(--sh-xs);
  position: relative;
  overflow: hidden;
}
.feat-card:hover { border-color: var(--line-pk); box-shadow: var(--sh); transform: translateY(-3px); }
.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.feat-card:hover::before { transform: scaleX(1); }
.feat-icon {
  width: 44px; height: 44px;
  background: var(--pink-50);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 14px;
  color: var(--pink);
}
/* TypeIt4U "New" label style */
.feat-label {
  display: inline-flex;
  align-items: center;
  background: var(--grad);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--pill);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.feat-card h3 { font-size: 0.96rem; margin-bottom: 8px; color: var(--ink); }
.feat-card p  { font-size: 0.84rem; line-height: 1.65; color: var(--ink-2); }


/* ══════════════════════════════════════
   HOW IT WORKS — step cards
══════════════════════════════════════ */
.steps-wrap { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; }
.steps-wrap::before {
  content: '';
  position: absolute;
  top: 26px; left: 13%; right: 13%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink-200), transparent);
}
.step {
  text-align: center;
  padding: 20px 14px;
}
.step-num {
  width: 52px; height: 52px;
  background: #fff;
  border: 2px solid var(--pink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--pink);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px var(--pink-glow);
}
.step h3 { font-size: 0.9rem; margin-bottom: 7px; }
.step p  { font-size: 0.82rem; color: var(--ink-2); }


/* ══════════════════════════════════════
   PRICING — TypeIt4U exact style
══════════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.pricing-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 22px;
  position: relative;
  transition: all var(--t);
  box-shadow: var(--sh-xs);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.pricing-card.popular {
  border-color: var(--pink);
  box-shadow: 0 8px 32px rgba(255,107,157,0.15);
}
.popular-pill {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: var(--pill);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--sh-pink);
}
.pricing-name {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 5px;
}
.pricing-card.popular .pricing-name { color: var(--pink); }
.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 2px;
}
.pricing-price .cur   { font-size: 1.1rem; font-weight: 600; vertical-align: super; color: var(--ink-2); margin-right: 1px; }
.pricing-price .per   { font-size: 0.84rem; font-weight: 400; color: var(--ink-3); }
.pricing-bill  { font-size: 0.73rem; color: var(--ink-3); margin-bottom: 4px; min-height: 16px; }
.pricing-quota { font-size: 0.79rem; color: var(--pink); font-weight: 600; margin-bottom: 18px; }
.pricing-div   { height: 1px; background: var(--line-sm); margin: 14px 0; }
.pricing-feats { padding: 0; }
.pricing-feats li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.82rem; color: var(--ink-2); padding: 4px 0; line-height: 1.4;
}
.pricing-feats li i.ok  { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.pricing-feats li i.no  { color: var(--ink-3); flex-shrink: 0; margin-top: 2px; }
.pricing-feats li.off   { color: var(--ink-3); }
.pricing-cta { margin-top: 20px; width: 100%; justify-content: center; border-radius: var(--pill); }
.pricing-card.popular .pricing-cta { background: var(--grad); color: #fff; box-shadow: var(--sh-pink); }


/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: all var(--t);
  box-shadow: var(--sh-xs);
}
.testi-card:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.testi-stars { color: #f59e0b; font-size: 0.84rem; margin-bottom: 10px; letter-spacing: 2px; }
.testi-card p { font-size: 0.85rem; line-height: 1.7; color: var(--ink-2); margin-bottom: 14px; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-av {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 0.84rem; color: var(--ink); }
.testi-role { font-size: 0.74rem; color: var(--ink-3); }


/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq { max-width: 680px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-sm); padding: 18px 0; }
.faq-q {
  font-weight: 600; font-size: 0.92rem; color: var(--ink);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q i { color: var(--ink-3); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { font-size: 0.86rem; color: var(--ink-2); line-height: 1.7; margin-top: 10px; display: none; }
.faq-a.open { display: block; }


/* ══════════════════════════════════════
   CTA SECTION
══════════════════════════════════════ */
.cta-box {
  background: var(--grad-soft);
  border: 1px solid var(--line-pk);
  border-radius: var(--r-xl);
  padding: 64px 40px;
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
}
.cta-box h2 { font-size: clamp(1.6rem,3vw,2.2rem); margin-bottom: 14px; }
.cta-box p  { color: var(--ink-2); margin-bottom: 28px; font-size: 0.96rem; }


/* ══════════════════════════════════════
   FOOTER — dark like TypeIt4U
══════════════════════════════════════ */
.footer {
  background: #111118;
  padding: 60px 0 28px;
  color: #888;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-brand .logo { color: #fff; }
.footer-brand p { font-size: 0.84rem; color: #666; margin-top: 12px; max-width: 240px; line-height: 1.6; }
.footer-col h4 { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #666; margin-bottom: 14px; }
.footer-col a  { display: block; font-size: 0.84rem; color: #666; padding: 3px 0; transition: color var(--t); }
.footer-col a:hover { color: var(--pink); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.77rem; color: #555; flex-wrap: wrap; gap: 10px;
}


/* ══════════════════════════════════════
   ADMIN TOPBAR
══════════════════════════════════════ */
.admin-body { background: #f4f5f7; }

.admin-bar {
  position: sticky; top: 0; z-index: 100;
  height: 54px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-sm);
  box-shadow: 0 1px 0 var(--line-sm);
}
.admin-left  { display: flex; align-items: center; gap: 24px; }
.admin-nav   { display: flex; gap: 2px; }
.admin-nav a {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-3);
  transition: all var(--t);
}
.admin-nav a:hover, .admin-nav a.active { background: var(--pink-50); color: var(--pink); }
.admin-shell { max-width: 1140px; margin: 0 auto; padding: 22px 20px; }


/* Profile dropdown */
.prof-wrap { position: relative; }
.prof-trigger {
  display: flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--pill); padding: 4px 12px 4px 4px;
  cursor: pointer; font-family: var(--font);
  transition: all var(--t); box-shadow: var(--sh-xs);
}
.prof-trigger:hover { border-color: var(--line-pk); background: var(--pink-50); }
.avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.avatar-lg { width: 38px; height: 38px; font-size: 0.88rem; border-radius: 50%; }
.prof-name { font-size: 0.78rem; font-weight: 600; color: var(--ink); }

.prof-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); width: 220px;
  box-shadow: var(--sh-lg); overflow: hidden;
  display: none; z-index: 200;
}
.prof-menu.open { display: block; animation: dropIn 0.14s ease; }
@keyframes dropIn { from{opacity:0;transform:translateY(-5px)} to{opacity:1;transform:translateY(0)} }

.prof-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-sm);
  background: linear-gradient(135deg, var(--pink-50), var(--peach-50));
}
.prof-head strong { display: block; font-size: 0.84rem; color: var(--ink); }
.prof-head span   { font-size: 0.73rem; color: var(--ink-3); }

.prof-menu a, .prof-menu button {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  font-size: 0.82rem; color: var(--ink-2);
  transition: all var(--t);
  border: none; background: none;
  width: 100%; text-align: left;
  cursor: pointer; font-family: var(--font);
}
.prof-menu a:hover, .prof-menu button:hover { background: var(--pink-50); color: var(--pink); }
.prof-menu .logout-form { border-top: 1px solid var(--line-sm); }
.prof-menu .btn-logout { color: var(--red) !important; }
.prof-ver { padding: 5px 14px; font-size: 0.7rem; color: var(--ink-3); border-top: 1px solid var(--line-sm); }


/* ══════════════════════════════════════
   ADMIN KPI ROW
══════════════════════════════════════ */
.kpi-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 16px; }
.kpi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  display: flex; align-items: center; gap: 13px;
  box-shadow: var(--sh-xs);
  transition: all var(--t);
}
.kpi-card:hover { border-color: var(--line-pk); transform: translateY(-1px); box-shadow: var(--sh-sm); }
.kpi-ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.kpi-ico-pink  { background: var(--pink-50);  color: var(--pink); }
.kpi-ico-green { background: var(--green-bg); color: var(--green); }
.kpi-ico-blue  { background: var(--blue-bg);  color: var(--blue); }
.kpi-ico-amber { background: var(--amber-bg); color: var(--amber); }
.kpi-val { font-size: 1.45rem; font-weight: 800; color: var(--ink); line-height: 1; }
.kpi-lbl { font-size: 0.72rem; color: var(--ink-3); margin-top: 2px; font-weight: 500; }


/* ══════════════════════════════════════
   UPLOAD ZONE
══════════════════════════════════════ */
.upload-zone {
  border: 2px dashed var(--line);
  border-radius: var(--r-lg);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--t);
  background: #fff;
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--pink);
  background: var(--pink-50);
}
.upload-zone h3 { font-size: 0.94rem; margin-bottom: 5px; }
.upload-zone p  { font-size: 0.82rem; color: var(--ink-3); }
.upload-zone input[type="file"] { display: none; }
.file-list { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.file-item {
  display: flex; align-items: center; gap: 9px;
  background: var(--pink-50);
  border: 1px solid var(--line-pk);
  border-radius: var(--r);
  padding: 8px 12px; font-size: 0.82rem;
}
.file-name { flex: 1; color: var(--ink); }
.file-size { color: var(--ink-3); font-size: 0.74rem; }


/* Progress bar */
.prog-bar { height: 5px; background: var(--pink-100); border-radius: var(--pill); overflow: hidden; }
.prog-fill { height: 100%; background: var(--grad); border-radius: var(--pill); transition: width 0.5s ease; }

/* Processing steps */
.proc-steps { display: flex; flex-direction: column; gap: 6px; }
.proc-step {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 13px;
  background: #fff; border: 1px solid var(--line-sm);
  border-radius: var(--r); font-size: 0.82rem; color: var(--ink-3);
  transition: all 0.3s;
}
.proc-step.active { border-color: var(--pink); background: var(--pink-50); color: var(--ink); }
.proc-step.done   { border-color: rgba(34,197,94,.3); background: var(--green-bg); color: #16a34a; }
.proc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); flex-shrink: 0; }
.proc-step.active .proc-dot { background: var(--pink); box-shadow: 0 0 6px var(--pink-glow); animation: pulse 1.5s infinite; }
.proc-step.done   .proc-dot { background: var(--green); }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.4)} }

/* Ring */
.ring-svg { width: 130px; height: 130px; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--line); stroke-width: 7; }
.ring-fill  { fill: none; stroke: url(#rg); stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset 0.6s ease; }
.ring-wrap  { position: relative; width: 130px; height: 130px; }
.ring-mid   { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-pct   { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.ring-lbl   { font-size: 0.7rem; color: var(--ink-3); }


/* Preview */
.preview-box { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-xs); }
.preview-bar { display: flex; align-items: center; gap: 7px; padding: 9px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line-sm); }
.preview-url { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; font-size: 0.75rem; color: var(--ink-3); min-width: 0; }
.preview-iframe { width: 100%; height: 580px; border: none; display: block; }


/* Auth pages */
.auth-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 28px 16px;
  background: linear-gradient(160deg, #fff 0%, var(--pink-50) 60%, var(--peach-50) 100%);
  position: relative;
}
.auth-wrap::before {
  content: '';
  position: fixed; inset: 0;
  background: radial-gradient(ellipse at 70% 10%, rgba(255,107,157,0.1) 0%, transparent 55%),
              radial-gradient(ellipse at 20% 85%, rgba(255,140,66,0.07) 0%, transparent 50%);
  pointer-events: none;
}
.auth-card {
  width: 100%; max-width: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--sh-lg);
  position: relative;
}
.auth-logo  { text-align: center; margin-bottom: 26px; }
.auth-title { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: 5px; }
.auth-sub   { font-size: 0.85rem; color: var(--ink-3); text-align: center; margin-bottom: 24px; }
.auth-foot  { text-align: center; margin-top: 18px; font-size: 0.82rem; color: var(--ink-3); }
.auth-foot a { color: var(--pink); font-weight: 600; }

/* Empty states */
.empty { text-align: center; padding: 52px 20px; }
.empty-ico { font-size: 2.2rem; color: var(--ink-3); margin-bottom: 12px; opacity: 0.4; }
.empty h3  { font-size: 0.96rem; color: var(--ink-2); margin-bottom: 6px; }
.empty p   { font-size: 0.83rem; color: var(--ink-3); margin-bottom: 16px; }

/* Misc */
.divider { height: 1px; background: var(--line-sm); margin: 18px 0; }
pre  { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; overflow-x: auto; font-size: 0.82rem; }
code { font-family: 'Fira Code','Cascadia Code',monospace; font-size: 0.82rem; background: var(--pink-50); padding: 1px 6px; border-radius: 4px; }
pre code { background: none; padding: 0; }

.plan-badge-free    { background: var(--bg-soft);    color: var(--ink-3); }
.plan-badge-starter { background: var(--pink-50);    color: var(--pink-dark); }
.plan-badge-pro     { background: var(--pink-100);   color: var(--pink-dark); }
.plan-badge-agency  { background: var(--peach-100);  color: #c45e00; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .pricing-grid  { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner    { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual   { max-width: 480px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 28px; }
  .kpi-row       { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .topbar        { padding: 0 18px; }
  .nav           { gap: 18px; }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; }
  .testi-grid    { grid-template-columns: 1fr; }
  .steps-wrap    { grid-template-columns: 1fr 1fr; }
  .steps-wrap::before { display: none; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 22px; }
  .admin-bar     { padding: 0 14px; }
  .admin-shell   { padding: 14px; }
  .section       { padding: 56px 0; }
  .hero          { padding: 48px 0 40px; }
  .hero-btns     { flex-direction: column; }
  .hero-btns .btn { text-align: center; justify-content: center; }
  .cta-box       { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .steps-wrap { grid-template-columns: 1fr; }
  .kpi-row    { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat  { border-right: none; border-bottom: 1px solid var(--line-sm); padding: 12px 0; text-align: left; }
  .hero-stat:last-child { border-bottom: none; }
}

/* ── Orange/Pink hover theme — global ────────────────────────────── */
.btn:hover { background: linear-gradient(135deg,#FF8C42,#FF6B9D); color:#fff !important; }
.btn-white:hover { background:#fff8f4; color:#FF8C42 !important; border-color:rgba(255,140,66,.3); box-shadow:none; }
.nav-cta:hover { filter:brightness(1.08); }
.nav a:hover { color:var(--orange) !important; }
a.text-link:hover { color:var(--orange); }

/* ── Feature card full content fix ───────────────────────────────── */
.feat-card { overflow:visible; height:auto; }
.feat-card > div { overflow:visible; }

/* ── Footer grid spacing fix ─────────────────────────────────────── */
.footer-grid { gap:32px; }
.footer-grid > div { min-width:0; }
.footer-grid h4 { white-space:nowrap; }
.footer-grid a { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* ── Fix iframe embed in feature cards ───────────────────────────── */
.feat-card p { display:block; white-space:normal; word-break:break-word; }
