:root {
  --color-bg-1: #FAFAFE;
  --color-bg-2: #F5F3FB;
  --color-surface: #ffffff;
  --color-surface-soft: #FCFBFE;
  --color-surface-tint: #F5F3FF;
  --color-text-1: #0F0F1E;
  --color-text-2: #3A3A4E;
  --color-text-3: #5C5C70;
  --color-text-4: #7B7B8E;
  --color-text-5: #A8A8BD;
  --color-border-1: #ECE8F7;
  --color-border-2: #E5E1F5;
  --color-border-3: #F0EDF8;
  --color-accent: #6B5CE7;
  --color-accent-dark: #4A3DBF;
  --color-accent-deep: #2D1F7F;
  --color-accent-soft: #9B7FE8;
  --color-accent-tint: #F0EEFF;
  --color-success: #3FBE7F;
  --color-warning: #E8A33D;
  --color-dark: #0F0F1E;
  --color-dark-2: #1A1A2E;
  --color-dark-3: #2A2A3E;

  --radius-sm: 8px;
  --radius-md: 11px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 22px;

  --shadow-sm: 0 2px 8px rgba(75,61,191,0.06);
  --shadow-md: 0 4px 14px rgba(75,61,191,0.12);
  --shadow-lg: 0 8px 32px rgba(75,61,191,0.06), 0 2px 8px rgba(75,61,191,0.03);
  --shadow-xl: 0 12px 32px rgba(75,61,191,0.14);
  --shadow-btn: 0 6px 20px rgba(75,61,191,0.32), 0 2px 6px rgba(45,31,127,0.2);
  --shadow-btn-hover: 0 10px 28px rgba(75,61,191,0.4), 0 2px 6px rgba(45,31,127,0.2);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.15s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-1);
  background: linear-gradient(180deg, var(--color-bg-1) 0%, var(--color-bg-2) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-accent-dark);
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus { top: 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
/* Header */
/* Header */
.site-header {
  padding: 20px 0 0;
  background: transparent;
  border-bottom: none;
}
.site-header .container {
  background: #FAF9FE;
  border: 1px solid #ECE8F7;
  border-radius: 18px;
  padding: 14px 28px;
  box-shadow: 0 4px 16px rgba(75,61,191,0.04);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header .logo-name { color: var(--color-accent-dark); }
.site-header .logo-sub { color: var(--color-text-3); }
.site-header .logo-divider { background: #DDD5F7; }
.site-header .main-nav a { color: var(--color-text-2); }
.site-header .main-nav a:hover { color: var(--color-accent-dark); }
.logo-block {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0;
  background: #fff;
  border: 1px solid #E5E1F5;
  border-radius: 14px;
  padding: 8px 18px 8px 8px;
}
.logo-block > * { font-size: initial; }
.logo-text { padding-bottom: 0; margin-bottom: -3px; }
.logo-mark {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { display: block; width: 100%; height: 100%; }
.logo-mark i { font-size: 21px; color: #fff; }
.logo-mark svg { display: block; }
.logo-text { display: flex; align-items: center; gap: 12px; }
.logo-name {
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-accent-dark);
  letter-spacing: -0.2px;
  line-height: 1;
  text-transform: uppercase;
  font-feature-settings: "ss01" on;
}
.logo-divider {
  width: 1px;
  height: 30px;
  background: var(--color-border-2);
  flex-shrink: 0;
}
.logo-sub {
  font-size: 12px;
  color: var(--color-text-3);
  line-height: 1.3;
  font-weight: 500;
}
.f-brand .logo-name { color: #fff; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 14px;
  color: var(--color-text-2);
  font-weight: 500;
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--color-accent-dark); }

/* Hero */
.hero {
  padding: 28px 0 22px;
  text-align: center;
}
.hero-inner { max-width: 880px; margin: 0 auto; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-accent-dark);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.hero-tag i { font-size: 13px; color: var(--color-accent); }

.hero-counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--color-border-2);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-3);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.hero-counter strong {
  color: var(--color-text-1);
  font-weight: 700;
}

.hero-stars {
  color: #f5a623;
  letter-spacing: 1px;
  font-size: 15px;
  line-height: 1;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  color: var(--color-text-1);
  line-height: 1.1;
  letter-spacing: -1.4px;
  margin-bottom: 14px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 16px;
  color: var(--color-text-3);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Main card — теперь по центру, без сплита */
.main-card {
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border-1);
  box-shadow: var(--shadow-lg);
  padding: 32px 36px;
  max-width: 820px;
  margin: 0 auto;
}

/* ===== FORM STATE ===== */
.form-state { display: flex; flex-direction: column; }
.form-state[hidden] { display: none; }

.sec-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-1);
  margin-bottom: 10px;
}
.sec-num {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--color-accent-tint);
  color: var(--color-accent-dark);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.theme-wrap {
  position: relative;
  border: 1.5px solid var(--color-border-2);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  background: var(--color-surface-soft);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.theme-wrap:focus-within {
  border-color: var(--color-accent-soft);
  box-shadow: 0 0 0 4px rgba(107,92,231,0.08);
  background: var(--color-surface);
}
.theme-input {
  width: 100%;
  padding: 14px 16px 30px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text-1);
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  line-height: 1.55;
  min-height: 80px;
}
.theme-input::placeholder { color: var(--color-text-5); }
.char-c {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 11px;
  color: var(--color-text-5);
  font-weight: 500;
}

.dropdowns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.drop-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-1);
  margin-bottom: 7px;
}
.drop-group .sec-num { width: 18px; height: 18px; font-size: 10px; }
.drop-group select {
  width: 100%;
  padding: 12px 36px 12px 14px;
  font-size: 14px;
  border: 1.5px solid var(--color-border-2);
  border-radius: 10px;
  background-color: var(--color-surface-soft);
  color: var(--color-text-1);
  font-family: inherit;
  outline: none;
  cursor: pointer;
  appearance: none;
  font-weight: 500;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B5CE7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color var(--transition);
}
.drop-group select:hover {
  border-color: #C9C2EF;
  background-color: var(--color-surface);
}
.drop-group select:focus {
  border-color: var(--color-accent-soft);
  box-shadow: 0 0 0 4px rgba(107,92,231,0.08);
  background-color: var(--color-surface);
}

.gen-btn {
width: 50%;
margin: 0 auto;
padding: 16px;
  background: linear-gradient(135deg, var(--color-accent-deep) 0%, var(--color-accent-dark) 70%, var(--color-accent) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  letter-spacing: -0.2px;
  box-shadow: var(--shadow-btn);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gen-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
}
.gen-btn:active { transform: translateY(0); }
.gen-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.gen-btn i { font-size: 17px; }

.free-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-4);
  margin-top: 12px;
  font-weight: 500;
}
.free-note i { font-size: 13px; color: var(--color-warning); }

.counter-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--color-surface-tint) 0%, #EEEAFE 100%);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--color-text-3);
  border: 1px solid var(--color-border-2);
}
.counter-line i { color: #E8761D; font-size: 16px; }
.counter-line strong {
  color: var(--color-accent-dark);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ===== RESULT STATE ===== */
.result-state { display: flex; flex-direction: column; }
.result-state[hidden] { display: none; }

.result-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--color-surface-tint);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.rs-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-2);
  min-width: 0;
  flex: 1;
}
.rs-meta i {
  font-size: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.rs-theme {
  font-weight: 600;
  color: var(--color-text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 380px;
}
.rs-sep { color: var(--color-text-5); }

.rs-edit {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-2);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent-dark);
  flex-shrink: 0;
  transition: all var(--transition);
}
.rs-edit:hover {
  background: var(--color-accent-tint);
  border-color: var(--color-accent-soft);
}
.rs-edit i { font-size: 13px; }

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-3);
  margin-bottom: 20px;
}
.out-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-1);
}
.out-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 3px rgba(63,190,127,0.18);
}
.speed-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, var(--color-accent-tint), #E8E3FE);
  color: var(--color-accent-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid var(--color-border-2);
}
.speed-tag i { font-size: 12px; }

.result-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-2);
  min-height: 200px;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.result-body p { margin-bottom: 14px; }
.result-body p:last-child { margin-bottom: 0; }
.result-body .caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--color-accent);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

.result-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-3);
  flex-wrap: wrap;
}
.action-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-2);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-2);
  border-radius: 10px;
  transition: all var(--transition);
}
.action-btn:hover {
  border-color: var(--color-accent-soft);
  color: var(--color-accent-dark);
  background: var(--color-surface-tint);
}
.action-btn.primary {
  margin-left: auto;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--color-accent-deep) 0%, var(--color-accent-dark) 70%, var(--color-accent) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-btn);
}
.action-btn.primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
}
.action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.action-btn i { font-size: 15px; }

/* Trust strip */
.trust-strip {
  margin: 24px auto 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.trust-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-1);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.trust-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(75,61,191,0.08);
}
.t-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--color-surface-tint), #EEEAFE);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.t-icon i { font-size: 18px; color: var(--color-accent); }
.t-text .t-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-1);
  margin-bottom: 3px;
}
.t-text .t-desc {
  font-size: 11px;
  color: var(--color-text-4);
  line-height: 1.45;
}

/* Below fold */
.below-fold { padding: 80px 0 0; }
.below-fold:last-of-type { padding-bottom: 80px; }

.sec-head {
  text-align: center;
  margin-bottom: 40px;
}
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-2);
  border-radius: 100px;
  padding: 5px 13px;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-accent-dark);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.sec-tag i { font-size: 12px; color: var(--color-accent); }
.sec-h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--color-text-1);
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 10px;
}
.sec-h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sec-sub {
  font-size: 15px;
  color: var(--color-text-3);
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto;
}

/* How */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.how-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-1);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  list-style: none;
}
.how-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(75,61,191,0.08);
}
.how-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 54px;
  font-weight: 700;
  color: var(--color-accent-tint);
  line-height: 1;
}
.how-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(75,61,191,0.25);
}
.how-icon i { font-size: 22px; color: #fff; }
.how-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-1);
  margin-bottom: 8px;
}
.how-card p {
  font-size: 13px;
  color: var(--color-text-3);
  line-height: 1.6;
}
.how-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #D4CFEC;
}
.how-arrow.a1 { left: calc(33.33% - 14px); }
.how-arrow.a2 { left: calc(66.66% - 14px); }

/* Examples */
.ex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ex-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-1);
  border-radius: var(--radius-xl);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ex-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(75,61,191,0.08);
}
.ex-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.ex-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--color-accent-tint);
  color: var(--color-accent-dark);
  border: 1px solid var(--color-border-2);
}
.ex-pill.lit {
  background: #FFF4E8;
  color: #A86A1C;
  border-color: #F5E3CB;
}
.ex-pill.size {
  background: #F2FBF7;
  color: #1F8056;
  border-color: #D4ECDF;
}
.ex-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-1);
  margin-bottom: 10px;
  line-height: 1.35;
}
.ex-text {
  font-size: 13px;
  color: var(--color-text-3);
  line-height: 1.7;
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--color-border-2);
}
.ex-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--color-accent-dark);
  font-weight: 500;
}
.ex-link i {
  font-size: 14px;
  transition: transform var(--transition);
}
.ex-link:hover i { transform: translateX(3px); }

/* Reviews */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rev-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-1);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rev-stars {
  display: flex;
  gap: 2px;
  color: #F5B82E;
}
.rev-stars i { font-size: 14px; }
.rev-text {
  font-size: 14px;
  color: var(--color-text-2);
  line-height: 1.65;
  flex: 1;
}
.rev-author {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-3);
}
.rev-ava {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}
.rev-ava.c2 { background: linear-gradient(135deg, var(--color-warning), #C97D1A); }
.rev-ava.c3 { background: linear-gradient(135deg, var(--color-success), #1F8056); }
.rev-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-1);
}
.rev-role {
  font-size: 11px;
  color: var(--color-text-4);
  margin-top: 1px;
}

/* Pricing */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pr-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-1);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.pr-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(75,61,191,0.08);
}
.pr-card.featured {
  border: 2px solid var(--color-accent);
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-soft) 100%);
  box-shadow: var(--shadow-xl);
}
.pr-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: 0 6px 14px rgba(75,61,191,0.3);
}
.pr-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-4);
}
.pr-card.featured .pr-name { color: var(--color-accent-dark); }
.pr-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pr-amount {
  font-size: 38px;
  font-weight: 700;
  color: var(--color-text-1);
  letter-spacing: -1.5px;
}
.pr-period {
  font-size: 14px;
  color: var(--color-text-4);
}
.pr-desc {
  font-size: 13px;
  color: var(--color-text-3);
  line-height: 1.5;
}
.pr-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border-3);
  border-bottom: 1px solid var(--color-border-3);
}
.pr-feat {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-2);
  line-height: 1.45;
}
.pr-feat i {
  font-size: 14px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}
.pr-feat.off { color: var(--color-text-5); }
.pr-feat.off i { color: var(--color-text-5); }
.pr-btn {
  padding: 13px;
  background: var(--color-surface);
  color: var(--color-accent-dark);
  border: 1.5px solid var(--color-border-2);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}
.pr-btn:hover {
  border-color: var(--color-accent-soft);
  background: var(--color-surface-tint);
}
.pr-btn.primary {
  background: linear-gradient(135deg, var(--color-accent-deep) 0%, var(--color-accent-dark) 70%, var(--color-accent) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-btn);
}
.pr-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
}

/* FAQ */
.faq-container { max-width: 880px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border-1);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--color-accent-soft); }
.faq-item[open] {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-1);
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  font-size: 18px;
  color: var(--color-accent);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--color-text-3);
  line-height: 1.65;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: var(--color-text-5);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.f-brand .logo-block { margin-bottom: 14px; }
.f-brand .logo-name { color: #fff; }
.f-tagline {
  font-size: 13px;
  color: var(--color-text-4);
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 300px;
}
.f-socials { display: flex; gap: 8px; }
.f-soc {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--color-dark-2);
  border: 1px solid var(--color-dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-5);
  transition: all var(--transition);
}
.f-soc:hover {
  background: var(--color-dark-3);
  color: #fff;
}
.f-soc i { font-size: 16px; }

.f-col h3 {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.f-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.f-links a {
  font-size: 13px;
  color: var(--color-text-5);
  transition: color var(--transition);
}
.f-links a:hover { color: #fff; }

.f-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-style: normal;
}
.f-c-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-5);
}
.f-c-item i { font-size: 14px; color: var(--color-accent); }

.f-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--color-dark-3);
  font-size: 12px;
  color: var(--color-text-4);
}
.f-legal { display: flex; gap: 20px; }
.f-legal a { color: var(--color-text-4); }
.f-legal a:hover { color: var(--color-text-5); }

/* Responsive */
@media (max-width: 1100px) {
  .container { padding: 0 24px; }
  .trust-strip { grid-template-columns: 1fr 1fr 1fr; }
  .how-grid, .ex-grid, .rev-grid, .pr-grid { grid-template-columns: 1fr 1fr; }
  .how-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { gap: 20px; }
  .hero h1 { font-size: 34px; }
  .sec-h2 { font-size: 28px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .site-header { padding: 16px 0 12px; }
  .nav-container { flex-direction: column; gap: 14px; align-items: flex-start; }
  .main-nav { gap: 16px; flex-wrap: wrap; }
  .logo-name { font-size: 16px; }
  .hero { padding: 16px 0 24px; }
  .hero h1 { font-size: 26px; letter-spacing: -0.8px; }
  .hero-sub { font-size: 14px; }
  .main-card { padding: 22px 18px; }
  .dropdowns { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .how-grid, .ex-grid, .rev-grid, .pr-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .f-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .below-fold { padding: 48px 0 0; }
  .below-fold:last-of-type { padding-bottom: 48px; }
  .sec-h2 { font-size: 24px; }
  .result-summary { flex-direction: column; align-items: flex-start; }
  .rs-theme { max-width: 220px; }
  .result-actions .action-btn.primary { margin-left: 0; width: 100%; justify-content: center; }
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  margin-top: 14px;
}

.hero-stat strong {
  display: block;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.35px;
}

.hero-stat span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--color-text-3);
}

.hero-stat-divider {
  width: 1px;
  height: 34px;
  background: var(--color-border-2);
}

.rev-bottom {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.rev-write-btn {
  height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid #d9d2ff;
  background: #fff;
  color: var(--color-accent-dark);
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s ease;
}

.rev-write-btn:hover {
  transform: translateY(-1px);
  background: #f7f5ff;
  border-color: #b8abff;
}

.burger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--color-border-2);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger-btn span {
  width: 18px;
  height: 2px;
  border-radius: 10px;
  background: var(--color-accent-dark);
}

@media (max-width: 768px) {
  .site-header .container {
    padding: 10px;
  }

  .main-nav {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .logo-block {
    padding: 7px 12px 7px 7px;
  }

  .logo-name {
    font-size: 18px;
  }

  .logo-sub {
    font-size: 11px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
  }

  .main-nav {
    display: none;
  }

  .burger-btn {
    display: flex;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 10px;
    right: 10px;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--color-border-2);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(75,61,191,0.14);
    z-index: 50;
  }

  .main-nav.is-open a {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .main-nav.is-open a:hover {
    background: var(--color-accent-tint);
  }

  .site-header .container {
    position: relative;
  }

  .burger-btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .burger-btn.is-open span:nth-child(2) {
    opacity: 0;
  }

  .burger-btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .burger-btn span {
    transition: all .2s ease;
  }
}

.example-modal[hidden] {
  display: none;
}

.example-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
}

.example-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 30, 0.45);
  backdrop-filter: blur(6px);
}

.example-modal-card {
  position: relative;
  max-width: 760px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  margin: 24px auto;
  background: #fff;
  border: 1px solid var(--color-border-2);
  border-radius: 24px;
  padding: 36px 42px;
  box-shadow: 0 24px 80px rgba(45,31,127,0.28);
}

.example-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--color-surface-tint);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.example-modal-meta {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--color-accent-tint);
  color: var(--color-accent-dark);
  font-size: 12px;
  font-weight: 600;
}

.example-modal-card h3 {
  font-size: 26px;
  line-height: 1.25;
  margin-bottom: 22px;
  color: var(--color-text-1);
}

.example-modal-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-2);
}

.example-modal-text p {
  margin-bottom: 16px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .example-modal-card {
    margin: 14px;
    padding: 28px 22px;
    max-height: calc(100vh - 28px);
  }

  .example-modal-card h3 {
    font-size: 21px;
  }

  .example-modal-text {
    font-size: 15px;
  }
}

.site-footer .logo-name {
  color: var(--color-accent-dark);
}

.site-footer .logo-sub {
  color: var(--color-text-3);
}

.site-footer .logo-divider {
  background: #DDD5F7;
}

.site-footer .logo-block {
  width: max-content;
  min-width: 360px;
}

.site-footer .logo-name {
  white-space: nowrap;
  color: var(--color-accent-dark);
}

.site-footer .logo-sub {
  white-space: nowrap;
  color: var(--color-text-3);
}

@media (max-width: 640px) {
  .site-header .container {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0 16px;
  }
}

@media (max-width: 640px) {
  .logo-name {
    white-space: nowrap;
    font-size: 19px;
  }

  .logo-block {
    gap: 8px;
    padding: 7px 10px 7px 7px;
  }

  .logo-text {
    gap: 8px;
  }

  .logo-sub {
    font-size: 10px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 640px) {
  .gen-btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 18px;
    white-space: nowrap;
  }
}

.f-brand .logo-block {
  background: transparent;
  border: none;
  padding: 0;
}
.f-brand .logo-name { color: #fff; }
.f-brand .logo-divider { background: var(--color-dark-3); }
.f-brand .logo-sub { color: var(--color-text-5); }

.ex-link {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}


/* How — Light track */
.how-wrap { padding: 0 40px; }
.how-track {
  position: relative;
  padding: 60px 40px 0;
  margin-bottom: 30px;
}
.how-rail {
  position: absolute;
  left: 40px;
  right: 40px;
  top: 80px;
  height: 8px;
  background: var(--color-border-2);
  border-radius: 100px;
  overflow: hidden;
}
.how-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-soft));
  border-radius: 100px;
  width: 0%;
}
.how-wrap.is-visible .how-fill {
  animation: howFill 7s ease-in-out infinite;
}
@keyframes howFill {
  0% { width: 0%; }
  30% { width: 33%; }
  60% { width: 66%; }
  90%, 100% { width: 100%; }
}
.how-points {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.how-points > div {
  display: flex;
  justify-content: center;
}
.how-marker {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: var(--color-surface);
  border: 3px solid var(--color-border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.how-wrap.is-visible .how-marker {
  animation: howActivate 7s ease-in-out infinite backwards;
}
.how-wrap.is-visible .how-points > div:nth-child(1) .how-marker { animation-delay: 0s; }
.how-wrap.is-visible .how-points > div:nth-child(2) .how-marker { animation-delay: 2.1s; }
.how-wrap.is-visible .how-points > div:nth-child(3) .how-marker { animation-delay: 4.2s; }
@keyframes howActivate {
  0%, 14% { background: var(--color-surface); border-color: var(--color-border-2); box-shadow: none; }
  15%, 90% { background: linear-gradient(135deg, var(--color-accent), var(--color-accent-deep)); border-color: #fff; box-shadow: 0 12px 32px rgba(75,61,191,0.35); }
  95%, 100% { background: var(--color-surface); border-color: var(--color-border-2); box-shadow: none; }
}
.how-marker i {
  font-size: 30px;
  color: var(--color-text-5);
}
.how-wrap.is-visible .how-marker i {
  animation: howIcon 7s ease-in-out infinite backwards;
}
.how-wrap.is-visible .how-points > div:nth-child(1) .how-marker i { animation-delay: 0s; }
.how-wrap.is-visible .how-points > div:nth-child(2) .how-marker i { animation-delay: 2.1s; }
.how-wrap.is-visible .how-points > div:nth-child(3) .how-marker i { animation-delay: 4.2s; }
@keyframes howIcon {
  0%, 14% { color: var(--color-text-5); }
  15%, 100% { color: #fff; }
}
.how-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}
.how-card-new {
  background: var(--color-surface);
  border: 1px solid var(--color-border-1);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(75,61,191,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.how-card-new:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(75,61,191,0.1);
}
.how-num-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent-dark);
  background: var(--color-accent-tint);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.how-card-new h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-1);
  margin: 0 0 8px;
}
.how-card-new p {
  font-size: 13px;
  color: var(--color-text-3);
  margin: 0;
  line-height: 1.5;
}
.how-time-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 11px;
  color: #1F8056;
  font-weight: 600;
  background: #F2FBF7;
  padding: 4px 10px;
  border-radius: 100px;
}

@media (max-width: 768px) {
  .how-wrap { padding: 0; }
  .how-cards { grid-template-columns: 1fr; gap: 14px; }
  .how-track { padding: 40px 20px 0; }
  .how-rail { left: 20px; right: 20px; top: 64px; }
  .how-marker { width: 56px; height: 56px; }
  .how-marker i { font-size: 24px; }
}

/* How — Step cards with bullets */
.how-v4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.how-v4-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-1);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.how-v4-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(75,61,191,0.1);
}
.how-v4-card.featured {
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-soft) 100%);
  border: 2px solid var(--color-accent-soft);
  box-shadow: var(--shadow-lg);
}
.how-v4-time {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent-dark);
  background: var(--color-surface);
  border: 1px solid var(--color-border-2);
  padding: 3px 9px;
  border-radius: 100px;
}
.how-v4-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--color-accent-tint);
  border-radius: 100px;
  margin-bottom: 16px;
}
.how-v4-tag-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-deep));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-v4-tag-text {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent-dark);
  letter-spacing: 0.5px;
}
.how-v4-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-1);
  margin: 0 0 8px;
}
.how-v4-card p {
  font-size: 13px;
  color: var(--color-text-3);
  line-height: 1.5;
  margin: 0 0 18px;
}
.how-v4-bullets {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-3);
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.how-v4-bullets li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--color-text-2);
  line-height: 1.45;
}
.how-v4-bullets li i {
  color: var(--color-success);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 1100px) {
  .how-v4-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .how-v4-grid { grid-template-columns: 1fr; }
}


/* Examples — Showcase layout */
.ex-showcase {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: center;
}
.ex-main {
  background: var(--color-surface);
  border: 1px solid var(--color-border-1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(75,61,191,0.08);
}
.ex-main-head {
  background: linear-gradient(135deg, var(--color-surface-tint), #F0EEFF);
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border-2);
}
.ex-main-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.ex-main-head h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-1);
  margin: 0;
  line-height: 1.3;
}
.ex-main-body {
  padding: 22px 26px 10px;
}
.ex-main-block {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.ex-main-label {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  align-self: flex-start;
  letter-spacing: 0.3px;
}
.ex-main-label.purple { background: #F0EEFF; color: #4A3DBF; }
.ex-main-label.green { background: #F2FBF7; color: #1F8056; }
.ex-main-label.amber { background: #FFF4E8; color: #A86A1C; }
.ex-main-label.blue { background: #E6F1FB; color: #185FA5; }
.ex-main-text {
  font-size: 13px;
  color: var(--color-text-3);
  line-height: 1.7;
}
.ex-main-foot {
  background: #FAFAFE;
  padding: 14px 24px;
  border-top: 1px solid var(--color-border-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--color-text-4);
}
.ex-main-read {
  color: var(--color-accent-dark);
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ex-main-read i { transition: transform var(--transition); }
.ex-main-read:hover i { transform: translateX(3px); }
.ex-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ex-mini {
  background: var(--color-surface);
  border: 1px solid var(--color-border-1);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  font-family: inherit;
  display: block;
  width: 100%;
}
.ex-mini:hover {
  border-color: var(--color-accent-soft);
  transform: translateX(-3px);
}
.ex-mini.active {
  background: linear-gradient(135deg, var(--color-surface-tint), #F0EEFF);
  border-color: var(--color-accent);
  box-shadow: 0 4px 14px rgba(75,61,191,0.15);
}
.ex-mini-pills {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.ex-mini-pills .ex-pill {
  font-size: 10px;
  padding: 3px 8px;
}
.ex-mini h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-1);
  margin: 0 0 4px;
  line-height: 1.35;
}
.ex-mini p {
  font-size: 12px;
  color: var(--color-text-4);
  margin: 0;
  line-height: 1.5;
}
.ex-main-hint {
  background: #FFF8EC;
  border-bottom: 1px solid #F5E3CB;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6B4810;
  line-height: 1.4;
}
.ex-main-hint i {
  color: #BA7517;
  font-size: 15px;
  flex-shrink: 0;
}
.ex-main-hint strong {
  font-weight: 700;
}

@media (max-width: 1100px) {
  .ex-showcase { 
    grid-template-columns: 1fr; 
    gap: 16px;
  }
  .ex-side { 
    flex-direction: row; 
    order: -1;
    gap: 8px;
  }
  .ex-mini { 
    flex: 1; 
    padding: 12px 10px;
    text-align: center;
  }
  .ex-mini-pills { justify-content: center; }
  .ex-mini h3 { font-size: 13px; }
  .ex-mini p { display: none; }
}
@media (max-width: 640px) {
  .ex-side { gap: 6px; }
  .ex-mini { 
    padding: 10px 8px;
  }
  .ex-mini-pills { 
    gap: 3px; 
    margin-bottom: 6px;
  }
  .ex-mini-pills .ex-pill { 
    font-size: 9px; 
    padding: 2px 6px;
  }
  .ex-mini h3 { 
    font-size: 12px; 
    line-height: 1.25;
  }
}

/* Reviews frame with decorative double border */
/* Reviews frame with decorative double border */
.rev-frame {
  position: relative;
  padding: 20px 30px;
}
.rev-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.rev-inner {
  position: relative;
  z-index: 1;
  padding: 40px 30px;
}
@media (max-width: 768px) {
  .rev-frame { padding: 0; }
  .rev-border { display: none; }
  .rev-inner { padding: 0; }
}

.action-btn.pro {
  color: #8A5A00;
  background: linear-gradient(135deg, #FFF8E8 0%, #FFE8A8 100%);
  border-color: #F2D58A;
}

.action-btn.pro:hover {
  color: #6B4300;
  background: linear-gradient(135deg, #FFF2CC 0%, #FFD978 100%);
  border-color: #E8BE55;
}

.action-btn.humanize-pro {
  color: #fff;
  background: linear-gradient(135deg, #B7791F 0%, #F6C453 55%, #A66A00 100%);
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(183, 121, 31, 0.28);
}

.action-btn.humanize-pro:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(183, 121, 31, 0.38);
}

.pro-modal[hidden] {
  display: none;
}

.pro-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.pro-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 30, 0.45);
  backdrop-filter: blur(6px);
}

.pro-modal-card {
  position: relative;
  max-width: 520px;
  margin: 90px auto;
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(45,31,127,0.28);
}

.pro-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--color-surface-tint);
  color: var(--color-accent-dark);
}

.pro-modal-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pro-modal-card h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.pro-modal-card p {
  font-size: 15px;
  color: var(--color-text-3);
  line-height: 1.7;
}

.pro-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.pro-buy-btn,
.pro-day-btn {
  width: 100%;
  padding: 14px 18px;
}

.pro-day-btn {
  background: #fff;
  color: var(--color-accent-dark);
  border: 1.5px solid var(--color-border-2);
  box-shadow: none;
}

.result-actions {
  display: grid;
  grid-template-columns: auto auto auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-3);
}

.result-actions .action-btn {
  white-space: nowrap;
}

.result-actions-spacer {
  display: block;
}

.action-btn.primary {
  margin-left: 0;
}

.action-btn.humanize-pro {
  color: #fff;
  background: linear-gradient(135deg, #B7791F 0%, #F6C453 55%, #A66A00 100%);
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(183, 121, 31, 0.28);
}

.action-btn.humanize-pro:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(183, 121, 31, 0.38);
}

@media (max-width: 760px) {
  .result-actions {
    grid-template-columns: 1fr;
  }

  .result-actions-spacer {
    display: none;
  }

  .result-actions .action-btn {
    width: 100%;
    justify-content: center;
  }
}

.result-body {
  max-height: 360px;
  overflow-y: auto;
  padding-right: 10px;
}

.result-body::-webkit-scrollbar {
  width: 6px;
}

.result-body::-webkit-scrollbar-track {
  background: var(--color-surface-tint);
  border-radius: 100px;
}

.result-body::-webkit-scrollbar-thumb {
  background: #C9C2EF;
  border-radius: 100px;
}

.result-body::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-soft);
}

.result-essay-title {
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 18px;
  color: var(--color-text-1);
  font-weight: 700;
}

.review-modal[hidden] {
  display: none;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.review-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 30, 0.45);
  backdrop-filter: blur(6px);
}

.review-modal-card {
  position: relative;
  max-width: 520px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  margin: 18px auto;
  background: #fff;
  border: 1px solid var(--color-border-2);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 24px 80px rgba(45,31,127,0.28);
}

.review-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--color-surface-tint);
  color: var(--color-accent-dark);
}

.review-modal-card h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.review-modal-card p {
  color: var(--color-text-3);
  font-size: 14px;
  margin-bottom: 20px;
}

.review-modal-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0 7px;
}

.review-modal-card input,
.review-modal-card select,
.review-modal-card textarea {
  width: 100%;
  border: 1.5px solid var(--color-border-2);
  border-radius: 13px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  background: var(--color-surface-soft);
  color: var(--color-text-1);
  outline: none;
}

.review-modal-card textarea {
  min-height: 120px;
  resize: vertical;
}

.review-modal-card input:focus,
.review-modal-card select:focus,
.review-modal-card textarea:focus {
  border-color: var(--color-accent-soft);
  box-shadow: 0 0 0 4px rgba(107,92,231,0.08);
  background: #fff;
}

.review-send-btn {
  width: 100%;
  margin-top: 20px;
}

.rev-bottom {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.rev-bottom .rev-write-btn {
  min-width: 190px;
  justify-content: center;
}

.rev-bottom .rev-write-btn:first-child {
  background: linear-gradient(135deg, var(--color-accent-deep) 0%, var(--color-accent-dark) 70%, var(--color-accent) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-btn);
}

.rev-bottom .rev-write-btn:first-child:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
}

.rev-bottom .rev-write-btn:last-child {
  background: #fff;
  color: var(--color-accent-dark);
}

.reviews-summary {
  max-width: 760px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.reviews-summary-card {
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--color-border-1);
  border-radius: 16px;
  padding: 14px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.reviews-summary-card strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 5px;
}

.reviews-summary-card span {
  font-size: 12px;
  color: var(--color-text-4);
}

.reviews-main-btn {
  min-width: 190px;
  justify-content: center;
}


.toast-modal[hidden] {
  display: none;
}

.toast-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.toast-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 30, 0.52);
  backdrop-filter: blur(6px);
}

.toast-modal-card {
  position: relative;
  width: min(420px, calc(100% - 32px));
  margin: 12vh auto 0;
  padding: 34px 28px 26px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid #E5E1F5;
  box-shadow: 0 24px 80px rgba(55, 42, 120, 0.22);
  text-align: center;
}

.toast-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: #F4F1FF;
  color: #5B48D6;
  cursor: pointer;
}

.toast-modal-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #7B6BEE, #4A35C8);
  color: #fff;
  font-size: 28px;
  box-shadow: 0 14px 34px rgba(91, 72, 214, 0.32);
}

.toast-modal-card h2 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.5px;
  color: #111122;
}

.toast-modal-card p {
  margin: 0 0 22px;
  color: #5C5C70;
  line-height: 1.55;
}

.toast-modal-btn {
  width: 100%;
  justify-content: center;
}


.pay-modal[hidden] {
  display: none;
}

.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.pay-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 40, 0.55);
  backdrop-filter: blur(6px);
}

.pay-modal-card {
  position: relative;
  width: min(92vw, 440px);
  margin: 9vh auto 0;
  background: #fff;
  border: 1px solid #e4def5;
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 24px 80px rgba(45, 31, 127, 0.24);
  text-align: center;
  animation: payModalIn 0.18s ease-out;
}

@keyframes payModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pay-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: #f4f1ff;
  color: #4a36b4;
  cursor: pointer;
}

.pay-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7b6bee, #3a28a8);
  color: #fff;
  font-size: 30px;
  box-shadow: 0 12px 30px rgba(91, 69, 224, 0.28);
}

.pay-modal-card h2 {
  margin: 0 0 10px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 28px;
  color: #151525;
}

.pay-modal-card p {
  margin: 0 0 22px;
  color: #66627a;
  line-height: 1.55;
  font-size: 15px;
}

.pay-email-input {
  width: 100%;
  height: 56px;
  border: 1px solid #ded7f3;
  border-radius: 16px;
  padding: 0 18px;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 14px;
  background: #fbfaff;
}

.pay-email-input:focus {
  border-color: #6b5ce7;
  box-shadow: 0 0 0 4px rgba(107, 92, 231, 0.12);
}

.pay-submit-btn {
  width: 100%;
  justify-content: center;
}

.pay-modal-note {
  margin-top: 14px;
  color: #8a849d;
  font-size: 13px;
}


.pro-modal-tariffs {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.pro-tariff-card {
  width: 100%;
  border: 1px solid #ded7f3;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: 0.18s ease;
}

.pro-tariff-card:hover {
  border-color: #6b5ce7;
  box-shadow: 0 10px 26px rgba(91, 69, 224, 0.12);
  transform: translateY(-1px);
}

.pro-tariff-card strong {
  display: block;
  color: #151525;
  font-size: 17px;
  margin-bottom: 6px;
}

.pro-tariff-card span {
  display: block;
  color: #66627a;
  font-size: 14px;
  line-height: 1.45;
}

.pro-tariff-card.primary {
  background: linear-gradient(135deg, #3b2396, #6b5ce7);
  border-color: transparent;
}

.pro-tariff-card.primary strong,
.pro-tariff-card.primary span {
  color: #fff;
}


.pro-status-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #3b2396, #6b5ce7);
  color: #fff;
  box-shadow: 0 14px 36px rgba(91, 69, 224, 0.22);
}

.pro-status-badge i {
  font-size: 26px;
}

.pro-status-badge strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.pro-status-badge span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  opacity: 0.9;
}

.pro-status-badge[hidden] {
  display: none;
}


.ai-loader {
  padding: 26px;
  border: 1px solid rgba(107, 92, 231, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(107, 92, 231, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,247,255,0.96));
  box-shadow: 0 18px 45px rgba(42, 32, 120, 0.08);
}

.ai-loader-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.ai-loader-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7B6BEE, #2D1F7F);
  color: #fff;
  font-size: 26px;
  box-shadow: 0 12px 28px rgba(107, 92, 231, 0.28);
  animation: aiPulse 1.4s ease-in-out infinite;
}

.ai-loader-title {
  font-weight: 800;
  font-size: 18px;
  color: #1d1748;
}

.ai-loader-sub {
  margin-top: 4px;
  font-size: 14px;
  color: #6b6685;
}

.ai-loader-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(107, 92, 231, 0.12);
  margin-bottom: 18px;
}

.ai-loader-bar span {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7B6BEE, #FAC775, #7B6BEE);
  animation: aiBar 1.25s ease-in-out infinite;
}

.ai-loader-steps {
  display: grid;
  gap: 10px;
}

.ai-loader-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5f5a77;
  font-size: 14px;
}

.ai-loader-step i {
  color: #7B6BEE;
}

.ai-loader-step.active {
  color: #1d1748;
  font-weight: 700;
}

@keyframes aiBar {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(250%);
  }
}

@keyframes aiPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 12px 28px rgba(107, 92, 231, 0.28);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 16px 36px rgba(107, 92, 231, 0.38);
  }
}


.ai-thinking {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 22px;
  border: 1px solid rgba(107, 92, 231, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(123, 107, 238, 0.13), transparent 34%),
    linear-gradient(180deg, #ffffff, #fbfaff);
}

.ai-thinking-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 26px;
  background: linear-gradient(135deg, #7b6bee, #2d1f7f);
  box-shadow: 0 16px 34px rgba(107, 92, 231, 0.24);
  animation: aiIconFloat 1.5s ease-in-out infinite;
}

.ai-thinking-content {
  max-width: 360px;
}

.ai-thinking-title {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  color: #20194d;
}

.ai-thinking-text {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.45;
  color: #77718f;
}

.ai-dots {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}

.ai-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7b6bee;
  opacity: 0.35;
  animation: aiDot 1.1s ease-in-out infinite;
}

.ai-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.ai-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes aiDot {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.35;
  }

  50% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

@keyframes aiIconFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 560px) {
  .ai-thinking {
    flex-direction: column;
    text-align: center;
    min-height: 190px;
  }

  .ai-dots {
    justify-content: center;
  }
}

.ai-mini-loader {
  width: 100%;
  box-sizing: border-box;
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fbfaff;
  border: 1px solid rgba(107, 92, 231, 0.16);
}

.ai-mini-spinner {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  border: 3px solid rgba(107, 92, 231, 0.18);
  border-top-color: #6b5ce7;
  animation: aiSpin 0.8s linear infinite;
}

.ai-mini-loader strong {
  display: block;
  font-size: 16px;
  line-height: 1.25;
  color: #20194d;
}

.ai-mini-loader small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.35;
  color: #77718f;
}

@keyframes aiSpin {
  to {
    transform: rotate(360deg);
  }
}