/* =============================================
   Octohost – Custom / Override Styles
   ============================================= */

/* ── Reset helpers ── */
*, *::before, *::after { box-sizing: border-box; }

/* ── Prevent scroll when popup is open ── */
body.no-scroll { overflow: hidden; }

/* ── Page Loader ── */
.page-loader {
  position: fixed;
  inset: 0;
  background: #1b2a4a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.page-loader::after {
  content: '';
  width: 44px; height: 44px;
  border: 4px solid rgba(255,255,255,.25);
  border-top-color: #329EFF;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Sticky nav visibility ── */
.nav-bar-static { transition: opacity .3s, transform .3s; }
.nav-bar-static.nav-hidden { opacity: 0; pointer-events: none; transform: translateY(-8px); }
.nav-bar { opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .3s, transform .3s; }
.nav-bar.nav-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ── Mobile nav ── */
@media (max-width: 991px) {
  .nav-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav-menu.nav-open { max-height: 600px; }
}

/* ── Scroll-reveal animations ── */
[data-ix].anim-ready { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
[data-ix].anim-ready.anim-visible { opacity: 1; transform: none; }

/* Staggered variants */
[data-ix="fade-up-1"].anim-ready { transition-delay: .05s; }
[data-ix="fade-up-2"].anim-ready { transition-delay: .18s; }
[data-ix="fade-up-3"].anim-ready { transition-delay: .31s; }
[data-ix="fade-right"].anim-ready { transform: translateX(-32px); }
[data-ix="fade-left"].anim-ready  { transform: translateX(32px);  }
[data-ix="fade-right"].anim-ready.anim-visible,
[data-ix="fade-left"].anim-ready.anim-visible { transform: none; }

/* ── Pricing toggle ── */
.pricing-monthly,
.pricing-weekly { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.pricing-weekly.hidden,
.pricing-monthly.hidden { display: none; }

/* Billing toggle labels */
.text-block-10, .text-block-11 {
  font-weight: 600;
  color: #8a9ab5;
  transition: color .2s;
  cursor: pointer;
}
.label-active { color: #329EFF !important; }

/* toggle track */
.buttontoggle {
  width: 48px; height: 26px;
  background: #d0dae8;
  border-radius: 13px;
  position: relative;
  transition: background .25s;
}
.buttontoggle::after {
  content: '';
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px; left: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: left .25s;
}
.monthly.weekly-active .buttontoggle { background: #329EFF; }
.monthly.weekly-active .buttontoggle::after { left: 25px; }

/* ── Pricing table hover glow ── */
.pricing-table {
  transition: box-shadow .25s, transform .25s;
  cursor: default;
}
.pricing-table:hover {
  box-shadow: 0 12px 36px rgba(50, 158, 255, .2);
  transform: translateY(-4px);
}

/* ── Game cards hover ── */
.more-service-card {
  transition: box-shadow .25s, transform .25s;
}
.more-service-card:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,.15);
  transform: translateY(-4px);
}

/* ── Popup ── */
.popup-wrapper {
  display: none;
  position: fixed; inset: 0; z-index: 8000;
}
.popup-wrapper.popup-active { display: block; }
.popup-overlay {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, .65);
  backdrop-filter: blur(3px);
}
.contact-window {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  padding: 36px 40px;
  width: min(520px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  z-index: 8001;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
}
.contact-window-header {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 22px;
}
.popup-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none; border: none;
  font-size: 26px; line-height: 1;
  cursor: pointer; color: #8a9ab5;
}
.popup-close:hover { color: #1b2a4a; }

/* ── Service simple rows – hover ── */
.service-simple {
  transition: background .2s, box-shadow .2s, transform .2s;
  border-radius: 8px;
  padding: 12px 10px;
}
.service-simple:hover {
  background: #f4f8ff;
  box-shadow: 0 4px 18px rgba(50,158,255,.1);
  transform: translateX(4px);
}

/* ── Testimonial cards ── */
.review-color-card {
  transition: transform .25s, box-shadow .25s;
}
.review-color-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}

/* Mobile carousel active card */
@media (max-width: 767px) {
  .review { opacity: .35; transform: scale(.97); transition: opacity .4s, transform .4s; }
  .review.review-active { opacity: 1; transform: scale(1); }
}

/* ── Stats section ── */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 48px 24px;
  background: #1b2a4a;
  text-align: center;
}
.stat-item { min-width: 140px; }
.stat-number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: #329EFF;
  line-height: 1.1;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 6px;
}

/* ── FAQ accordion ── */
.faq-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 48px;
}
.faq-section h2 { text-align: center; margin-bottom: 32px; }
.faq-item {
  border-bottom: 1px solid #e3eaf4;
  overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left;
  background: none; border: none;
  padding: 18px 0;
  font-size: 16px; font-weight: 600;
  color: #1b2a4a;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: color .2s;
}
.faq-question:hover { color: #329EFF; }
.faq-question .faq-icon {
  font-size: 22px; line-height: 1;
  transition: transform .3s;
  flex-shrink: 0; margin-left: 12px;
  color: #329EFF;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  font-size: 15px; color: #4a5568; line-height: 1.7;
  transition: max-height .35s ease, padding .3s;
  padding: 0;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 16px;
}

/* ── Back-to-top button ── */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #329EFF;
  color: #fff;
  border: none; cursor: pointer;
  font-size: 26px; line-height: 1;
  box-shadow: 0 4px 16px rgba(50,158,255,.45);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  z-index: 500;
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.btt-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: #1a8af0; }

/* ── Social button zoom ── */
.social-button { transition: transform .2s; display: inline-block; }
.social-button:hover { transform: scale(1.18); }

/* ── Nav button hover ── */
.nav-button, .nav-button-white, .nav-button-white-2 { transition: transform .15s, box-shadow .15s; }
.nav-button:hover, .nav-button-white:hover, .nav-button-white-2:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.18); }

/* ── Button pulse on hero ── */
.headbutton { position: relative; overflow: hidden; }
.headbutton::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.18);
  border-radius: inherit;
  transform: scale(0); opacity: 0;
  transition: transform .45s, opacity .45s;
}
.headbutton:active::after { transform: scale(2.5); opacity: 1; transition: 0s; }

/* ── Responsive fixes ── */
@media (max-width: 479px) {
  .contact-window { padding: 28px 20px; }
  .stat-number { font-size: 32px; }
  .back-to-top { bottom: 16px; right: 16px; }
}

/* =============================================
   Extra page styles – About, Services, Blog,
   Contact, Legal pages
   ============================================= */

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 120px 24px 64px;
  background: linear-gradient(135deg, #1b2a4a 0%, #0f1f3d 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(50,158,255,.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: #fff; margin: 0 0 16px; font-size: clamp(28px,5vw,46px); }
.page-hero p  { color: rgba(255,255,255,.75); max-width: 620px; margin: 0 auto; font-size: 17px; line-height: 1.7; }
.page-hero .breadcrumb { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.page-hero .breadcrumb a { color: #329EFF; text-decoration: none; }

/* ── Section wrappers ── */
.content-section { max-width: 960px; margin: 0 auto; padding: 60px 24px; }
.content-section + .content-section { padding-top: 0; }
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #329EFF;
  margin-bottom: 10px;
}

/* ── About page ── */
.about-intro { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.about-intro-text { flex: 1 1 320px; }
.about-intro-text h2 { font-size: 30px; margin-bottom: 16px; color: #1b2a4a; }
.about-intro-text p  { color: #4a5568; line-height: 1.8; margin-bottom: 14px; }
.about-intro-visual {
  flex: 0 0 300px;
  background: linear-gradient(135deg, #329EFF 0%, #1a8af0 100%);
  border-radius: 16px;
  height: 260px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 80px;
}

.values-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 24px; margin-top: 40px; }
.value-card {
  background: #f4f8ff; border-radius: 12px;
  padding: 28px 24px;
  border-top: 4px solid #329EFF;
  transition: box-shadow .2s, transform .2s;
}
.value-card:hover { box-shadow: 0 8px 28px rgba(50,158,255,.15); transform: translateY(-3px); }
.value-card .value-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.value-card h3 { font-size: 17px; color: #1b2a4a; margin: 0 0 8px; }
.value-card p  { font-size: 14px; color: #4a5568; line-height: 1.6; margin: 0; }

.team-section { background: #f4f8ff; padding: 60px 24px; }
.team-grid { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; max-width: 960px; margin: 40px auto 0; }
.team-card {
  background: #fff; border-radius: 12px;
  width: 200px; text-align: center;
  padding: 28px 20px;
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, #329EFF, #1a8af0);
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff; font-weight: 800;
  border-radius: 50%;
  overflow: hidden;
}

.team-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h4 { font-size: 15px; margin: 0 0 4px; color: #1b2a4a; }
.team-card p  { font-size: 13px; color: #8a9ab5; margin: 0; }

.timeline { max-width: 700px; margin: 0 auto; padding: 0; list-style: none; position: relative; }
.timeline::before {
  content: ''; position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 2px; background: #e3eaf4;
}
.timeline-item { display: flex; gap: 24px; margin-bottom: 36px; position: relative; }
.timeline-dot {
  flex-shrink: 0; width: 42px; height: 42px;
  border-radius: 50%; background: #329EFF;
  color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 4px #e3f0ff;
}
.timeline-body h4 { margin: 8px 0 4px; font-size: 16px; color: #1b2a4a; }
.timeline-body p  { font-size: 14px; color: #4a5568; line-height: 1.6; margin: 0; }

/* ── Services page ── */
.services-hero-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px; }
.service-card-full {
  background: #fff; border-radius: 14px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  border-top: 4px solid #329EFF;
  transition: box-shadow .25s, transform .25s;
}
.service-card-full:hover { box-shadow: 0 12px 36px rgba(50,158,255,.18); transform: translateY(-4px); }
.service-card-full .svc-icon { font-size: 44px; margin-bottom: 16px; display: block; }
.service-card-full h3 { font-size: 20px; color: #1b2a4a; margin: 0 0 10px; }
.service-card-full p  { font-size: 15px; color: #4a5568; line-height: 1.7; margin: 0; }
.service-card-full ul { margin: 14px 0 0; padding-left: 20px; font-size: 14px; color: #4a5568; line-height: 2; }

.compare-table { width: 100%; border-collapse: collapse; margin-top: 32px; font-size: 15px; }
.compare-table th { background: #1b2a4a; color: #fff; padding: 14px 18px; text-align: left; }
.compare-table th:first-child { border-radius: 8px 0 0 0; }
.compare-table th:last-child  { border-radius: 0 8px 0 0; }
.compare-table td { padding: 14px 18px; border-bottom: 1px solid #e3eaf4; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: #f8fbff; }
.compare-table .check { color: #22c55e; font-size: 18px; }
.compare-table .cross { color: #ef4444; font-size: 18px; }

/* ── Blog page ── */
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; justify-content: center; }
.blog-filter-btn {
  padding: 7px 18px; border-radius: 20px;
  border: 2px solid #e3eaf4;
  background: #fff; color: #4a5568; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.blog-filter-btn:hover,
.blog-filter-btn.active { background: #329EFF; border-color: #329EFF; color: #fff; }

.blog-grid-full { display: grid; grid-template-columns: repeat(auto-fill,minmax(290px,1fr)); gap: 28px; max-width: 1000px; margin: 0 auto; }
.blog-card-full {
  background: #fff; border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.blog-card-full:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0,0,0,.13); }
.blog-card-thumb {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
}
.blog-card-thumb.bg-blue   { background: linear-gradient(135deg,#329EFF,#1a6fd4); }
.blog-card-thumb.bg-green  { background: linear-gradient(135deg,#22c55e,#16a34a); }
.blog-card-thumb.bg-purple { background: linear-gradient(135deg,#a855f7,#7c3aed); }
.blog-card-thumb.bg-orange { background: linear-gradient(135deg,#f97316,#ea580c); }
.blog-card-thumb.bg-teal   { background: linear-gradient(135deg,#14b8a6,#0f766e); }
.blog-card-thumb.bg-red    { background: linear-gradient(135deg,#ef4444,#dc2626); }
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; gap: 12px; font-size: 12px; color: #8a9ab5; margin-bottom: 10px; align-items: center; }
.blog-tag {
  display: inline-block; padding: 3px 10px; border-radius: 12px;
  background: #e3f0ff; color: #329EFF; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
}
.blog-card-body h3 { font-size: 18px; color: #1b2a4a; margin: 0 0 10px; line-height: 1.4; }
.blog-card-body p  { font-size: 14px; color: #4a5568; line-height: 1.7; margin: 0 0 16px; flex: 1; }
.blog-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.read-more-link { font-size: 13px; font-weight: 700; color: #329EFF; text-decoration: none; }
.read-more-link:hover { text-decoration: underline; }
.read-time { font-size: 12px; color: #8a9ab5; }

/* Article page */
.article-layout { max-width: 780px; margin: 0 auto; padding: 48px 24px 72px; }
.article-header { margin-bottom: 32px; }
.article-header h1 { font-size: clamp(24px,4vw,36px); color: #1b2a4a; line-height: 1.3; margin-bottom: 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #8a9ab5; margin-bottom: 24px; }
.article-body { font-size: 16px; line-height: 1.85; color: #2d3748; }
.article-body h2 { font-size: 24px; color: #1b2a4a; margin: 40px 0 14px; }
.article-body h3 { font-size: 19px; color: #1b2a4a; margin: 28px 0 10px; }
.article-body p  { margin-bottom: 18px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 18px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid #329EFF;
  margin: 24px 0; padding: 16px 20px;
  background: #f0f7ff; border-radius: 0 8px 8px 0;
  font-style: italic; color: #1b2a4a;
}
.article-body .callout {
  background: #e3f0ff; border-radius: 10px;
  padding: 18px 22px; margin: 24px 0;
  border-left: 5px solid #329EFF;
}
.article-back { display: inline-flex; align-items: center; gap: 6px; color: #329EFF; text-decoration: none; font-weight: 600; font-size: 14px; margin-bottom: 28px; }
.article-back:hover { text-decoration: underline; }

/* ── Contact page ── */
.contact-layout { display: flex; gap: 48px; flex-wrap: wrap; max-width: 960px; margin: 0 auto; padding: 60px 24px; }
.contact-info { flex: 1 1 280px; }
.contact-info h2 { font-size: 26px; color: #1b2a4a; margin-bottom: 14px; }
.contact-info p  { color: #4a5568; line-height: 1.8; margin-bottom: 24px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-detail-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: #e3f0ff; color: #329EFF;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-detail-text h4 { font-size: 14px; color: #8a9ab5; margin: 0 0 3px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-detail-text p  { font-size: 15px; color: #1b2a4a; margin: 0; }
.contact-detail-text a  { color: #329EFF; text-decoration: none; }
.contact-detail-text a:hover { text-decoration: underline; }

.contact-form-wrap {
  flex: 1 1 340px;
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 8px 36px rgba(0,0,0,.1);
}
.contact-form-wrap h3 { font-size: 22px; color: #1b2a4a; margin-bottom: 22px; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #4a5568; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e3eaf4;
  border-radius: 8px;
  font-size: 14px; color: #1b2a4a;
  transition: border-color .2s, box-shadow .2s;
  background: #fff;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #329EFF;
  box-shadow: 0 0 0 3px rgba(50,158,255,.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { width: 100%; margin-top: 8px; }
.form-success-msg {
  display: none; background: #e6faf0; border-radius: 10px;
  padding: 18px 20px; text-align: center; color: #16a34a;
  font-weight: 600; margin-top: 16px;
}

/* ── Legal pages ── */
.legal-body { max-width: 800px; margin: 0 auto; padding: 56px 24px 80px; }
.legal-body h1 { font-size: 32px; color: #1b2a4a; margin-bottom: 8px; }
.legal-body .legal-date { font-size: 13px; color: #8a9ab5; margin-bottom: 36px; }
.legal-body h2 { font-size: 20px; color: #1b2a4a; margin: 36px 0 12px; border-left: 4px solid #329EFF; padding-left: 12px; }
.legal-body p, .legal-body li { font-size: 15px; line-height: 1.85; color: #2d3748; margin-bottom: 14px; }
.legal-body ul { padding-left: 24px; }
.legal-body a { color: #329EFF; }

/* ── Responsive ── */
@media (max-width: 767px) {
  .about-intro-visual { display: none; }
  .form-row { flex-direction: column; }
  .contact-form-wrap { padding: 28px 20px; }
  .blog-grid-full { grid-template-columns: 1fr; }
  .services-hero-grid { grid-template-columns: 1fr; }
}

/* =============================================
   Article v2 – Hero image, rich layout
   ============================================= */

/* Hero image container */
.article-hero-img {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
}
.article-hero-img svg,
.article-hero-img img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
}

/* Wider article layout */
.article-layout { max-width: 860px; }

/* Table of Contents */
.article-toc {
  background: #f4f8ff;
  border: 1px solid #d8eaff;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 0 0 36px;
}
.article-toc h4 {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #8a9ab5; margin: 0 0 14px;
}
.article-toc ol { margin: 0; padding-left: 20px; }
.article-toc li { margin-bottom: 7px; }
.article-toc a { color: #329EFF; text-decoration: none; font-size: 14px; font-weight: 600; }
.article-toc a:hover { text-decoration: underline; }

/* Step blocks */
.step-block {
  display: flex; gap: 20px; margin-bottom: 32px;
  padding: 24px; background: #f4f8ff;
  border-radius: 12px; align-items: flex-start;
}
.step-num {
  flex-shrink: 0; width: 40px; height: 40px;
  border-radius: 50%; background: #329EFF;
  color: #fff; font-size: 17px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step-content h3 { margin: 0 0 8px; font-size: 17px; color: #1b2a4a; }
.step-content p  { margin: 0; font-size: 15px; color: #4a5568; line-height: 1.7; }

/* Tip / warning / info callouts */
.callout-tip     { background: #e6faf0; border-left: 5px solid #22c55e; border-radius: 0 10px 10px 0; }
.callout-warning { background: #fff7ed; border-left: 5px solid #f97316; border-radius: 0 10px 10px 0; }
.callout-info    { background: #e3f0ff; border-left: 5px solid #329EFF; border-radius: 0 10px 10px 0; }
.callout { padding: 18px 22px; margin: 28px 0; font-size: 15px; line-height: 1.7; }
.callout strong { display: block; margin-bottom: 4px; }

/* Code blocks */
.article-body code {
  background: #1b2a4a; color: #7dd3fc;
  padding: 2px 7px; border-radius: 5px;
  font-size: 13.5px; font-family: 'Courier New', monospace;
}
.article-body pre {
  background: #0f1f3d; color: #e2e8f0;
  border-radius: 10px; padding: 20px 22px;
  overflow-x: auto; margin: 24px 0;
  font-size: 13.5px; line-height: 1.7;
  font-family: 'Courier New', monospace;
}
.article-body pre code { background: none; color: inherit; padding: 0; }

/* Info table in articles */
.article-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px; margin: 28px 0;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.article-table th {
  background: #1b2a4a; color: #fff;
  padding: 13px 16px; text-align: left;
  font-size: 13px; letter-spacing: .04em;
}
.article-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #e3eaf4;
  color: #2d3748;
}
.article-table tr:last-child td { border-bottom: none; }
.article-table tr:nth-child(even) td { background: #f8fbff; }

/* Author / share bar */
.article-footer-bar {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  padding: 24px 0; margin-top: 48px;
  border-top: 1px solid #e3eaf4;
}
.article-author { display: flex; align-items: center; gap: 12px; }
.article-author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg,#329EFF,#1a6fd4);
  color: #fff; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.article-author-name { font-weight: 700; font-size: 14px; color: #1b2a4a; display: block; }
.article-author-role { font-size: 12px; color: #8a9ab5; }
.article-share { display: flex; gap: 10px; align-items: center; font-size: 13px; color: #8a9ab5; }
.share-btn {
  padding: 7px 14px; border-radius: 20px; border: 2px solid #e3eaf4;
  background: #fff; font-size: 13px; font-weight: 600; color: #4a5568;
  cursor: pointer; text-decoration: none; transition: all .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.share-btn:hover { border-color: #329EFF; color: #329EFF; }

/* Related articles */
.related-articles { background: #f4f8ff; padding: 48px 24px; }
.related-articles h3 { text-align: center; font-size: 22px; color: #1b2a4a; margin-bottom: 32px; }
.related-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; max-width: 860px; margin: 0 auto; }
.related-card {
  background: #fff; border-radius: 10px; width: 240px;
  overflow: hidden; box-shadow: 0 3px 14px rgba(0,0,0,.07);
  text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.related-card-thumb { height: 90px; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.related-card-body { padding: 14px; }
.related-card-body span { font-size: 11px; color: #329EFF; font-weight: 700; text-transform: uppercase; }
.related-card-body p { font-size: 14px; font-weight: 600; color: #1b2a4a; margin: 4px 0 0; line-height: 1.4; }

/* Progress bar (reading progress) */
#reading-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #329EFF, #1a8af0);
  transform-origin: left; transform: scaleX(0);
  transition: transform .1s linear; z-index: 9999;
}

@media(max-width:600px){
  .article-hero-img { border-radius: 0; margin-left:-24px; margin-right:-24px; width:calc(100% + 48px); }
  .step-block { flex-direction: column; gap: 12px; }
}

.social-button{
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-button img{
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.section-header-wrapper{
  padding-top: 120px;
}

.about-intro-visual{
  overflow: hidden;
}
.about-intro-visual img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}