/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #FFD600;
  --yellow-dark: #F5C000;
  --orange: #FF6B00;
  --dark: #0A0A0F;
  --dark2: #111118;
  --dark3: #1A1A24;
  --dark4: #22222E;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --text: #E8E8F0;
  --text-muted: #8888A0;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-yellow: 0 0 40px rgba(255,214,0,0.15);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.3; }
p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }

.accent { color: var(--yellow); }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block; width: 24px; height: 2px; background: var(--yellow);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: none; transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--yellow); color: var(--dark);
  box-shadow: 0 4px 20px rgba(255,214,0,0.3);
}
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,214,0,0.4); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid var(--glass-border);
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(10,10,15,0.97);
  border-bottom-color: rgba(255,255,255,0.1);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.2rem;
}
.logo-icon {
  width: 40px; height: 40px; background: var(--yellow); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; }
.logo-text span { color: var(--yellow); }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 8px 14px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500;
  color: var(--text-muted); transition: var(--transition);
}
.nav a:hover, .nav a.active { color: var(--white); background: var(--glass); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.9rem; color: var(--text-muted);
  transition: var(--transition);
}
.header-phone svg { opacity: 0.6; flex-shrink: 0; }
.header-phone:hover { color: var(--yellow); }
.header-phone:hover svg { opacity: 1; }

.burger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; background: none; border: none;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; z-index: 199;
  background: var(--dark2); padding: 16px 20px 40px;
  flex-direction: column; gap: 4px;
  border-top: 1px solid var(--glass-border);
  overflow-y: auto;
  animation: menuSlideDown 0.22s ease;
}
@keyframes menuSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 16px; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 500;
  color: var(--text); transition: var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--yellow); background: rgba(255,214,0,0.07); }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }
.mobile-menu-divider { height: 1px; background: var(--glass-border); margin: 8px 0; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(255,214,0,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 50% 40% at 80% 80%, rgba(255,107,0,0.06) 0%, transparent 50%),
              var(--dark);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.03;
  background-image: linear-gradient(var(--white) 1px, transparent 1px),
                    linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-bolt {
  position: absolute; right: -100px; top: 50%; transform: translateY(-50%);
  width: 600px; height: 600px; opacity: 0.04; z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,214,0,0.1); border: 1px solid rgba(255,214,0,0.2);
  border-radius: 50px; padding: 8px 16px; font-size: 0.85rem; font-weight: 600;
  color: var(--yellow); margin-bottom: 28px;
}
.hero-badge::before { content: '⚡'; }
.hero h1 { margin-bottom: 24px; }
.hero p { font-size: 1.15rem; margin-bottom: 40px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid var(--glass-border);
}
.hero-stat-num { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.hero-stat-num span { color: var(--yellow); }
.hero-stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; content-visibility: auto; contain-intrinsic-size: 0 600px; }
.section-alt { content-visibility: auto; contain-intrinsic-size: 0 600px; }
.seo-text { content-visibility: auto; contain-intrinsic-size: 0 800px; }
.section-alt { background: var(--dark2); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header p { max-width: 560px; margin: 16px auto 0; font-size: 1.05rem; }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.service-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 32px; cursor: pointer;
  transition: var(--transition); position: relative; overflow: hidden;
  text-decoration: none; display: block;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,214,0,0.06) 0%, transparent 60%);
  opacity: 0; transition: var(--transition);
}
.service-card:hover { border-color: rgba(255,214,0,0.3); transform: translateY(-4px); box-shadow: var(--shadow-yellow); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px; background: rgba(255,214,0,0.1); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  font-size: 1.6rem; transition: var(--transition);
}
.service-card:hover .service-icon { background: rgba(255,214,0,0.2); transform: scale(1.1); }
.service-card h3 { color: var(--white); margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; margin-bottom: 20px; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: var(--yellow);
}
.service-link svg { transition: var(--transition); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 24px; }
.why-item { display: flex; gap: 20px; align-items: flex-start; }
.why-num {
  min-width: 48px; height: 48px; background: rgba(255,214,0,0.1);
  border: 1px solid rgba(255,214,0,0.2); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: var(--yellow);
}
.why-item h3 { color: var(--white); margin-bottom: 6px; font-size: 1.05rem; }
.why-item p { font-size: 0.9rem; }
.why-visual {
  background: var(--dark3); border: 1px solid var(--glass-border);
  border-radius: 24px; padding: 40px; position: relative; overflow: hidden;
}
.why-visual-glow {
  position: absolute; top: -60px; right: -60px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,214,0,0.15) 0%, transparent 70%);
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-box {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.stat-box .num { font-size: 2.2rem; font-weight: 800; color: var(--yellow); line-height: 1; }
.stat-box .lbl { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }

/* ===== PROCESS ===== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 32px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), var(--glass-border), transparent);
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 64px; height: 64px; background: var(--dark3); border: 2px solid var(--glass-border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; color: var(--yellow); margin: 0 auto 20px;
  transition: var(--transition);
}
.process-step:hover .step-num { border-color: var(--yellow); background: rgba(255,214,0,0.1); }
.process-step h3 { color: var(--white); margin-bottom: 8px; font-size: 1rem; }
.process-step p { font-size: 0.85rem; }

/* ===== PRICE TABLE ===== */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th {
  background: var(--dark3); padding: 16px 20px; text-align: left;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); border-bottom: 1px solid var(--glass-border);
}
.price-table td { padding: 16px 20px; border-bottom: 1px solid var(--glass-border); font-size: 0.95rem; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--glass); }
.price-table .price { color: var(--yellow); font-weight: 700; white-space: nowrap; }
.price-table .service-name { color: var(--white); font-weight: 500; }
.price-wrap { background: var(--dark3); border: 1px solid var(--glass-border); border-radius: var(--radius); overflow: hidden; }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 28px;
}
.review-stars { color: var(--yellow); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.review-text { font-size: 0.95rem; color: var(--text); margin-bottom: 20px; line-height: 1.6; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--dark4);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: var(--yellow);
}
.review-name { font-weight: 600; color: var(--white); font-size: 0.9rem; }
.review-date { font-size: 0.8rem; color: var(--text-muted); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(255,214,0,0.08) 0%, rgba(255,107,0,0.05) 100%);
  border-top: 1px solid rgba(255,214,0,0.1); border-bottom: 1px solid rgba(255,214,0,0.1);
  padding: 100px 0; text-align: center;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { font-size: 1.1rem; margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FORM ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { position: relative; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--dark3); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); padding: 14px 16px; color: var(--white);
  font-family: var(--font); font-size: 0.95rem; transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,214,0,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark3); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 48px; height: 48px; background: rgba(255,214,0,0.1); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.contact-item h4 { color: var(--white); font-size: 0.85rem; margin-bottom: 4px; }
.contact-item a, .contact-item p { font-size: 1rem; color: var(--text); }
.contact-item a:hover { color: var(--yellow); }

/* ===== FOOTER ===== */
.footer { background: var(--dark2); border-top: 1px solid var(--glass-border); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.9rem; margin-top: 16px; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.88rem; color: var(--text-muted); transition: var(--transition); }
.footer-col ul a:hover { color: var(--yellow); padding-left: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid var(--glass-border);
  font-size: 0.85rem; color: var(--text-muted); flex-wrap: wrap; gap: 12px;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 140px 0 80px; background: var(--dark2);
  border-bottom: 1px solid var(--glass-border); position: relative; overflow: hidden;
}
.page-hero-glow {
  position: absolute; top: -100px; left: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,214,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 6px; align-items: center; margin-bottom: 20px; font-size: 0.85rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb a:hover { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--white); font-weight: 500; }

/* ===== SEO TEXT ===== */
.seo-text { padding: 60px 0; }
.seo-text-inner {
  background: var(--dark3); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 48px;
}
.seo-text h2 { font-size: 1.5rem; color: var(--white); margin: 32px 0 12px; }
.seo-text h2:first-child { margin-top: 0; }
.seo-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 0.95rem; }
.seo-text ul { padding-left: 20px; margin-bottom: 16px; }
.seo-text ul li { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 8px; list-style: disc; }

/* ===== FLOATING CALL BTN ===== */
.float-call {
  position: fixed; bottom: 32px; right: 32px; z-index: 50;
  width: 60px; height: 60px; background: var(--yellow); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(255,214,0,0.4); cursor: pointer;
  transition: var(--transition); animation: pulse 2s infinite;
}
.float-call:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(255,214,0,0.5); }
.float-call svg { width: 26px; height: 26px; color: var(--dark); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(255,214,0,0.4), 0 0 0 0 rgba(255,214,0,0.3); }
  50% { box-shadow: 0 4px 20px rgba(255,214,0,0.4), 0 0 0 12px rgba(255,214,0,0); }
}

/* ===== MESSENGERS ===== */
.messenger-links {
  display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap;
}
.messenger-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 50px; font-size: 0.82rem; font-weight: 600;
  transition: var(--transition); text-decoration: none; border: 1px solid transparent;
}
.messenger-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.messenger-btn.tg { background: rgba(40,168,234,0.12); color: #29a8ea; border-color: rgba(40,168,234,0.2); }
.messenger-btn.tg:hover { background: #29a8ea; color: #fff; transform: translateY(-2px); }
.messenger-btn.vb { background: rgba(125,86,174,0.12); color: #7d56ae; border-color: rgba(125,86,174,0.2); }
.messenger-btn.vb:hover { background: #7d56ae; color: #fff; transform: translateY(-2px); }
.messenger-btn.wa { background: rgba(37,211,102,0.12); color: #25d366; border-color: rgba(37,211,102,0.2); }
.messenger-btn.wa:hover { background: #25d366; color: #fff; transform: translateY(-2px); }
.mobile-messengers { display: flex; gap: 10px; margin-top: 16px; padding: 0 4px; flex-wrap: wrap; }
.mobile-messengers .messenger-btn { flex: 1; justify-content: center; min-width: 90px; }
.float-messengers {
  position: fixed; bottom: 104px; right: 32px; z-index: 50;
  display: flex; flex-direction: column; gap: 10px;
}
.float-msg {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3); transition: var(--transition);
}
.float-msg svg { width: 22px; height: 22px; }
.float-msg:hover { transform: scale(1.12) translateX(-4px); }
.float-tg { background: #29a8ea; }
.float-vb { background: #7d56ae; }
.float-wa { background: #25d366; }
@media (max-width: 480px) {
  .float-messengers { bottom: 104px; right: 20px; }
  .float-call { bottom: 20px; right: 20px; }
  .float-msg { width: 44px; height: 44px; }
}

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ===== FAQ ===== */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: flex; }
  .hero-stats { gap: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ===== FAQ ACCORDION ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); overflow: hidden; transition: border-color var(--transition);
}
.faq-item.open { border-color: rgba(255,214,0,0.3); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 28px; background: none; border: none; cursor: pointer;
  text-align: left; color: var(--white); font-family: var(--font);
  font-size: 1.05rem; font-weight: 600; line-height: 1.4;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--yellow); }
.faq-icon {
  min-width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,214,0,0.1); border: 1px solid rgba(255,214,0,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); flex-shrink: 0;
}
.faq-icon svg { transition: transform var(--transition); }
.faq-item.open .faq-icon { background: var(--yellow); border-color: var(--yellow); }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-item.open .faq-icon svg path { stroke: var(--dark); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
  padding: 0 28px;
}
.faq-item.open .faq-answer { max-height: 600px; padding: 0 28px 24px; }
.faq-answer p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.8; margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { padding-left: 20px; margin: 8px 0 12px; }
.faq-answer ul li { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 6px; list-style: disc; }
.faq-answer strong { color: var(--text); }
.faq-category-title {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--yellow); margin: 40px 0 16px; display: flex; align-items: center; gap: 10px;
}
.faq-category-title::after { content: ''; flex: 1; height: 1px; background: var(--glass-border); }
.faq-category-title:first-child { margin-top: 0; }

/* ===== RICH SEO TEXT ===== */
.rich-text { max-width: 820px; }
.rich-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem); color: var(--white);
  margin: 48px 0 16px; padding-top: 48px; border-top: 1px solid var(--glass-border);
}
.rich-text h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.rich-text h3 { font-size: 1.15rem; color: var(--white); margin: 28px 0 10px; }
.rich-text p { color: var(--text-muted); font-size: 1rem; line-height: 1.85; margin-bottom: 18px; }
.rich-text ul, .rich-text ol { padding-left: 24px; margin-bottom: 18px; }
.rich-text ul li, .rich-text ol li { color: var(--text-muted); font-size: 0.97rem; line-height: 1.75; margin-bottom: 8px; }
.rich-text ul li { list-style: disc; }
.rich-text ol li { list-style: decimal; }
.rich-text strong { color: var(--text); font-weight: 600; }
.rich-text .highlight-box {
  background: rgba(255,214,0,0.06); border: 1px solid rgba(255,214,0,0.15);
  border-left: 3px solid var(--yellow); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px; margin: 24px 0;
}
.rich-text .highlight-box p { margin: 0; color: var(--text); }
.rich-text table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.rich-text table th { background: var(--dark3); padding: 12px 16px; text-align: left; font-size: 0.85rem; color: var(--text-muted); border-bottom: 1px solid var(--glass-border); }
.rich-text table td { padding: 12px 16px; border-bottom: 1px solid var(--glass-border); font-size: 0.93rem; color: var(--text-muted); }
.rich-text table tr:hover td { background: var(--glass); }

/* ===== ARTICLE LAYOUT ===== */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: start; }
.article-toc {
  position: sticky; top: 100px;
  background: var(--dark3); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 28px;
}
.article-toc h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; }
.article-toc ol { padding-left: 20px; }
.article-toc ol li { margin-bottom: 10px; }
.article-toc ol li a { font-size: 0.85rem; color: var(--text-muted); transition: var(--transition); }
.article-toc ol li a:hover { color: var(--yellow); }
.toc-active { color: var(--yellow) !important; }

/* ===== EXPERT CARD ===== */
.expert-card {
  display: flex; gap: 20px; align-items: center;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 40px;
}
.expert-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800; color: var(--dark);
}
.expert-info h4 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.expert-info p { font-size: 0.85rem; margin: 0; }

/* ===== READING PROGRESS ===== */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  width: 0%; transition: width 0.1s linear;
}

/* ===== CALLOUT BOXES ===== */
.callout {
  display: flex; gap: 16px; padding: 20px 24px;
  border-radius: var(--radius-sm); margin: 24px 0;
}
.callout-warning { background: rgba(255,107,0,0.08); border: 1px solid rgba(255,107,0,0.2); }
.callout-tip { background: rgba(255,214,0,0.06); border: 1px solid rgba(255,214,0,0.15); }
.callout-info { background: rgba(99,179,237,0.06); border: 1px solid rgba(99,179,237,0.15); }
.callout-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.callout-body p { margin: 0; font-size: 0.93rem; line-height: 1.7; }
.callout-warning .callout-body p { color: #ffb380; }
.callout-tip .callout-body p { color: #ffe066; }
.callout-info .callout-body p { color: #90cdf4; }
.callout-body strong { color: inherit; }

/* ===== SEARCH BOX ===== */
.faq-search-wrap { position: relative; max-width: 600px; margin: 0 auto 48px; }
.faq-search {
  width: 100%; background: var(--dark3); border: 1px solid var(--glass-border);
  border-radius: 50px; padding: 16px 24px 16px 52px;
  color: var(--white); font-family: var(--font); font-size: 1rem; outline: none;
  transition: var(--transition);
}
.faq-search:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,214,0,0.1); }
.faq-search::placeholder { color: var(--text-muted); }
.faq-search-icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
}
.faq-no-results { text-align: center; padding: 40px; color: var(--text-muted); display: none; }

@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; }
}
