/* ===== THALLIX DARK THEME ===== */

:root {
  --bg-primary: #080b14;
  --bg-secondary: #0e1120;
  --bg-card: #111827;
  --bg-card-hover: #1a2236;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.15);
  --text-primary: #f0f4ff;
  --text-secondary: #8b9cc8;
  --text-muted: #4a5580;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-glow: rgba(59,130,246,0.15);
  --accent2: #818cf8;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #818cf8 100%);
  --gradient-text: linear-gradient(135deg, #60a5fa, #a78bfa);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
  --shadow-accent: 0 0 40px rgba(59,130,246,0.2);
  --header-bg: rgba(8,11,20,0.85);
  --radius: 14px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* ---- NOISE TEXTURE OVERLAY ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

a { color: inherit; text-decoration: none; }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.logo img { width: 36px; height: 36px; border-radius: 10px; }
.logo-muted { color: var(--text-secondary); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links .btn-primary {
  color: white !important;
  font-size: 0.875rem;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  box-shadow: var(--shadow-md);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
}
.nav-dropdown-menu a:hover { background: var(--bg-card-hover); color: var(--text-primary); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 0 20px rgba(59,130,246,0.3);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(59,130,246,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-card); }

/* ---- MOBILE NAV ---- */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  border-radius: 10px;
  padding: 0.5rem;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid var(--border);
  gap: 0.5rem;
}
.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.mobile-nav a:hover { color: var(--text-primary); }
.mobile-nav.open { display: flex; }

/* ---- HERO ---- */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 6px 14px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;

  color: #7dd3fc;

  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.25);

  backdrop-filter: blur(6px);

  box-shadow:
    0 0 0 1px rgba(59,130,246,0.1),
    0 4px 20px rgba(59,130,246,0.12);
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(56,189,248,.6); }
  70% { box-shadow: 0 0 0 8px rgba(56,189,248,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,189,248,0); }
}

.hero {
  position: relative;
  overflow: hidden;
  /* min-height: 88vh; */
  display: flex;
  align-items: center;
  padding: 6rem 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-glow-1 {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-glow-2 {
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(129,140,248,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--accent-hover);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.hero-bullet {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.hero-bullet-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  font-size: 0.6rem;
  flex-shrink: 0;
}

/* ---- HERO MOCKUP ---- */
.hero-visual { position: relative; }
.mockup-desktop {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-accent);
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.mockup-desktop:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #febc2e; }
.mockup-dot.green { background: #28c840; }
.mockup-desktop img { width: 100%; height: auto; display: block; }

.mockup-mobile {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 110px;
  border-radius: 20px;
  border: 3px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: #000;
}
.mockup-mobile-bar { height: 12px; background: #000; }
.mockup-mobile img { width: 100%; display: block; }

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -10px;
  background: var(--gradient);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(59,130,246,0.5);
}

/* ---- SECTION BASE ---- */
.section {
  padding: 6rem 2rem;
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.7;
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  display: block;
  color: var(--text-primary);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-glow);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-hover);
  margin-bottom: 1.5rem;
}
.service-icon svg { width: 24px; height: 24px; }

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--accent-hover);
  margin-top: 1rem;
  font-weight: 600;
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
}
.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.pricing-card.popular {
  border-color: rgba(59,130,246,0.4);
  background: linear-gradient(135deg, rgba(59,130,246,0.06) 0%, var(--bg-card) 100%);
  box-shadow: 0 0 40px rgba(59,130,246,0.1);
}
.pricing-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--gradient);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 0 0 10px 10px;
}
.pricing-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.pricing-card .desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.pricing-price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; }
.pricing-period { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.5rem; }

/* ---- WHY US ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all 0.3s;
}
.why-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.why-card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.why-card p { font-size: 0.875rem; color: var(--text-secondary); }

/* ---- PROCESS ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 30px rgba(59,130,246,0.4);
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ---- FAQ ---- */
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { border-color: rgba(59,130,246,0.3); }
.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.2s;
  font-weight: 300;
}
.faq-item[open] summary::after { content: '−'; }
.faq-body {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- CONTACT ---- */
.contact-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-input, .form-textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-textarea:focus {
  border-color: rgba(59,130,246,0.5);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.form-textarea { resize: vertical; min-height: 130px; }

/* ---- CTA BAR ---- */
.cta-bar {
  background: var(--gradient);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bar::before {
  content: '';
  /* position: absolute; */
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-bar h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: white; margin-bottom: 0.75rem; position: relative; z-index: 1; }
.cta-bar p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; position: relative; z-index: 1; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.85rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-secondary); }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.fade-in-up-delay-1 { animation: fadeInUp 0.6s 0.1s ease both; }
.fade-in-up-delay-2 { animation: fadeInUp 0.6s 0.2s ease both; }
.fade-in-up-delay-3 { animation: fadeInUp 0.6s 0.3s ease both; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
}

@media (max-width: 600px) {
  .section { padding: 4rem 1.25rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 4rem 1.25rem; min-height: auto; }
}

/* ===== SHARED INNER PAGE STYLES ===== */

/* Page Hero Banner */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem 4rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.page-breadcrumb a { color: var(--text-secondary); transition: color 0.2s; }
.page-breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; max-width: 700px; }
.page-hero p { font-size: 1.05rem; color: var(--text-secondary); max-width: 580px; line-height: 1.7; margin-bottom: 2rem; }
.page-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Service page feature list */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.feature-item:hover { border-color: var(--border-strong); }
.feature-check {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-hover); font-size: 0.65rem; font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
}
.feature-item h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.2rem; }
.feature-item p { font-size: 0.825rem; color: var(--text-secondary); line-height: 1.5; }

/* Portfolio grid */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--text-primary);
}
.portfolio-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.portfolio-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.portfolio-card-cats { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.portfolio-cat-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--accent-glow);
  color: var(--accent-hover);
  border: 1px solid rgba(59,130,246,0.2);
}
.portfolio-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.portfolio-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; flex: 1; }
.portfolio-card-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.8rem; font-weight: 600; color: var(--accent-hover);
  margin-top: 1rem;
}

/* Project detail / show page */
.project-mockup-wrap { position: relative; padding-bottom: 3rem; }
.project-mockup-desktop {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.project-mockup-mobile {
  position: absolute;
  bottom: 0; right: -20px;
  width: 100px;
  border-radius: 16px;
  border: 3px solid var(--border-strong);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-secondary);
}
.project-mockup-mobile-bar { height: 10px; background: var(--bg-secondary); }
.project-mockup-mobile img { width: 100%; display: block; }

.feature-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.feature-tag {
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Legal pages */
.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}
.legal-page h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.legal-date { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.legal-page h2 { font-size: 1.1rem; font-weight: 700; margin: 2.5rem 0 0.75rem; color: var(--accent-hover); }
.legal-page p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; }
.legal-page ul { margin: 0.75rem 0 1rem 1.25rem; }
.legal-page ul li { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 0.35rem; }
.legal-page a { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s;
}
.testimonial-card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: #fbbf24; font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-quote { font-size: 0.95rem; line-height: 1.7; color: var(--text-secondary); font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-glow); border: 1px solid rgba(59,130,246,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.testimonial-name { font-size: 0.875rem; font-weight: 700; }
.testimonial-role { font-size: 0.75rem; color: var(--text-muted); }

/* Status page */
.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.status-dot.green { background: #10b981; box-shadow: 0 0 6px #10b981; }
.status-label { font-size: 0.9rem; font-weight: 600; }
.status-value { font-size: 0.8rem; color: var(--text-secondary); }

/* Tag pills in process etc */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  background: var(--accent-glow);
  border: 1px solid rgba(59,130,246,0.2);
  color: var(--accent-hover);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Pricing: hide-price CTA */
.contact-for-price {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 2rem;
}
.contact-for-price h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.contact-for-price p { color: var(--text-secondary); margin-bottom: 1.75rem; line-height: 1.7; }

/* Two col layout utility */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* Section divider */
.section-divider { border: none; border-top: 1px solid var(--border); margin: 0; }


/* ===== FAQ ACCORDION ===== */
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.25rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.2s;
  font-weight: 300;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 1.4rem 1.2rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ===== MOCKUP BAR ===== */
.mockup-bar {
  display: flex;
  gap: 5px;
  padding: 8px 12px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #febc2e; }
.mockup-dot.green { background: #28c840; }

/* ===== STATUS / BADGE VARIANTS ===== */
.admin-badge-green {
  background: rgba(16,185,129,0.1);
  color: #10b981;
  border-color: rgba(16,185,129,0.2);
}

/* ===== PRICING CARDS (for inner pages too) ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.pricing-card .desc { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 1.25rem; }
.pricing-price { font-size: 2rem; font-weight: 800; font-family: var(--font-display); margin-bottom: 0.25rem; }
.pricing-period { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* ===== PORTFOLIO MOBILE MOCKUP ===== */
.portfolio-mobile-mockup {
  position: absolute;
  bottom: 0;
  right: -20px;
  width: 100px;
  background: #0a0a0a;
  border-radius: 22px;
  border: 3px solid rgba(255,255,255,0.15);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  z-index: 10;
}
.portfolio-mobile-notch {
  height: 16px;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.portfolio-mobile-notch::before {
  content: "";
  width: 30px;
  height: 8px;
  background: #111;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
}
.portfolio-mobile-screen {
  background: #000;
  overflow: hidden;
  line-height: 0;
}
.portfolio-mobile-screen img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.portfolio-mobile-home-bar {
  height: 14px;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-mobile-home-bar::before {
  content: "";
  width: 32px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}

/* ===== PORTFOLIO CARD OVERLAY ===== */
.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-card:hover .portfolio-card-overlay { opacity: 1; }
.portfolio-card-cta {
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(59,130,246,0.9);
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

/* Responsive portfolio/show 2-col */
@media (max-width: 768px) {
  .portfolio-mobile-mockup { display: none; }
}


/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
.footer-brand { display: flex; flex-direction: column; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 600px) {
  .footer-nav { grid-template-columns: 1fr 1fr; }
}
.footer-nav-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav-col h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.5rem; font-family: var(--font-body); }
.footer-nav-col a { font-size: 0.85rem; color: var(--text-secondary); transition: color 0.2s; }
.footer-nav-col a:hover { color: var(--text-primary); }

.footer-social-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.footer-social-btn:hover { background: var(--accent-glow); border-color: rgba(59,130,246,0.3); color: var(--accent-hover); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== FLOAT BUTTON ===== */
.float-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9997;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s;
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.float-btn-tooltip {
  position: absolute;
  right: 68px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s;
  pointer-events: none;
  box-shadow: var(--shadow-md);
}
.float-btn:hover .float-btn-tooltip { opacity: 1; transform: translateX(0); }


/* ===== PRICING GRID ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s;
}
.pricing-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 40px var(--accent-glow);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-price {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.pricing-period {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  min-height: 1em;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.845rem;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.pricing-features li::before {
  content: "✓";
  color: var(--accent-hover);
  font-weight: 700;
  font-size: 0.75rem;
  width: 16px;
  height: 16px;
  background: rgba(59,130,246,0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}


/* ===== PORTFOLIO CARDS ===== */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent-hover); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: white; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.portfolio-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-secondary);
}
.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
  display: block;
}
.portfolio-card:hover .portfolio-card-img img { transform: scale(1.04); }

.portfolio-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
}
.portfolio-card-cats {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}
.portfolio-cat-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(59,130,246,0.1);
  color: var(--accent-hover);
  white-space: nowrap;
}
.portfolio-card-body h3 {
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.portfolio-card-body p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem 3rem;
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.page-breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.page-breadcrumb a:hover { color: var(--text-primary); }
.page-breadcrumb span:not(:last-child) { color: var(--text-muted); }
.page-hero-inner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.page-hero-inner p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
}
.page-hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

/* ===== FADE ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease both; }
.fade-in-up-delay-2 { animation: fadeInUp 0.6s 0.15s ease both; }


.pricing-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .pricing-quote-grid { grid-template-columns: 1fr; gap: 2rem; }
}


/* ===== BLOG ===== */
.blog-category-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--accent-glow);
  border: 1px solid rgba(59,130,246,0.2);
  color: var(--accent-hover);
  white-space: nowrap;
}

/* Featured card */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s;
  margin-bottom: 1rem;
}
.blog-featured-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .blog-featured-card { grid-template-columns: 1fr; }
}
.blog-featured-img {
  height: 300px;
  overflow: hidden;
  background: var(--bg-secondary);
}
.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-featured-card:hover .blog-featured-img img { transform: scale(1.04); }
.blog-featured-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card-hover) 100%);
}
.blog-placeholder-icon { font-size: 4rem; opacity: 0.4; }
.blog-featured-body { padding: 2rem; }
.blog-featured-title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.875rem;
}
.blog-featured-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-hover);
}

/* Blog card grid */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s;
}
.blog-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  height: 180px;
  overflow: hidden;
  background: var(--bg-secondary);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card-hover) 100%);
}
.blog-card-body { padding: 1.25rem; }
.blog-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.blog-card-body p {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Blog content (post body) */
.blog-content {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
}
.blog-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
}
.blog-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2rem 0 0.75rem;
}
.blog-content p { margin-bottom: 1.25rem; }
.blog-content ul, .blog-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.blog-content li { font-size: 0.95rem; }
.blog-content strong { color: var(--text-primary); font-weight: 700; }
.blog-content em { font-style: italic; }
.blog-content a { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.blog-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--accent-glow);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-primary);
}
.blog-content code {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 0.85em;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  color: var(--accent-hover);
}
.blog-content pre {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.blog-content pre code { background: none; border: none; padding: 0; font-size: 0.875rem; color: var(--text-primary); }
.blog-content hr {
  border: none;
  border-top: 1px solid var(--border-strong);
  margin: 2.5rem 0;
}

