/*
  NEXORA — Premium Design System v2
  Modern gradient + glassmorphism aesthetic
  Inspired by Vercel, Linear, Stripe
*/

/* ============================================================
   CSS CUSTOM PROPERTIES — LIGHT + DARK
   ============================================================ */
:root {
  /* Brand */
  --brand-primary: #6366F1;
  --brand-secondary: #8B5CF6;
  --brand-accent: #06B6D4;
  --brand-pink: #EC4899;

  /* Light theme */
  --bg-body: #F4F3FF;
  --bg-surface: #FFFFFF;
  --bg-surface-2: rgba(255,255,255,0.7);
  --bg-glass: rgba(255,255,255,0.6);
  --bg-glass-hover: rgba(255,255,255,0.85);
  --bg-section-alt: #EEF2FF;
  --bg-section-dark: #0F1117;

  --text-h: #0F0E1A;
  --text-body: #374151;
  --text-muted: #6B7280;
  --text-hint: #9CA3AF;

  --border-light: rgba(99,102,241,0.15);
  --border-card: rgba(99,102,241,0.12);

  --shadow-card: 0 4px 24px rgba(99,102,241,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 12px 40px rgba(99,102,241,0.18), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-glow: 0 0 30px rgba(99,102,241,0.25);

  --nav-bg: rgba(248,247,255,0.88);
  --nav-border: rgba(99,102,241,0.12);
}

[data-theme="dark"] {
  --bg-body: #0A0E1A;
  --bg-surface: #111827;
  --bg-surface-2: rgba(17,24,39,0.8);
  --bg-glass: rgba(17,24,39,0.6);
  --bg-glass-hover: rgba(30,41,59,0.85);
  --bg-section-alt: #0F1629;
  --bg-section-dark: #070B14;

  --text-h: #F1F5F9;
  --text-body: #CBD5E1;
  --text-muted: #94A3B8;
  --text-hint: #64748B;

  --border-light: rgba(99,102,241,0.2);
  --border-card: rgba(255,255,255,0.07);

  --shadow-card: 0 4px 24px rgba(0,0,0,0.3), 0 1px 4px rgba(0,0,0,0.2);
  --shadow-card-hover: 0 16px 48px rgba(99,102,241,0.25), 0 4px 12px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.35);

  --nav-bg: rgba(10,14,26,0.9);
  --nav-border: rgba(255,255,255,0.06);
}

/* ============================================================
   GLOBAL BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-body);
  color: var(--text-body);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  color: var(--text-h);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p { color: var(--text-body); }

a { color: var(--brand-primary); }

/* ============================================================
   NAVIGATION — FROSTED GLASS
   ============================================================ */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--nav-border);
  transition: background 0.3s, border-color 0.3s;
}

#mainNav .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 66px;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #6366F1, #8B5CF6 50%, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0; padding: 0;
  flex: 1;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-primary);
  background: rgba(99,102,241,0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Theme Toggle — PROMINENT */
.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--border-light);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex !important; align-items: center; justify-content: center;
  font-size: 18px;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  visibility: visible !important;
  opacity: 1 !important;
}

.theme-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0), rgba(99,102,241,0.08));
  opacity: 0;
  transition: opacity 0.2s;
}

.theme-toggle:hover {
  border-color: var(--brand-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99,102,241,0.2);
}

.theme-toggle:hover::before { opacity: 1; }

[data-theme="dark"] .theme-toggle {
  background: rgba(30,41,59,0.6);
  border-color: rgba(255,255,255,0.1);
}

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 0.5rem;
  min-width: 220px;
  box-shadow: var(--shadow-card);
  display: none;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-dropdown-item {
  display: block;
  padding: 0.6rem 0.9rem;
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-item:hover {
  background: rgba(99,102,241,0.07);
  color: var(--brand-primary);
}

/* Online indicator */
.nav-online {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.78rem; font-weight: 500;
  color: #10B981;
  white-space: nowrap;
  opacity: 0.85;
}

.online-dot {
  width: 6px; height: 6px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50% { box-shadow: 0 0 0 4px rgba(16,185,129,0); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff;
  box-shadow: 0 2px 8px rgba(99,102,241,0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
}

.btn-outline:hover {
  background: rgba(99,102,241,0.07);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

/* Mobile nav */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-h);
  border-radius: 2px;
  transition: all 0.25s;
}

.mobile-nav {
  display: none;
  padding: 1rem;
  border-top: 1px solid var(--border-card);
  background: var(--nav-bg);
}

.mobile-nav-link {
  display: block;
  padding: 0.7rem 0.5rem;
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-card);
}

/* ============================================================
   BACKGROUND — GRADIENT MESH + ORBS
   ============================================================ */
.page-hero, .hero-home {
  position: relative;
  overflow: hidden;
}

/* Gradient orbs effect */
.page-hero::before, .hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(99,102,241,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(139,92,246,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 60% 80%, rgba(6,182,212,0.08) 0%, transparent 70%);
  z-index: 0;
}

[data-theme="dark"] .page-hero::before,
[data-theme="dark"] .hero-home::before {
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(99,102,241,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(139,92,246,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 60% 80%, rgba(6,182,212,0.12) 0%, transparent 70%);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-home {
  padding: 140px 0 100px;
  background: var(--bg-body);
}

[data-theme="dark"] .hero-home {
  background: linear-gradient(160deg, #0A0E1A 0%, #0F1629 50%, #0A0E1A 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.08));
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.hero__badge-dot {
  width: 6px; height: 6px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-h);
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero__btns {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__mini-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-h);
  letter-spacing: -0.02em;
}

.hero__stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   CODE WINDOW
   ============================================================ */
.code-win {
  background: #111827;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
}

.code-win::before {
  content: '';
  position: absolute;
  top: -1px; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.6), transparent);
}

.code-win__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 16px;
  background: #1F2937;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--red { background: #FF5F57; }
.dot--yellow { background: #FEBC2E; }
.dot--green { background: #28C840; }

.code-win__title {
  font-size: 0.75rem;
  color: #6B7280;
  font-family: 'SF Mono', 'Fira Code', monospace;
  margin-left: auto;
}

.code-win__body {
  padding: 1.5rem;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #E5E7EB;
  overflow-x: auto;
}

.code-c1 { color: #8B5CF6; } /* keyword */
.code-c2 { color: #34D399; } /* string */
.code-c3 { color: #60A5FA; } /* function */
.code-c4 { color: #FCD34D; } /* variable */
.code-c5 { color: #F87171; } /* property */
.code-c6 { color: #9CA3AF; } /* comment */
.code-num { color: #6B7280; user-select: none; margin-right: 1rem; display: inline-block; min-width: 16px; text-align: right; }

/* Floating badges on code window */
.hero-float {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-h);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(12px);
  animation: float 3s ease-in-out infinite;
  white-space: nowrap;
  z-index: 2;
}

.hero-float--1 { top: -20px; right: -10px; animation-delay: 0s; }
.hero-float--2 { bottom: 30px; left: -20px; animation-delay: 1.5s; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   TICKER / TRUST BAR
   ============================================================ */
.ticker-section {
  padding: 20px 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(139,92,246,0.04));
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

[data-theme="dark"] .ticker-section {
  background: rgba(99,102,241,0.08);
  border-color: rgba(99,102,241,0.15);
}

.ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker 20s linear infinite;
  width: max-content;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.ticker-item span { font-size: 1.1rem; }

/* ============================================================
   SECTIONS — ALTERNATING BACKGROUNDS
   ============================================================ */
.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--bg-section-alt);
}

[data-theme="dark"] .section--alt {
  background: var(--bg-section-alt);
}

.section--dark {
  background: #0F1117;
  color: #F1F5F9;
}

.section--dark h2, .section--dark h3 { color: #F1F5F9; }
.section--dark p { color: #94A3B8; }

/* Gradient section */
.section--gradient {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #06B6D4 100%);
  position: relative;
  overflow: hidden;
}

.section--gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Ccircle cx='1' cy='1' r='1' fill='white' opacity='0.06'/%3E%3C/svg%3E") repeat;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.08));
  color: var(--brand-primary);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 999px;
  padding: 0.3rem 0.875rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

[data-theme="dark"] .section-tag {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.3);
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-h);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.875rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding: 56px 0;
  background: var(--bg-surface);
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--bg-body);
  border: 1px solid var(--border-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.trust-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.trust-item__icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.08));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

.trust-item strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-h);
  letter-spacing: -0.02em;
  display: block;
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================================
   STATS GRID
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.stat-card__num {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   SERVICES GRID — GLASSMORPHISM CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.04), rgba(139,92,246,0.02));
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(99,102,241,0.3);
}

.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.08));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 0.625rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.service-card__price {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.875rem;
}

.tag {
  background: rgba(99,102,241,0.08);
  color: var(--brand-primary);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
}

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.step-card__num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Step connector line */
.steps-grid .step-card:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--brand-primary);
  opacity: 0.4;
  z-index: 1;
}

/* ============================================================
   PORTFOLIO CARDS — WITH REAL IMAGES
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(99,102,241,0.25);
}

.portfolio-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #EEF2FF, #F0FDF4);
}

.portfolio-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.portfolio-card:hover .portfolio-card__img img {
  transform: scale(1.06);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,26,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }

.portfolio-card__body {
  padding: 1.5rem;
  flex: 1;
}

.portfolio-card__cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.portfolio-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 0.4rem;
}

.portfolio-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.portfolio-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.875rem;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  font-size: 4rem;
  font-weight: 900;
  color: var(--brand-primary);
  opacity: 0.1;
  line-height: 1;
  font-family: Georgia, serif;
}

.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 0.875rem;
  font-size: 0.9rem;
}

.review-card__text {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.review-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-h);
}

.review-card__company {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section--gradient {
  background: linear-gradient(135deg, #6366F1 0%, #7C3AED 50%, #0EA5E9 100%);
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.cta-section__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: #fff;
  color: #6366F1;
  font-weight: 700;
}

.btn-white:hover {
  background: #F0F0FF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  font-weight: 700;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(99,102,241,0.2);
}

.blog-card__img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
  position: relative;
}

.blog-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.blog-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-h);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  flex: 1;
}

.blog-card__meta {
  font-size: 0.78rem;
  color: var(--text-hint);
  margin-top: 0.875rem;
  display: flex;
  gap: 1rem;
}

/* ============================================================
   DISCOUNT CARDS
   ============================================================ */
.discounts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.discount-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.discount-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.discount-card__badge {
  position: absolute;
  top: 0; right: 0;
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: 0 20px 0 12px;
}

.discount-card__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.discount-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 0.5rem;
}

.discount-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
#mainFooter {
  background: #0F1117;
  color: #94A3B8;
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo {
  font-size: 1.25rem;
  display: inline-block;
  margin-bottom: 0.875rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F1F5F9;
  margin-bottom: 1rem;
}

.footer-col li, .footer-col a {
  font-size: 0.875rem;
  color: #6B7280;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: #A5B4FC; }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #4B5563;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   FLOATING WIDGETS
   ============================================================ */
.chat-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(99,102,241,0.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.chat-fab:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(99,102,241,0.55);
}

.callback-fab {
  position: fixed;
  bottom: 92px; right: 24px; left: auto !important;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(16,185,129,0.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  z-index: 999;
  transition: all 0.3s;
}

.callback-fab:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(16,185,129,0.55);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 160px; right: 24px;
  width: 44px; height: 44px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--brand-primary);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  box-shadow: var(--shadow-card);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(15,17,23,0.95);
  backdrop-filter: blur(20px);
  color: #CBD5E1;
  padding: 1rem 1.5rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}

.cookie-bar.show { display: flex; }
.cookie-bar a { color: #A5B4FC; }

/* ============================================================
   CHAT WIDGET — COMPLETE
   ============================================================ */
.chat-widget {
  position: fixed;
  bottom: 90px; right: 24px;
  width: 360px;
  max-height: 520px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  transform-origin: bottom right;
}

.chat-widget.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff;
  flex-shrink: 0;
}

.chat-header-avatar {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.chat-header-info h4 { font-size: 0.95rem; font-weight: 700; color: #fff; }
.chat-header-info p { font-size: 0.75rem; opacity: 0.8; }

.chat-header-close {
  margin-left: auto;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}

.chat-header-close:hover { background: rgba(255,255,255,0.25); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 200px;
  max-height: 300px;
}

.chat-msg { display: flex; align-items: flex-end; gap: 0.5rem; }
.chat-msg--in { justify-content: flex-start; }
.chat-msg--out { justify-content: flex-end; }

.chat-bubble {
  max-width: 75%;
  padding: 0.6rem 0.875rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  word-break: break-word;
}

.chat-msg--in .chat-bubble {
  background: var(--bg-body);
  color: var(--text-body);
  border-radius: 4px 14px 14px 14px;
  border: 1px solid var(--border-card);
}

.chat-msg--out .chat-bubble {
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem 0.75rem;
}

.chat-qr-btn {
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  color: var(--brand-primary);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-qr-btn:hover {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  border-top: 1px solid var(--border-card);
  background: var(--bg-surface);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  border: 1.5px solid var(--border-card);
  border-radius: 10px;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  background: var(--bg-body);
  color: var(--text-body);
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.chat-input:focus { border-color: var(--brand-primary); }

.chat-send-btn, .chat-attach-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
  flex-shrink: 0;
}

.chat-send-btn {
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff;
}

.chat-send-btn:hover { transform: scale(1.05); }

.chat-attach-btn {
  background: var(--bg-body);
  color: var(--text-muted);
  border: 1px solid var(--border-card);
}

.chat-attach-btn:hover {
  background: rgba(99,102,241,0.07);
  color: var(--brand-primary);
}

.chat-file-preview {
  font-size: 0.78rem;
  background: rgba(99,102,241,0.07);
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  color: var(--brand-primary);
  display: none;
  align-items: center;
  gap: 0.3rem;
}

/* ============================================================
   CALLBACK MODAL
   ============================================================ */
.callback-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,14,26,0.6);
  backdrop-filter: blur(6px);
  z-index: 1001;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.callback-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.callback-modal {
  background: var(--bg-surface);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s;
  border: 1px solid var(--border-card);
}

.callback-modal-overlay.open .callback-modal {
  transform: scale(1) translateY(0);
}

.callback-modal h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 0.375rem;
}

.callback-modal p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.callback-form-group {
  margin-bottom: 1rem;
}

.callback-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 0.375rem;
}

.callback-form-group input, .callback-form-group select {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg-body);
  color: var(--text-h);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.callback-form-group input:focus, .callback-form-group select:focus {
  border-color: var(--brand-primary);
}

.callback-close {
  background: none;
  border: none;
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.callback-close:hover {
  background: var(--bg-body);
  color: var(--text-h);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg-surface);
  color: var(--text-h);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.form-textarea { min-height: 120px; resize: vertical; }

/* ============================================================
   PAGE HEADERS
   ============================================================ */
.page-hero {
  padding: 120px 0 64px;
  background: var(--bg-body);
  text-align: center;
}

[data-theme="dark"] .page-hero {
  background: linear-gradient(160deg, #0A0E1A 0%, #0F1629 100%);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--text-h);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid .step-card:not(:last-child)::after { display: none; }
  .discounts-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-actions .nav-online { display: none; }
  .nav-actions .btn-outline { display: none; }
  .nav-actions .btn-primary { display: none; }
  .nav-mobile-toggle { display: flex; }

  .hero-home { padding: 100px 0 64px; }
  .hero__title { font-size: 1.9rem; }

  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .discounts-grid { grid-template-columns: 1fr; }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .section { padding: 64px 0; }
  .chat-widget { width: calc(100vw - 32px); right: 16px; bottom: 80px; }
}

@media (max-width: 480px) {
  .hero__btns { flex-direction: column; }
  .hero__mini-stats { gap: 1.25rem; }
  .trust-bar__grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-section__btns { flex-direction: column; align-items: center; }
}

/* ============================================================
   DARK MODE OVERRIDES
   ============================================================ */
[data-theme="dark"] body { background: var(--bg-body); }
[data-theme="dark"] .trust-bar { background: #111827; }
[data-theme="dark"] .service-card,
[data-theme="dark"] .portfolio-card,
[data-theme="dark"] .review-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .discount-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .trust-item,
[data-theme="dark"] .stat-card {
  background: #111827;
  border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .chat-widget {
  background: #111827;
  border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .chat-msg--in .chat-bubble {
  background: #1F2937;
  border-color: rgba(255,255,255,0.06);
  color: #CBD5E1;
}

[data-theme="dark"] .chat-input {
  background: #1F2937;
  border-color: rgba(255,255,255,0.1);
  color: #E2E8F0;
}

[data-theme="dark"] .chat-attach-btn {
  background: #1F2937;
  border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .callback-modal {
  background: #111827;
  border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .callback-form-group input,
[data-theme="dark"] .callback-form-group select {
  background: #1F2937;
  border-color: rgba(255,255,255,0.1);
  color: #E2E8F0;
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .form-select {
  background: #1F2937;
  border-color: rgba(255,255,255,0.1);
  color: #E2E8F0;
}

[data-theme="dark"] .tag {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.25);
}

[data-theme="dark"] .section-tag {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.3);
  color: #A5B4FC;
}

[data-theme="dark"] .back-to-top {
  background: #1F2937;
  border-color: rgba(255,255,255,0.1);
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, #6366F1, #8B5CF6 50%, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-4 { margin-bottom: 2rem; }

/* Portfolio page card-thumbnail images */
.card-thumbnail {
  height: 200px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  position: relative;
}

.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.portfolio-card:hover .card-thumbnail img {
  transform: scale(1.05);
}
