/* ══════════════════════════════════════════════ */
/*  SOFTEDGE CORPORATION — DESIGN SYSTEM 2026    */
/*  Ultra-Modern · 3D · Glassmorphism · Minimal  */
/* ══════════════════════════════════════════════ */

/* ══ RESET ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { font-family: 'Inter', system-ui, sans-serif; line-height: 1.6; color: var(--fg); background: transparent; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: color 0.4s var(--ease); padding-inline: env(safe-area-inset-inline); }
img, svg { display: block; max-width: 100%; height: auto; }

/* ══ MODERN VIEWPORT UNITS (mobile browser fix) ══ */
.hero { min-height: 100dvh; min-height: 100svh; }
@supports not (height: 100dvh) {
  .hero { min-height: 100vh; }
}

/* ══ LOGICAL PROPERTIES (RTL/LTR support) ══ */
body { direction: ltr; }
[dir="rtl"] body { direction: rtl; }

/* ══ FLUID SPACING SYSTEM ══ */
.section {
  padding-block: clamp(3rem, 8vw, 6rem);
}
.section-sm {
  padding-block: clamp(2rem, 5vw, 4rem);
}

/* ══ GLOBAL BASE ══ */

/* ══ RESPONSIVE TYPOGRAPHY ══ */
@media (max-width: 380px) {
  html { font-size: 14px; }
}
@media (min-width: 1200px) {
  html { font-size: 18px; }
}
@media (min-width: 1600px) {
  html { font-size: 20px; }
}

/* ══ TOUCH DEVICE OPTIMIZATIONS ══ */
@media (pointer: coarse) {
  .btn, .nav-link, .nav-icon, .footer-link, .blog-cat-pill, .blog-tag, .tech-badge, .xfeed-action, .xfeed-follow-btn, .profile-tab, .chat-quick-btn, .chat-close {
    min-height: 44px;
    min-width: 44px;
  }
  .form-input { min-height: 48px; }
  .blog-tag, .tech-badge { padding: 8px 14px; }
  .xfeed-action { padding: 8px 12px; }
}

/* ══ HIGH RESOLUTION DISPLAYS ══ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
}

/* ══ LANDSCAPE ON MOBILE ══ */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 6rem 0 3rem; }
  .hero-scroll { display: none; }
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }
::selection { background: rgba(6,182,212,0.3); color: var(--fg); }

/* ══ CSS VARIABLES ══ */
:root {
  --bg: #050508;
  --bg-1: #0a0a0f;
  --bg-2: #12121a;
  --bg-3: #1a1a25;

  --fg: #f0f0f5;
  --fg-2: #8888a0;
  --fg-3: #55556a;

  --cyan: #06b6d4;
  --cyan-l: #22d3ee;
  --blue: #3b82f6;
  --purple: #a855f7;
  --violet: #8b5cf6;
  --green: #22c55e;
  --red: #ef4444;
  --amber: #f59e0b;

  --accent: linear-gradient(135deg, #06b6d4, #3b82f6, #a855f7);
  --accent-glow: 0 0 40px rgba(6,182,212,0.3);

  --border: rgba(255,255,255,0.06);
  --border-2: rgba(255,255,255,0.1);

  --glass: rgba(255,255,255,0.03);
  --glass-border: rgba(255,255,255,0.06);

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  --r: 12px; --r-lg: 16px; --r-xl: 20px; --r-2xl: 28px; --r-full: 9999px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(6,182,212,0.15);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --bg-raised: rgba(255,255,255,0.03);
  --bg-muted: rgba(255,255,255,0.06);
  --fg-subtle: #55556a;
  --fg-muted: #8888a0;
  --radius: 12px;
  --radius-xl: 20px;
}

/* ══ LIGHT THEME ══ */
[data-theme="light"] {
  --bg: #f0f4f8;
  --bg-1: #e8ecf1;
  --bg-2: #ffffff;
  --bg-3: #e2e6ea;
  --fg: #1a1a2e;
  --fg-2: #4a4a68;
  --fg-3: #8888a0;
  --border: rgba(0,0,0,0.08);
  --border-2: rgba(0,0,0,0.12);
  --glass: rgba(255,255,255,0.8);
  --glass-border: rgba(0,0,0,0.1);
  --shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.06), 0 16px 48px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 40px rgba(6,182,212,0.08);
  --bg-raised: rgba(0,0,0,0.02);
  --bg-muted: rgba(0,0,0,0.04);
  --fg-subtle: #8888a0;
  --fg-muted: #4a4a68;
}

/* Light theme specific overrides */
[data-theme="light"] .nav { background: rgba(255,255,255,0.8); border-bottom-color: rgba(0,0,0,0.06); }
[data-theme="light"] .nav.scrolled { background: rgba(255,255,255,0.95); }
[data-theme="light"] .hero-bg { background: radial-gradient(ellipse 80% 50% at 20% 40%, rgba(6,182,212,0.06) 0%, transparent 60%), radial-gradient(ellipse 60% 60% at 80% 60%, rgba(139,92,246,0.04) 0%, transparent 60%); }
[data-theme="light"] .hero-grid { background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px); }
[data-theme="light"] .card { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .card:hover { border-color: rgba(6,182,212,0.2); }
[data-theme="light"] .form-input { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .form-input:focus { background: rgba(255,255,255,1); }
[data-theme="light"] .badge { background: rgba(6,182,212,0.06); border-color: rgba(6,182,212,0.15); }
[data-theme="light"] .scroll-progress { box-shadow: 0 0 10px rgba(6,182,212,0.3); }
[data-theme="light"] .back-to-top { background: rgba(255,255,255,0.9); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .cursor-glow { background: radial-gradient(circle, rgba(6,182,212,0.03), transparent 70%); }
[data-theme="light"] .footer { background: rgba(255,255,255,0.7); backdrop-filter: blur(10px); }
[data-theme="light"] .footer::before { opacity: 0.2; }
[data-theme="light"] .btn-secondary { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .btn-secondary:hover { background: rgba(0,0,0,0.06); }
[data-theme="light"] .nav-icon:hover { background: rgba(0,0,0,0.05); }
[data-theme="light"] ::selection { background: rgba(6,182,212,0.2); }
[data-theme="light"] .noise-overlay { opacity: 0.01; }
[data-theme="light"] .blog-card { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .blog-card:hover { border-color: rgba(6,182,212,0.2); }
[data-theme="light"] .blog-sidebar-section { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .blog-featured { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .blog-newsletter { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .blog-comment { background: rgba(255,255,255,0.6); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .blog-comment-form-wrapper { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .blog-related-card { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .blog-post-hero { background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, var(--bg) 100%); }
[data-theme="light"] .blog-post-author-card { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .blog-post-affiliate { background: rgba(255,255,255,0.6); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .blog-like-btn { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .blog-share-icon { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .blog-tag { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .blog-ad-slot { background: rgba(255,255,255,0.6); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .blog-search-inner { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .blog-cat-pill { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .blog-cat-pill.active { background: rgba(6,182,212,0.08); border-color: rgba(6,182,212,0.2); }
[data-theme="light"] .blog-cat-count { background: rgba(0,0,0,0.06); }
[data-theme="light"] .cta-banner { background: rgba(255,255,255,0.6); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .testimonial { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .tech-badge { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .contact-card { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .blog-popular-item { border-bottom-color: rgba(0,0,0,0.06); }
[data-theme="light"] .blog-post-tags { border-top-color: rgba(0,0,0,0.06); }
[data-theme="light"] .blog-post-actions { border-top-color: rgba(0,0,0,0.06); border-bottom-color: rgba(0,0,0,0.06); }
[data-theme="light"] .blog-card-footer { border-top-color: rgba(0,0,0,0.06); }
[data-theme="light"] .auth-form-card { background: rgba(255,255,255,0.85); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .auth-social { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .auth-social:hover { background: rgba(0,0,0,0.06); }
[data-theme="light"] .checkout-card { background: rgba(255,255,255,0.85); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .checkout-method { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .auth-2fa-card { background: rgba(255,255,255,0.85); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .auth-2fa-step { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .auth-2fa-code-input { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .auth-2fa-secret-key { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.12); }
[data-theme="light"] .chat-fab { box-shadow: 0 4px 24px rgba(6,182,212,0.25); }
[data-theme="light"] .chat-panel { background: rgba(255,255,255,0.95); border-color: rgba(0,0,0,0.08); box-shadow: 0 12px 48px rgba(0,0,0,0.12); }
[data-theme="light"] .chat-header { background: rgba(255,255,255,0.95); border-bottom-color: rgba(0,0,0,0.06); }
[data-theme="light"] .chat-input-area { background: rgba(255,255,255,0.95); border-top-color: rgba(0,0,0,0.06); }
[data-theme="light"] .chat-input-row { background: rgba(0,0,0,0.04); }
[data-theme="light"] .chat-close { background: rgba(0,0,0,0.06); }
[data-theme="light"] .se-msg-bot .se-msg-bubble { background: rgba(0,0,0,0.06); }
[data-theme="light"] .se-typing-indicator { background: rgba(0,0,0,0.06); }
[data-theme="light"] .chat-online-badge { border-color: rgba(255,255,255,0.95); }
[data-theme="light"] .blog-comment-avatar { background: var(--accent); }
[data-theme="light"] .blog-post-avatar { background: var(--accent); }
[data-theme="light"] .blog-card-avatar { background: var(--accent); }
[data-theme="light"] .pricing-card { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .pricing-card.featured { border-color: rgba(6,182,212,0.3); }
[data-theme="light"] .separator { background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1) 12%, rgba(0,0,0,0.1) 88%, transparent); }
[data-theme="light"] .glow-line { opacity: 0.2; }
[data-theme="light"] .hero-orb-1 { background: rgba(6,182,212,0.04); }
[data-theme="light"] .hero-orb-2 { background: rgba(139,92,246,0.03); }
[data-theme="light"] .blog-hero-bg { background: radial-gradient(ellipse 80% 50% at 50% 30%, rgba(6,182,212,0.04) 0%, transparent 60%), radial-gradient(ellipse 60% 60% at 80% 70%, rgba(139,92,246,0.03) 0%, transparent 60%); }
[data-theme="light"] .blog-hero-orb { background: rgba(6,182,212,0.03); }

/* ══ LAYOUT ══ */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-6); }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 var(--sp-6); }
.section { padding: clamp(3rem, 8vw, 6rem) 0; background: transparent; }
.section-sm { padding: clamp(2rem, 5vw, 4rem) 0; }

/* ══ TYPOGRAPHY ══ */
.heading-xl {
  font-size: clamp(2.5rem, 5vw + 1rem, 5rem); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.05;
}
.heading-lg { font-size: clamp(2rem, 4vw + 0.5rem, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.heading-md { font-size: clamp(1.5rem, 3vw + 0.25rem, 2.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.heading-sm { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.muted { color: var(--fg-2); }

.text-gradient {
  background: var(--accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-glow { text-shadow: 0 0 40px rgba(6,182,212,0.3); }

/* ══ BUTTONS ══ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r); font-weight: 600; font-size: 0.9rem;
  transition: all 0.3s var(--ease); cursor: pointer; border: none;
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--accent); color: white;
  box-shadow: 0 4px 20px rgba(6,182,212,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px rgba(6,182,212,0.4);
}

.btn-secondary {
  background: var(--glass); color: var(--fg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: var(--bg-3); border-color: var(--border-2);
  transform: translateY(-2px);
}

.btn-ghost { color: var(--fg-2); padding: 8px 16px; }
.btn-ghost:hover { color: var(--fg); background: var(--glass); }

.btn-sm { padding: 10px 20px; font-size: 0.8rem; }
.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ══ CARDS ══ */
.card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl); padding: var(--sp-8);
  backdrop-filter: blur(20px);
  transition: all 0.4s var(--ease);
  position: relative;
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(6,182,212,0.05), transparent 50%);
  opacity: 0; transition: opacity 0.4s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(6,182,212,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(6,182,212,0.05);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
@supports not (backdrop-filter: blur(20px)) {
  .card, .blog-card, .cta-banner, .testimonial, .blog-sidebar-section { background: var(--bg-2); }
}

/* 3D Card Tilt */
.card-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}
.card-3d-inner {
  transition: transform 0.4s var(--ease-out);
  transform-style: preserve-3d;
}

/* ══ BADGES ══ */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: var(--r-full);
  font-size: 0.8rem; font-weight: 600;
  background: rgba(6,182,212,0.06); border: 1px solid rgba(6,182,212,0.12);
  color: var(--cyan-l);
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 8px currentColor;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ══ FORMS ══ */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--fg-2);
}
.form-input {
  padding: 14px 18px; background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r); color: var(--fg); font-size: 0.9rem; outline: none;
  transition: all 0.3s var(--ease); backdrop-filter: blur(10px);
}
.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6,182,212,0.08), 0 0 20px rgba(6,182,212,0.05);
}
.form-input::placeholder { color: var(--fg-3); }
textarea.form-input { resize: vertical; min-height: 140px; }

/* ══ NAVBAR ══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(5,5,8,0.6); backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(5,5,8,0.85);
}
[data-theme="light"] .nav { background: rgba(250,250,250,0.6); }
[data-theme="light"] .nav.scrolled { background: rgba(250,250,250,0.85); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-6);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 1.15rem;
  transition: transform 0.3s var(--ease-spring);
}
.nav-logo:hover { transform: scale(1.03); }
.nav-logo img { width: 38px; height: 38px; border-radius: 12px; }
.nav-logo-tag {
  font-size: 0.55rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--cyan-l); display: block; margin-top: -2px;
}

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 10px 18px; border-radius: var(--r); font-size: 0.875rem; font-weight: 500;
  color: var(--fg-2); transition: all 0.25s var(--ease);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--fg); }
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; width: 0; height: 2px;
  background: var(--accent); border-radius: 1px;
  transition: all 0.3s var(--ease); transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after { width: 20px; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-icon {
  width: 42px; height: 42px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-2); transition: all 0.25s var(--ease);
}
.nav-icon:hover { color: var(--fg); background: var(--glass); transform: scale(1.05); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: var(--r);
  align-items: center; justify-content: center;
}

@media (max-width: 768px) {
  .nav { padding: 10px 0; }
  .nav-inner { padding: 0 14px; gap: 6px; }
  .nav-logo { gap: 8px; font-size: 1rem; }
  .nav-logo img { width: 30px; height: 30px; border-radius: 10px; }
  .nav-logo-tag { display: none; }
  .nav-actions { gap: 4px; }
  .nav-icon { width: 36px; height: 36px; }
  .nav-icon svg { width: 16px; height: 16px; }
  .nav-toggle { width: 36px; height: 36px; }
  .nav-toggle svg { width: 18px; height: 18px; }
  .nav-profile-btn { width: 32px; height: 32px; min-width: 32px; min-height: 32px; }
  .nav-profile-btn img { width: 28px; height: 28px; }
  .nav-actions .btn-sm { display: none; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: var(--sp-3) var(--sp-3) var(--sp-5);
    background: var(--bg-2); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    max-height: calc(100dvh - 56px); max-height: calc(100svh - 56px); overflow-y: auto;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    box-shadow: 0 12px 32px rgba(0,0,0,0.2); z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-toggle.active { color: var(--cyan-l); }
  .nav-link { width: 100%; text-align: left; padding: 12px 14px; min-height: 44px; display: flex; align-items: center; border-radius: var(--r); font-size: 0.9rem; }
  .nav-link:hover { background: var(--glass); }
  .nav-link::after { display: none; }
  .nav-mega-wrap { width: 100%; }
  .nav-mega { position: static; transform: none; min-width: 100%; max-width: 100%; box-shadow: 0 8px 24px rgba(0,0,0,0.15); border: 1px solid var(--glass-border); background: var(--bg-2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: var(--r-xl); padding: var(--sp-2); margin-top: 4px; display: none; opacity: 1; pointer-events: auto; }
  .nav-mega.open { display: block; animation: megaIn 0.25s var(--ease); }
  .nav-mega-grid { grid-template-columns: 1fr; gap: var(--sp-1); }
  .nav-mega-card { padding: var(--sp-2) var(--sp-3); gap: var(--sp-2); }
  .nav-mega-card-icon { width: 34px; height: 34px; border-radius: var(--r-sm); }
  .nav-mega-card-icon svg { width: 18px; height: 18px; }
  .nav-mega-card-title { font-size: 0.82rem; }
  .nav-mega-card-desc { font-size: 0.7rem; }
  .nav-mega-simple-link { padding: 10px 14px; gap: 10px; }
  .nav-mega-simple-link svg { width: 16px; height: 16px; }
  .nav-mega-simple-title { font-size: 0.82rem; }
  .nav-mega-simple-desc { font-size: 0.7rem; }
  .nav-mega-foot { margin-top: var(--sp-1); padding-top: var(--sp-2); }
  .nav-mega-foot-link { padding: var(--sp-2); font-size: 0.78rem; }
  .nav-dropdown { right: auto; left: 0; min-width: 100%; }
  .nav-dropdown-link { padding: 10px 14px; font-size: 0.85rem; }
  .nav-dropdown-link svg { width: 15px; height: 15px; }
  .nav-mega-trigger { width: 100%; text-align: left; padding: 12px 14px; min-height: 44px; display: flex; align-items: center; justify-content: space-between; border-radius: var(--r); font-size: 0.9rem; }
  .nav-mega-trigger:hover { background: var(--glass); }
  .nav-mega-trigger::after { content: ''; border: solid var(--fg-3); border-width: 0 2px 2px 0; display: inline-block; padding: 3px; transform: rotate(45deg); transition: transform 0.2s; flex-shrink: 0; }
  .nav-mega-trigger[aria-expanded="true"]::after { transform: rotate(-135deg); }
}
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ══ MEGA-MENU ══ */
.nav-mega-wrap { position: relative; }
.nav-mega-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-mega-trigger svg { transition: transform 0.2s; }
.nav-mega-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav-mega {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: clamp(280px, 90vw, 480px); max-width: 90vw; padding: var(--sp-4);
  background: var(--bg-2); border: 1px solid var(--glass-border);
  border-radius: var(--r-xl); backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none;
  transition: all 0.25s var(--ease);
  z-index: 100;
}
.nav-mega.open { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-mega--simple { min-width: clamp(240px, 70vw, 280px); padding: var(--sp-2); }

.nav-mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.nav-mega-card {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r);
  text-decoration: none; color: var(--fg);
  transition: all 0.2s var(--ease);
}
.nav-mega-card:hover { background: var(--glass); }
.nav-mega-card-icon {
  width: 40px; height: 40px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-mega-card-title { font-size: 0.85rem; font-weight: 600; }
.nav-mega-card-desc { font-size: 0.75rem; color: var(--fg-3); margin-top: 2px; }

.nav-mega-foot { margin-top: var(--sp-2); padding-top: var(--sp-3); border-top: 1px solid var(--border); }
.nav-mega-foot-link {
  display: block; text-align: center; padding: var(--sp-2);
  font-size: 0.8rem; font-weight: 600; color: var(--cyan-l);
  text-decoration: none; border-radius: var(--r); transition: background 0.2s;
}
.nav-mega-foot-link:hover { background: var(--glass); }

.nav-mega-simple-link {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r);
  text-decoration: none; color: var(--fg); transition: all 0.2s var(--ease);
}
.nav-mega-simple-link:hover { background: var(--glass); }
.nav-mega-simple-title { font-size: 0.85rem; font-weight: 600; }
.nav-mega-simple-desc { font-size: 0.75rem; color: var(--fg-3); }

/* Profile dropdown */
.nav-profile-btn {
  display: flex; align-items: center; padding: 2px; border-radius: 50%;
  border: 2px solid var(--border-2); background: none; cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.nav-profile-btn:hover { border-color: var(--cyan); }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: clamp(200px, 60vw, 240px); padding: var(--sp-2);
  background: var(--bg-2); border: 1px solid var(--glass-border);
  border-radius: var(--r-xl); backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: all 0.2s var(--ease); z-index: 100;
}
.nav-dropdown.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-dropdown-header { display: flex; align-items: center; gap: 12px; padding: 8px 12px; }
.nav-dropdown-name { font-size: 0.875rem; font-weight: 600; color: var(--fg); }
.nav-dropdown-email { font-size: 0.75rem; color: var(--fg-3); }
.nav-dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }
.nav-dropdown-link {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--r); text-decoration: none; color: var(--fg);
  font-size: 0.85rem; transition: background 0.15s;
}
.nav-dropdown-link:hover { background: var(--glass); }

/* ══ HERO ══ */
.hero {
  min-height: 100vh;
  min-height: 100dvh; min-height: 100svh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 80px;
  background: transparent;
}
@supports not (height: 100dvh) {
  .hero { min-height: 100vh; }
}

/* Make first section transparent on all pages for neural bg */
main > section:first-child,
.main-content > section:first-child {
  background: transparent !important;
}

/* Semi-transparent section backgrounds for neural bg visibility */
.section[style*="background:var(--bg-1)"],
.section[style*="background: var(--bg-1)"] {
  background: rgba(18, 18, 26, 0.6) !important;
  backdrop-filter: blur(2px);
}
[data-theme="light"] .section[style*="background:var(--bg-1)"],
[data-theme="light"] .section[style*="background: var(--bg-1)"] {
  background: rgba(255, 255, 255, 0.6) !important;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(6,182,212,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 60%, rgba(139,92,246,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(59,130,246,0.06) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px; opacity: 0.3;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  animation: orbFloat 20s ease-in-out infinite;
}
.hero-orb-1 {
  width: clamp(250px, 60vw, 500px); height: clamp(250px, 60vw, 500px); top: -10%; left: -5%;
  background: rgba(6,182,212,0.08);
}
.hero-orb-2 {
  width: clamp(220px, 50vw, 400px); height: clamp(220px, 50vw, 400px); bottom: -10%; right: -5%;
  background: rgba(139,92,246,0.06);
  animation-delay: -10s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative; z-index: 1;
  text-align: center; max-width: 900px; margin: 0 auto;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center;
  margin-top: var(--sp-10); flex-wrap: wrap;
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 1; animation: scrollBounce 2s ease-in-out infinite;
  color: var(--fg-3);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ══ FOOTER ══ */
.footer {
  border-top: 1px solid var(--border); padding: var(--sp-20) 0 var(--sp-10);
  background: rgba(10,10,15,0.7); backdrop-filter: blur(10px); position: relative;
}
[data-theme="light"] .footer { background: rgba(255,255,255,0.7); }
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--accent); opacity: 0.3;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { max-width: 320px; }
.footer-brand-desc { color: var(--fg-2); font-size: 0.875rem; margin-top: var(--sp-4); line-height: 1.8; }
.footer-col-title {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--fg-3); margin-bottom: var(--sp-5);
}
.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-link {
  font-size: 0.875rem; color: var(--fg-2); transition: all 0.25s var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-link:hover { color: var(--cyan-l); transform: translateX(4px); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--sp-8); border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--fg-3); flex-wrap: wrap; gap: var(--sp-4);
}

/* ══ TRUST BAR ══ */
.trust-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6);
  padding: var(--sp-12) 0;
}
@media (max-width: 768px) { .trust-bar { grid-template-columns: repeat(2, 1fr); } }
.trust-item { text-align: center; }
.trust-number {
  font-size: clamp(1.75rem, 5vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em;
  background: var(--accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-label { font-size: 0.85rem; color: var(--fg-2); margin-top: 4px; }

/* ══ SERVICE CARDS ══ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--sp-6); }
.service-icon {
  width: 56px; height: 56px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-5);
  transition: transform 0.3s var(--ease-spring);
}
.card:hover .service-icon { transform: scale(1.1) rotate(5deg); }
.service-icon--cyan { background: rgba(6,182,212,0.1); color: var(--cyan-l); border: 1px solid rgba(6,182,212,0.15); }
.service-icon--purple { background: rgba(168,85,247,0.1); color: var(--purple); border: 1px solid rgba(168,85,247,0.15); }
.service-icon--blue { background: rgba(59,130,246,0.1); color: var(--blue); border: 1px solid rgba(59,130,246,0.15); }
.service-icon--green { background: rgba(34,197,94,0.1); color: var(--green); border: 1px solid rgba(34,197,94,0.15); }
.service-title { font-size: 1.15rem; font-weight: 700; margin-bottom: var(--sp-3); }
.service-desc { font-size: 0.9rem; color: var(--fg-2); line-height: 1.7; }

/* ══ PRICING ══ */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--sp-6); max-width: 1100px; margin: 0 auto; }
.pricing-card { position: relative; overflow: visible; }
.pricing-card.featured {
  border-color: var(--cyan);
  box-shadow: 0 0 60px rgba(6,182,212,0.1);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 20px; border-radius: var(--r-full);
  background: var(--accent); color: white; font-size: 0.75rem; font-weight: 700;
  white-space: nowrap;
}
.pricing-price {
  font-size: clamp(2rem, 6vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em;
  margin: var(--sp-6) 0;
  background: var(--accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-features { display: flex; flex-direction: column; gap: var(--sp-3); margin: var(--sp-6) 0; flex: 1; }
.pricing-feature {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: 0.9rem; color: var(--fg-2);
}
.pricing-feature svg { flex-shrink: 0; color: var(--cyan-l); }

/* ══ STEPS ══ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: var(--sp-6); }
.step-num {
  width: 48px; height: 48px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; color: white;
  margin-bottom: var(--sp-5);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ══ CTA BANNER ══ */
.cta-banner {
  text-align: center; padding: clamp(32px, 8vw, 80px) clamp(16px, 4vw, 40px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl); position: relative; overflow: hidden;
  backdrop-filter: blur(20px);
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(6,182,212,0.08), transparent);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-title { font-size: clamp(1.75rem, 3.5vw, 3rem); font-weight: 800; margin-bottom: var(--sp-4); }
.cta-desc { color: var(--fg-2); max-width: 550px; margin: 0 auto var(--sp-8); font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-note { font-size: 0.8rem; color: var(--fg-3); margin-top: var(--sp-5); }

/* ══ TESTIMONIAL ══ */
.testimonial {
  text-align: center; max-width: 650px; margin: var(--sp-16) auto 0;
  padding: var(--sp-10); background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl); backdrop-filter: blur(20px);
  position: relative;
}
.testimonial::before {
  content: '"'; position: absolute; top: 20px; left: 30px;
  font-size: 5rem; color: var(--cyan); opacity: 0.15; font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-stars { display: flex; gap: 3px; justify-content: center; margin-bottom: var(--sp-5); color: #facc15; }
.testimonial-quote {
  font-size: 1.05rem; font-style: italic; color: var(--fg-2);
  line-height: 1.8; margin-bottom: var(--sp-6);
}
.testimonial-author { font-weight: 700; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--fg-3); margin-top: 2px; }

/* ══ LOGOS ══ */
.logos-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-10);
  padding: var(--sp-10) 0; opacity: 0.4;
}
.logos-grid span {
  font-size: 1.05rem; font-weight: 700; color: var(--fg-3);
  letter-spacing: 0.02em; transition: opacity 0.3s;
}
.logos-grid span:hover { opacity: 0.8; }

/* ══ SECTION HEAD ══ */
.section-head { text-align: center; max-width: 650px; margin: 0 auto var(--sp-16); }
.section-head .badge { margin-bottom: var(--sp-5); }
.section-head p { margin-top: var(--sp-4); font-size: 1.05rem; }

/* ══ REVEAL ANIMATION ══ */
[data-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].visible { opacity: 1; transform: none; }

/* ══ SCROLL PROGRESS ══ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 999;
  background: var(--accent);
  transition: width 0.15s linear;
  box-shadow: 0 0 10px rgba(6,182,212,0.5);
}

/* ══ BACK TO TOP ══ */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-2); opacity: 0; pointer-events: none;
  transition: all 0.4s var(--ease);
  transform: translateY(20px);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover {
  background: var(--bg-3); color: var(--fg);
  transform: translateY(-4px); box-shadow: var(--shadow-glow);
}

/* ══ CURSOR GLOW ══ */
.cursor-glow {
  position: fixed; width: clamp(250px, 60vw, 500px); height: clamp(250px, 60vw, 500px); border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.04), transparent 70%);
  pointer-events: none; z-index: 0; transform: translate(-50%, -50%);
}

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

/* ══ PAGE TRANSITIONS ══ */
.page-transition { animation: pageIn 0.5s var(--ease); }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ══ UTILITIES ══ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); } .gap-3 { gap: var(--sp-3); } .gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); } .gap-8 { gap: var(--sp-8); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: var(--sp-4); } .mt-8 { margin-top: var(--sp-8); }
.mb-4 { margin-bottom: var(--sp-4); } .mb-8 { margin-bottom: var(--sp-8); }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
body.no-scroll { overflow: hidden; position: fixed; width: 100%; }
.hidden { display: none; }
.w-full { width: 100%; }

/* ══ MODERN UTILITIES ══ */
.flow > * + * { margin-top: var(--flow-space, 1rem); }
.gap-fluid { gap: clamp(1rem, 3vw, 2rem); }
.p-block-fluid { padding-block: clamp(2rem, 5vw, 5rem); }
.m-block-fluid { margin-block: clamp(2rem, 5vw, 5rem); }
.text-fluid { font-size: clamp(0.875rem, 0.5vw + 0.75rem, 1rem); }
.w-fluid { width: clamp(16rem, 50vw, 32rem); }
.aspect-video { aspect-ratio: 16/9; }
.aspect-square { aspect-ratio: 1/1; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ══ CHECKLIST ══ */
.checklist { display: flex; flex-direction: column; gap: var(--sp-3); }
.check-item { display: flex; align-items: center; gap: var(--sp-3); font-size: 0.9rem; color: var(--fg-2); }
.check-icon { flex-shrink: 0; color: var(--cyan-l); }

/* ══ ANIMATED COUNTER ══ */
.counter { font-variant-numeric: tabular-nums; }

/* ══ GLOW LINE ══ */
.glow-line {
  height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), var(--purple), transparent);
  opacity: 0.3;
}

/* ══ PAGE HERO (inner pages) ══ */
.hero--page { min-height: auto; padding: 140px 0 80px; text-align: center; }
.hero--page .hero-content { text-align: center; }
.hero-lead { max-width: 640px; margin: var(--sp-5) auto 0; }

/* ══ SPLIT FEATURE ══ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-10); align-items: center; }
.split-media {
  border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1/1;
  background: var(--bg-3); border: 1px solid var(--glass-border);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* ══ PROJECT CARDS ══ */
.project-card { display: flex; flex-direction: column; gap: var(--sp-4); }
.project-media {
  border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/10;
  background: var(--bg-3); border: 1px solid var(--glass-border);
}
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .project-media img { transform: scale(1.05); }
.project-body { display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); margin-bottom: var(--sp-10); }

/* ══ METRICS ══ */
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.metric {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: var(--sp-3); border-radius: var(--r);
  background: var(--glass); border: 1px solid var(--glass-border);
}
.metric-value { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.metric-value--green { color: var(--green); }
.metric-value--cyan { color: var(--cyan-l); }
.metric-label { font-size: 0.7rem; color: var(--fg-3); text-align: center; }

/* ══ CONTACT ══ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--sp-12); align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.contact-card { display: flex; align-items: center; gap: var(--sp-5); padding: var(--sp-6); }
.contact-card .service-icon { margin-bottom: 0; flex-shrink: 0; width: 48px; height: 48px; }
.contact-card-title { font-size: 0.9rem; font-weight: 600; }
.form-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.form-row .form-group { flex: 1; min-width: 220px; }
.form-alert {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 14px 16px; border-radius: var(--r);
  font-size: 0.875rem; margin-bottom: var(--sp-6);
}
.form-alert--ok { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); color: var(--green); }
.form-alert--err { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); color: var(--red); }

/* ══ BADGE VARIANTS ══ */
.badge--purple { background: rgba(168,85,247,0.06); border-color: rgba(168,85,247,0.12); color: var(--purple); }
.badge--blue { background: rgba(59,130,246,0.06); border-color: rgba(59,130,246,0.12); color: var(--blue); }
.badge--green { background: rgba(34,197,94,0.06); border-color: rgba(34,197,94,0.12); color: var(--green); }
.badge--neutral { background: var(--glass); border-color: var(--glass-border); color: var(--fg-2); }

@media (max-width: 900px) {
  .split, .contact-layout { grid-template-columns: 1fr; gap: var(--sp-8); }
}

/* ══ SEPARATOR ══ */
.separator {
  height: 1px; width: 100%; border: 0;
  background: linear-gradient(90deg, transparent, var(--border-2) 20%, var(--border-2) 80%, transparent);
  opacity: 0.9;
}

/* ══ TECH BADGE ══ */
.tech-badges { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.tech-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--r-full);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--fg-2); background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease);
}
.tech-badge:hover { color: var(--cyan-l); border-color: rgba(6,182,212,0.2); transform: translateY(-2px); }

/* ══ MAGNETIC BUTTON ══ */
.magnetic { transition: transform 0.3s var(--ease-out); }

/* ══ BLOG-SPECIFIC STYLES ══ */

/* Blog Hero */
.blog-hero {
  padding: 120px 0 20px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.blog-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 30%, rgba(6,182,212,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 60% 60% at 80% 70%, rgba(139,92,246,0.05) 0%, transparent 60%);
}
.blog-hero-orb {
  position: absolute; width: clamp(220px, 50vw, 400px); height: clamp(220px, 50vw, 400px); top: -20%; left: 50%; transform: translateX(-50%);
  background: rgba(6,182,212,0.06); border-radius: 50%; filter: blur(100px);
  animation: orbFloat 20s ease-in-out infinite;
}

/* Blog Search */
.blog-search { max-width: 560px; margin-top: var(--sp-8); }
.blog-search-inner {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 20px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-full); backdrop-filter: blur(20px);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.blog-search-inner:focus-within {
  border-color: rgba(6,182,212,0.3);
  box-shadow: 0 0 0 4px rgba(6,182,212,0.08);
}
.blog-search-input {
  background: transparent; border: none; color: var(--fg); flex: 1;
  outline: none; padding: 12px 8px; font-size: 0.9rem;
}
.blog-search-input::placeholder { color: var(--fg-3); }

/* Blog Category Pills */
.blog-categories-scroll {
  display: flex; gap: 8px; overflow-x: auto; padding: var(--sp-6) 0 var(--sp-2);
  scrollbar-width: none; -ms-overflow-style: none;
  justify-content: center; flex-wrap: nowrap;
}
.blog-categories-scroll::-webkit-scrollbar { display: none; }
.blog-cat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: var(--r-full);
  font-size: 0.8rem; font-weight: 600; white-space: nowrap;
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--fg-2); transition: all 0.3s var(--ease);
  text-decoration: none;
}
.blog-cat-pill:hover { color: var(--fg); border-color: var(--border-2); transform: translateY(-1px); }
.blog-cat-pill.active { color: var(--cyan-l); border-color: rgba(6,182,212,0.3); background: rgba(6,182,212,0.08); }
.blog-cat-count {
  font-size: 0.65rem; padding: 2px 6px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.06); color: var(--fg-3);
}

/* Blog Layout */
.blog-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: var(--sp-12);
  align-items: start;
}
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { order: -1; }
}
.blog-sidebar-sticky { position: sticky; top: 100px; display: flex; flex-direction: column; gap: var(--sp-6); }

/* Blog Grid */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--sp-6);
}
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* Blog Card */
.blog-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl); overflow: hidden;
  backdrop-filter: blur(20px); transition: all 0.4s var(--ease);
}
.blog-card:hover {
  transform: translateY(-6px); border-color: rgba(6,182,212,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(6,182,212,0.05);
}
.blog-card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.blog-card-img {
  position: relative; aspect-ratio: 16/10; height: auto; min-height: 180px; overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-category {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 12px; border-radius: var(--r-full);
  font-size: 0.7rem; font-weight: 700; backdrop-filter: blur(10px);
}
.blog-card-sponsored {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 10px; border-radius: var(--r-full);
  font-size: 0.65rem; font-weight: 700;
  background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3);
}
.blog-card-source-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 10px; border-radius: var(--r-full);
  font-size: 0.65rem; font-weight: 700;
  background: rgba(14,165,233,0.15); color: #0ea5e9; border: 1px solid rgba(14,165,233,0.3);
}
.blog-card-body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.blog-card-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--fg-3); margin-bottom: 8px;
}
.blog-card-dot { opacity: 0.4; }
.blog-card-title {
  font-size: 1rem; font-weight: 700; line-height: 1.4;
  margin-bottom: 8px; letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-excerpt {
  font-size: 0.8rem; color: var(--fg-2); line-height: 1.6; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 12px;
}
.blog-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--glass-border);
}
.blog-card-author {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: var(--fg-2); font-weight: 500;
}
.blog-card-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center;
  justify-content: center; font-size: 0.65rem; font-weight: 700; color: white;
  flex-shrink: 0;
}
.blog-card-read-more {
  font-size: 0.75rem; font-weight: 700; color: var(--cyan-l);
  transition: transform 0.3s var(--ease);
}
.blog-card:hover .blog-card-read-more { transform: translateX(4px); }

/* Blog Featured Post */
.blog-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(20px);
}
.blog-featured:hover {
  transform: translateY(-4px);
  border-color: rgba(6,182,212,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.blog-featured-img {
  position: relative; aspect-ratio: 16/10; min-height: auto; overflow: hidden;
}
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.blog-featured:hover .blog-featured-img img { transform: scale(1.03); }
.blog-featured-badge {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 16px; border-radius: var(--r-full);
  background: var(--accent); color: white;
  font-size: 0.75rem; font-weight: 700;
}
.blog-featured-body {
  padding: var(--sp-8); display: flex; flex-direction: column; justify-content: center;
}
.blog-featured-title {
  font-size: 1.75rem; font-weight: 800; line-height: 1.2;
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.blog-featured-excerpt {
  font-size: 0.95rem; color: var(--fg-2); line-height: 1.7;
  margin-bottom: 20px;
}
.blog-featured-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--fg-3);
}
@media (max-width: 768px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 200px; }
}

/* Blog Pagination */
.blog-pagination {
  display: flex; gap: 8px; justify-content: center;
  padding: var(--sp-10) 0 var(--sp-4);
}

/* Blog Sidebar */
.blog-sidebar-section {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl); padding: var(--sp-6);
  backdrop-filter: blur(20px);
}
.blog-sidebar-title {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--fg-3); margin-bottom: var(--sp-4);
}
.blog-popular-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.blog-popular-item {
  display: flex; gap: 12px; text-decoration: none; color: inherit;
  padding: 8px 0; border-bottom: 1px solid var(--glass-border);
  transition: color 0.2s;
}
.blog-popular-item:last-child { border-bottom: none; }
.blog-popular-item:hover .blog-popular-title { color: var(--cyan-l); }
.blog-popular-num {
  font-size: 1.5rem; font-weight: 800; color: var(--fg-3); opacity: 0.4;
  line-height: 1; flex-shrink: 0; width: 28px;
}
.blog-popular-title {
  font-size: 0.85rem; font-weight: 600; line-height: 1.4;
  transition: color 0.2s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Blog Newsletter */
.blog-newsletter {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl); backdrop-filter: blur(20px);
}
.blog-newsletter--sidebar { padding: var(--sp-6); }
.blog-newsletter--inline { padding: var(--sp-8); margin: var(--sp-10) 0; }
.blog-newsletter-banner {
  background: linear-gradient(135deg, rgba(6,182,212,0.08), rgba(139,92,246,0.05));
  border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border);
  padding: var(--sp-12) 0;
}
.blog-newsletter-banner-inner {
  display: flex; align-items: center; gap: var(--sp-8); flex-wrap: wrap;
}
.blog-newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.blog-newsletter-form--banner { flex-direction: row; gap: 8px; flex-shrink: 0; }
.blog-newsletter-input {
  padding: 12px 16px; background: var(--bg-muted); border: 1px solid var(--glass-border);
  border-radius: var(--r); color: var(--fg); font-size: 0.85rem; outline: none;
  transition: border-color 0.3s;
}
.blog-newsletter-input:focus { border-color: var(--cyan); }

/* Blog Powered By */
.blog-powered { padding: var(--sp-10) 0; }
.blog-powered-inner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: var(--sp-6); background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl); backdrop-filter: blur(20px);
  font-size: 0.9rem; color: var(--fg-2);
}
.blog-powered-inner strong { color: var(--fg); }

/* Blog Post Page */
.blog-post-hero {
  padding: 100px 0 60px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(18,18,26,0.4) 0%, var(--bg) 100%);
}
[data-theme="light"] .blog-post-hero {
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, var(--bg) 100%);
}
.blog-post-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(6,182,212,0.06) 0%, transparent 60%);
}
.blog-post-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--cyan-l); font-size: 0.85rem; font-weight: 600;
  text-decoration: none; margin-bottom: var(--sp-6);
  transition: transform 0.2s;
}
.blog-post-back:hover { transform: translateX(-4px); }
.blog-post-cat {
  display: inline-flex; padding: 5px 14px; border-radius: var(--r-full);
  font-size: 0.7rem; font-weight: 700; margin-bottom: 16px;
}
.blog-post-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 16px;
}
.blog-post-source {
  font-size: 0.85rem; color: var(--fg-2); margin-bottom: 16px;
}
.blog-post-source a { color: var(--cyan-l); }
.blog-post-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.85rem; color: var(--fg-2); flex-wrap: wrap;
}
.blog-post-author { display: flex; align-items: center; gap: 10px; }
.blog-post-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; color: white;
}
.blog-post-author-name { font-weight: 600; color: var(--fg); display: block; }
.blog-post-author-role { font-size: 0.75rem; color: var(--fg-3); }
.blog-post-meta-sep { opacity: 0.3; }
.blog-post-featured-img {
  border-radius: var(--r-2xl); overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg); margin-bottom: var(--sp-10);
}
.blog-post-featured-img img { width: 100%; display: block; }
.blog-post-img-caption {
  padding: 12px 16px; font-size: 0.8rem; color: var(--fg-3);
  text-align: center; background: var(--bg-muted);
}
.blog-post-content {
  line-height: 1.8; font-size: 1.1rem; margin-bottom: var(--sp-10);
}
.blog-post-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: var(--sp-6) 0; border-top: 1px solid var(--glass-border);
  margin-bottom: var(--sp-6);
}
.blog-tag {
  padding: 6px 14px; border-radius: var(--r-full);
  font-size: 0.75rem; font-weight: 600;
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--fg-2); text-decoration: none;
  transition: all 0.2s;
}
.blog-tag:hover { color: var(--cyan-l); border-color: rgba(6,182,212,0.3); }
.blog-post-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: var(--sp-6) 0; border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border); margin-bottom: var(--sp-10);
  flex-wrap: wrap;
}
.blog-post-author-card {
  display: flex; align-items: center; gap: 16px;
  padding: var(--sp-6); background: var(--glass);
  border: 1px solid var(--glass-border); border-radius: var(--r-2xl);
  backdrop-filter: blur(20px); margin-bottom: var(--sp-10);
}
.blog-post-author-card-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; color: white; flex-shrink: 0;
}
.blog-post-affiliate {
  padding: var(--sp-5); background: var(--glass);
  border: 1px solid var(--glass-border); border-radius: var(--r-xl);
  margin-bottom: var(--sp-8);
}
.blog-post-affiliate h4 {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--fg-3); margin-bottom: 12px;
}
.blog-affiliate-link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: var(--r);
  background: var(--bg-muted); border: 1px solid var(--glass-border);
  color: var(--fg); font-size: 0.85rem; font-weight: 600;
  text-decoration: none; margin-bottom: 8px;
  transition: all 0.2s;
}
.blog-affiliate-link:hover { border-color: rgba(6,182,212,0.3); color: var(--cyan-l); }
.blog-affiliate-badge {
  padding: 2px 8px; border-radius: var(--r-full);
  font-size: 0.6rem; font-weight: 700;
  background: rgba(245,158,11,0.1); color: #f59e0b;
  text-transform: uppercase;
}

/* Blog Like Button */
.blog-like-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--r-full);
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--fg-2); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s var(--ease);
}
.blog-like-btn:hover { border-color: rgba(239,68,68,0.3); color: #ef4444; }
.blog-like-btn.liked { color: #ef4444; border-color: rgba(239,68,68,0.3); background: rgba(239,68,68,0.08); }
.blog-like-btn svg { transition: transform 0.3s var(--ease-spring); }
.blog-like-btn:active svg { transform: scale(1.3); }

/* Blog Share Buttons */
.blog-share-buttons {
  display: flex; align-items: center; gap: 8px;
}
.blog-share-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--fg-3);
}
.blog-share-icons { display: flex; gap: 6px; }
.blog-share-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--fg-2); transition: all 0.3s var(--ease);
  text-decoration: none; cursor: pointer;
}
.blog-share-icon:hover { color: var(--fg); border-color: var(--border-2); transform: translateY(-2px); }
.blog-share-icon[data-platform="twitter"]:hover { color: #1da1f2; border-color: rgba(29,161,242,0.3); }
.blog-share-icon[data-platform="linkedin"]:hover { color: #0077b5; border-color: rgba(0,119,181,0.3); }
.blog-share-icon[data-platform="facebook"]:hover { color: #1877f2; border-color: rgba(24,119,242,0.3); }
.blog-share-icon[data-platform="whatsapp"]:hover { color: #25d366; border-color: rgba(37,211,102,0.3); }

/* Verified Badge — Twitter/X Style */
.verified-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; margin-left: 4px; vertical-align: middle;
  background: #1d9bf0; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--bg, #0a0a14);
}
.verified-badge svg { width: 13px; height: 13px; color: #fff; }
.verified-badge--lg { width: 24px; height: 24px; }
.verified-badge--lg svg { width: 15px; height: 15px; }
.verified-badge--xl { width: 28px; height: 28px; }
.verified-badge--xl svg { width: 17px; height: 17px; }

/* Repost Button */
.blog-repost-btn { position: relative; }
.blog-repost-btn.reposted { color: #17bf63; border-color: rgba(23,191,99,0.3); background: rgba(23,191,99,0.08); }
.blog-repost-count { font-size: 0.65rem; font-weight: 600; margin-left: 2px; }

/* Repost Modal */
.repost-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }
.repost-modal-content { background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; padding: 24px; max-width: 480px; width: 90%; }
.repost-modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.repost-modal-header h4 { font-size: 1.1rem; font-weight: 700; color: var(--fg); margin: 0; }
.repost-modal-close { background: none; border: none; color: var(--fg-2); font-size: 1.5rem; cursor: pointer; padding: 0 4px; line-height: 1; }
.repost-modal-close:hover { color: var(--fg); }
.repost-modal-title { font-size: 0.85rem; color: var(--fg-2); margin-bottom: 16px; padding: 12px; background: var(--glass); border-radius: var(--r); border: 1px solid var(--glass-border); }
.repost-modal-textarea { width: 100%; min-height: 80px; padding: 12px; background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--r); color: var(--fg); font-size: 0.9rem; font-family: inherit; resize: vertical; outline: none; margin-bottom: 16px; }
.repost-modal-textarea::placeholder { color: var(--fg-3); }
.repost-modal-textarea:focus { border-color: var(--cyan-l); box-shadow: 0 0 0 2px rgba(6,182,212,0.15); }
.repost-modal-footer { display: flex; justify-content: flex-end; gap: 8px; }

/* Blog Comments */
.blog-comments {
  padding-top: var(--sp-8);
}
.blog-comments-title {
  font-size: 1.25rem; font-weight: 700; margin-bottom: var(--sp-6);
}
.blog-comment-form-wrapper {
  padding: var(--sp-6); background: var(--glass);
  border: 1px solid var(--glass-border); border-radius: var(--r-2xl);
  backdrop-filter: blur(20px); margin-bottom: var(--sp-8);
}
.blog-comment-form-wrapper h4 {
  font-size: 0.9rem; font-weight: 700; margin-bottom: var(--sp-4);
}
.blog-comment-form { display: flex; flex-direction: column; gap: 12px; }
.blog-comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .blog-comment-form-row { grid-template-columns: 1fr; } }
.blog-comment-input, .blog-comment-textarea {
  padding: 10px 14px; background: var(--bg-muted);
  border: 1px solid var(--glass-border); border-radius: var(--r);
  color: var(--fg); font-size: 0.85rem; outline: none;
  transition: border-color 0.3s; font-family: inherit;
}
.blog-comment-input:focus, .blog-comment-textarea:focus { border-color: var(--cyan); }
.blog-comment-textarea { min-height: 100px; resize: vertical; }
.blog-comment-form-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.blog-comments-list { display: flex; flex-direction: column; gap: 16px; }
.blog-comment {
  display: flex; gap: 12px; padding: 16px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-xl); backdrop-filter: blur(10px);
}
.blog-comment--reply {
  margin-left: 40px; padding: 12px;
  background: transparent; border: 1px solid transparent;
}
.blog-comment-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center;
  justify-content: center; font-size: 0.75rem; font-weight: 700;
  color: white; flex-shrink: 0;
}
.blog-comment-body { flex: 1; min-width: 0; }
.blog-comment-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.blog-comment-name { font-size: 0.85rem; font-weight: 600; color: var(--fg); }
.blog-comment-date { font-size: 0.75rem; color: var(--fg-3); }
.blog-comment-text {
  font-size: 0.85rem; color: var(--fg-2); line-height: 1.6;
}
.blog-comment-reply-btn {
  font-size: 0.75rem; color: var(--cyan-l); font-weight: 600;
  cursor: pointer; margin-top: 8px; background: none; border: none;
  padding: 0;
}
.blog-comment-reply-btn:hover { text-decoration: underline; }
.blog-comment-reply-form { margin-top: 12px; }
.blog-comment-form-actions {
  display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px;
}

/* Blog Related Posts */
.blog-related {
  padding: var(--sp-10) 0;
}
.blog-related-title {
  font-size: 1.25rem; font-weight: 700; margin-bottom: var(--sp-6);
  text-align: center;
}
.blog-related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6);
}
@media (max-width: 768px) { .blog-related-grid { grid-template-columns: 1fr; } }
.blog-related-card {
  text-decoration: none; color: inherit;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-xl); overflow: hidden;
  transition: all 0.3s var(--ease);
}
.blog-related-card:hover {
  transform: translateY(-4px); border-color: rgba(6,182,212,0.15);
}
.blog-related-img {
  aspect-ratio: 16/9; height: auto; overflow: hidden;
}
.blog-related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-related-card:hover .blog-related-img img { transform: scale(1.05); }
.blog-related-body { padding: 16px; }
.blog-related-body h4 {
  font-size: 0.9rem; font-weight: 700; line-height: 1.4; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Blog Reading Progress */
.blog-reading-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001;
  background: transparent; pointer-events: none;
}
.blog-reading-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  transition: width 0.15s linear;
  box-shadow: 0 0 10px rgba(6,182,212,0.5);
}

/* Blog Ad Slot */
.blog-ad-slot {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-xl); overflow: hidden;
  backdrop-filter: blur(20px); text-align: center;
}
.blog-ad-promo, .blog-ad-sense {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
}

/* ══ CONTAINER QUERIES ══ */
@supports (container-type: inline-size) {
  .services-grid, .blog-grid, .steps-grid, .pricing-grid {
    container-type: inline-size;
    container-name: content-grid;
  }
  @container content-grid (max-width: 600px) {
    .card { padding: var(--sp-5); }
    .service-icon { width: 48px; height: 48px; }
    .service-title { font-size: 1rem; }
  }
  @container content-grid (min-width: 601px) and (max-width: 900px) {
    .card { padding: var(--sp-6); }
  }
}

/* ══ CONTAINER QUERY FOR LAYOUT WRAPPERS ══ */
@supports (container-type: inline-size) {
  .blog-layout, .contact-layout, .split {
    container-type: inline-size;
    container-name: layout-grid;
  }
  @container layout-grid (max-width: 700px) {
    .split-media { aspect-ratio: 4/3; }
  }
}

/* ══ IMPROVED RESPONSIVE BREAKPOINTS (mobile-first) ══ */

/* Small phones */
@media (max-width: 380px) {
  .container { padding: 0 var(--sp-4); }
  .hero-content { text-align: center; }
  .heading-xl { font-size: 2rem; }
  .heading-lg { font-size: 1.5rem; }
  .heading-md { font-size: 1.25rem; }
  .btn { padding: 12px 20px; font-size: 0.85rem; }
  .card { padding: var(--sp-4); }
  .service-icon { width: 44px; height: 44px; }
  .step-num { width: 40px; height: 40px; font-size: 0.8rem; }
}

/* Phones */
@media (max-width: 640px) {
  .container { padding: 0 var(--sp-5); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; }
  .blog-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
  .trust-number { font-size: 1.75rem; }
  .filter-bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: var(--sp-2); }
  .form-row { flex-direction: column; gap: 0; }
  .form-row .form-group { min-width: 100%; }
  .blog-comment-form-row { grid-template-columns: 1fr; }
}

/* Tablets */
@media (max-width: 768px) {
  .section { padding: var(--sp-16) 0; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .cta-banner { padding: var(--sp-12) var(--sp-6); }
  .blog-hero { padding: 100px 0 16px; }
  .blog-categories-scroll { justify-content: flex-start; }
  .blog-post-actions { flex-direction: column; align-items: flex-start; }
  .blog-comment-form-row { grid-template-columns: 1fr; }
}

/* Small desktop */
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { order: -1; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}

/* Large desktop */
@media (min-width: 1200px) {
  .container { max-width: 1280px; }
  .hero-content { max-width: 1000px; }
  .section { padding: var(--sp-24) 0; }
}

/* ══ REDUCED MOTION ══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor-glow { display: none; }
  .hero-orb { animation: none; }
  .blog-hero-orb { animation: none; }
}

/* ══ TOUCH TARGET SIZE (mobile accessibility) ══ */
@media (pointer: coarse) {
  .nav-link, .btn, .nav-icon { min-height: 44px; min-width: 44px; }
  .blog-share-icon { min-height: 44px; min-width: 44px; }
  .back-to-top { width: 52px; height: 52px; }
  .chat-fab { width: 64px; height: 64px; }
  .blog-like-btn { min-height: 44px; }
  .chat-quick-btn { min-height: 44px; min-width: 44px; }
  .blog-cat-pill { min-height: 44px; }
}

/* ══ HIGH CONTRAST MODE ══ */
@media (prefers-contrast: high) {
  .card, .btn, .form-input { border-width: 2px; }
  .nav { border-bottom-width: 2px; }
}

/* ══ DARK/LIGHT SYSTEM PREFERENCE ══ */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f0f4f8;
    --bg-1: #e8ecf1;
    --fg: #1a1a2e;
    --fg-2: #4a4a68;
  }
}

/* ═══ AKIRA CHAT WIDGET ═══ */

/* FAB Button */
.chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #3b82f6, #a855f7);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 24px rgba(6, 182, 212, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 32px rgba(6, 182, 212, 0.55);
}
.chat-fab-ping {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.3);
  animation: chat-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes chat-ping {
  0% { transform: scale(1); opacity: 0.6; }
  75%, 100% { transform: scale(2.2); opacity: 0; }
}

/* Overlay */
.chat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.chat-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Panel */
.chat-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 560px;
  max-height: calc(100vh - 140px);
  max-height: calc(100dvh - 140px);
  max-height: calc(100svh - 140px);
  background: var(--bg-raised);
  border: 1px solid var(--glass-border, rgba(255,255,255,0.06));
  border-radius: var(--radius-xl, 24px);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.chat-panel.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* Header */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--glass-border, rgba(255,255,255,0.06));
  background: var(--bg-raised);
}
.chat-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.chat-avatar img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.chat-avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #a855f7);
  z-index: -1;
}
.chat-online-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: var(--green-500, #22c55e);
  border: 2px solid var(--bg-raised);
  border-radius: 50%;
}
.chat-info {
  flex: 1;
  min-width: 0;
}
.chat-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
}
.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--fg-muted, #a1a1aa);
}
.chat-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-muted, #27272a);
  color: var(--fg-muted, #a1a1aa);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.chat-close:hover {
  background: var(--bg-subtle, #3f3f46);
  color: var(--fg);
}

/* Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--bg-subtle, #3f3f46); border-radius: 4px; }

/* Welcome */
.chat-welcome {
  text-align: center;
  padding: 24px 12px;
}
.chat-welcome-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(168,85,247,0.15));
  margin-bottom: 12px;
}
.chat-welcome-icon svg {
  width: 28px;
  height: 28px;
  color: var(--cyan-400, #22d3ee);
}
.chat-welcome h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 4px;
}
.chat-welcome p {
  font-size: 0.85rem;
  color: var(--fg-muted, #a1a1aa);
  margin-bottom: 16px;
}
.chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.chat-quick-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cyan-400, #22d3ee);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.chat-quick-btn:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.4);
}

/* Message rows */
.se-msg-row {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}
.se-msg-user {
  align-self: flex-end;
  align-items: flex-end;
}
.se-msg-bot {
  align-self: flex-start;
  align-items: flex-start;
}
.se-msg-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  word-break: break-word;
}
.se-msg-user .se-msg-bubble {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.se-msg-bot .se-msg-bubble {
  background: var(--bg-muted, #27272a);
  color: var(--fg);
  border-bottom-left-radius: 4px;
}
.se-msg-time {
  font-size: 0.65rem;
  color: var(--fg-subtle, #71717a);
  margin-top: 2px;
  padding: 0 4px;
}

/* Typing indicator */
.se-typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: var(--bg-muted, #27272a);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}
.se-typing-dot {
  width: 7px;
  height: 7px;
  background: var(--fg-subtle, #71717a);
  border-radius: 50%;
  animation: se-typing-bounce 1.4s ease-in-out infinite;
}
.se-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.se-typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes se-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Input area */
.chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid var(--glass-border, rgba(255,255,255,0.06));
  background: var(--bg-raised);
}
.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-muted, #27272a);
  border-radius: 24px;
  padding: 4px 4px 4px 16px;
}
.chat-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--fg);
  font-size: 0.88rem;
  outline: none;
  min-width: 0;
  font-family: inherit;
}
.chat-input::placeholder { color: var(--fg-subtle, #71717a); }
.chat-send {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: none;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-send svg {
  width: 18px;
  height: 18px;
}
.chat-send:hover {
  transform: scale(1.08);
  box-shadow: 0 2px 12px rgba(6, 182, 212, 0.4);
}

@media (max-width: 640px) {
  .chat-fab { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .chat-panel { bottom: 80px; right: 12px; left: 12px; width: auto; height: calc(100vh - 120px); }
}

/* ══ NEURAL NETWORK BACKGROUND ══ */
#neuralBg {
  position: fixed; inset: 0; z-index: 0;
  width: 100vw; height: 100vh; height: 100dvh; height: 100svh;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.4s var(--ease);
}
html { background: var(--bg); }
body { position: relative; z-index: 1; }
body { background: transparent; transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
.hero { background: transparent; }
.hero-bg { opacity: 0.8; }
[data-theme="light"] #neuralBg {
  position: fixed; inset: 0; z-index: 0;
  width: 100vw; height: 100vh; height: 100dvh; height: 100svh;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.4s var(--ease);
}
[data-theme="light"] body { background: transparent; }

/* Make first section transparent for neural bg visibility */
main > section:first-child,
.main-content > section:first-child {
  background: transparent !important;
}

/* Skip link (accessibility) */
.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  padding: 12px 24px; background: var(--accent); color: white;
  font-weight: 600; font-size: 0.875rem; border-radius: 0 0 var(--r) var(--r);
  z-index: 10000; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

@media print {
  #neuralBg {
  position: fixed; inset: 0; z-index: 0;
  width: 100vw; height: 100vh; height: 100dvh; height: 100svh;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.4s var(--ease);
}
}

/* ══ AUTH PAGES ══ */
.auth-page { min-height: 100vh; min-height: 100dvh; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; }

.auth-brand {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  padding: 60px; overflow: hidden;
}
.auth-brand::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 40px 40px; opacity: 0.4;
}
.auth-brand__content { position: relative; z-index: 1; max-width: 480px; }
.auth-brand__logo { display: flex; align-items: center; gap: 14px; margin-bottom: 48px; text-decoration: none; }
.auth-brand__logo-icon { width: 48px; height: 48px; border-radius: 14px; overflow: hidden; }
.auth-brand__logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.auth-brand__logo-name { font-size: 1.25rem; font-weight: 800; color: var(--fg); }
.auth-brand__logo-tag { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cyan-l); display: block; margin-top: 2px; }
.auth-brand__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px; }
.auth-brand__desc { font-size: 1.05rem; color: var(--fg-2); line-height: 1.7; margin-bottom: 40px; }
.auth-brand__benefits { display: flex; flex-direction: column; gap: 16px; }
.auth-brand__benefit { display: flex; align-items: center; gap: 14px; font-size: 0.9rem; color: var(--fg-2); }
.auth-brand__benefit-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.auth-form-side {
  display: flex; align-items: center; justify-content: center;
  padding: 60px; position: relative; overflow-y: auto;
}
.auth-form-card {
  width: 100%; max-width: 420px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl); padding: 48px;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}
.auth-form-header { text-align: center; margin-bottom: 36px; }
.auth-form-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.auth-form-sub { font-size: 0.9rem; color: var(--fg-2); }
.auth-form-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--r-full);
  font-size: 0.75rem; font-weight: 600;
  margin-bottom: 16px;
}

.auth-alert {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  border-radius: var(--r); font-size: 0.85rem; margin-bottom: 20px;
}

.auth-field { margin-bottom: 20px; }
.auth-field-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }

.auth-strength { display: flex; gap: 4px; margin-top: 10px; height: 4px; }
.auth-strength__bar { flex: 1; border-radius: 2px; background: var(--bg-3); transition: background 0.3s; }

.auth-terms { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
.auth-terms input { width: 18px; height: 18px; accent-color: var(--cyan); margin-top: 2px; flex-shrink: 0; }
.auth-terms span { font-size: 0.8rem; color: var(--fg-2); line-height: 1.5; }

.auth-divider { display: flex; align-items: center; gap: 16px; margin: 28px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { font-size: 0.75rem; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

.auth-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.auth-socials:has(> :only-child) { justify-content: center; }
.auth-socials .auth-social { flex: 1 1 220px; max-width: 360px; }
.auth-social {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r); color: var(--fg); font-size: 0.85rem; font-weight: 600;
  text-decoration: none; transition: all 0.3s var(--ease);
}
.auth-social:hover { background: var(--bg-2); border-color: var(--border-2); transform: translateY(-2px); }

.auth-footer { text-align: center; margin-top: 28px; font-size: 0.9rem; color: var(--fg-2); }
.auth-footer a { font-weight: 700; text-decoration: none; }

.auth-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.auth-orb { position: absolute; border-radius: 50%; filter: blur(80px); animation: authOrb 20s ease-in-out infinite; }
.auth-orb--1 { width: 400px; height: 400px; top: -10%; right: -10%; background: rgba(6,182,212,0.06); }
.auth-orb--2 { width: 300px; height: 300px; bottom: -10%; left: -10%; background: rgba(139,92,246,0.05); animation-delay: -10s; }
@keyframes authOrb { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-30px) scale(1.05); } 66% { transform: translate(-20px,20px) scale(0.95); } }

/* Two Factor Auth */
.auth-2fa-wrap {
  min-height: 100vh; min-height: 100dvh; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative; padding: 80px 16px;
}
.auth-2fa-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.auth-2fa-bg-orb { position: absolute; border-radius: 50%; filter: blur(120px); }
.auth-2fa-bg-orb--1 { top: -15%; left: -10%; width: 500px; height: 500px; animation: orbFloat 20s ease-in-out infinite; }
.auth-2fa-bg-orb--2 { bottom: -15%; right: -10%; width: 400px; height: 400px; animation: orbFloat 25s ease-in-out infinite reverse; }
.auth-2fa-bg-grid { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 32px 32px; }

.auth-2fa-card {
  position: relative; z-index: 1; max-width: 560px; width: 100%;
  background: rgba(17,24,39,0.5); backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 24px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.4); padding: 48px;
}
.auth-2fa-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg,var(--cyan),var(--blue));
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
  box-shadow: 0 8px 32px rgba(6,182,212,0.25);
}
.auth-2fa-title { font-size: 1.5rem; font-weight: 800; color: var(--fg); margin: 0 0 8px; letter-spacing: -0.02em; text-align: center; }
.auth-2fa-subtitle { font-size: 0.875rem; color: var(--fg-2); margin: 0 auto; max-width: 400px; line-height: 1.6; text-align: center; }

.auth-2fa-step {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 24px; margin-bottom: 24px;
}
.auth-2fa-step-title { font-size: 0.875rem; font-weight: 700; color: var(--fg); margin: 0 0 12px; }
.auth-2fa-step-desc { font-size: 0.8rem; color: var(--fg-2); margin: 0 0 20px; line-height: 1.6; }
.auth-2fa-qr-wrap { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.auth-2fa-qr-code { flex-shrink: 0; background: white; padding: 12px; border-radius: 12px; }
.auth-2fa-qr-code img { display: block; }
.auth-2fa-secret { flex: 1; min-width: 180px; }
.auth-2fa-secret-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-2); margin-bottom: 8px; }
.auth-2fa-secret-key {
  background: rgba(255,255,255,0.04); border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 8px; padding: 10px 14px; font-family: var(--font-mono, monospace);
  font-size: 0.7rem; color: var(--cyan-l); letter-spacing: 1px; word-break: break-all;
  text-align: center; margin-bottom: 16px;
}
.auth-2fa-steps { font-size: 0.8rem; color: var(--fg-2); padding-left: 18px; line-height: 1.8; margin: 0; }

.auth-2fa-code-wrap { position: relative; display: flex; align-items: center; }
.auth-2fa-code-icon { position: absolute; left: 14px; color: var(--fg-3); pointer-events: none; }
.auth-2fa-code-input {
  width: 100%; padding: 14px 14px 14px 44px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; color: var(--fg); font-size: 1.3rem; outline: none;
  text-align: center; letter-spacing: 8px; font-family: var(--font-mono, monospace);
  transition: all 0.3s;
}
.auth-2fa-code-input:focus { border-color: rgba(6,182,212,0.4); box-shadow: 0 0 0 3px rgba(6,182,212,0.08); }
.auth-2fa-code-hint { font-size: 0.7rem; color: var(--fg-3); margin-top: 6px; }

.auth-2fa-success { text-align: center; padding: 24px 0; }
.auth-2fa-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(34,197,94,0.1); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; border: 1px solid rgba(34,197,94,0.15);
}
.auth-2fa-success-title { font-size: 1.1rem; font-weight: 700; color: var(--fg); margin: 0 0 8px; }
.auth-2fa-success-text { color: var(--fg-2); font-size: 0.875rem; max-width: 380px; margin: 0 auto 24px; line-height: 1.6; }

.auth-2fa-notice {
  margin-top: 24px; padding: 16px;
  background: linear-gradient(135deg, rgba(6,182,212,0.05), rgba(59,130,246,0.03));
  border: 1px solid rgba(6,182,212,0.1); border-radius: 12px;
  display: flex; gap: 12px; align-items: flex-start;
}
.auth-2fa-notice-text { font-size: 0.8rem; color: var(--fg); display: block; margin-bottom: 4px; }
.auth-2fa-notice-desc { font-size: 0.75rem; color: var(--fg-2); line-height: 1.6; margin: 0; }

/* Checkout */
.checkout-page { min-height: 100vh; min-height: 100dvh; min-height: 100svh; display: grid; grid-template-columns: 1fr 420px; }
.checkout-summary {
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px; position: relative; overflow: hidden;
}
.checkout-summary::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 40px 40px; opacity: 0.3;
}
.checkout-summary__content { position: relative; z-index: 1; max-width: 400px; }
.checkout-summary__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--r-full);
  font-size: 0.75rem; font-weight: 600;
  background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.12);
  color: var(--green); margin-bottom: 24px;
}
.checkout-summary__plan { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.checkout-summary__price { font-size: 1.5rem; font-weight: 700; color: var(--cyan-l); margin-bottom: 4px; }
.checkout-summary__usd { font-size: 0.9rem; color: var(--fg-2); margin-bottom: 32px; }
.checkout-summary__features { display: flex; flex-direction: column; gap: 12px; }
.checkout-summary__feature { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--fg-2); }
.checkout-summary__feature svg { flex-shrink: 0; color: var(--green); }

.checkout-form-side {
  display: flex; align-items: center; justify-content: center;
  padding: 60px 40px; position: relative; overflow-y: auto;
}
.checkout-card {
  width: 100%; max-width: 380px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl); padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}
.checkout-card__header { text-align: center; margin-bottom: 28px; }
.checkout-card__title { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.checkout-card__sub { font-size: 0.85rem; color: var(--fg-2); }
.checkout-methods { display: flex; flex-direction: column; gap: 16px; }
.checkout-method {
  padding: 20px; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r-lg); transition: all 0.3s var(--ease);
}
.checkout-method:hover { border-color: var(--border-2); }
.checkout-method__header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.checkout-method__icon { width: 40px; height: 40px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.checkout-method__name { font-weight: 700; font-size: 0.9rem; }
.checkout-method__desc { font-size: 0.75rem; color: var(--fg-3); }
.checkout-divider { display: flex; align-items: center; gap: 12px; margin: 4px 0; }
.checkout-divider::before, .checkout-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.checkout-divider span { font-size: 0.7rem; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.05em; }

.checkout-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.checkout-orb { position: absolute; border-radius: 50%; filter: blur(80px); animation: authOrb 20s ease-in-out infinite; }
.checkout-orb--1 { width: 300px; height: 300px; top: -10%; left: -10%; background: rgba(6,182,212,0.06); }
.checkout-orb--2 { width: 250px; height: 250px; bottom: -10%; right: -10%; background: rgba(168,85,247,0.05); animation-delay: -10s; }

.checkout-success { text-align: center; padding: 48px 32px; }
.checkout-success__icon { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; }

/* Auth responsive */
@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-form-side { padding: 120px 20px 60px; }
  .auth-form-card { padding: 32px 24px; }
  .checkout-page { grid-template-columns: 1fr; }
  .checkout-summary { display: none; }
  .checkout-form-side { padding: 120px 20px 60px; }
  .checkout-card { padding: 28px 20px; }
}

/* ═══ SECTION SEPARATOR ═══ */
.separator {
  height: 1px; width: 100%; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--border) 12%, var(--border) 88%, transparent);
}
.separator--glow {
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), var(--purple), transparent);
  opacity: 0.3;
}

/* ═══ SECTION / HERO MODIFIERS ═══ */
.section--alt { background: rgba(18,18,26,0.6); backdrop-filter: blur(2px); }
[data-theme="light"] .section--alt { background: rgba(255,255,255,0.6); }
.hero--sm { min-height: auto; padding: 120px 0 80px; }
.hero-orb--sm { width: 400px; height: 400px; }
.hero-desc { max-width: 620px; margin: var(--sp-6) auto 0; }

/* ═══ TYPING CURSOR ═══ */
.typing-cursor {
  display: inline-block; width: 3px; height: 0.85em;
  margin-left: 4px; vertical-align: text-bottom;
  background: var(--cyan); border-radius: 1px;
  animation: caretBlink 1s step-end infinite;
}
@keyframes caretBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ═══ BADGE MODIFIERS ═══ */
.badge--purple { background: rgba(168,85,247,0.06); border-color: rgba(168,85,247,0.12); color: var(--purple); }
.badge--green  { background: rgba(34,197,94,0.06);  border-color: rgba(34,197,94,0.12);  color: var(--green); }

/* ═══ STEP / TIMELINE COLORS ═══ */
.step-num--cyan,   .timeline-year--cyan   { background: var(--cyan); }
.step-num--blue,   .timeline-year--blue   { background: var(--blue); }
.step-num--purple, .timeline-year--purple { background: var(--purple); }
.step-num--green,  .timeline-year--green  { background: var(--green); }

/* ═══ TECH STACK ═══ */
.tech-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; max-width: 800px; margin: 0 auto;
}
.tech-badge {
  display: inline-flex; align-items: center;
  padding: 10px 20px; border-radius: var(--r);
  font-size: 0.85rem; font-weight: 600;
  color: var(--tc, var(--cyan-l));
  background: color-mix(in srgb, var(--tc, var(--cyan)) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--tc, var(--cyan)) 22%, transparent);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tech-badge:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--tc, var(--cyan)) 45%, transparent);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--tc, var(--cyan)) 20%, transparent);
}

/* ═══ TEAM ═══ */
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-5);
  font-size: 1.5rem; font-weight: 800; color: #fff;
  letter-spacing: -0.02em;
  transition: transform 0.3s var(--ease-spring);
}
.card:hover .team-avatar { transform: scale(1.08); }
.team-avatar--cyan   { background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.team-avatar--blue   { background: linear-gradient(135deg, var(--blue), var(--purple)); }
.team-avatar--purple { background: linear-gradient(135deg, var(--purple), var(--red)); }
.team-avatar--green  { background: linear-gradient(135deg, var(--green), var(--cyan)); }
.role-tag {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--cyan-l); margin-top: var(--sp-2);
}

/* ═══ TIMELINE ═══ */
.timeline { display: flex; flex-direction: column; gap: var(--sp-6); max-width: 700px; margin: 0 auto; }
.timeline-item { display: flex; gap: var(--sp-6); align-items: flex-start; padding: var(--sp-6); }
.timeline-year {
  flex-shrink: 0; min-width: 84px; height: 40px; padding: 0 var(--sp-4);
  border-radius: var(--r); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.timeline-desc { line-height: 1.7; }
@media (max-width: 640px) { .timeline-item { flex-direction: column; gap: var(--sp-4); } }

/* ═══ MISC ═══ */
.trust-number-sub { font-size: 0.6em; }
.mt-2 { margin-top: var(--sp-2); } .mt-3 { margin-top: var(--sp-3); }
.mt-5 { margin-top: var(--sp-5); } .mt-6 { margin-top: var(--sp-6); }
.mb-2 { margin-bottom: var(--sp-2); } .mb-6 { margin-bottom: var(--sp-6); }

/* ══════════════════════════════════════════════════════════════ */
/*  MODERN MINIMALIST REFINEMENTS 2026                          */
/*  Scalable · Accessible · Micro-interactions                  */
/* ══════════════════════════════════════════════════════════════ */

/* ══ ENHANCED GLASSMORPHISM ══ */
.card {
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.08);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 0 1px rgba(6,182,212,0.08);
}

/* ══ MODERN BUTTON MICRO-INTERACTIONS ══ */
.btn-primary {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #a855f7 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
  transition-duration: 0.1s;
}
.btn-secondary:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

/* ══ MODERN FORM FOCUS STATES ══ */
.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.1), 0 0 24px rgba(6,182,212,0.06);
  background: rgba(255,255,255,0.04);
}
.form-input::placeholder {
  transition: opacity 0.3s;
}
.form-input:focus::placeholder {
  opacity: 0.5;
}

/* ══ MODERN SECTION HEADINGS ══ */
.section-head p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ══ MODERN SERVICE CARDS ══ */
.service-icon {
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s;
}
.card:hover .service-icon {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.service-title {
  transition: color 0.3s;
}
.card:hover .service-title {
  color: var(--cyan-l);
}

/* ══ MODERN STEP NUMBERS ══ */
.step-num {
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s;
}
.card:hover .step-num {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* ══ MODERN TRUST BAR ══ */
.trust-item {
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  transition: background 0.3s, transform 0.3s var(--ease-spring);
}
.trust-item:hover {
  background: var(--glass);
  transform: translateY(-4px);
}

/* ══ MODERN PRICING CARDS ══ */
.pricing-card {
  transition: all 0.4s var(--ease);
}
.pricing-card:hover {
  transform: translateY(-12px);
}
.pricing-card.featured {
  transform: scale(1.02);
}
.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-8px);
}

/* ══ MODERN CTA BANNER ══ */
.cta-banner {
  transition: all 0.4s var(--ease);
}
.cta-banner:hover {
  border-color: rgba(6,182,212,0.15);
}

/* ══ MODERN TESTIMONIAL ══ */
.testimonial {
  transition: all 0.4s var(--ease);
}
.testimonial:hover {
  border-color: rgba(6,182,212,0.15);
}

/* ══ MODERN NAVBAR ══ */
.nav-link {
  position: relative;
}

/* ══ MODERN FOOTER LINKS ══ */
.footer-link {
  transition: all 0.25s var(--ease);
}
.footer-link:hover {
  color: var(--cyan-l);
  transform: translateX(6px);
}

/* ══ MODERN BADGE HOVER ══ */
.badge {
  transition: all 0.3s var(--ease);
}
.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(6,182,212,0.15);
}

/* ══ MODERN SCROLL REVEAL ══ */
[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].visible {
  opacity: 1; transform: none;
}
[data-reveal="scale"] {
  transform: translateY(20px) scale(0.97);
}
[data-reveal="scale"].visible {
  transform: none;
}

/* ══ MODERN SEPARATOR ══ */
.separator {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.08) 80%, transparent);
  margin: 0;
}

/* ══ MODERN GLOW LINE ══ */
.glow-line {
  height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), var(--purple), transparent);
  opacity: 0.25;
  transition: opacity 0.3s;
}
.glow-line:hover {
  opacity: 0.4;
}

/* ══ MODERN LOGOS ══ */
.logos-grid span {
  transition: all 0.3s var(--ease);
}
.logos-grid span:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

/* ══ MODERN CHECKLIST ══ */
.check-item {
  transition: color 0.2s;
}
.check-item:hover {
  color: var(--fg);
}

/* ══ MODERN CONTACT CARDS ══ */
.contact-card {
  transition: all 0.4s var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
}

/* ══ MODERN BLOG CARDS ══ */
.blog-card {
  transition: all 0.4s var(--ease);
}
.blog-card:hover {
  transform: translateY(-6px);
}

/* ══ MODERN TECH BADGES ══ */
.tech-badge {
  transition: all 0.3s var(--ease);
}
.tech-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ══ MODERN PROFILE CARDS ══ */
.profile-card {
  transition: border-color 0.3s;
}
.profile-card:hover {
  border-color: var(--border-2);
}

/* ══ PROFILE SIDEBAR — AVATAR + BADGE ALIGNMENT ══ */
.profile-page .profile-sidebar-avatar {
  display: inline-block;
  line-height: 0;
  font-size: 0;
}
.profile-page .profile-sidebar-avatar .verified-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  margin-left: 0;
}
.profile-page .profile-sidebar-avatar .verified-badge--xl {
  bottom: 4px;
  right: 4px;
  box-shadow: 0 0 0 3px var(--bg-2, #0f1019);
}
.profile-page .profile-sidebar-name {
  text-align: center;
  line-height: 1.3;
}
.profile-page .profile-sidebar-email {
  text-align: center;
}
.profile-page .profile-sidebar-role {
  margin-top: 2px;
}

/* ══ PROFILE AVATAR SECTION (card) ══ */
.profile-page .profile-avatar-section .av {
  position: relative;
}
.profile-page .profile-avatar-section .verified-badge {
  align-self: flex-end;
  margin-left: -12px;
  margin-bottom: 2px;
}

/* ══ MODERN FAQ ACCORDION ══ */
.faq-question {
  transition: all 0.3s var(--ease);
}
.faq-question:hover {
  background: var(--glass);
}

/* ══ MODERN AUTH CARDS ══ */
.auth-form-card {
  transition: all 0.4s var(--ease);
}

/* ══ MODERN CHECKOUT ══ */
.checkout-method {
  transition: all 0.3s var(--ease);
}
.checkout-method:hover {
  border-color: rgba(6,182,212,0.2);
  transform: translateY(-2px);
}

/* ══ ENHANCED LIGHT THEME ══ */
[data-theme="light"] {
  --bg: #f0f4f8;
  --bg-1: #e8ecf1;
  --bg-2: #ffffff;
  --bg-3: #e2e6ea;
  --fg: #1a1a2e;
  --fg-2: #4a4a68;
  --fg-3: #8888a0;
  --border: rgba(0,0,0,0.08);
  --border-2: rgba(0,0,0,0.12);
  --glass: rgba(255,255,255,0.8);
  --glass-border: rgba(0,0,0,0.1);
  --shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.06), 0 16px 48px rgba(0,0,0,0.04);
}
[data-theme="light"] .card {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
}
[data-theme="light"] .card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 16px 48px rgba(0,0,0,0.04);
}
[data-theme="light"] .nav {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
[data-theme="light"] .nav.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
[data-theme="light"] .footer {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(20px) saturate(180%);
}
[data-theme="light"] .btn-primary {
  box-shadow: 0 4px 16px rgba(6,182,212,0.2);
}
[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 8px 32px rgba(6,182,212,0.3);
}
[data-theme="light"] .form-input {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .form-input:focus {
  background: #ffffff;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.08);
}
[data-theme="light"] .pricing-card {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
}
[data-theme="light"] .pricing-card.featured {
  box-shadow: 0 4px 16px rgba(6,182,212,0.12), 0 16px 48px rgba(6,182,212,0.06);
}
[data-theme="light"] .cta-banner {
  background: rgba(255,255,255,0.6);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
[data-theme="light"] .testimonial {
  background: rgba(255,255,255,0.7);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
[data-theme="light"] .blog-card {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
}
[data-theme="light"] .blog-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 16px 48px rgba(0,0,0,0.04);
}
[data-theme="light"] .hero-orb-1 {
  background: rgba(6,182,212,0.06);
}
[data-theme="light"] .hero-orb-2 {
  background: rgba(139,92,246,0.04);
}
[data-theme="light"] .hero-bg {
  background: radial-gradient(ellipse 80% 50% at 20% 40%, rgba(6,182,212,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 60% 60% at 80% 60%, rgba(139,92,246,0.05) 0%, transparent 60%);
}
[data-theme="light"] .hero-grid {
  background-image: linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}
[data-theme="light"] .auth-form-card {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06), 0 16px 48px rgba(0,0,0,0.04);
}
[data-theme="light"] .checkout-card {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06), 0 16px 48px rgba(0,0,0,0.04);
}
[data-theme="light"] .back-to-top {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
[data-theme="light"] .back-to-top:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
[data-theme="light"] .chat-fab {
  box-shadow: 0 4px 20px rgba(6,182,212,0.2);
}
[data-theme="light"] .chat-panel {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
[data-theme="light"] .scroll-progress {
  box-shadow: 0 0 8px rgba(6,182,212,0.4);
}
[data-theme="light"] .blog-post-featured-img {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
[data-theme="light"] .blog-post-author-card {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
[data-theme="light"] .profile-sidebar-card {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
[data-theme="light"] .profile-card {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
[data-theme="light"] .blog-sidebar-section {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
[data-theme="light"] .blog-related-card {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
[data-theme="light"] .blog-comment {
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
[data-theme="light"] .blog-comment-form-wrapper {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
[data-theme="light"] .blog-newsletter {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
[data-theme="light"] .blog-featured {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
}
[data-theme="light"] .blog-featured:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 16px 48px rgba(0,0,0,0.04);
}
[data-theme="light"] .blog-ad-slot {
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
[data-theme="light"] .tech-badge {
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
[data-theme="light"] .tech-badge:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
[data-theme="light"] .blog-like-btn:hover {
  box-shadow: 0 2px 8px rgba(239,68,68,0.1);
}

/* ══ LIGHT THEME: DASHBOARD ══ */
[data-theme="light"] .dash {
  background: linear-gradient(180deg, #f0f4f8 0%, #fafbfc 40%, #f0f4f8 100%);
}
[data-theme="light"] .dash-metric {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03), inset 0 1px 0 rgba(255,255,255,0.8);
}
[data-theme="light"] .dash-metric:hover {
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 2px 4px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.9);
}
[data-theme="light"] .dash-metric::after {
  background: radial-gradient(circle at 70% 20%, rgba(6,182,212,0.06), transparent 70%) !important;
}
[data-theme="light"] .dash-panel,
[data-theme="light"] .sidebar-panel,
[data-theme="light"] .quick-links {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03), inset 0 1px 0 rgba(255,255,255,0.8);
}
[data-theme="light"] .dash-panel:hover,
[data-theme="light"] .sidebar-panel:hover {
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 2px 4px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.9);
}
[data-theme="light"] .user-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03), inset 0 1px 0 rgba(255,255,255,0.8);
}
[data-theme="light"] .user-card:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.9);
}
[data-theme="light"] .sub-card {
  background: linear-gradient(135deg, rgba(6,182,212,0.05), rgba(139,92,246,0.04));
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.6);
}
[data-theme="light"] .support-cta {
  background: linear-gradient(135deg, rgba(6,182,212,0.05), rgba(139,92,246,0.04));
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.6);
}
[data-theme="light"] .proj-row:hover,
[data-theme="light"] .list-row:hover {
  background: rgba(0,0,0,0.02);
}
[data-theme="light"] .quick-link:hover {
  background: rgba(0,0,0,0.02);
}
[data-theme="light"] .empty-icon {
  background: #f1f3f5;
}
[data-theme="light"] .dash-metric-icon {
  opacity: 0.95;
}
[data-theme="light"] .badge {
  border: 1px solid currentColor;
  opacity: 0.9;
}
[data-theme="light"] .progress-track {
  background: #e9ecef;
}
[data-theme="light"] .dash-panel-head,
[data-theme="light"] .sidebar-panel-head {
  border-bottom-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .blog-share-icon:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
[data-theme="light"] .blog-tag:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
[data-theme="light"] .blog-cat-pill:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
[data-theme="light"] .blog-cat-pill.active {
  box-shadow: 0 2px 8px rgba(6,182,212,0.1);
}
[data-theme="light"] .checkout-method:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
[data-theme="light"] .auth-social:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
[data-theme="light"] .blog-search-inner:focus-within {
  box-shadow: 0 0 0 3px rgba(6,182,212,0.08);
}
[data-theme="light"] .blog-newsletter-input:focus {
  box-shadow: 0 0 0 3px rgba(6,182,212,0.08);
}
[data-theme="light"] .blog-comment-input:focus,
[data-theme="light"] .blog-comment-textarea:focus {
  box-shadow: 0 0 0 3px rgba(6,182,212,0.08);
}
[data-theme="light"] .auth-2fa-code-input:focus {
  box-shadow: 0 0 0 3px rgba(6,182,212,0.08);
}
[data-theme="light"] .blog-popular-item:hover {
  background: rgba(0,0,0,0.02);
}
[data-theme="light"] .blog-popular-item:last-child {
  border-bottom-color: transparent;
}
[data-theme="light"] .blog-card-footer {
  border-top-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .blog-post-tags {
  border-top-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .blog-post-actions {
  border-top-color: rgba(0,0,0,0.06);
  border-bottom-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .pricing-card {
  background: rgba(255,255,255,0.7);
}
[data-theme="light"] .pricing-card.featured {
  background: rgba(255,255,255,0.85);
  border-color: rgba(6,182,212,0.25);
}

/* ══ MODERN SCROLLBAR ══ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.2);
}
[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.12);
}
[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.2);
}

/* ══════════════════════════════════════════════════════════════ */
/*  TWITTER / X STYLE FEED                                       */
/* ══════════════════════════════════════════════════════════════ */

/* Feed Layout */
.xfeed-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-8);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .xfeed-layout { grid-template-columns: 1fr; }
  .xfeed-sidebar { order: -1; }
}
@media (max-width: 640px) {
  .xfeed-layout { gap: 0; }
}

/* Main Feed Column */
.xfeed-main {
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .xfeed-main { max-width: 100%; }
}

/* Feed Item */
.xfeed-item {
  position: relative;
  transition: background 0.15s;
}
.xfeed-item:hover {
  background: var(--glass);
}
.xfeed-item-link {
  display: flex;
  gap: 12px;
  padding: 16px 16px 12px;
  text-decoration: none;
  color: inherit;
}
.xfeed-item--pinned {
  border-left: 3px solid var(--cyan);
}
.xfeed-pin-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 16px 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Avatar */
.xfeed-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.xfeed-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.xfeed-avatar-initials {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}
.xfeed-avatar--sm {
  width: 36px;
  height: 36px;
}

/* Content */
.xfeed-content {
  flex: 1;
  min-width: 0;
}

/* Header Row */
.xfeed-header {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.xfeed-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--fg);
}
.xfeed-handle {
  font-size: 0.8rem;
  color: var(--fg-3);
}
.xfeed-sep {
  font-size: 0.8rem;
  color: var(--fg-3);
}
.xfeed-time {
  font-size: 0.8rem;
  color: var(--fg-3);
}

/* Title */
.xfeed-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
a:hover .xfeed-title {
  color: var(--cyan-l);
}

/* Excerpt */
.xfeed-excerpt {
  font-size: 0.875rem;
  color: var(--fg-2);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Image */
.xfeed-image {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 10px;
  aspect-ratio: 16/9;
}
.xfeed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Category Tag */
.xfeed-tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 600;
  background: color-mix(in srgb, var(--tag-color, var(--cyan)) 12%, transparent);
  color: var(--tag-color, var(--cyan-l));
  border: 1px solid color-mix(in srgb, var(--tag-color, var(--cyan)) 20%, transparent);
  margin-bottom: 10px;
}

/* Action Bar */
.xfeed-actions {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 4px;
  justify-content: space-between;
  max-width: 340px;
}
.xfeed-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  color: var(--fg-3);
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.2s var(--ease);
  font-family: inherit;
}
.xfeed-action svg {
  transition: all 0.2s var(--ease-spring);
}
.xfeed-action:hover {
  background: rgba(6,182,212,0.08);
  color: var(--cyan-l);
}
.xfeed-action:hover svg {
  transform: scale(1.15);
}

/* Like active state */
.xfeed-action--like.liked {
  color: #f91880;
  background: rgba(249,24,128,0.08);
}
.xfeed-action--like.liked svg {
  fill: #f91880;
  stroke: #f91880;
}

/* Repost active state */
.xfeed-action--repost.reposted {
  color: #00ba7c;
  background: rgba(0,186,124,0.08);
}

/* Comment count in blue on hover */
.xfeed-action:first-child:hover {
  color: #1d9bf0;
  background: rgba(29,155,240,0.08);
}

/* Divider */
.xfeed-divider {
  height: 1px;
  background: var(--border);
  margin: 0 16px;
}

/* Empty State */
.xfeed-empty {
  text-align: center;
  padding: var(--sp-16) var(--sp-8);
}
.xfeed-empty h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.xfeed-empty p {
  font-size: 0.9rem;
  color: var(--fg-3);
}

/* Pagination */
.xfeed-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: var(--sp-8) 0;
}

/* ══ SIDEBAR ══ */
.xfeed-sidebar {
  position: sticky;
  top: 90px;
}
.xfeed-sidebar-sticky {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* Sidebar Card */
.xfeed-sidebar-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  backdrop-filter: blur(20px);
}
.xfeed-sidebar-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: var(--sp-4);
  letter-spacing: -0.01em;
}

/* Follow List */
.xfeed-follow-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.xfeed-follow-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.xfeed-follow-info {
  flex: 1;
  min-width: 0;
}
.xfeed-follow-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 2px;
}
.xfeed-follow-handle {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-3);
}
.xfeed-follow-btn {
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--fg);
  color: var(--bg);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.xfeed-follow-btn:hover {
  opacity: 0.85;
}

/* Trending */
.xfeed-trending-list {
  display: flex;
  flex-direction: column;
}
.xfeed-trending-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.xfeed-trending-item:last-child {
  border-bottom: none;
}
.xfeed-trending-item:hover {
  background: var(--glass);
  margin: 0 -20px;
  padding: 12px 20px;
  border-radius: var(--r);
}
.xfeed-trending-cat {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}
.xfeed-trending-count {
  display: block;
  font-size: 0.7rem;
  color: var(--fg-3);
  margin-top: 2px;
}
.xfeed-trending-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--fg-3);
  min-width: 20px;
  flex-shrink: 0;
}
.xfeed-trending-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
}

/* Newsletter Sidebar */
.xfeed-newsletter {
  background: linear-gradient(135deg, rgba(6,182,212,0.06), rgba(139,92,246,0.04));
}
.xfeed-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.xfeed-newsletter-input {
  padding: 10px 14px;
  background: var(--bg-muted);
  border: 1px solid var(--glass-border);
  border-radius: var(--r);
  color: var(--fg);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s;
  font-family: inherit;
}
.xfeed-newsletter-input:focus {
  border-color: var(--cyan);
}
.xfeed-newsletter-input::placeholder {
  color: var(--fg-3);
}

/* ══ FEED RESPONSIVE ══ */
@media (max-width: 1024px) {
  .xfeed-sidebar {
    position: static;
  }
  .xfeed-sidebar-sticky {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }
  .xfeed-newsletter {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .xfeed-item-link {
    padding: 12px;
  }
  .xfeed-avatar {
    width: 38px;
    height: 38px;
  }
  .xfeed-avatar-initials {
    font-size: 0.7rem;
  }
  .xfeed-actions {
    max-width: 280px;
  }
  .xfeed-action {
    padding: 4px 8px;
    font-size: 0.7rem;
  }
  .xfeed-action svg {
    width: 16px;
    height: 16px;
  }
  .xfeed-sidebar-sticky {
    grid-template-columns: 1fr;
  }
  .xfeed-image {
    max-height: 220px;
    border-radius: var(--r-lg);
  }
}

/* ══ LIGHT THEME FEED ══ */
[data-theme="light"] .xfeed-item:hover {
  background: rgba(0,0,0,0.02);
}
[data-theme="light"] .xfeed-divider {
  background: rgba(0,0,0,0.06);
}
[data-theme="light"] .xfeed-sidebar-card {
  background: rgba(255,255,255,0.8);
  border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .xfeed-trending-item:hover {
  background: rgba(0,0,0,0.02);
}
[data-theme="light"] .xfeed-follow-btn {
  background: #0f1419;
  color: #ffffff;
}
[data-theme="light"] .xfeed-action:hover {
  background: rgba(29,155,240,0.08);
  color: #1d9bf0;
}
[data-theme="light"] .xfeed-action:first-child:hover {
  color: #1d9bf0;
  background: rgba(29,155,240,0.08);
}
[data-theme="light"] .xfeed-action--like.liked {
  color: #f91880;
  background: rgba(249,24,128,0.08);
}
[data-theme="light"] .xfeed-action--like.liked svg {
  fill: #f91880;
  stroke: #f91880;
}
[data-theme="light"] .xfeed-action--repost.reposted {
  color: #00ba7c;
  background: rgba(0,186,124,0.08);
}
[data-theme="light"] .xfeed-newsletter {
  background: linear-gradient(135deg, rgba(6,182,212,0.04), rgba(139,92,246,0.03));
}

/* ══ MODERN SELECTION ══ */
::selection {
  background: rgba(6,182,212,0.25);
  color: var(--fg);
}

/* ══ MODERN FOCUS VISIBLE ══ */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ══ MODERN CONTAINER QUERIES ══ */
@supports (container-type: inline-size) {
  .services-grid, .blog-grid, .steps-grid, .pricing-grid, .trust-bar {
    container-type: inline-size;
    container-name: content-grid;
  }
  @container content-grid (max-width: 500px) {
    .card { padding: var(--sp-5); }
    .service-icon { width: 44px; height: 44px; }
    .service-title { font-size: 1rem; }
    .heading-sm { font-size: 1.1rem; }
  }
}

/* ══ MODERN PRINT STYLES ══ */
@media print {
  .nav, .footer, .chat-fab, .back-to-top, .cursor-glow, .noise-overlay, #neuralBg { display: none !important; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; border: 1px solid #ddd; }
  .btn { box-shadow: none; }
}

/* ══ HIGH CONTRAST ══ */
@media (prefers-contrast: high) {
  .card { border-width: 2px; }
  .btn { border: 2px solid currentColor; }
  .form-input { border-width: 2px; }
  .nav { border-bottom-width: 2px; }
}

/* ══ REDUCED MOTION ══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn-primary { animation: none; }
  .hero-orb { animation: none; }
  .badge-dot { animation: none; }
}

/* ══ COMPREHENSIVE MOBILE RESPONSIVE ══ */
@media (max-width: 640px) {
  .btn-sm { padding: 12px 20px; min-height: 44px; }
  .btn-xs { padding: 10px 16px; min-height: 44px; font-size: 0.8rem; }
  .form-input { min-height: 48px; padding: 14px 16px; }
  select.form-input { min-height: 48px; padding: 12px 14px; }
  .card { padding: var(--sp-5); }
  .section { padding: var(--sp-12) 0; }
  .hero { min-height: auto; padding: 100px 0 40px; }
  .heading-xl { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .heading-lg { font-size: clamp(1.4rem, 5vw, 2rem); }
  .heading-md { font-size: clamp(1.1rem, 4vw, 1.5rem); }
  .cta-banner { padding: var(--sp-8) var(--sp-4); text-align: center; }
  .footer { padding: var(--sp-12) 0 var(--sp-6); }
  .footer-bottom { flex-direction: column; gap: var(--sp-3); text-align: center; }
  .auth-form-side { padding: 100px 16px 40px; }
  .auth-form-card { padding: 24px 16px; border-radius: var(--r-xl); }
  .profile-layout { gap: 16px; }
  .pricing-price { font-size: 2rem; }
  .dash-metrics { grid-template-columns: 1fr 1fr !important; }
  .dash-grid { grid-template-columns: 1fr !important; }
  .admin-sidebar { width: 100% !important; }
  .blog-layout { grid-template-columns: 1fr !important; }
  .contact-layout { grid-template-columns: 1fr !important; }
  .services-grid { grid-template-columns: 1fr !important; }
  .pricing-grid { grid-template-columns: 1fr !important; }
  .steps-grid { grid-template-columns: 1fr !important; }
  .trust-bar { grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
  .filter-bar { gap: var(--sp-2); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .prose { font-size: 0.95rem; line-height: 1.75; }
  .container { padding: 0 var(--sp-4); }
  .hero-badge { font-size: 0.7rem; padding: 6px 14px; }
  .blog-hero { padding: 80px 0 12px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { order: -1; }
  .profile-form-grid { grid-template-columns: 1fr; }
  .profile-info-grid { grid-template-columns: 1fr; }
  .dash-actions { flex-wrap: wrap; }
}

@media (max-width: 380px) {
  .container { padding: 0 var(--sp-3); }
  .auth-form-side { padding: 80px 12px 32px; }
  .auth-form-card { padding: 20px 12px; }
  .card { padding: var(--sp-4); }
  .btn { padding: 10px 16px; font-size: 0.82rem; }
  .btn-sm { padding: 10px 16px; min-height: 44px; }
  .heading-xl { font-size: 1.6rem; }
  .heading-lg { font-size: 1.3rem; }
  .hero-badge { font-size: 0.65rem; padding: 5px 10px; }
  .form-input { padding: 12px 14px; min-height: 44px; }
}