/* ══════════════════════════════════════════════ */
/*  CSS VARIABLES (Dark/Light theme system)       */
/* ══════════════════════════════════════════════ */

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

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

  /* Accent colors */
  --cyan: #06b6d4;
  --cyan-l: #22d3ee;
  --blue: #3b82f6;
  --purple: #a855f7;
  --violet: #8b5cf6;
  --green: #22c55e;
  --green-400: #4ade80;
  --red: #ef4444;
  --red-400: #f87171;
  --amber: #f59e0b;
  --orange-400: #fb923c;
  --cyan-400: #22d3ee;
  --blue-400: #60a5fa;
  --violet-400: #a855f7;
  --purple-400: #c084fc;

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

  /* Borders and glass */
  --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);

  /* Spacing system */
  --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;

  /* Border radius */
  --r: 12px; --r-lg: 16px; --r-xl: 20px; --r-2xl: 28px; --r-full: 9999px;

  /* Easing functions */
  --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);

  /* Shadows */
  --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);

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

  /* Glass variants */
  --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;
}/* ══════════════════════════════════════════════ */
/*  RESET & BASE STYLES                            */
/* ══════════════════════════════════════════════ */

/* ══ RESET ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; background: var(--bg); min-height: 100%; width: 100%; overflow-x: clip; }
body { font-family: var(--font); line-height: 1.6; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; transition: color 0.4s var(--ease); padding-inline: env(safe-area-inset-inline); min-height: 100vh; display: flex; flex-direction: column; width: 100%; }
main { flex: 1; }
.admin-main { flex: 1; }
img, svg { display: block; max-width: 100%; height: auto; }

/* ══ SKIP LINK (accessibility) ══ */
.skip-link {
  position: absolute; top: -9999px; 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; }

/* ══ FOCUS VISIBLE (consistent focus ring) ══ */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.nav-link:focus-visible,
.btn:focus-visible,
.nav-icon:focus-visible,
.nav-toggle:focus-visible,
.nav-profile-btn:focus-visible,
.nav-mega-trigger:focus-visible,
.nav-mega-card:focus-visible,
.nav-mega-simple-link:focus-visible,
.nav-dropdown-link:focus-visible,
.blog-cat-pill:focus-visible,
.blog-like-btn:focus-visible,
.blog-share-icon:focus-visible,
.blog-share-label:focus-visible,
.blog-tag:focus-visible,
.blog-comment-reply-btn:focus-visible,
.chat-quick-btn:focus-visible,
.chat-close:focus-visible,
.chat-send:focus-visible,
.chat-fab:focus-visible,
.back-to-top:focus-visible,
.form-input:focus-visible,
.auth-social:focus-visible,
.auth-field input:focus-visible,
.checkout-method:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ══ MODERN VIEWPORT UNITS (mobile browser fix) ══ */
.hero { min-height: 100dvh; min-height: 100svh; overflow: clip; }
@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);
}

/* ══ 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; }
}

/* ══ BASE STYLES ══ */
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); }/* ══════════════════════════════════════════════ */
/*  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; background: var(--bg); min-height: 100%; width: 100%; overflow-x: clip; }
body { font-family: 'Inter', system-ui, sans-serif; line-height: 1.6; color: var(--fg); background: radial-gradient(ellipse 75rem 55rem at 8% -10%, rgba(6,182,212,0.055), transparent 68%), radial-gradient(ellipse 60rem 50rem at 100% 24%, rgba(139,92,246,0.04), transparent 72%), var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; transition: color 0.4s var(--ease); padding-inline: env(safe-area-inset-inline); min-height: 100vh; display: flex; flex-direction: column; width: 100%; }
main { flex: 1; }
.admin-main { flex: 1; }
img, svg { display: block; max-width: 100%; height: auto; }

/* ══ SKIP LINK (accessibility) ══ */
.skip-link {
  position: absolute; top: -9999px; 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; }

/* ══ FOCUS VISIBLE (consistent focus ring) ══ */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.nav-link:focus-visible,
.btn:focus-visible,
.nav-icon:focus-visible,
.nav-toggle:focus-visible,
.nav-profile-btn:focus-visible,
.nav-mega-trigger:focus-visible,
.nav-mega-card:focus-visible,
.nav-mega-simple-link:focus-visible,
.nav-dropdown-link:focus-visible,
.blog-cat-pill:focus-visible,
.blog-like-btn:focus-visible,
.blog-share-icon:focus-visible,
.blog-share-label:focus-visible,
.blog-tag:focus-visible,
.blog-comment-reply-btn:focus-visible,
.chat-quick-btn:focus-visible,
.chat-close:focus-visible,
.chat-send:focus-visible,
.chat-fab:focus-visible,
.back-to-top:focus-visible,
.form-input:focus-visible,
.auth-social:focus-visible,
.auth-field input:focus-visible,
.auth-social:focus-visible,
.checkout-method:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ══ MODERN VIEWPORT UNITS (mobile browser fix) ══ */
.hero { min-height: 100dvh; min-height: 100svh; overflow: clip; }
@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;
  --green-400: #4ade80;
  --red: #ef4444;
  --red-400: #f87171;
  --amber: #f59e0b;
  --orange-400: #fb923c;
  --cyan-400: #22d3ee;
  --blue-400: #60a5fa;
  --violet-400: #a855f7;
  --purple-400: #c084fc;

  --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; min-width: 0;
  max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-6);
}
.nav-drawer-header { display: none; }
.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-mobile-auth { display: none !important; }
.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;
}

/* ══ MOBILE NAV (≤768px) ══ */
@media (max-width: 768px) {

  /* ── Overlay backdrop ── */
  .nav-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0s 0.3s;
    z-index: 998;
  }
  .nav-overlay.active { opacity: 1; visibility: visible; transition: opacity 0.3s, visibility 0s; }

  /* ── Slide-in drawer ── */
  .nav { height: 60px; min-height: 60px; padding: 10px 0; }
  .nav-inner { height: 40px; 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: 6px; }
  .nav-icon { width: 36px; height: 36px; }
  .nav-icon svg { width: 16px; height: 16px; }
  .nav-toggle {
    display: flex !important; width: 40px; height: 40px; min-width: 40px;
    align-items: center; justify-content: center;
    background: var(--glass); border: 1px solid var(--border);
    border-radius: var(--r); color: var(--fg); cursor: pointer;
  }
  .nav-toggle svg { width: 20px; height: 20px; }
  .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 !important; }
  .nav-actions .nav-icon[aria-label="Painel"] { display: none !important; }
  .nav-actions .nav-mega-wrap { display: none !important; }

  /* ── Links panel (centered overlay + swipe) ── */
  .nav-links {
    display: flex; position: fixed; inset: 0 0 0 auto;
    width: min(88vw, 420px); height: 100dvh; max-height: 100dvh;
    flex-direction: column; align-items: stretch; gap: 0; padding: 0 20px env(safe-area-inset-bottom, 20px);
    background: rgba(5, 5, 8, 0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: none; border-left: 1px solid var(--border);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    z-index: 1000; opacity: 0; pointer-events: none;
    transform: translateX(12px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  }
  .nav-links.open {
    display: flex;
    opacity: 1; pointer-events: auto;
    transform: translateX(0);
  }

  /* ── Drawer header (logo + close) ── */
  .nav-drawer-header {
    display: flex; align-items: center; justify-content: flex-end;
    height: 60px; min-height: 60px; padding: 10px 18px;
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; background: var(--bg); z-index: 10;
  }
  .nav-drawer-close {
    width: 36px; height: 36px; border-radius: var(--r);
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; color: var(--fg-2); cursor: pointer;
    transition: all 0.2s;
  }
  .nav-drawer-close:hover { background: var(--glass); color: var(--fg); }

  /* ── Regular nav links ── */
  .nav-link {
    width: 100%; text-align: left; padding: 0 18px; min-height: 48px;
    display: flex; align-items: center; border-radius: 0;
    font-size: 0.95rem; font-weight: 500;
    color: var(--fg-2); transition: all 0.2s;
  }
  .nav-link:hover { background: var(--glass); color: var(--fg); }
  .nav-link::after { display: none; }
  .nav-link.active { color: var(--cyan-l); font-weight: 600; }

  /* ── Accordion submenu trigger ── */
  .nav-mega-wrap { width: 100%; border: none; }
  .nav-mega-trigger {
    width: 100%; text-align: left; padding: 0 18px; min-height: 48px;
    display: flex; align-items: center; justify-content: space-between;
    border-radius: 0; font-size: 0.95rem; font-weight: 500;
    background: none; border: none; cursor: pointer;
    color: var(--fg-2); transition: all 0.2s;
    gap: 8px;
  }
  .nav-mega-trigger:hover { background: var(--glass); color: var(--fg); }
  .nav-mega-trigger .nav-mega-chevron {
    width: 20px; height: 20px; flex-shrink: 0;
    transition: transform 0.25s var(--ease);
    color: var(--fg-3);
  }
  .nav-mega-trigger[aria-expanded="true"] .nav-mega-chevron {
    transform: rotate(180deg); color: var(--cyan-l);
  }
  .nav-mega-trigger[aria-expanded="true"] { color: var(--cyan-l); }
  .nav-mega-trigger::after { display: none; }

  /* ── Submenu panel (accordion expand) ── */
  .nav-mega {
    position: static; transform: none;
    width: 100%; min-width: 0; max-width: none;
    box-shadow: none; border: none; border-top: 1px solid var(--border);
    background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none;
    border-radius: 0; padding: 0;
    margin-top: 0; max-height: 0; overflow: hidden;
    opacity: 1; pointer-events: none;
    transition: max-height 0.3s var(--ease);
  }
  .nav-mega.open {
    display: block; max-height: 600px; pointer-events: auto;
    animation: none; border-top: 1px solid var(--border);
  }

  /* ── Serviços submenu items ── */
  .nav-mega-grid {
    grid-template-columns: 1fr; gap: 0; padding: 4px 0;
  }
  .nav-mega-card {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 18px 12px 28px; border-radius: 0;
    text-decoration: none; color: var(--fg);
    transition: all 0.15s; min-height: 48px;
  }
  .nav-mega-card:hover { background: var(--glass); }
  .nav-mega-card:active { background: var(--glass); }
  .nav-mega-card-icon {
    width: 36px; height: 36px; border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .nav-mega-card-icon svg { width: 18px; height: 18px; }
  .nav-mega-card-title { font-size: 0.88rem; font-weight: 500; }
  .nav-mega-card-desc { font-size: 0.72rem; color: var(--fg-3); margin-top: 1px; }

  /* ── Empresa submenu items ── */
  .nav-mega--simple { padding: 4px 0; }
  .nav-mega-simple-link {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 18px 12px 28px; border-radius: 0;
    min-height: 48px; text-decoration: none; color: var(--fg);
    transition: all 0.15s;
  }
  .nav-mega-simple-link:hover { background: var(--glass); }
  .nav-mega-simple-link:active { background: var(--glass); }
  .nav-mega-simple-link svg { width: 18px; height: 18px; color: var(--fg-3); flex-shrink: 0; }
  .nav-mega-simple-title { font-size: 0.88rem; font-weight: 500; }
  .nav-mega-simple-desc { font-size: 0.72rem; color: var(--fg-3); }

  /* ── Submenu "Ver todos" footer ── */
  .nav-mega-foot {
    margin-top: 0; padding: 8px 18px 12px 28px;
    border-top: none;
  }
  .nav-mega-foot-link {
    display: block; text-align: left; padding: 10px 0;
    font-size: 0.82rem; font-weight: 600; color: var(--cyan-l);
    text-decoration: none; border-radius: var(--r); transition: opacity 0.15s;
  }
  .nav-mega-foot-link:active { opacity: 0.7; }

  /* ── Divider between sections ── */
  .nav-drawer-divider {
    height: 1px; background: var(--border); margin: 8px 18px;
  }

  /* ── Mobile auth buttons (pinned at bottom) ── */
  .nav-mobile-auth {
    display: none !important;
  }
  .nav-links.open .nav-mobile-auth {
    display: flex !important;
    flex-direction: column; gap: 10px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    background: var(--bg);
    position: sticky; bottom: 0;
  }
  .nav-mobile-auth-btn {
    width: 100%; justify-content: center; min-height: 44px;
    font-size: 0.9rem; gap: 8px;
    text-decoration: none; display: flex; align-items: center;
    border-radius: var(--r); font-weight: 600;
    transition: all 0.2s;
  }

  /* ── Profile dropdown on mobile ── */
  .nav-dropdown {
    position: static; left: 0; right: auto;
    width: 100%; min-width: 0;
    box-shadow: none; border: none; border-top: 1px solid var(--border);
    background: var(--bg-2); backdrop-filter: none;
    border-radius: 0; padding: 4px 0;
    margin-top: 0; max-height: 0; overflow: hidden;
    opacity: 1; transform: none;
    transition: max-height 0.3s var(--ease);
  }
  .nav-dropdown.open {
    max-height: 400px; pointer-events: auto;
  }
  .nav-dropdown-header { padding: 12px 18px; }
  .nav-dropdown-link {
    padding: 12px 18px; font-size: 0.9rem; border-radius: 0;
    min-height: 44px;
  }
  .nav-dropdown-link svg { width: 16px; height: 16px; }
  .nav-dropdown-divider { margin: 4px 18px; }

  /* ── Body scroll lock ── */
  body.nav-open { overflow: hidden; position: fixed; width: 100%; }
  @supports (height: 100dvh) { body.nav-open { height: 100dvh; } }
}
@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 — expansivo, animado, acessível */
.nav-profile-wrap { position: relative; }
.nav-profile-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; min-width: 40px; min-height: 40px;
  border-radius: 50%; border: 2px solid var(--border-2); background: var(--bg-3); cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.15s var(--ease);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav-profile-btn:hover { border-color: var(--cyan); box-shadow: 0 4px 16px rgba(6,182,212,0.25); transform: scale(1.04); }
.nav-profile-btn:focus-visible { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6,182,212,0.3); }
.nav-profile-btn img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: block; }
.nav-profile-name { display: none; }

.nav-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0;
  width: clamp(260px, 70vw, 320px); /* mais largo */
  background: var(--bg-2); border: 1px solid var(--glass-border);
  border-radius: var(--r-xl); backdrop-filter: blur(20px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.03) inset;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.22s var(--ease-out), visibility 0.22s var(--ease-out), transform 0.22s var(--ease-out);
  z-index: 100; padding: var(--sp-3);
  display: flex; flex-direction: column; gap: var(--sp-2);
}
.nav-dropdown.open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0) scale(1);
}
.nav-dropdown-header {
  display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-3) var(--sp-4);
  background: linear-gradient(180deg, rgba(6,182,212,0.06) 0%, transparent 100%);
  border-radius: var(--r-lg); margin: calc(var(--sp-3) * -1) calc(var(--sp-3) * -1) var(--sp-2);
  border-bottom: 1px solid var(--glass-border);
}
.nav-dropdown-header [data-avatar-preview] {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; min-width: 48px; min-height: 48px;
  border-radius: 50%; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 0 0 2px rgba(6,182,212,0.1);
}
.nav-dropdown-header [data-avatar-preview] img,
.nav-dropdown-header [data-avatar-preview] .av {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: block;
}
.nav-dropdown-name { font-size: 0.95rem; font-weight: 700; color: var(--fg); line-height: 1.2; }
.nav-dropdown-email { font-size: 0.78rem; color: var(--fg-3); line-height: 1.3; }
.nav-dropdown-divider { height: 1px; background: var(--border); margin: var(--sp-2) var(--sp-3); border-radius: 9999px; }
.nav-dropdown-link {
  display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-lg); text-decoration: none; color: var(--fg);
  font-size: 0.9rem; font-weight: 500; transition: background 0.18s var(--ease), color 0.18s var(--ease);
  min-height: 48px;
}
.nav-dropdown-link svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--fg-2); transition: color 0.15s var(--ease); }
.nav-dropdown-link:hover { background: var(--glass); color: var(--cyan-l); }
.nav-dropdown-link:hover svg { color: var(--cyan-l); }
.nav-dropdown-link:focus-visible { outline: none; background: var(--glass); color: var(--cyan-l); box-shadow: 0 0 0 2px rgba(6,182,212,0.3); }

/* Scroll suave interno se muitos itens */
.nav-dropdown { overflow-y: auto; max-height: clamp(200px, 50vh, 420px); scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
.nav-dropdown::-webkit-scrollbar { width: 6px; }
.nav-dropdown::-webkit-scrollbar-track { background: transparent; }
.nav-dropdown::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
.nav-dropdown::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* Keep the mobile navigation accordion in the document flow. */
@media (max-width: 768px) {
  .nav-mega {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0;
    margin-top: 0;
    border: none;
    border-top: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .nav-mega.open {
    display: block;
    transform: none;
    max-height: 600px;
    pointer-events: auto;
  }
  .nav-mega-grid { grid-template-columns: 1fr; gap: 0; }
}

/* Mobile drawer dropdown — garante que funciona dentro do nav-links.open */
@media (max-width: 768px) {
  .nav-dropdown {
    position: static; left: 0; right: auto;
    width: 100%; min-width: 0; max-width: none;
    box-shadow: none; border: none; border-top: 1px solid var(--border);
    background: var(--bg-2); backdrop-filter: none;
    border-radius: 0; padding: var(--sp-2) 0;
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: none; transition: none; z-index: auto;
    max-height: 0; overflow: hidden; margin-top: 0;
  }
  .nav-dropdown.open {
    max-height: 480px; opacity: 1; visibility: visible;
  }
.nav-profile-wrap { position: relative; }
.nav-profile-btn {
    width: 100%; min-width: 0; height: 48px; border-radius: var(--r);
    justify-content: flex-start; gap: var(--sp-3); padding: 0 var(--sp-4);
    border: 1px solid var(--glass-border); background: var(--glass); border-color: var(--glass-border);
    box-shadow: none;
  }
  .nav-profile-btn:hover { background: var(--bg-3); border-color: var(--cyan); }
  .nav-profile-btn img { width: 32px; height: 32px; }
  .nav-dropdown-header { padding: var(--sp-3) var(--sp-4); margin: 0 calc(var(--sp-4) * -1) var(--sp-2); border-radius: 0; }
  .nav-dropdown-link { padding: var(--sp-3) var(--sp-4); border-radius: 0; min-height: 52px; font-size: 0.95rem; }
  .nav-dropdown-link:hover { background: var(--glass); }

  .nav-actions { flex: 0 0 auto; margin-left: auto; }
  .nav-actions .nav-profile-wrap { flex: 0 0 auto; width: auto; height: auto; }
  .nav-actions .nav-profile-btn {
    display: inline-flex; width: auto; min-width: 0; height: 40px; min-height: 40px;
    justify-content: flex-start; gap: 8px; padding: 0 12px 0 4px;
    border-radius: 999px; white-space: nowrap;
  }
  .nav-actions .nav-profile-btn img { width: 32px; height: 32px; }
  .nav-profile-name { display: inline; max-width: 12ch; overflow: hidden; color: var(--fg); font-size: .82rem; font-weight: 600; text-overflow: ellipsis; }
  .nav-actions .nav-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0; left: auto;
    width: min(88vw, 320px); min-width: 260px; max-width: calc(100vw - 24px);
    max-height: min(65vh, 420px); margin: 0; padding: var(--sp-3);
    overflow-y: auto; border: 1px solid var(--glass-border); border-radius: var(--r-xl);
    background: var(--bg-2); box-shadow: 0 24px 60px rgba(0,0,0,.3);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(8px) scale(.98); transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 1100;
  }
  .nav-actions .nav-dropdown.open {
    max-height: min(65vh, 420px); opacity: 1; visibility: visible;
    pointer-events: auto; transform: translateY(0) scale(1);
  }
}

@media (max-width: 420px) {
  .nav-actions .nav-profile-btn { width: 40px; min-width: 40px; height: 40px; padding: 0; justify-content: center; }
  .nav-profile-name { display: none; }
}

/* ══ HERO ══ */

/* 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-shell {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  min-height: 100%;
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}
.hero-copy {
  text-align: left;
  max-width: 620px;
}
.hero-copy .badge {
  display: inline-flex;
}
.hero-copy h1 {
  margin-top: 1.5rem;
}
.hero-brand,
.hero-keywords {
  display: block;
}
.hero-brand {
  font-size: clamp(2rem, 4vw, 3rem);
}
.hero-keywords {
  margin-top: 0.35em;
  font-size: clamp(1.1rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hero-desc {
  max-width: 580px;
  margin-top: 1.25rem;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: flex-start;
  margin-top: var(--sp-10); flex-wrap: wrap;
}
.hero-proof-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 1.75rem;
}
.proof-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--fg-2); font-size: 0.8rem;
  backdrop-filter: blur(10px);
}
.proof-pill strong {
  color: var(--fg); font-size: 0.9rem;
}
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 480px;
}
.hero-visual::before {
  content: ''; position: absolute; inset: 12% 8%; z-index: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at 45% 45%, rgba(6,182,212,0.2), rgba(59,130,246,0.1) 38%, transparent 72%);
  filter: blur(42px); pointer-events: none;
}
.hero-visual > * { z-index: 1; }
.dashboard-panel {
  position: relative;
  width: min(100%, 480px);
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(17,24,39,0.78), rgba(8,10,18,0.94));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(3,7,18,0.52), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  color: #f0f0f5;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 1.5rem;
}
.panel-dots {
  display: inline-flex; align-items: center; gap: 8px;
}
.panel-dots span {
  width: 10px; height: 10px; border-radius: 50%; display: block;
  background: rgba(255,255,255,0.35);
}
.panel-dots span:nth-child(1) { background: #f87171; }
.panel-dots span:nth-child(2) { background: #fbbf24; }
.panel-dots span:nth-child(3) { background: #34d399; }
.panel-tag {
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-2); padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px;
}
.metric-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; margin-bottom: 1.2rem;
}
.metric-card {
  min-width: 0; padding: 16px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.metric-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.metric-card strong {
  display: block; margin-top: 6px; font-size: clamp(1.25rem, 2vw, 1.8rem); letter-spacing: -0.04em;
}
.metric-card small {
  display: block; margin-top: 4px; color: var(--fg-3); font-size: 0.68rem; line-height: 1.35;
}
.metric-label {
  display: block; font-size: 0.72rem; color: var(--fg-2); text-transform: uppercase; letter-spacing: 0.08em;
}
.metric-trend {
  display: inline-flex; align-items: center; min-height: 22px; padding: 3px 7px;
  border-radius: 999px; color: #86efac; background: rgba(34,197,94,0.12);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.02em;
}
.metric-card--cyan { background: linear-gradient(135deg, rgba(6,182,212,0.12), rgba(59,130,246,0.02)); }
.metric-card--violet { background: linear-gradient(135deg, rgba(168,85,247,0.12), rgba(139,92,246,0.02)); }
.chart-block {
  padding: 16px; border-radius: 18px; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.08);
}
.chart-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px;
}
.chart-head strong {
  display: block; margin-top: 4px; color: var(--fg); font-size: 0.82rem; font-weight: 650;
}
.chart-kicker {
  display: block; color: var(--fg-3); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.chart-period {
  flex: 0 0 auto; color: var(--fg-3); font-size: 0.64rem; padding-top: 2px;
}
.chart-bars {
  height: 132px; display: flex; align-items: end; justify-content: space-between; gap: 8px;
}
.chart-bars span {
  display: block; flex: 1; border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, rgba(34,211,238,0.95), rgba(59,130,246,0.4));
  height: var(--h);
  box-shadow: 0 8px 24px rgba(34,211,238,0.18);
}
.list-stack {
  display: grid; gap: 12px; margin-top: 1.2rem;
}
.pipeline-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 1.2rem;
}
.pipeline-status {
  display: inline-flex; align-items: center; gap: 6px; color: var(--fg-3); font-size: 0.65rem;
}
.pipeline-status span {
  width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,0.1);
}
.list-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
}
.list-item strong {
  display: block; font-size: 0.9rem;
}
.list-item small {
  display: block; color: var(--fg-2); margin-top: 2px;
}
.list-indicator {
  width: 10px; height: 10px; border-radius: 50%; display: block; box-shadow: 0 0 18px currentColor;
}
.list-indicator--green { color: #34d399; background: #34d399; }
.list-indicator--cyan { color: #22d3ee; background: #22d3ee; }
.floating-badge {
  position: absolute; right: 4%; bottom: 2%;
  transform: translateY(100%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px;
  background: rgba(17,24,39,0.8); border: 1px solid rgba(34,211,238,0.25);
  color: var(--fg); box-shadow: 0 16px 40px rgba(34,211,238,0.15);
  font-size: 0.78rem; font-weight: 600; white-space: nowrap; z-index: 2;
}
.dashboard-panel .panel-tag,
.dashboard-panel .metric-label,
.dashboard-panel .metric-card small,
.dashboard-panel .chart-kicker,
.dashboard-panel .chart-period,
.dashboard-panel .pipeline-status,
.dashboard-panel .list-item small {
  color: #aab4c5;
}
.dashboard-panel .chart-head strong { color: #f0f0f5; }
.delivery-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.delivery-steps span {
  display: flex; flex-direction: column; gap: 8px; min-height: 72px;
  padding: 12px; border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
  background: linear-gradient(145deg, rgba(6,182,212,0.08), rgba(255,255,255,0.02));
  color: #e7edf5; font-size: 0.72rem; font-weight: 650;
}
.delivery-steps i {
  color: #67e8f9; font-size: 0.62rem; font-style: normal; font-weight: 800;
  letter-spacing: 0.1em;
}
[data-theme="light"] body {
  background-image:
    radial-gradient(ellipse 75rem 55rem at 8% -10%, rgba(6,182,212,0.035), transparent 68%),
    radial-gradient(ellipse 60rem 50rem at 100% 24%, rgba(139,92,246,0.025), transparent 72%);
}
[data-theme="light"] .hero-visual::before { opacity: 0.55; }
.floating-badge { color: #f0f0f5; }
.floating-dot {
  width: 9px; height: 9px; display: inline-block; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 6px rgba(52,211,153,0.12);
}
.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-8);
  background: var(--bg-2); backdrop-filter: blur(16px); position: relative;
  margin-top: auto; flex: 0 0 auto; width: 100%; min-width: 0;
}
.footer::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 10% 0%, rgba(6,182,212,0.09) 0%, transparent 40%),
              radial-gradient(140% 140% at 90% 10%, rgba(168,85,247,0.08) 0%, transparent 45%);
  pointer-events: none;
}
.footer-overlay {
  position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 55%);
}
.footer-container { position: relative; }
.footer-grid { 
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px 28px; align-items: start;
  padding: 56px 0 28px;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.footer-brand { min-width: 280px; }
.footer-brand-logo { gap: 12px; }
.footer-brand-logo img { border-radius: 12px; box-shadow: 0 8px 24px rgba(6,182,212,0.22); }
.footer-brand-title { font-weight: 800; letter-spacing: -0.02em; }
.footer-brand-desc { margin-top: 14px; max-width: 360px; line-height: 1.7; color: var(--fg-2); }
.footer-social { gap: 8px; flex-wrap: wrap; }
.footer-social .nav-icon { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); }
.footer-social .nav-icon:hover { background: rgba(255,255,255,0.12); }
.footer-social .nav-icon[aria-label="WhatsApp"] { background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.22); color: #25D366; }
.footer-col-title { letter-spacing: 0.08em; }
.footer-links { gap: 10px; }
.footer-link { transition: all 0.25s var(--ease); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 22px; padding-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; align-items: center; color: var(--fg-3); }
.footer-bottom span { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.footer-bottom .footer-link { opacity: 0.7; }
.footer-bottom .footer-link:hover { opacity: 1; }

main {
  flex: 1;
  width: 100%;
}

/* ══ 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(260px, 100%), 1fr));
  gap: clamp(1.2rem, 2vw, 2rem);
  align-items: stretch;
}
.services-grid .card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.3rem, 2vw, 1.8rem);
  overflow: hidden;
}
.services-grid .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(96, 165, 250, 0.08);
}
.service-icon {
  width: 62px; height: 62px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-5);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.card:hover .service-icon { transform: scale(1.08) rotate(4deg); }
.service-icon--cyan { background: linear-gradient(135deg, rgba(6,182,212,0.16), rgba(6,182,212,0.08)); color: var(--cyan-l); border: 1px solid rgba(6,182,212,0.2); }
.service-icon--purple { background: linear-gradient(135deg, rgba(168,85,247,0.16), rgba(168,85,247,0.08)); color: var(--purple); border: 1px solid rgba(168,85,247,0.2); }
.service-icon--blue { background: linear-gradient(135deg, rgba(59,130,246,0.16), rgba(59,130,246,0.08)); color: var(--blue); border: 1px solid rgba(59,130,246,0.2); }
.service-icon--green { background: linear-gradient(135deg, rgba(34,197,94,0.16), rgba(34,197,94,0.08)); color: var(--green); border: 1px solid rgba(34,197,94,0.2); }
.service-title {
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.03em;
}
.service-desc {
  font-size: 0.92rem;
  color: var(--fg-2);
  line-height: 1.7;
}
.services-grid .checklist {
  margin-top: auto;
  gap: 0.8rem;
}
.services-grid .card .btn {
  margin-top: 1.2rem;
  align-self: flex-start;
}

/* ══ 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); }
.pricing-process { padding-top: var(--sp-10); }
.pricing-process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5);
  max-width: 1100px; margin: 0 auto;
}
.pricing-process-step {
  display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-5);
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-xl); transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.pricing-process-step:hover { border-color: rgba(6,182,212,0.35); transform: translateY(-2px); }
.pricing-process-step h3 { margin: 2px 0 6px; }
.pricing-process-step p { margin: 0; line-height: 1.55; }
.pricing-process-number {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px;
  width: 42px; height: 42px; border-radius: 50%; color: var(--cyan-l);
  background: rgba(6,182,212,0.1); border: 1px solid rgba(6,182,212,0.2);
  font-size: 0.75rem; font-weight: 800;
}

/* ══ 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.18s 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 ══ */

/* ══ PAGE HERO (inner pages) ══ */
.hero--page { min-height: auto; padding: 140px 0 80px; text-align: center; }
.hero--page .hero-content { text-align: center; }
.hero--sm { min-height: auto; padding: 120px 0 80px; }
.hero--sm .hero-content { text-align: center; }
.hero-orb--sm { width: 400px; height: 400px; opacity: 0.7; }
.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 {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1/1;
  background: linear-gradient(145deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--glass-border);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.5s var(--ease); }
.split:hover .split-media img { transform: scale(1.03); }

/* ══ OFFICIAL AKIRA PRODUCT SPOTLIGHT ══ */
.akira-spotlight__card {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 2.5rem);
  border-color: rgba(168,85,247,0.24);
  background:
    radial-gradient(ellipse at 10% 15%, rgba(139,92,246,0.16), transparent 58%),
    radial-gradient(ellipse at 100% 100%, rgba(6,182,212,0.1), transparent 52%),
    var(--glass);
  box-shadow: 0 24px 70px rgba(20,12,40,0.2);
}
.akira-spotlight__media {
  aspect-ratio: 16/10;
  border-color: rgba(203,189,244,0.2);
  background: #130e20;
}
.akira-spotlight__media img {
  padding: clamp(0.75rem, 3vw, 2rem);
  object-fit: contain;
}
.akira-spotlight__stamp {
  position: absolute;
  left: clamp(0.75rem, 2vw, 1.25rem);
  bottom: clamp(0.75rem, 2vw, 1.25rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(0,0,0,0.48);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
}
.akira-spotlight__stamp .badge-dot { background: var(--cyan-l); }
.akira-spotlight__content { min-width: 0; }
.akira-spotlight__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.akira-spotlight__actions .btn { min-width: 0; }
.akira-spotlight__note { margin: var(--sp-3) 0 0; color: var(--fg-3); font-size: 0.78rem; line-height: 1.6; }

/* The WhatsApp automation is a separate integration, not the AKIRA Web app. */
.akira-whatsapp {
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: var(--sp-8);
  padding: clamp(0.9rem, 2vw, 1.25rem);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  background: var(--glass);
}
.akira-whatsapp > img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r);
}
.akira-whatsapp__content { min-width: 0; }
.akira-whatsapp__content .service-title { margin: var(--sp-2) 0; font-size: 1rem; }
.akira-whatsapp__content .service-desc { margin: 0; font-size: 0.875rem; line-height: 1.65; }

/* ══ PROJECT CARDS ══ */
.project-card {
  display: flex; flex-direction: column; gap: 0; height: 100%; overflow: hidden; padding: 0;
  min-width: 0;
  background: linear-gradient(155deg, var(--glass), color-mix(in srgb, var(--bg-2) 88%, transparent));
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.project-card:hover { transform: translateY(-4px); border-color: rgba(6,182,212,0.32); box-shadow: 0 20px 44px rgba(0,0,0,0.16); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}
.project-media {
  position: relative; overflow: hidden; aspect-ratio: 16/10;
  background: radial-gradient(ellipse at 50% 40%, rgba(6,182,212,0.12), transparent 66%), linear-gradient(145deg, var(--bg-3), var(--bg-2)); border-bottom: 1px solid var(--glass-border);
}
.project-media picture { display: block; width: 100%; height: 100%; }
.project-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.5s var(--ease); }
.project-media--contain img { object-fit: contain; }
.project-card:hover .project-media img { transform: scale(1.04); }
.project-body { display: flex; flex-direction: column; gap: var(--sp-4); flex: 1; min-width: 0; padding: clamp(1rem, 2vw, 1.5rem); }
.project-card .service-title { margin: 0; font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.3; text-wrap: balance; overflow-wrap: anywhere; }
.project-card .service-desc { min-width: 0; font-size: clamp(0.875rem, 0.6vw + 0.72rem, 0.98rem); line-height: 1.75; text-wrap: pretty; overflow-wrap: anywhere; }
.project-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: auto; padding-top: var(--sp-2); }
.project-actions .btn { min-width: 0; }
.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;
  min-width: 0;
  padding: var(--sp-3); border-radius: var(--r);
  background: var(--glass); border: 1px solid var(--glass-border);
}
.project-card .metric-value { max-width: 100%; font-size: clamp(0.95rem, 1.1vw, 1.15rem); font-weight: 800; letter-spacing: -0.02em; text-align: center; overflow-wrap: anywhere; }
.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--blue { background: rgba(59,130,246,0.06); border-color: rgba(59,130,246,0.12); color: var(--blue); }
.badge--neutral { background: var(--glass); border-color: var(--glass-border); color: var(--fg-2); }
.badge--pending { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.2); color: #f59e0b; }
.badge--reviewing { background: rgba(14,165,233,0.08); border-color: rgba(14,165,233,0.2); color: #0ea5e9; }
.badge--quoted { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.2); color: #22c55e; }
.badge--emerald { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.2); color: #10b981; }
.badge--rejected { background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.2); color: #ef4444; }
.badge--gray { background: rgba(107,114,128,0.08); border-color: rgba(107,114,128,0.2); color: #6b7280; }
.badge--amber { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.2); color: #f59e0b; }
.badge--in_progress { background: rgba(59,130,246,0.08); border-color: rgba(59,130,246,0.2); color: #3b82f6; }
.badge--waiting { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.2); color: #f59e0b; }
.badge--resolved { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.2); color: #22c55e; }

@media (max-width: 900px) {
  .split, .contact-layout { grid-template-columns: 1fr; gap: var(--sp-8); }
  .split-media { aspect-ratio: 16/10; max-height: 460px; }
  .akira-whatsapp { grid-template-columns: minmax(120px, 180px) minmax(0, 1fr); }
  .akira-whatsapp > .btn { grid-column: 2; justify-self: start; }
}

@media (max-width: 640px) {
  .project-card:hover { transform: none; }
}

@media (max-width: 480px) {
  .project-body { padding: var(--sp-4); }
  .project-actions .btn { flex: 1 1 100%; }
  .project-card .metric-grid { gap: var(--sp-2); }
  .project-card .metric { padding: var(--sp-2); }
  .akira-spotlight__card { padding: var(--sp-4); }
  .akira-spotlight__actions { flex-direction: column; }
  .akira-spotlight__actions .btn { width: 100%; }
  .akira-whatsapp { grid-template-columns: minmax(0, 1fr); }
  .akira-whatsapp > img { max-height: 180px; }
  .akira-whatsapp > .btn { grid-column: 1; justify-self: stretch; }
}

/* ══ SEPARATOR ══ */

/* ══ TECH BADGE ══ */
.tech-badges { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* ══ 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); }

/* Social Feed Composer */
.social-composer {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl);
  padding: 18px 20px 14px;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.social-composer-header {
  display: flex; align-items: center; gap: 12px;
}
.social-composer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
}
.social-composer-subtitle {
  font-size: 0.75rem;
  color: var(--fg-3);
  margin-top: 2px;
}
.social-composer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  color: var(--fg-2);
  font-size: 0.75rem;
}
.social-composer-actions span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
}

/* Notifications */
.nav-notification-wrap { position: relative; }
.nav-notification-toggle { position: relative; }
.nav-notification-badge {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 0 0 2px var(--bg);
}
.nav-notification-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(320px, 86vw);
  background: var(--bg-2);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.2);
  padding: 10px;
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.1s ease, transform 0.1s ease;
  z-index: 120;
}
.nav-notification-panel.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-notification-header {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem;
  color: var(--fg-2);
  padding: 8px 10px 12px;
  border-bottom: 1px solid var(--glass-border);
}
.nav-notification-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  transition: background 0.2s ease;
}
.nav-notification-item + .nav-notification-item { margin-top: 4px; }
.nav-notification-item:hover { background: var(--bg-muted); }
.nav-notification-item.unread { background: rgba(6,182,212,0.06); }
.nav-notification-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan-l); margin-top: 7px; flex-shrink: 0;
}
.nav-notification-item strong {
  display: block; font-size: 0.76rem; color: var(--fg);
  line-height: 1.4;
}
.nav-notification-item small {
  display: block; font-size: 0.68rem; color: var(--fg-3); margin-top: 4px;
}
.nav-notification-all {
  display: block; text-align: center; text-decoration: none;
  color: var(--cyan-l); font-size: 0.75rem; font-weight: 700; padding: 10px 8px 4px;
}

[data-theme="dark"] .nav-notification-panel {
  background: rgba(12, 17, 27, 0.96);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

[data-theme="dark"] .nav-notification-item:hover { background: rgba(255,255,255,0.03); }

/* Social profile card */
.xfeed-profile-card {
  overflow: hidden;
  padding: 0;
}
.xfeed-profile-cover {
  height: 78px;
  background: linear-gradient(135deg, rgba(6,182,212,0.25), rgba(168,85,247,0.28));
}
.xfeed-profile-main {
  padding: 0 18px;
  margin-top: -24px;
}
.xfeed-profile-avatar {
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
  border: 3px solid var(--bg-2);
  overflow: hidden;
  font-size: 1rem; font-weight: 800; color: white;
}
.xfeed-profile-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.xfeed-profile-info {
  margin-top: 12px;
}
.xfeed-profile-info h4 {
  margin: 0; font-size: 1rem; color: var(--fg);
}
.xfeed-profile-info p {
  margin: 4px 0 0; color: var(--fg-3); font-size: 0.75rem;
}
.xfeed-profile-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; padding: 16px 18px 10px;
}
.xfeed-profile-stats div {
  display: flex; flex-direction: column; gap: 4px;
  text-align: center; padding: 10px 8px; border-radius: 12px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border);
}
.xfeed-profile-stats strong {
  font-size: 0.9rem; color: var(--fg);
}
.xfeed-profile-stats span {
  font-size: 0.66rem; color: var(--fg-3);
}

/* 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; min-width: 0; }
.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-shell { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-copy { text-align: center; max-width: 100%; }
  .hero-copy .badge { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; }
  .hero-proof-row { justify-content: center; }
  .hero-visual { min-height: 380px; }
  .dashboard-panel { width: min(100%, 360px); }
  .dashboard-panel { padding: 14px; border-radius: 22px; }
  .metric-row { gap: 8px; }
  .metric-card { padding: 13px 12px; border-radius: 15px; }
  .metric-label { font-size: 0.63rem; letter-spacing: 0.05em; }
  .metric-card small { font-size: 0.61rem; }
  .chart-block { padding: 13px; }
  .chart-period { font-size: 0.58rem; }
  .pipeline-head { margin-top: 1rem; }
  .pipeline-status { font-size: 0.58rem; }
  .floating-badge { position: static; transform: none; margin-top: 1rem; white-space: normal; text-align: center; }
  .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; }
  .hero-shell { grid-template-columns: 1fr; align-items: start; }
  .hero-copy { text-align: center; max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 400px; }
  .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); }
  .nav-inner { width: 100%; }
  .nav-logo { max-width: calc(100% - 92px); overflow: hidden; }
  .nav-logo > div { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .hero-shell { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; max-width: 100%; }
  .hero-actions { justify-content: center; }
}

/* 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; }
  .se-typing-dot { animation: none; }
  .chat-fab-ping { animation: none; }
  .chat-welcome-icon { animation: none; }
  .dotPulse { animation: none; }
}

/* ══ FONT DISPLAY ══ */
/* Ensure web fonts display quickly */
@font-face {
  font-family: 'Inter';
  font-display: swap;
  src: local('Inter');
}

/* ══ 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;
  right: 24px;
  bottom: 100px;
  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: rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-xl, 24px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.chat-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* 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);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  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: -9999px; 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-card form { display: flex; flex-direction: column; gap: 20px; }
.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-alert--warning { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2); color: var(--amber); }
.auth-alert--info { background: rgba(6,182,212,0.08); border: 1px solid rgba(6,182,212,0.2); color: var(--cyan-l); }
.auth-alert--error { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); color: var(--red); }

.auth-password-field { position: relative; }
.auth-password-field .form-input { padding-right: 84px; width: 100%; }
.auth-password-toggle {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  min-width: 64px; min-height: 36px; padding: 6px 8px; border-radius: var(--r-sm);
  color: var(--cyan-l); font-size: 0.75rem; font-weight: 700;
}
.auth-password-toggle:hover { background: var(--glass); }

.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; }
}

/* ═══ CHECKOUT V2 ═══ */
@keyframes checkoutFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes checkoutPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}
@keyframes checkoutGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(6,182,212,0.15); }
  50% { box-shadow: 0 0 40px rgba(6,182,212,0.25); }
}
@keyframes checkoutShine {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes checkoutStepPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6,182,212,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(6,182,212,0); }
}
@keyframes checkoutSuccessPop {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.checkout-v2 {
  min-height: 100vh; min-height: 100dvh; min-height: 100svh;
  display: grid; grid-template-columns: 440px 1fr;
  background: var(--bg);
}

/* ── SIDEBAR ── */
.checkout-v2__sidebar {
  position: relative; display: flex; flex-direction: column;
  padding: 48px 40px; overflow: hidden;
  border-right: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(6,182,212,0.03) 0%, rgba(168,85,247,0.02) 50%, transparent 100%);
}
.checkout-v2__sidebar-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 32px 32px; opacity: 0.25;
}
.checkout-v2__sidebar-content { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }

.checkout-v2__logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 40px;
}

/* Steps */
.checkout-v2__steps {
  display: flex; align-items: center; gap: 0; margin-bottom: 40px;
}
.checkout-v2__step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.checkout-v2__step-dot {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  background: var(--bg-3); border: 1.5px solid var(--border);
  color: var(--fg-3); transition: all 0.3s var(--ease);
}
.checkout-v2__step span { font-size: 0.7rem; color: var(--fg-3); font-weight: 500; }
.checkout-v2__step--done .checkout-v2__step-dot {
  background: var(--green); border-color: var(--green); color: #fff;
}
.checkout-v2__step--done span { color: var(--green); }
.checkout-v2__step--active .checkout-v2__step-dot {
  background: var(--cyan); border-color: var(--cyan); color: #fff;
  animation: checkoutStepPulse 2s ease-in-out infinite;
}
.checkout-v2__step--active span { color: var(--cyan); font-weight: 600; }
.checkout-v2__step-line {
  flex: 1; height: 2px; background: var(--border); margin: 0 -4px; margin-bottom: 22px;
}
.checkout-v2__step-line--done { background: var(--green); }

/* Plan Card */
.checkout-v2__plan-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border-radius: var(--r-xl);
  background: var(--bg-2); border: 1px solid var(--border);
  margin-bottom: 32px;
}
.checkout-v2__plan-icon {
  width: 52px; height: 52px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(6,182,212,0.1), rgba(168,85,247,0.1));
  border: 1px solid rgba(6,182,212,0.15);
}
.checkout-v2__plan-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.checkout-v2__plan-price-row { display: flex; align-items: baseline; gap: 4px; }
.checkout-v2__plan-price { font-size: 1.3rem; font-weight: 800; color: var(--cyan-l); }
.checkout-v2__plan-currency { font-size: 0.85rem; font-weight: 600; color: var(--fg-2); }
.checkout-v2__plan-usd { font-size: 0.8rem; color: var(--fg-3); margin-top: 2px; }

/* Features */
.checkout-v2__features { flex: 1; margin-bottom: 32px; }
.checkout-v2__features h4 {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--fg-3); margin-bottom: 16px;
}
.checkout-v2__feature {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; font-size: 0.88rem; color: var(--fg-2);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  animation: checkoutFadeUp 0.4s ease both;
}
.checkout-v2__feature:last-child { border-bottom: none; }
.checkout-v2__feature-check {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34,197,94,0.1); color: var(--green); flex-shrink: 0;
}

/* Trust */
.checkout-v2__trust {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.checkout-v2__trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.78rem; color: var(--fg-3);
}
.checkout-v2__trust-item svg { color: var(--green); flex-shrink: 0; }

/* ── MAIN ── */
.checkout-v2__main {
  display: flex; align-items: center; justify-content: center;
  padding: 48px 40px; position: relative; overflow-y: auto;
}
.checkout-v2__main-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.checkout-v2__main-bg::before {
  content: ''; position: absolute;
  width: 400px; height: 400px; top: -10%; right: -5%;
  border-radius: 50%; filter: blur(100px);
  background: rgba(6,182,212,0.05);
  animation: authOrb 20s ease-in-out infinite;
}
.checkout-v2__main-bg::after {
  content: ''; position: absolute;
  width: 350px; height: 350px; bottom: -10%; left: -5%;
  border-radius: 50%; filter: blur(100px);
  background: rgba(168,85,247,0.04);
  animation: authOrb 20s ease-in-out infinite reverse;
}

.checkout-v2__card {
  width: 100%; max-width: 440px; position: relative; z-index: 1;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl);
  padding: 40px;
  backdrop-filter: blur(24px);
  box-shadow: 0 25px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.05) inset;
}

/* Header */
.checkout-v2__header { text-align: center; margin-bottom: 32px; }
.checkout-v2__header-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: var(--r-full);
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.12);
  color: var(--green); margin-bottom: 16px;
}
.checkout-v2__header h1 {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.checkout-v2__header p { font-size: 0.88rem; color: var(--fg-2); }

/* Alerts */
.checkout-v2__alert {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--r-lg);
  font-size: 0.85rem; margin-bottom: 20px;
  animation: checkoutFadeUp 0.3s ease;
}
.checkout-v2__alert--error {
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2);
  color: var(--red);
}
.checkout-v2__alert--success {
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2);
  color: var(--green);
}

/* Methods */
.checkout-v2__methods { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.checkout-v2__method {
  padding: 18px; border-radius: var(--r-xl);
  background: var(--bg-2); border: 1.5px solid var(--border);
  transition: all 0.3s var(--ease); cursor: default;
}
.checkout-v2__method:hover {
  border-color: var(--border-2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.checkout-v2__method-head {
  display: flex; align-items: center; gap: 12px;
}
.checkout-v2__method-icon {
  width: 44px; height: 44px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform 0.3s var(--ease);
}
.checkout-v2__method:hover .checkout-v2__method-icon { transform: scale(1.08); }
.checkout-v2__method-icon--paypal { background: rgba(0,112,186,0.1); color: #0070ba; }
.checkout-v2__method-icon--card { background: rgba(168,85,247,0.1); color: var(--purple); }
.checkout-v2__method-icon--bank { background: rgba(34,197,94,0.1); color: var(--green); }
.checkout-v2__method-text { flex: 1; }
.checkout-v2__method-text strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.checkout-v2__method-text span { font-size: 0.75rem; color: var(--fg-3); }
.checkout-v2__method-badge {
  padding: 3px 10px; border-radius: var(--r-full);
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff; letter-spacing: 0.04em;
}
.checkout-v2__method-cards { display: flex; gap: 4px; }
.checkout-v2__method-body { margin-top: 14px; }

.checkout-v2__method-unavailable {
  display: flex; align-items: center; gap: 8px;
  padding: 16px; text-align: center; justify-content: center;
  font-size: 0.82rem; color: var(--fg-3);
  background: var(--bg-3); border-radius: var(--r-lg);
}

/* Divider */
.checkout-v2__divider {
  display: flex; align-items: center; gap: 12px; margin: 2px 0;
}
.checkout-v2__divider::before, .checkout-v2__divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.checkout-v2__divider span {
  font-size: 0.7rem; color: var(--fg-3); text-transform: uppercase;
  letter-spacing: 0.06em; font-weight: 500;
}

/* Bank details */
.checkout-v2__bank-details {
  padding: 14px; background: var(--bg); border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.checkout-v2__bank-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.82rem;
}
.checkout-v2__bank-row:last-child { border-bottom: none; }
.checkout-v2__bank-label {
  width: 72px; flex-shrink: 0;
  font-weight: 600; color: var(--fg-3); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.checkout-v2__bank-value { color: var(--fg); font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.8rem; word-break: break-all; }
.checkout-v2__copy {
  margin-left: auto; padding: 4px 10px; border-radius: var(--r);
  font-size: 0.7rem; font-weight: 600; cursor: pointer;
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--cyan); transition: all 0.2s var(--ease); flex-shrink: 0;
}
.checkout-v2__copy:hover { background: var(--cyan); color: #fff; border-color: var(--cyan); }
.checkout-v2__bank-note {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 12px; padding: 10px; border-radius: var(--r);
  background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.12);
  font-size: 0.75rem; color: var(--amber); line-height: 1.5;
}
.checkout-v2__bank-note svg { flex-shrink: 0; margin-top: 1px; }

/* Form */
.checkout-v2__form { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.checkout-v2__input-group { display: flex; flex-direction: column; gap: 6px; }
.checkout-v2__label { font-size: 0.78rem; font-weight: 600; color: var(--fg-2); }
.checkout-v2__input {
  width: 100%; padding: 12px 16px; border-radius: var(--r-lg);
  background: var(--bg); border: 1.5px solid var(--border);
  color: var(--fg); font-size: 0.9rem; font-family: inherit;
  transition: all 0.25s var(--ease); outline: none;
}
.checkout-v2__input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6,182,212,0.1); }
.checkout-v2__input::placeholder { color: var(--fg-3); }
.checkout-v2__textarea { resize: vertical; min-height: 80px; }

/* Buttons */
.checkout-v2__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--r-lg);
  font-size: 0.88rem; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: all 0.3s var(--ease);
  border: 1.5px solid transparent; text-decoration: none;
  position: relative; overflow: hidden;
}
.checkout-v2__btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  background-size: 200% 100%; opacity: 0; transition: opacity 0.3s;
}
.checkout-v2__btn:hover::before { opacity: 1; animation: checkoutShine 0.8s ease; }
.checkout-v2__btn--primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 20px rgba(6,182,212,0.3);
}
.checkout-v2__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(6,182,212,0.4);
}
.checkout-v2__btn--primary:active { transform: translateY(0); }
.checkout-v2__btn--full { width: 100%; }
.checkout-v2__btn--lg { padding: 16px 28px; font-size: 0.95rem; }

/* Footer */
.checkout-v2__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; border-top: 1px solid var(--border);
  margin-top: 24px;
}
.checkout-v2__back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: var(--fg-3);
  text-decoration: none; transition: color 0.2s;
}
.checkout-v2__back:hover { color: var(--cyan); }
.checkout-v2__powered {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; color: var(--fg-3);
}

/* Success */
.checkout-v2__success { text-align: center; padding: 32px 0; }
.checkout-v2__success-ring {
  width: 96px; height: 96px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  background: rgba(34,197,94,0.08); border: 2px solid rgba(34,197,94,0.2);
  animation: checkoutSuccessPop 0.5s var(--ease);
}
.checkout-v2__success-ring--warn {
  background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.2);
}
.checkout-v2__success h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.checkout-v2__success p { font-size: 0.9rem; color: var(--fg-2); margin-bottom: 28px; line-height: 1.6; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .checkout-v2 { grid-template-columns: 1fr; }
  .checkout-v2__sidebar {
    display: none;
  }
  .checkout-v2__main { padding: 100px 20px 60px; }
  .checkout-v2__card { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .checkout-v2__card { padding: 28px 18px; }
  .checkout-v2__method { padding: 14px; }
  .checkout-v2__method-icon { width: 38px; height: 38px; }
  .checkout-v2__bank-row { flex-wrap: wrap; }
  .checkout-v2__bank-value { width: 100%; }
  .checkout-v2__footer { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── LIGHT MODE ── */
[data-theme="light"] .checkout-v2__sidebar {
  border-right-color: rgba(0,0,0,0.06);
  background: linear-gradient(160deg, rgba(0,140,180,0.03), rgba(120,40,180,0.02), transparent);
}
[data-theme="light"] .checkout-v2__card {
  background: rgba(255,255,255,0.88);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 25px 80px rgba(0,0,0,0.08);
}
[data-theme="light"] .checkout-v2__method {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .checkout-v2__method:hover {
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
[data-theme="light"] .checkout-v2__plan-card {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .checkout-v2__bank-details {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .checkout-v2__input {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .checkout-v2__copy {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .checkout-v2__main-bg::before { background: rgba(0,140,180,0.04); }
[data-theme="light"] .checkout-v2__main-bg::after { background: rgba(120,40,180,0.03); }

/* ═══ SECTION SEPARATOR ═══ */
.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-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 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"] .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);
}
/* Light mode: mobile drawer */
@media (max-width: 768px) {
  [data-theme="light"] .nav-links { background: #fff; border-right-color: rgba(0,0,0,0.08); }
  [data-theme="light"] .nav-drawer-header { background: #fff; border-bottom-color: rgba(0,0,0,0.08); }
  [data-theme="light"] .nav-mega { background: #f8f9fa; }
  [data-theme="light"] .nav-mega.open { border-top-color: rgba(0,0,0,0.08); }
  [data-theme="light"] .nav-dropdown { background: #f8f9fa; }
  [data-theme="light"] .nav-dropdown.open { background: #f8f9fa; }
  [data-theme="light"] .nav-mobile-auth { background: #fff; border-top-color: rgba(0,0,0,0.08); }
}

@media (max-width: 900px) {
  .auth-page { display: block; min-height: calc(100dvh - 60px); padding-top: 60px; }
  .auth-brand { display: block; padding: 28px 20px 18px; min-height: 0; }
  .auth-brand__logo { margin-bottom: 18px; }
  .auth-brand__title { font-size: 1.65rem; margin-bottom: 8px; }
  .auth-brand__desc { font-size: 0.88rem; margin-bottom: 0; }
  .auth-brand__benefits { display: none; }
  .auth-form-side { padding: 20px 16px 40px; min-height: 0; }
  .auth-form-card { max-width: 520px; padding: 28px 22px; border-radius: var(--r-xl); }
  .auth-orbs { opacity: 0.35; }
  body.auth-route .chat-fab { display: none; }
}

@media (max-width: 480px) {
  .auth-brand { padding-inline: 16px; }
  .auth-form-side { padding-inline: 12px; }
  .auth-form-card { padding: 24px 16px; }
  .auth-form-header { margin-bottom: 24px; }
}

@media (max-width: 768px) {
  .auth-form-card, .nav-links, .chat-panel { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero-orb, .auth-orb { animation: none; filter: blur(40px); }
  .card-3d { transform: none !important; }
}
[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: row; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); text-align: left; }
  .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; }
  .pricing-process-grid { grid-template-columns: 1fr; }
  .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 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; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@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; }
}/* -- OR�AMENTO WIZARD � SoftEdge 2026 -- */
.orc-hero { position:relative; overflow:hidden; }
.orc-trust { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-top:28px; }
.orc-trust-item { display:inline-flex; align-items:center; gap:8px; padding:10px 18px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.08); backdrop-filter:blur(10px); border-radius:99px; font-size:0.82rem; font-weight:600; color:var(--fg); }
.orc-trust-item svg { color:var(--green); flex-shrink:0; }
[data-theme="light"] .orc-trust-item { background:rgba(255,255,255,0.85); border-color:rgba(0,0,0,0.06); box-shadow:0 4px 12px rgba(0,0,0,0.06); }
.orc-section { padding-top:32px; }
.orc-stepper { display:flex; align-items:center; justify-content:center; gap:0; max-width:560px; margin:0 auto 36px; }
.orc-step { display:flex; flex-direction:column; align-items:center; gap:8px; flex:1; opacity:0.45; transition:all 0.3s var(--ease); }
.orc-step.active { opacity:1; }
.orc-step.done { opacity:0.8; }
.orc-step-num { width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:0.85rem; background:var(--bg-3); border:1px solid var(--border); color:var(--fg-2); transition:all 0.3s; }
.orc-step.active .orc-step-num { background:linear-gradient(135deg,var(--cyan-l),var(--blue)); color:#fff; border-color:transparent; box-shadow:0 4px 14px rgba(6,182,212,0.35); }
.orc-step.done .orc-step-num { background:rgba(34,197,94,0.15); color:var(--green); border-color:rgba(34,197,94,0.3); }
.orc-step-label { font-size:0.72rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--fg-2); }
.orc-step.active .orc-step-label { color:var(--fg); }
.orc-step-connector { flex:1; height:1px; background:var(--border); margin:0 8px 18px; position:relative; overflow:hidden; }
.orc-step.done + .orc-step-connector, .orc-step.active + .orc-step-connector { background:rgba(34,197,94,0.3); }
.orc-form { max-width:920px; margin:0 auto; }
.orc-card { padding:32px; border-radius:var(--r-2xl); background:rgba(18,18,28,0.55); border:1px solid rgba(255,255,255,0.08); backdrop-filter:blur(20px); box-shadow:0 8px 32px rgba(0,0,0,0.35); }
[data-theme="light"] .orc-card { background:rgba(255,255,255,0.88); border-color:rgba(0,0,0,0.06); box-shadow:0 8px 28px rgba(15,23,42,0.08); }
.orc-card-header { margin-bottom:24px; padding-bottom:16px; border-bottom:1px solid var(--border); }
.orc-card-header .heading-sm { margin:0 0 6px; }
.orc-step-panel { animation:fadeIn 0.35s var(--ease); }
.orc-service-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
@media(max-width:640px){ .orc-service-grid{grid-template-columns:1fr;} }
.orc-service-card { position:relative; display:flex; flex-direction:column; align-items:center; text-align:center; padding:24px 18px; border-radius:16px; border:1px solid var(--border); background:rgba(255,255,255,0.02); cursor:pointer; transition:all 0.25s var(--ease); }
.orc-service-card:hover { border-color:rgba(6,182,212,0.3); transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,0.15); }
.orc-service-card.selected, .orc-service-card:has(input:checked) { border-color:var(--cyan-l); background:rgba(6,182,212,0.08); box-shadow:0 8px 24px rgba(6,182,212,0.15); }
.orc-service-card input { position:absolute; opacity:0; pointer-events:none; }
.orc-service-card.has-error { border-color:var(--red); box-shadow:0 0 0 2px rgba(239,68,68,0.15); }
.orc-service-icon { width:56px; height:56px; border-radius:14px; display:flex; align-items:center; justify-content:center; margin-bottom:14px; box-shadow:0 4px 14px rgba(0,0,0,0.18); }
.orc-service-name { font-size:0.92rem; font-weight:700; color:var(--fg); margin-bottom:6px; }
.orc-service-desc { font-size:0.78rem; color:var(--fg-2); line-height:1.5; }
.orc-service-card--wide { grid-column:1 / -1; flex-direction:row; text-align:left; gap:18px; padding:20px 22px; }
.orc-service-card--wide .orc-service-icon { margin-bottom:0; }
@media(max-width:640px){ .orc-service-card--wide{flex-direction:column; text-align:center;} }
.orc-textarea { min-height:140px; resize:vertical; line-height:1.6; }
.form-hint { font-size:0.72rem; color:var(--fg-2); margin-top:6px; display:flex; justify-content:space-between; }
.form-hint-inline { font-weight:400; text-transform:none; letter-spacing:0; font-size:0.7rem; opacity:0.7; }
.orc-actions { display:flex; align-items:center; gap:12px; margin-top:28px; padding-top:20px; border-top:1px solid var(--border); }
.orc-review-grid { display:grid; grid-template-columns:1fr; gap:16px; }
.orc-review-section { background:rgba(255,255,255,0.03); border:1px solid var(--border); border-radius:12px; padding:18px; }
[data-theme="light"] .orc-review-section { background:#f8fafc; }
.orc-review-section-title { font-size:0.7rem; font-weight:800; letter-spacing:0.08em; text-transform:uppercase; color:var(--cyan-l); margin-bottom:12px; }
.orc-review-row { display:flex; justify-content:space-between; padding:7px 0; border-bottom:1px solid var(--border); font-size:0.84rem; }
.orc-review-row:last-child{border-bottom:none;}
.orc-review-row span{ color:var(--fg-2); }
.orc-review-row strong{ color:var(--fg); font-weight:600; max-width:60%; text-align:right; word-break:break-word; }
.orc-review-desc { margin-top:10px; padding:10px 12px; background:var(--bg-1); border-radius:8px; font-size:0.84rem; color:var(--fg-2); line-height:1.6; }
.orc-final-note { display:flex; gap:12px; padding:16px; background:rgba(6,182,212,0.06); border:1px solid rgba(6,182,212,0.12); border-radius:12px; margin-top:18px; }
.orc-final-note svg{ color:var(--cyan-l); flex-shrink:0; margin-top:1px; }
.orc-final-note p{ font-size:0.84rem; color:var(--fg-2); line-height:1.6; margin:0; }
.orc-success { text-align:center; padding:56px 32px; background:rgba(18,18,28,0.55); border:1px solid rgba(255,255,255,0.08); backdrop-filter:blur(20px); border-radius:24px; max-width:760px; margin:0 auto; }
[data-theme="light"] .orc-success{ background:rgba(255,255,255,0.9); border-color:rgba(0,0,0,0.06); box-shadow:0 12px 40px rgba(15,23,42,0.08); }
.orc-success-icon{ width:80px; height:80px; border-radius:50%; margin:0 auto 20px; display:flex; align-items:center; justify-content:center; background:rgba(34,197,94,0.12); color:var(--green); border:1px solid rgba(34,197,94,0.2); }
.orc-success-num{ display:inline-flex; flex-direction:column; align-items:center; margin:20px 0 28px; padding:16px 32px; background:var(--bg-1); border:1px solid var(--border); border-radius:14px; }
.orc-success-num .label{ font-size:0.7rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--fg-2); font-weight:700; }
.orc-success-num .num{ font-size:1.35rem; font-weight:800; color:var(--cyan-l); letter-spacing:-0.02em; margin-top:4px; }
.orc-success-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:28px 0; text-align:left; }
@media(max-width:640px){ .orc-success-grid{grid-template-columns:1fr;} }
.orc-success-card{ padding:18px; background:rgba(255,255,255,0.02); border:1px solid var(--border); border-radius:14px; }
[data-theme="light"] .orc-success-card{ background:#f8fafc; }
.orc-success-card .num{ width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--cyan-l); color:#fff; font-weight:800; font-size:0.85rem; margin-bottom:10px; }
.orc-success-card h4{ font-size:0.88rem; font-weight:700; color:var(--fg); margin-bottom:6px; }
.orc-success-card p{ font-size:0.78rem; color:var(--fg-2); line-height:1.5; margin:0; }
.orc-success-cta{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:24px; }
.orc-features-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
@media(max-width:1024px){ .orc-features-grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:640px){ .orc-features-grid{grid-template-columns:1fr;} }
.orc-feature{ text-align:center; padding:24px 16px; }
.orc-feature-icon{ width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; }
.orc-feature h3{ font-size:0.95rem; font-weight:700; color:var(--fg); margin-bottom:8px; }
.orc-feature p{ font-size:0.82rem; color:var(--fg-2); line-height:1.6; }
.input-error{ border-color:var(--red) !important; box-shadow:0 0 0 2px rgba(239,68,68,0.15) !important; }
.orc-alert{ max-width:920px; margin:0 auto 16px; }
.orc-features-section{ background:rgba(255,255,255,0.02); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
[data-theme="light"] .orc-features-section{ background:#f8fafc; }

/* FOOTER MOBILE HORIZONTAL FIX */
@media (max-width: 768px) {
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
  .footer-link { min-height: auto; padding: 4px 0; }
  .footer-col-title { margin-bottom: 12px; }
}
@media (max-width: 480px) {
  .footer { padding: 32px 0 calc(24px + env(safe-area-inset-bottom)); }
  .footer .container { width: 100%; padding-inline: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 24px !important; }
  .footer-brand { min-width: 0 !important; max-width: none; }
  .footer-brand-desc { max-width: 38ch !important; font-size: .84rem; }
  .footer-links { flex-direction: column; gap: 8px; }
  .footer-link { min-width: 0; max-width: 100%; overflow-wrap: anywhere; line-height: 1.45; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 8px; }
  .footer-bottom span { align-items: flex-start; line-height: 1.5; }
}

  /* Fixed UI layers must stay out of the document flow above the neural canvas. */
  #mainNav,
  .chat-fab,
  .chat-overlay,
  .chat-panel {
    position: fixed !important;
  }

/* ══════════════════════════════════════════════ */
/*  POLISH PASS 2026 — refinements finais         */
/* ══════════════════════════════════════════════ */

/* Native controls (scrollbars/inputs/selects) follow the active theme —
   removes the classic "white control in dark mode" flash. */
html { color-scheme: dark; scrollbar-gutter: stable; }
[data-theme="light"] { color-scheme: light; }

/* Typographic refinement: balanced line breaks on headings, widows on body. */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }

/* Kill the tap-highlight flash on mobile + cleaner search inputs on Safari. */
* { -webkit-tap-highlight-color: transparent; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/* Autofill repaint in brand colors (Chrome/Safari yellow-box fix). */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--fg);
  transition: background-color 999999s ease-in-out 0s;
  caret-color: var(--fg);
  box-shadow: 0 0 0 1000px var(--bg-2) inset;
}
[data-theme="light"] input:-webkit-autofill,
[data-theme="light"] input:-webkit-autofill:hover,
[data-theme="light"] input:-webkit-autofill:focus,
[data-theme="light"] input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--fg);
  box-shadow: 0 0 0 1000px var(--bg-1) inset;
}

/* Password/visibility toggles align with the input rounding. */
.auth-password-toggle { border-radius: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.auth-password-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }

@media (pointer: coarse), (max-width: 768px) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-orb,
  .auth-orb {
    filter: none;
  }

  .footer {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .section--alt {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* ══ STORE / PURCHASE FLOW ══ */
.store-container { max-width: 1160px; }
.store-page, .store-product-page, .store-cart-page { min-height: 60vh; }
.store-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: clamp(24px, 5vw, 52px);
  margin-bottom: 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(6,182,212,0.12), transparent 46%),
    linear-gradient(135deg, var(--bg-2), var(--bg));
}
.store-hero h1 { margin: 18px 0 10px; }
.store-hero p { max-width: 640px; margin: 0; line-height: 1.7; }
.store-hero__note {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding: 14px 18px;
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--r-lg);
  background: rgba(34,197,94,0.06);
  color: var(--fg-2);
  font-size: .82rem;
  line-height: 1.5;
}
.store-hero__note strong { color: var(--fg); }
.store-hero__note-icon, .store-empty__icon, .store-order-success__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--green);
}
.store-hero__note-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  font-weight: 800;
}
.store-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.store-categories, .store-toolbar__actions, .store-empty__actions, .store-order-success__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.store-category {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--fg-2);
  background: var(--bg-2);
  font-size: .8rem;
  font-weight: 650;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.store-category:hover, .store-category.is-active {
  color: var(--fg);
  border-color: rgba(6,182,212,.45);
  background: rgba(6,182,212,.1);
}
.store-category.is-active { color: var(--cyan-l); }
.store-result-count { color: var(--fg-3); font-size: .8rem; }
.store-cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 5px;
  padding: 0 5px;
  border-radius: var(--r-full);
  background: rgba(6,182,212,.15);
  color: var(--cyan-l);
  font-size: .72rem;
  font-weight: 800;
}
.store-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(30px, 6vw, 64px) 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  background: linear-gradient(145deg, var(--bg-2), var(--bg));
  text-align: center;
}
.store-empty__icon {
  width: 68px;
  height: 68px;
  margin-bottom: 4px;
  border: 1px solid rgba(6,182,212,.18);
  border-radius: 22px;
  background: rgba(6,182,212,.08);
  color: var(--cyan-l);
}
.store-eyebrow {
  margin: 0;
  color: var(--cyan-l);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.store-empty h2, .store-order-success h2 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  letter-spacing: -.03em;
}
.store-empty > p:not(.store-eyebrow) { max-width: 620px; margin: 0; line-height: 1.7; }
.store-empty__actions { justify-content: center; margin-top: 8px; }
.store-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 20px;
}
.store-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-2);
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.store-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(6,182,212,.3);
  box-shadow: var(--shadow-lg);
}
.store-product-card__media {
  display: grid;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  place-items: center;
  background: var(--bg-1);
  color: var(--cyan-l);
}
.store-product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.store-product-card:hover .store-product-card__media img { transform: scale(1.025); }
.store-product-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--cyan-l); }
.store-product-card__content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 11px; padding: 19px; }
.store-product-card__category {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid rgba(6,182,212,.2);
  border-radius: var(--r-full);
  background: rgba(6,182,212,.08);
  color: var(--cyan-l);
  font-size: .68rem;
  font-weight: 750;
}
.store-product-card h2 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.store-product-card h2 a { color: var(--fg); text-decoration: none; }
.store-product-card h2 a:hover { color: var(--cyan-l); }
.store-product-card__content > p { min-height: 2.8em; margin: 0; font-size: .84rem; line-height: 1.6; }
.store-product-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: auto; }
.store-product-card__price strong { color: var(--fg); font-size: 1.1rem; }
.store-product-card__price del, .store-product-info__price del { color: var(--fg-3); font-size: .8rem; }
.store-product-card__tier { color: var(--fg-3); font-size: .74rem; }
.store-product-card .btn { width: 100%; justify-content: center; margin-top: 3px; }
.store-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; color: var(--fg-3); font-size: .82rem; }
.store-breadcrumb a { color: var(--cyan-l); text-decoration: none; }
.store-breadcrumb a:hover { text-decoration: underline; }
.store-product-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: clamp(24px, 5vw, 58px); align-items: start; }
.store-product-media {
  display: grid;
  min-height: 320px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  background: var(--bg-2);
  color: var(--cyan-l);
}
.store-product-media > img { width: 100%; height: 100%; object-fit: cover; }
.store-product-info { min-width: 0; }
.store-product-info h1 { margin: 12px 0; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.12; letter-spacing: -.04em; }
.store-product-info__description { color: var(--fg-2); line-height: 1.75; }
.store-product-info__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 22px 0; }
.store-product-info__price strong { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 850; letter-spacing: -.04em; }
.store-tier-card, .store-purchase-panel, .store-product-details {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-2);
}
.store-tier-card { margin-bottom: 14px; }
.store-tier-card h2, .store-product-details h2 { margin: 0 0 12px; font-size: 1rem; }
.store-tier-list { display: grid; gap: 9px; }
.store-tier-list > div { display: flex; justify-content: space-between; gap: 12px; color: var(--fg-2); font-size: .82rem; }
.store-tier-list strong { color: var(--green); text-align: right; }
.store-tax-note, .store-payment-hint, .store-form-hint, .store-summary-note { color: var(--fg-3); font-size: .76rem; line-height: 1.6; }
.store-stock-note { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; color: var(--green); font-size: .8rem; font-weight: 700; }
.store-stock-note__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,.12); }
.store-purchase-panel > p:first-child { margin: 0 0 14px; color: var(--fg-2); font-size: .86rem; line-height: 1.55; }
.store-add-form { display: grid; gap: 9px; }
.store-add-form > label { color: var(--fg-2); font-size: .78rem; font-weight: 700; }
.store-add-form__actions { display: flex; gap: 10px; }
.store-add-form__actions input { width: 90px; }
.store-add-form__actions .btn { flex: 1; justify-content: center; }
.store-purchase-panel .store-payment-hint { margin: 13px 0 0; }
.store-product-details { margin-top: 32px; }
.store-product-details > div { line-height: 1.75; }
.store-cart-header { margin-bottom: 24px; }
.store-cart-header h1 { margin: 14px 0 8px; }
.store-cart-header > p:last-child { margin: 0; }
.store-checkout-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 22px; }
.store-checkout-progress > div { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r); color: var(--fg-3); background: var(--bg-2); font-size: .78rem; }
.store-checkout-progress > div > span { display: grid; width: 26px; height: 26px; flex: 0 0 auto; place-items: center; border: 1px solid var(--border-2); border-radius: 50%; font-size: .72rem; font-weight: 800; }
.store-checkout-progress .is-complete { color: var(--fg-2); }
.store-checkout-progress .is-complete > span { border-color: rgba(34,197,94,.35); background: rgba(34,197,94,.1); color: var(--green); }
.store-checkout-progress .is-current { border-color: rgba(6,182,212,.35); color: var(--cyan-l); }
.store-checkout-progress .is-current > span { border-color: transparent; background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #fff; }
.store-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 340px); gap: 22px; align-items: start; }
.store-cart-main { display: grid; gap: 16px; min-width: 0; }
.store-panel, .store-cart-summary__sticky, .store-order-success {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-2);
  box-shadow: var(--shadow);
}
.store-panel { min-width: 0; padding: clamp(16px, 3vw, 24px); }
.store-panel__heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; }
.store-panel__heading h2 { margin: 3px 0 0; font-size: 1.08rem; letter-spacing: -.02em; }
.store-panel__count { flex: 0 0 auto; color: var(--fg-3); font-size: .76rem; }
.store-cart-lines { display: grid; }
.cart-line { display: grid; grid-template-columns: 68px minmax(0, 1fr) 100px auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--border); }
.cart-line__image { display: grid; width: 68px; height: 62px; overflow: hidden; place-items: center; border-radius: var(--r); background: var(--bg-1); color: var(--cyan-l); font-size: .75rem; font-weight: 850; text-decoration: none; }
.cart-line__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__details { display: grid; gap: 5px; min-width: 0; }
.cart-line__name { overflow: hidden; color: var(--fg); font-size: .88rem; font-weight: 750; text-decoration: none; text-overflow: ellipsis; }
.cart-line__name:hover { color: var(--cyan-l); }
.cart-line__unit { color: var(--fg-3); font-size: .74rem; }
.cart-line__discount { color: var(--green); font-size: .7rem; }
.cart-line__quantity { display: grid; gap: 5px; color: var(--fg-2); font-size: .72rem; }
.cart-line__quantity input { width: 100%; min-width: 0; margin: 0; }
.cart-line__quantity small { color: var(--fg-3); font-size: .66rem; }
.cart-line__total { white-space: nowrap; font-size: .83rem; text-align: right; }
.store-panel__footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.store-panel__footer > a, .store-summary-back { color: var(--cyan-l); font-size: .78rem; font-weight: 700; text-decoration: none; }
.store-panel__footer > a:hover, .store-summary-back:hover { text-decoration: underline; }
.store-panel__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-ghost { border: 1px solid var(--border); background: transparent; color: var(--fg-2); }
.btn-ghost:hover { border-color: var(--border-2); color: var(--fg); }
.store-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.store-form-grid > label { display: grid; align-content: start; gap: 7px; color: var(--fg-2); font-size: .78rem; font-weight: 650; }
.store-form-grid__full { grid-column: 1 / -1; }
.store-form-grid .muted { font-size: .72rem; font-weight: 400; }
.store-form-hint { align-self: center; }
.store-inline-error { margin: 12px 0 0; color: var(--red); font-size: .8rem; }
.store-payment-methods { display: grid; gap: 9px; min-width: 0; margin: 20px 0; padding: 0; border: 0; }
.store-payment-methods legend { margin-bottom: 10px; color: var(--fg); font-size: .88rem; font-weight: 750; }
.store-payment-option { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; border: 1px solid var(--border); border-radius: var(--r); background: var(--bg-1); cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.store-payment-option:focus-within { border-color: rgba(6,182,212,.5); background: rgba(6,182,212,.07); }
.store-payment-option input { width: 17px; height: 17px; flex: 0 0 auto; margin: 0; accent-color: var(--cyan); }
.store-payment-option input:checked + .store-payment-option__content strong { color: var(--cyan-l); }
.store-payment-option__content { display: grid; flex: 1; gap: 4px; min-width: 0; }
.store-payment-option__content strong { color: var(--fg); font-size: .82rem; }
.store-payment-option__content small { color: var(--fg-3); font-size: .72rem; line-height: 1.5; }
.store-payment-option__tag { flex: 0 0 auto; padding: 4px 7px; border-radius: var(--r-full); background: rgba(34,197,94,.1); color: var(--green); font-size: .64rem; font-weight: 750; }
.profile-order-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-order-actions > .btn, .profile-order-actions form { flex: 1 1 180px; }
.profile-order-actions > .btn { justify-content: center; }
.profile-order-actions form .btn { width: 100%; justify-content: center; }
.store-cart-summary { min-width: 0; }
.store-cart-summary__sticky { position: sticky; top: 96px; padding: 20px; }
.store-summary-items { display: grid; gap: 11px; max-height: 220px; overflow: auto; margin: 0; padding: 0 0 16px; border-bottom: 1px solid var(--border); list-style: none; }
.store-summary-items li { display: flex; justify-content: space-between; gap: 12px; color: var(--fg-2); font-size: .73rem; line-height: 1.45; }
.store-summary-items li span { min-width: 0; }
.store-summary-items li strong { flex: 0 0 auto; color: var(--fg); font-size: .72rem; }
.store-summary-totals { display: grid; gap: 10px; margin: 15px 0; }
.store-summary-totals > div { display: flex; justify-content: space-between; gap: 12px; color: var(--fg-2); font-size: .78rem; }
.store-summary-totals dt, .store-summary-totals dd { margin: 0; }
.store-summary-totals dd { color: var(--fg); text-align: right; }
.store-summary-totals .is-discount, .store-summary-totals .is-discount dd { color: var(--green); }
.store-summary-totals__grand { margin-top: 3px; padding-top: 13px; border-top: 1px solid var(--border); color: var(--fg) !important; font-size: .9rem !important; font-weight: 800; }
.store-summary-totals__grand dd { font-size: 1.05rem; }
.store-submit-order { display: grid; width: 100%; justify-items: center; gap: 3px; padding: 13px 16px; }
.store-submit-order span { font-size: .72rem; font-weight: 650; opacity: .9; }
.store-summary-note { margin: 12px 0; }
.store-summary-back { display: inline-block; margin-top: 4px; }
.store-order-success { display: grid; justify-items: center; gap: 12px; padding: clamp(24px, 5vw, 48px); text-align: center; }
.store-order-success__icon { width: 62px; height: 62px; border: 1px solid rgba(34,197,94,.25); border-radius: 50%; background: rgba(34,197,94,.1); color: var(--green); }
.store-order-success > .muted { margin: 0; }
.store-order-status { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: min(100%, 560px); padding: 13px 16px; border: 1px solid var(--border); border-radius: var(--r); background: var(--bg-1); font-size: .82rem; }
.store-order-status span { color: var(--fg-3); }
.store-order-status strong { color: var(--amber); text-align: right; }
.store-payment-next { display: grid; justify-items: start; gap: 10px; width: min(100%, 640px); margin-top: 10px; padding: 20px; border: 1px solid rgba(6,182,212,.2); border-radius: var(--r-xl); background: rgba(6,182,212,.04); text-align: left; }
.store-payment-reference { overflow-wrap: anywhere; }
.store-payment-next h3 { margin: 0; font-size: 1rem; }
.store-payment-next > p:not(.store-eyebrow) { margin: 0; color: var(--fg-2); font-size: .82rem; line-height: 1.65; }
.store-bank-details { display: grid; width: 100%; margin: 4px 0; }
.store-bank-details > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); }
.store-bank-details dt { color: var(--fg-3); font-size: .74rem; }
.store-bank-details dd { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; min-width: 0; margin: 0; color: var(--fg); font-size: .8rem; }
.store-bank-details code { overflow-wrap: anywhere; color: var(--fg); font-family: var(--font-mono); font-size: .82rem; font-weight: 750; letter-spacing: .02em; }
.store-copy-status { color: var(--fg-2); font-size: .7rem; }
.store-order-message { max-width: 620px; color: var(--fg-2); line-height: 1.65; }
.store-order-success__actions { justify-content: center; margin-top: 8px; }
.checkout-v2__copy-status { flex-basis: 100%; color: var(--fg-2); font-size: .7rem; }
[data-theme="light"] .store-hero,
[data-theme="light"] .store-empty,
[data-theme="light"] .store-product-card,
[data-theme="light"] .store-product-media,
[data-theme="light"] .store-tier-card,
[data-theme="light"] .store-purchase-panel,
[data-theme="light"] .store-product-details,
[data-theme="light"] .store-panel,
[data-theme="light"] .store-cart-summary__sticky,
[data-theme="light"] .store-order-success { background: #fff; box-shadow: 0 8px 32px rgba(0,0,0,.045); }
[data-theme="light"] .store-category, [data-theme="light"] .store-payment-option { background: #f8fafc; }
[data-theme="light"] .store-payment-option:focus-within { background: rgba(6,182,212,.06); }
[data-theme="light"] .store-product-card__media, [data-theme="light"] .cart-line__image, [data-theme="light"] .store-order-status { background: #f3f6f9; }
@media (max-width: 900px) {
  .store-hero { align-items: flex-start; flex-direction: column; }
  .store-cart-layout { grid-template-columns: 1fr; }
  .store-cart-summary__sticky { position: static; }
  .store-product-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: 24px; }
}
@media (max-width: 640px) {
  .store-hero { padding: 24px 18px; border-radius: var(--r-xl); }
  .store-hero h1 br { display: none; }
  .store-hero__note { width: 100%; }
  .store-toolbar { align-items: flex-start; flex-direction: column; }
  .store-categories { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding: 2px 0 8px; }
  .store-category { flex: 0 0 auto; }
  .store-toolbar__actions { width: 100%; justify-content: space-between; }
  .store-product-layout { grid-template-columns: 1fr; }
  .store-product-media { min-height: 0; aspect-ratio: 16 / 11; }
  .store-product-details { margin-top: 22px; }
  .store-checkout-progress { gap: 6px; }
  .store-checkout-progress > div { align-items: flex-start; flex-direction: column; gap: 6px; padding: 10px 8px; font-size: .68rem; }
  .cart-line { grid-template-columns: 56px minmax(0, 1fr); gap: 9px 12px; }
  .cart-line__image { width: 56px; height: 52px; }
  .cart-line__quantity { grid-column: 2; grid-row: 2; max-width: 120px; }
  .cart-line__total { grid-column: 2; grid-row: 3; text-align: left; }
  .store-form-grid { grid-template-columns: 1fr; }
  .store-form-grid__full { grid-column: auto; }
  .store-payment-option { align-items: flex-start; flex-wrap: wrap; }
  .store-payment-option__tag { margin-left: 29px; }
  .store-panel__footer { align-items: flex-start; flex-direction: column; }
  .store-panel__buttons { width: 100%; }
  .store-panel__buttons .btn { flex: 1; justify-content: center; }
  .store-bank-details > div { grid-template-columns: 1fr; gap: 5px; }
  .store-empty__actions, .store-order-success__actions { width: 100%; }
  .store-empty__actions .btn, .store-order-success__actions .btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .store-product-card, .store-product-card__media img, .store-category, .store-payment-option { transition: none; }
  .store-product-card:hover, .store-product-card:hover .store-product-card__media img { transform: none; }
}

/* Blog feed refresh */
.xfeed-layout { align-items: start; gap: clamp(24px, 4vw, 48px); }
.xfeed-main { display: flex; flex-direction: column; gap: 14px; }
.xfeed-item,
.social-composer,
.xfeed-sidebar-card,
.xfeed-empty {
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  background: var(--glass);
  backdrop-filter: blur(16px);
}
.xfeed-item { overflow: visible; }
.xfeed-item:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.xfeed-item-link { padding: clamp(16px, 2.5vw, 24px); }
.xfeed-item--pinned { border-left: 1px solid var(--glass-border); box-shadow: 0 0 0 1px rgba(6,182,212,.2), 0 16px 40px rgba(6,182,212,.07); }
.xfeed-divider { display: none; }
.xfeed-actions { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 10px; }
.xfeed-action { min-width: 40px; min-height: 38px; border-radius: 10px; transition: color .18s ease, background .18s ease, transform .18s ease; }
.xfeed-action:hover, .xfeed-action:focus-visible { background: rgba(6,182,212,.09); color: var(--cyan-l); }
.xfeed-share-btn { margin-left: auto; }
.xfeed-reaction-option { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 6px; color: var(--fg-2); }
.xfeed-reaction-option svg,
.xfeed-reaction-chip svg,
.xfeed-comment-capabilities svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.xfeed-reaction-chip { display: inline-flex; align-items: center; gap: 5px; }
.xfeed-reaction-chip svg { width: 14px; height: 14px; }
.xfeed-comment-capabilities { display: flex; justify-content: center; gap: 14px; margin-top: 12px; color: var(--fg-3); font-size: .8rem; }
.xfeed-comment-capabilities span { display: inline-flex; align-items: center; gap: 5px; }
.xfeed-comment-capabilities svg { width: 14px; height: 14px; }
.xfeed-sidebar-sticky { position: sticky; top: 96px; }
.xfeed-sidebar-card { box-shadow: 0 12px 32px rgba(0,0,0,.06); }
.blog-newsletter-status,
.load-more-error,
.xfeed-action-error,
.repost-modal-error { margin: 8px 0 0; color: var(--red); font-size: .82rem; line-height: 1.5; }
.blog-newsletter-status.is-success { color: var(--green); }
.blog-newsletter-form[aria-busy="true"] { opacity: .7; }
.blog-newsletter-form button:disabled { cursor: wait; }
.load-more-error[hidden] { display: none; }
.repost-modal-error:empty { display: none; }
.xfeed-empty { padding: clamp(28px, 5vw, 48px); }

[data-theme="light"] .xfeed-item,
[data-theme="light"] .social-composer,
[data-theme="light"] .xfeed-sidebar-card,
[data-theme="light"] .xfeed-empty { background: rgba(255,255,255,.88); }

@media (max-width: 1024px) {
  .xfeed-sidebar-sticky { position: static; }
}
@media (max-width: 640px) {
  .xfeed-layout { gap: 16px; }
  .xfeed-main { gap: 10px; }
  .xfeed-item-link { gap: 10px; padding: 14px; }
  .xfeed-avatar { width: 38px; height: 38px; }
  .xfeed-actions { justify-content: space-between; gap: 4px; }
  .xfeed-comment-capabilities { gap: 9px; font-size: .72rem; }
  .xfeed-sidebar-card { padding: 18px; }
}

/* Blog article editor */
.blog-editor-page {
  position: relative;
  min-height: 70vh;
  padding: clamp(24px, 4vw, 48px) 0 72px;
  background: radial-gradient(ellipse 520px 360px at 100% 0%, rgba(6,182,212,.07), transparent 72%);
}
.blog-editor-container { position: relative; z-index: 1; max-width: 1380px; }
.blog-editor-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.blog-editor-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; color: var(--fg-3); font-size: .78rem; }
.blog-editor-breadcrumb a { display: inline-flex; align-items: center; gap: 7px; color: var(--cyan-l); text-decoration: none; }
.blog-editor-breadcrumb a:hover { color: var(--fg); }
.blog-editor-breadcrumb svg, .blog-editor-preview-link svg { width: 16px; height: 16px; flex: 0 0 auto; }
.blog-editor-eyebrow { margin: 0 0 8px; color: var(--cyan-l); font-size: .67rem; font-weight: 800; letter-spacing: .14em; }
.blog-editor-header h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.045em; }
.blog-editor-subtitle { margin: 9px 0 0; color: var(--fg-2); font-size: .9rem; line-height: 1.6; }
.blog-editor-preview-link { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.blog-editor-alert { margin: 0 0 18px; padding: 13px 16px; border: 1px solid; border-radius: var(--r); font-size: .86rem; line-height: 1.55; }
.blog-editor-alert--error { border-color: rgba(239,68,68,.25); background: rgba(239,68,68,.08); color: var(--red); }
.blog-editor-alert--success { border-color: rgba(34,197,94,.25); background: rgba(34,197,94,.08); color: var(--green); }
.blog-editor-form { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 22px; }
.blog-editor-main { display: grid; min-width: 0; gap: 18px; }
.blog-editor-sidebar { position: sticky; top: 90px; display: grid; min-width: 0; gap: 16px; align-self: start; }
.blog-editor-page .blog-editor-card {
  min-width: 0;
  margin: 0;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-2);
  box-shadow: var(--shadow);
}
.blog-editor-title-card { padding: clamp(20px, 3vw, 34px) !important; }
.blog-editor-label { display: block; margin: 0 0 10px; color: var(--fg); font-size: .84rem; font-weight: 750; }
.blog-editor-label--small { margin-bottom: 7px; color: var(--fg-2); font-size: .72rem; }
.blog-editor-title-input { width: 100%; min-height: 60px; padding: 15px 18px; font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 650; letter-spacing: -.02em; }
.blog-editor-field-hint { margin: 8px 0 0; color: var(--fg-3); font-size: .73rem; line-height: 1.5; }
.blog-editor-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.blog-editor-section-heading p { margin: -4px 0 0; color: var(--fg-3); font-size: .76rem; line-height: 1.5; }
.blog-editor-format-badge { flex: 0 0 auto; padding: 5px 9px; border: 1px solid rgba(6,182,212,.18); border-radius: var(--r-full); background: rgba(6,182,212,.07); color: var(--cyan-l); font-size: .66rem; font-weight: 750; }
.blog-editor-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1px solid var(--border); border-bottom: 0; border-radius: var(--r) var(--r) 0 0; background: var(--bg-1); }
.blog-editor-tool { display: inline-flex; min-width: 36px; height: 34px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--fg-2); font: inherit; font-size: .78rem; cursor: pointer; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.blog-editor-tool svg { width: 16px; height: 16px; }
.blog-editor-tool:hover { border-color: var(--border); background: var(--bg-2); color: var(--fg); }
.blog-editor-tool:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.blog-editor-tool--heading { font-size: .7rem; font-weight: 800; }
.blog-editor-tool-divider { width: 1px; height: 20px; margin: 0 3px; background: var(--border); }
.blog-editor-content { display: block; width: 100%; min-height: 560px; padding: 22px; border-top-left-radius: 0; border-top-right-radius: 0; font-family: inherit; font-size: .94rem; line-height: 1.85; tab-size: 2; }
.blog-editor-writing-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; color: var(--fg-3); font-size: .7rem; line-height: 1.5; }
.blog-editor-writing-footer span:last-child { color: var(--cyan-l); font-weight: 650; }
.blog-editor-excerpt { width: 100%; min-height: 110px; line-height: 1.65; }
.blog-editor-card input[type="url"], .blog-editor-card input[type="text"], .blog-editor-card input[type="datetime-local"], .blog-editor-card select, .blog-editor-card textarea:not(.blog-editor-content) { width: 100%; }
.blog-editor-card-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.blog-editor-card-heading h2 { margin: 0; color: var(--fg); font-size: .94rem; font-weight: 750; }
.blog-editor-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-l); box-shadow: 0 0 0 4px rgba(6,182,212,.1); }
.blog-editor-field { margin-bottom: 18px; }
.blog-editor-field:last-of-type { margin-bottom: 0; }
.blog-editor-review-note { margin: 0; padding: 12px; border: 1px solid rgba(6,182,212,.16); border-radius: var(--r); background: rgba(6,182,212,.06); color: var(--fg-2); font-size: .78rem; line-height: 1.55; }
.blog-editor-submit { display: flex; width: 100%; justify-content: center; margin-top: 20px; }
.blog-editor-comments { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--fg-2); font-size: .78rem; cursor: pointer; }
.blog-editor-comments input { width: 16px; height: 16px; margin: 0; accent-color: var(--cyan); }
.blog-editor-meta-description { min-height: 96px; line-height: 1.6; }
@media (max-width: 1040px) {
  .blog-editor-form { grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
}
@media (max-width: 860px) {
  .blog-editor-form { grid-template-columns: minmax(0, 1fr); }
  .blog-editor-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .blog-editor-publish-card { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .blog-editor-page { padding-top: 20px; }
  .blog-editor-header { align-items: flex-start; flex-direction: column; gap: 16px; padding-bottom: 18px; }
  .blog-editor-breadcrumb { margin-bottom: 16px; }
  .blog-editor-sidebar { grid-template-columns: minmax(0, 1fr); }
  .blog-editor-publish-card { grid-column: auto; }
  .blog-editor-content { min-height: 420px; padding: 16px; font-size: .88rem; }
  .blog-editor-writing-footer { flex-direction: column; }
}
