/* =========================================================
   TgramBot — Landing Page Stylesheet
   Design tokens: deep navy surface, electric-blue accent,
   mint highlight, chat-bubble signature motif.
   ========================================================= */

:root {
  /* Color */
  --bg: #0B0F1A;
  --surface: #131A2B;
  --surface-2: #1B2440;
  --surface-3: #212C4D;
  --accent: #4F8CFF;
  --accent-dark: #2F63D6;
  --accent-soft: rgba(79, 140, 255, 0.14);
  --mint: #34D399;
  --mint-soft: rgba(52, 211, 153, 0.14);
  --gold: #F5B942;
  --text: #EAF0FB;
  --text-muted: #8B96B3;
  --text-faint: #5C6787;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --danger: #F4685B;

  /* Type */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --container-w: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 10px 30px -12px rgba(0, 0, 0, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(79, 140, 255, 0.12), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(52, 211, 153, 0.08), transparent 35%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--text-muted); }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(79, 140, 255, 0.3);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; box-shadow: 0 8px 20px -8px rgba(79, 140, 255, 0.6); }
.btn-primary:hover { box-shadow: 0 12px 26px -8px rgba(79, 140, 255, 0.75); }
.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { color: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 26, 0.75);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--mint));
  color: #071019;
}
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { color: var(--text-muted); font-size: 0.94rem; font-weight: 500; transition: color .2s; }
.main-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero { padding: 84px 0 60px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-lead { font-size: 1.12rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin: 30px 0 40px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 34px; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--text); }
.trust-item span { font-size: 0.82rem; color: var(--text-faint); }

/* Chat mockup — signature element */
.hero-visual { display: flex; justify-content: center; }
.chat-mock {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.chat-mock-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.chat-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--mint));
  color: #071019;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
}
.chat-mock-head strong { display: block; font-size: 0.92rem; }
.chat-mock-head small { color: var(--mint); font-size: 0.75rem; }
.chat-mock-body { padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; min-height: 320px; }
.bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-family: var(--font-mono);
  opacity: 0;
  transform: translateY(8px);
  animation: bubbleIn .5s ease forwards;
  animation-delay: var(--d, 0s);
}
.bubble-in { align-self: flex-start; background: var(--surface-3); border-bottom-left-radius: 4px; color: var(--text); }
.bubble-out { align-self: flex-end; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; border-bottom-right-radius: 4px; }
.bubble-typing { display: flex; gap: 4px; align-items: center; padding: 14px; }
.bubble-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-faint); animation: typingDot 1.2s infinite ease-in-out; }
.bubble-typing span:nth-child(2) { animation-delay: .2s; }
.bubble-typing span:nth-child(3) { animation-delay: .4s; }

@keyframes bubbleIn { to { opacity: 1; transform: translateY(0); } }
@keyframes typingDot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ============ Ad slots ============ */
.ad-slot { position: relative; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius-md); overflow: hidden; }
.ad-label { position: absolute; top: 6px; left: 6px; font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: .06em; background: rgba(0,0,0,.5); color: var(--text-faint); padding: 2px 7px; border-radius: 4px; z-index: 2; }
.ad-slot img { width: 100%; height: auto; }
.ad-slot-header { max-width: var(--container-w); margin: 0 auto 0; }
.ad-slot-header img { max-height: 120px; object-fit: cover; width: 100%; }
.ad-slot-incontent { margin: 40px 0; text-align: center; }
.ad-slot-sidebar { margin-bottom: 24px; }
.ad-slot-placeholder { display: flex; }
.ad-placeholder { padding: 40px 16px; text-align: center; color: var(--text-faint); font-size: 0.85rem; width: 100%; }
.ad-placeholder small { display: block; margin-top: 6px; font-size: 0.72rem; }

/* ============ Page layout (content + sidebar) ============ */
.page-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; padding: 60px 24px 80px; }
.main-content { min-width: 0; }
.sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 0; }
.sidebar-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; margin-bottom: 20px; }
.sidebar-widget h4 { margin-bottom: 8px; font-size: 1rem; }
.sidebar-widget p { font-size: 0.88rem; margin: 0; }
.sidebar-cta { background: linear-gradient(160deg, var(--accent-soft), var(--surface)); border-color: rgba(79,140,255,.3); }
.sidebar-cta .btn { margin-top: 10px; }

/* ============ Sections ============ */
.section { padding: 70px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.015), transparent); border-radius: var(--radius-lg); }
.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head p { margin: 0; }
.section-cta { text-align: center; margin-top: 36px; }

/* ============ Background decor ============ */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35; animation: blobFloat 18s ease-in-out infinite; }
.bg-blob-1 { width: 480px; height: 480px; top: -120px; left: -100px; background: radial-gradient(circle, var(--accent), transparent 70%); }
.bg-blob-2 { width: 520px; height: 520px; top: 30%; right: -160px; background: radial-gradient(circle, var(--mint), transparent 70%); animation-delay: -8s; }
.bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 40px) scale(1.08); }
}

/* ============ Language switch ============ */
.lang-switch { display: flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 100px; padding: 3px; gap: 2px; }
.lang-switch a { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; padding: 5px 11px; border-radius: 100px; color: var(--text-faint); transition: background .2s, color .2s; }
.lang-switch a.active { background: var(--accent); color: #fff; }
.lang-switch a:hover:not(.active) { color: var(--text); }

/* ============ Glow / eyebrow accents ============ */
.eyebrow-glow { box-shadow: 0 0 24px -6px rgba(79, 140, 255, 0.55); }
.btn-glow { position: relative; }
.btn-glow::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), var(--mint));
  opacity: 0; z-index: -1; filter: blur(14px); transition: opacity .3s;
}
.btn-glow:hover::after { opacity: 0.55; }

.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); margin-right: 3px; }

/* ============ Hero visual extras ============ */
.hero-image-wrap { position: relative; display: flex; justify-content: center; }
.hero-custom-image {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.chat-mock-wrap { position: relative; display: flex; justify-content: center; }
.chat-glow {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,140,255,.35), transparent 70%);
  filter: blur(30px); z-index: -1; animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow { 0%, 100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

.floating-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  animation: floatUpDown 5s ease-in-out infinite;
}
.floating-badge-1 { top: 8%; left: -6%; animation-delay: 0s; }
.floating-badge-2 { bottom: 12%; right: -8%; animation-delay: -2.5s; }
@keyframes floatUpDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============ Capabilities marquee ============ */
.marquee-wrap { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; margin: 10px 0 0; background: rgba(255,255,255,.015); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marqueeScroll 32s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-chip {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 9px 20px;
  border-radius: 100px;
  white-space: nowrap;
}
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Scroll reveal ============ */
/* Konten SELALU tampil secara default, tanpa syarat apa pun.
   Fitur animasi "muncul saat di-scroll" telah dihapus total karena berisiko membuat
   konten tersembunyi permanen jika ada gangguan kecil pada JavaScript di server tertentu.
   Class .reveal / atribut data-reveal masih ada di markup HTML tapi sekarang tidak
   berefek apa pun terhadap visibilitas — aman dibiarkan. */
.reveal { opacity: 1 !important; transform: none !important; }

/* ============ Testimonial quote icon ============ */
.testimonial-card { position: relative; overflow: hidden; }
.testimonial-quote {
  position: absolute; top: -6px; right: 16px;
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--accent);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

/* ============ Pricing popular animated border ============ */
.price-card-popular { position: relative; }
.price-card-popular::before {
  content: '';
  position: absolute; inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--angle, 0deg), var(--accent), var(--mint), var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotateBorder 5s linear infinite;
  z-index: -1;
}
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes rotateBorder { to { --angle: 360deg; } }

/* ============ Testimonials ============ */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.testimonial-rating { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; font-size: 0.95rem; }
.testimonial-content { font-size: 0.95rem; color: var(--text); flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-avatar-initial {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--mint));
  color: #071019; font-family: var(--font-display); font-weight: 700;
}
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-faint); }

/* ============ Category filter & badges ============ */
.category-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.category-filter a {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  transition: border-color .2s, color .2s;
}
.category-filter a:hover { color: var(--text); border-color: var(--accent); }
.category-filter a.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.blog-card-img { position: relative; }
.blog-card-category {
  position: absolute; top: 10px; left: 10px;
  background: rgba(11,15,26,.75);
  backdrop-filter: blur(4px);
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
}
.blog-card-category-inline { position: static; display: inline-block; margin-right: 4px; }

.category-list { display: flex; flex-direction: column; gap: 10px; }
.category-list a { font-size: 0.9rem; color: var(--text-muted); display: flex; justify-content: space-between; }
.category-list a:hover { color: var(--accent); }

/* ============ Feature grid ============ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(79,140,255,.35); }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p { font-size: 0.9rem; margin: 0; }

/* ============ Steps ============ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { padding: 28px 24px; border-left: 2px solid var(--border-strong); position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  color: var(--mint);
  margin-bottom: 14px;
}
.step-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step-card p { font-size: 0.9rem; margin: 0; }

/* ============ Pricing ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
}
.price-card-popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 40%);
  transform: scale(1.03);
  box-shadow: var(--shadow-card);
}
.price-badge {
  position: absolute; top: -13px; left: 26px;
  background: linear-gradient(135deg, var(--accent), var(--mint));
  color: #071019;
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 700;
  padding: 5px 12px; border-radius: 100px;
  letter-spacing: .03em;
}
.price-desc { font-size: 0.88rem; min-height: 40px; }
.price-amount { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--text); margin-bottom: 20px; }
.price-amount span { font-family: var(--font-body); font-size: 0.95rem; font-weight: 400; color: var(--text-faint); }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.price-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text); }
.price-features li svg { flex-shrink: 0; color: var(--mint); }

/* ============ Blog grid / cards ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-grid-list { grid-template-columns: repeat(2, 1fr); }
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(79,140,255,.35); }
.blog-card-img { aspect-ratio: 16/9; background: var(--surface-2); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--surface-2), var(--surface-3)); }
.blog-card-body { padding: 20px; }
.blog-card-body time { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); text-transform: uppercase; }
.blog-card-body h3 { margin: 8px 0; font-size: 1.05rem; }
.blog-card-body p { font-size: 0.87rem; margin: 0 0 10px; }
.blog-read-more { font-size: 0.82rem; color: var(--accent); font-weight: 600; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--border); font-size: 0.88rem; }
.pagination a.active, .pagination a:hover { border-color: var(--accent); color: var(--accent); }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 22px; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 0.98rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--accent); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; font-size: 0.9rem; }

/* ============ Contact ============ */
.contact-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.contact-copy { padding: 48px; background: linear-gradient(160deg, var(--accent-soft), transparent); }
.contact-info { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.contact-info strong { color: var(--text); }
.contact-form { padding: 48px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 0.85rem; margin-bottom: 6px; color: var(--text-muted); }
.form-row input, .form-row textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 0.76rem; color: var(--text-faint); margin-top: 12px; }

/* ============ Article page ============ */
.page-hero { padding: 56px 0 20px; }
.page-hero-article h1 { max-width: 900px; }
.breadcrumb { font-size: 0.82rem; color: var(--text-faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.article-meta { display: flex; gap: 10px; align-items: center; font-size: 0.85rem; color: var(--text-faint); }
.article-featured-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; border: 1px solid var(--border); }
.article-body { font-size: 1.02rem; line-height: 1.8; max-width: 760px; }
.article-body p { color: var(--text); margin-bottom: 1.3em; }
.article-body h2, .article-body h3 { margin-top: 1.6em; }
.article-body img { border-radius: var(--radius-md); margin: 20px 0; }
.related-posts { margin-top: 56px; }
.related-posts h2 { margin-bottom: 24px; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--border); padding-top: 56px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { max-width: 32ch; font-size: 0.88rem; }
.logo-footer { margin-bottom: 14px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--accent); }
.footer-col li { font-size: 0.9rem; color: var(--text-muted); }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a {
  width: 34px; height: 34px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700;
}
.social-links a:hover { border-color: var(--accent); color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-bottom p { margin: 0; font-size: 0.82rem; color: var(--text-faint); text-align: center; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .feature-grid, .steps-grid, .pricing-grid, .blog-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card-popular { transform: none; }
  .contact-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .floating-badge-1 { left: 2%; }
  .floating-badge-2 { right: 2%; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; top: 72px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 20px 24px; gap: 18px; transform: translateY(-140%); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .feature-grid, .steps-grid, .pricing-grid, .blog-grid, .blog-grid-list, .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-copy, .contact-form { padding: 32px 24px; }
  .floating-badge { font-size: 0.68rem; padding: 6px 12px; }
  .floating-badge-1 { top: 4%; }
  .floating-badge-2 { bottom: 6%; }
  .bg-blob { filter: blur(50px); opacity: 0.25; }
}
