/* ============================================
   SerenIT — styles.css
   ============================================ */

:root {
  --primary:        #4F46E5;
  --primary-dark:   #3730A3;
  --primary-light:  #EEF2FF;
  --secondary:      #06B6D4;
  --accent:         #10B981;
  --danger:         #EF4444;
  --warning:        #F97316;
  --caution:        #F59E0B;

  --dark:    #0F172A;
  --text:    #1E293B;
  --muted:   #64748B;
  --border:  #E2E8F0;
  --bg:      #F8FAFF;
  --surface: #FFFFFF;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;

  --shadow-sm:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:      0 4px 16px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  --shadow-lg:      0 20px 40px rgba(0,0,0,.10), 0 8px 16px rgba(0,0,0,.06);
  --shadow-primary: 0 8px 32px rgba(79,70,229,.25);

  --ease: .2s cubic-bezier(.4,0,.2,1);
  --ease-slow: .4s cubic-bezier(.4,0,.2,1);

  --max-w: 1200px;
  --nav-h: 72px;
}

/* ── Reset ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { border: none; cursor: pointer; background: none; font: inherit; }
textarea, input, select { font: inherit; }

/* ── Utilities ─────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header { text-align: center; margin-bottom: 64px; }

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ── Buttons ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .9375rem;
  transition: var(--ease);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(79,70,229,.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
}
.btn--white:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn--nav {
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px 20px;
  font-size: .875rem;
}
.btn--nav:hover {
  background: var(--primary);
  color: #fff;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--r-lg);
}

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

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Nav ───────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(248,250,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--ease);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-right: auto;
}
.nav__logo-seren { color: var(--dark); }
.nav__logo-it    { color: var(--primary); }

.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--muted);
  transition: var(--ease);
}
.nav__links a:hover { color: var(--primary); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--ease);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  background: rgba(248,250,255,.97);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 10px 0;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: var(--ease);
}
.nav__mobile a:last-child { border-bottom: none; margin-top: 8px; }
.nav__mobile a:hover { color: var(--primary); }

/* ── Hero ──────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .12;
}
.hero__blob--1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -100px; right: -100px;
  animation: blobFloat 8s ease-in-out infinite;
}
.hero__blob--2 {
  width: 400px; height: 400px;
  background: var(--secondary);
  bottom: -50px; left: -50px;
  animation: blobFloat 10s ease-in-out infinite reverse;
}

@keyframes blobFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(79,70,229,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,70,229,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--dark);
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero__stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.hero__stat-label {
  font-size: .8125rem;
  color: var(--muted);
  font-weight: 500;
}
.hero__divider {
  width: 1px; height: 36px;
  background: var(--border);
}

/* ── Tools ─────────────────────────────── */
.tools { padding: 120px 0; }

.tools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tool-card {
  display: flex;
  gap: 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: var(--ease);
  cursor: pointer;
}
.tool-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary);
  transform: translateY(-3px);
}

.tool-card--featured {
  grid-column: span 3;
  background: linear-gradient(135deg, #EEF2FF 0%, rgba(6,182,212,.06) 100%);
  border-color: rgba(79,70,229,.2);
}
.tool-card--featured:hover {
  border-color: var(--primary);
}

.tool-card__icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}

.tool-card--featured .tool-card__icon {
  background: rgba(255,255,255,.8);
}

.tool-card__content { flex: 1; }

.tool-card__tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.tool-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.tool-card__desc {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.tool-card__cta {
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--ease);
}

/* ── Why Section ───────────────────────── */
.why {
  padding: 120px 0;
  background: var(--dark);
}
.why .section-tag { background: rgba(79,70,229,.2); color: #A5B4FC; }
.why .section-title { color: #fff; }

.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why__content p {
  color: #94A3B8;
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.why__content .btn--primary { margin-top: 12px; }

.why__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why__card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  padding: 24px;
  transition: var(--ease);
}
.why__card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(79,70,229,.4);
}
.why__card-icon { font-size: 1.75rem; display: block; margin-bottom: 12px; }
.why__card h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.why__card p  { font-size: .875rem; color: #94A3B8; line-height: 1.6; }

/* ── CTA Banner ────────────────────────── */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #3730A3 50%, #1e1b4b 100%);
}
.cta-banner__inner { text-align: center; color: #fff; }
.cta-banner__inner h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.cta-banner__inner p  { font-size: 1.125rem; opacity: .8; margin-bottom: 36px; }

/* ── Footer ────────────────────────────── */
.footer {
  background: #080c18;
  color: #94A3B8;
  padding: 80px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer__brand p { font-size: .9375rem; line-height: 1.6; max-width: 300px; }
.footer__links h5 {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #F1F5F9;
  margin-bottom: 20px;
}
.footer__links ul { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { font-size: .9375rem; transition: var(--ease); }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  font-size: .875rem;
  opacity: .45;
}

/* ═══════════════════════════════════════
   ANNOUNCE BAR
═══════════════════════════════════════ */
.announce-bar {
  background: linear-gradient(90deg, var(--primary) 0%, #0891B2 100%);
  color: #fff;
  text-align: center;
  font-size: .8125rem;
  font-weight: 500;
  padding: 10px 24px;
  letter-spacing: .01em;
}

/* ═══════════════════════════════════════
   FOR WHO SECTION
═══════════════════════════════════════ */
.for-who {
  padding: 120px 0;
  background: var(--surface);
}

.for-who__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.for-who__card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
  transition: var(--ease);
}
.for-who__card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.for-who__icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.for-who__card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.for-who__card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.for-who__card ul li {
  font-size: .9375rem;
  color: var(--muted);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.for-who__card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.for-who__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  font-size: .875rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0 -4px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════ */
.how-works {
  padding: 120px 0;
  background: var(--bg);
}

.how-works__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.how-step {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  text-align: center;
}

.how-step__num {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--primary);
  background: var(--primary-light);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.how-step__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.how-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.how-step p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
}

.how-step__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--border);
  padding: 0 16px;
  margin-top: 60px;
}

/* ═══════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════ */
.trust-bar {
  background: var(--primary-light);
  border-top: 1px solid rgba(79,70,229,.1);
  border-bottom: 1px solid rgba(79,70,229,.1);
  padding: 20px 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
}

.trust-item__icon { font-size: 1rem; }

/* ═══════════════════════════════════════
   BLOG PREVIEW
═══════════════════════════════════════ */
.blog-preview {
  padding: 120px 0;
  background: var(--surface);
}

.blog-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: var(--ease);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.blog-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.blog-card__tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.blog-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 12px;
  flex: 1;
}

.blog-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8125rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
}

.blog-card__cta {
  font-weight: 600;
  color: var(--primary);
}

/* ═══════════════════════════════════════
   BLOG PAGES
═══════════════════════════════════════ */
.blog-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: linear-gradient(135deg, #F8FAFF 0%, #EEF2FF 100%);
  border-bottom: 1px solid var(--border);
}

.blog-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.blog-hero__tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 100px;
}

.blog-hero__read-time {
  font-size: .875rem;
  color: var(--muted);
}

.blog-hero__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.025em;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.15;
  max-width: 760px;
}

.blog-hero__subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.7;
}

.blog-body {
  padding: 80px 0 120px;
}

.blog-content {
  max-width: 720px;
  margin: 0 auto;
}

.blog-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin: 48px 0 16px;
  line-height: 1.3;
}

.blog-content h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 12px;
}

.blog-content p {
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.blog-content ul, .blog-content ol {
  margin: 0 0 24px 0;
  padding-left: 28px;
}

.blog-content li {
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 10px;
}

.blog-content ul li { list-style: disc !important; }
.blog-content ol li { list-style: decimal !important; }

.blog-content strong { color: var(--dark); font-weight: 700; }

.blog-callout {
  background: #EEF2FF;
  border-left: 5px solid var(--primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px 24px;
  margin: 36px 0;
}
.blog-callout p { margin-bottom: 0 !important; color: var(--dark); font-weight: 600; font-style: italic; }

.blog-cta-box {
  background: linear-gradient(135deg, #EEF2FF 0%, rgba(6,182,212,.1) 100%);
  border: 2px solid rgba(79,70,229,.25);
  border-radius: var(--r-xl);
  padding: 40px;
  text-align: center;
  margin: 56px 0;
  box-shadow: var(--shadow-md);
}
.blog-cta-box h3 { font-size: 1.375rem; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.blog-cta-box p  { color: var(--muted); margin-bottom: 24px; font-size: 1rem; }

/* Blog index grid */
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════
   FAQ PAGE
═══════════════════════════════════════ */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  gap: 16px;
  transition: var(--ease);
  user-select: none;
}
.faq-question:hover { color: var(--primary); }

.faq-question__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
  transition: var(--ease);
}
.faq-item.open .faq-question__icon {
  transform: rotate(45deg);
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-light);
}
.faq-item.open .faq-question { color: var(--primary); }

.faq-answer {
  display: none;
  padding: 4px 0 28px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; animation: fadeUp .25s ease; }
.faq-answer a { color: var(--primary); text-decoration: underline; }
.faq-answer a:hover { color: var(--primary-dark); }

/* ═══════════════════════════════════════
   RESPONSIVE — NEW SECTIONS
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .blog-preview__grid { grid-template-columns: 1fr 1fr; }
  .blog-index-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .for-who__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .for-who__divider { margin: 0 auto; }

  .how-works__steps {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 480px;
  }
  .how-step__arrow { transform: rotate(90deg); margin: 0 auto; }

  .trust-bar__inner { gap: 20px; justify-content: flex-start; }

  .blog-preview__grid { grid-template-columns: 1fr; }

  .announce-bar { font-size: .75rem; }
}

/* ═══════════════════════════════════════
   TOOL PAGES
═══════════════════════════════════════ */

.tool-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: linear-gradient(135deg, #F8FAFF 0%, #EEF2FF 100%);
  border-bottom: 1px solid var(--border);
}

.tool-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 24px;
  transition: var(--ease);
}
.tool-hero__back:hover { color: var(--primary); }

.tool-hero__tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.tool-hero__title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.15;
}

.tool-hero__subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.tool-body { padding: 80px 0 120px; }

/* AI Tool Form */
.tool-form-section {
  max-width: 800px;
  margin: 0 auto;
}

.tool-form-section label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.tool-form-section textarea,
.tool-form-section input,
.tool-form-section select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  transition: var(--ease);
  resize: vertical;
  outline: none;
}
.tool-form-section textarea:focus,
.tool-form-section input:focus,
.tool-form-section select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}

.char-count {
  font-size: .8125rem;
  color: var(--muted);
  text-align: right;
  margin-top: 6px;
}

.tool-result {
  margin-top: 40px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: none;
}
.tool-result.visible { display: block; animation: fadeUp .4s ease; }

.tool-result__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--primary-light);
  border-bottom: 1px solid rgba(79,70,229,.15);
}
.tool-result__header h3 { font-size: .9375rem; font-weight: 700; color: var(--primary); }

.tool-result__body {
  padding: 28px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  white-space: pre-wrap;
}

.tool-result__body strong { color: var(--dark); }

.loading-state {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px;
  color: var(--muted);
  font-weight: 500;
}

.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

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

/* Quiz Shared */
.quiz-container { max-width: 720px; margin: 0 auto; }

.quiz-question {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 20px;
}

.quiz-question h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.4;
}

.quiz-options { display: flex; flex-direction: column; gap: 10px; }

.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: var(--ease);
  font-size: .9375rem;
  line-height: 1.5;
}
.quiz-option:hover { border-color: var(--primary); background: var(--primary-light); }
.quiz-option input[type="radio"] { margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.quiz-option.selected { border-color: var(--primary); background: var(--primary-light); }

/* Fire IT Guy Results */
.result-card {
  border-radius: var(--r-xl);
  padding: 48px;
  text-align: center;
  animation: fadeUp .5s ease;
  display: none;
}
.result-card.visible { display: block; }

.result-card--green  { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); border: 2px solid #6EE7B7; }
.result-card--yellow { background: linear-gradient(135deg, #FEF3C7, #FDE68A); border: 2px solid #FCD34D; }
.result-card--orange { background: linear-gradient(135deg, #FFEDD5, #FED7AA); border: 2px solid #FDBA74; }
.result-card--red    { background: linear-gradient(135deg, #FEE2E2, #FECACA); border: 2px solid #FCA5A5; }

.result-card__emoji { font-size: 4rem; margin-bottom: 16px; }
.result-card__label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.result-card--green  .result-card__label { background: #059669; color: #fff; }
.result-card--yellow .result-card__label { background: #D97706; color: #fff; }
.result-card--orange .result-card__label { background: #EA580C; color: #fff; }
.result-card--red    .result-card__label { background: #DC2626; color: #fff; }

.result-card__title { font-size: 1.75rem; font-weight: 900; color: var(--dark); margin-bottom: 16px; }
.result-card__desc  { font-size: 1.0625rem; color: var(--text); line-height: 1.7; max-width: 480px; margin: 0 auto 32px; }

/* Personality Quiz (one-at-a-time) */
.pq-wrapper { max-width: 680px; margin: 0 auto; }

.pq-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.pq-progress__bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.pq-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 100px;
  transition: width .4s ease;
}
.pq-progress__text { font-size: .875rem; font-weight: 600; color: var(--muted); white-space: nowrap; }

.pq-slide { display: none; animation: fadeUp .35s ease; }
.pq-slide.active { display: block; }

.pq-slide h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 32px;
  line-height: 1.3;
}

.pq-options { display: flex; flex-direction: column; gap: 12px; }

.pq-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: var(--ease);
  font-size: 1rem;
  line-height: 1.5;
}
.pq-option:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateX(4px);
}
.pq-option__letter {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  transition: var(--ease);
}
.pq-option:hover .pq-option__letter {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Personality Result Card */
.personality-result {
  display: none;
  animation: fadeUp .5s ease;
}
.personality-result.visible { display: block; }

.personality-card {
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(6,182,212,.08) 100%);
  border: 2px solid rgba(79,70,229,.2);
  border-radius: var(--r-xl);
  padding: 48px;
  text-align: center;
  margin-bottom: 32px;
}

.personality-card__emoji { font-size: 5rem; margin-bottom: 20px; }
.personality-card__type  {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--primary);
  color: #fff;
  padding: 4px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.personality-card__title { font-size: 2rem; font-weight: 900; color: var(--dark); margin-bottom: 20px; }
.personality-card__desc  { font-size: 1.0625rem; color: var(--text); line-height: 1.75; max-width: 520px; margin: 0 auto 32px; }

.personality-share {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* RFP Generator */
.rfp-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
  max-width: 560px;
}
.rfp-step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.rfp-step__num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--border);
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: .8125rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: var(--ease);
}
.rfp-step.active .rfp-step__num,
.rfp-step.done   .rfp-step__num  { background: var(--primary); color: #fff; }
.rfp-step__label { font-size: .875rem; font-weight: 500; color: var(--muted); }
.rfp-step.active .rfp-step__label { color: var(--primary); font-weight: 600; }
.rfp-step__line  { flex: 1; height: 1px; background: var(--border); }

.rfp-panel { display: none; }
.rfp-panel.active { display: block; animation: fadeUp .3s ease; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group--full { grid-column: span 2; }

.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}

.rfp-result {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: none;
}
.rfp-result.visible { display: block; animation: fadeUp .4s ease; }
.rfp-result__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #D1FAE5;
  border-bottom: 1px solid #A7F3D0;
}
.rfp-result__header h3 { font-weight: 700; color: #065F46; font-size: .9375rem; }
.rfp-result__body {
  padding: 32px;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--text);
  white-space: pre-wrap;
  max-height: 600px;
  overflow-y: auto;
}

/* ── Animations ────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: .08s; }
.fade-up:nth-child(3) { transition-delay: .16s; }
.fade-up:nth-child(4) { transition-delay: .24s; }
.fade-up:nth-child(5) { transition-delay: .32s; }

/* ── Responsive ────────────────────────── */
@media (max-width: 1024px) {
  .tools__grid { grid-template-columns: 1fr 1fr; }
  .tool-card--featured { grid-column: span 2; }
  .why__inner { grid-template-columns: 1fr; gap: 60px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav__links, .btn--nav { display: none; }
  .nav__hamburger { display: flex; }

  .tools__grid { grid-template-columns: 1fr; }
  .tool-card--featured { grid-column: 1; }
  .tool-card { flex-direction: column; gap: 16px; }
  .tool-card__icon { width: 44px; height: 44px; font-size: 1.5rem; }

  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { justify-content: center; }
  .hero__stats { gap: 20px; }

  .why__cards { grid-template-columns: 1fr; }
  .why__inner { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: 1; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: 1; }

  .rfp-steps { gap: 4px; }
  .rfp-step__label { display: none; }

  .personality-card { padding: 32px 24px; }
  .result-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 40px); }
  .tool-body { padding: 48px 0 80px; }
}
