/* ================================================================
   SHZSOLUTIONS — Ultra Premium CSS v4
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --black:    #000000;
  --white:    #ffffff;
  --gray-950: #060608;
  --gray-900: #0d0d10;
  --gray-800: #16161a;
  --gray-700: #1f1f24;
  --gray-600: #2e2e35;
  --gray-500: #52525e;
  --gray-400: #8a8a96;
  --gray-300: #bbbbc8;
  --gray-200: #dddde8;
  --gray-100: #ededf5;
  --gray-50:  #f5f5fa;
  --accent:         #ffffff;
  --accent-blue:    #6366f1;
  --accent-purple:  #8b5cf6;
  --accent-cyan:    #06b6d4;
  --danger:   #ef4444;
  --success:  #22c55e;
  --warning:  #f59e0b;
  --info:     #3b82f6;
  --glow:     rgba(255,255,255,0.06);
  --glow-sm:  rgba(255,255,255,0.025);
  --font:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:     'JetBrains Mono', 'Courier New', monospace;
  --radius:   10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-2xl: 30px;
  --shadow:   0 2px 12px rgba(0,0,0,.95), 0 1px 3px rgba(0,0,0,.8);
  --shadow-lg: 0 24px 80px rgba(0,0,0,.85), 0 8px 32px rgba(0,0,0,.6);
  --shadow-glow: 0 0 60px rgba(255,255,255,.035);
  --transition: all .24s cubic-bezier(.4,0,.2,1);
  --transition-spring: all .35s cubic-bezier(.34,1.56,.64,1);
  --border: 1px solid rgba(255,255,255,.06);
  --border-hover: 1px solid rgba(255,255,255,.14);
  --border-active: 1px solid rgba(255,255,255,.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--gray-950);
  color: var(--gray-300);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; /* hidden yerine clip: position:fixed öğeleri bozmaz */
}

/* FIXED: grain effect no longer blocks form inputs */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }
/* FIXED: ensure form elements are always interactive */
input, textarea, select, button {
  font-family: inherit;
  position: relative;
  z-index: 1;
}

/* ── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-700); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-600); }

/* ── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(6,6,8,.80);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border-bottom: var(--border);
  transition: var(--transition);
}
.navbar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.1) 30%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.1) 70%, transparent 100%);
  pointer-events: none;
}
.nav-container {
  max-width: 1240px; margin: 0 auto;
  padding: 0 28px;
  display: flex; align-items: center; gap: 28px; height: 62px;
  flex-wrap: nowrap;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  font-size: 19px; color: var(--white);
  transition: var(--transition-spring);
  display: inline-block;
  filter: drop-shadow(0 0 8px rgba(255,255,255,.25));
}
.logo-text { font-size: 15.5px; font-weight: 800; letter-spacing: -.4px; color: var(--white); }
.logo-accent { color: var(--gray-500); font-weight: 400; }
.logo:hover .logo-icon { transform: rotate(90deg) scale(1.12); filter: drop-shadow(0 0 12px rgba(255,255,255,.4)); }

.nav-links { display: flex; align-items: center; gap: 1px; flex: 1; min-width: 0; }
.nav-link {
  padding: 6px 13px; border-radius: var(--radius);
  font-size: 13px; font-weight: 500; color: var(--gray-500);
  transition: var(--transition); letter-spacing: -.1px;
  position: relative;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.05); }
.nav-link.active { color: var(--white); background: rgba(255,255,255,.06); }
.nav-admin {
  color: var(--gray-500) !important; border: var(--border);
  background: rgba(255,255,255,.02) !important;
}
.nav-admin:hover { color: var(--white) !important; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.05) !important; }

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }

.nav-toggle { display: none; flex-direction: column; gap: 4.5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--gray-300); border-radius: 2px; transition: var(--transition); }

/* Mobile panel — PC'de tamamen gizli, sadece 768px altında aktif */
.mobile-panel { display: none; }

/* ── LANG SWITCHER ───────────────────────────────────────────── */
.lang-switcher { display: flex; align-items: center; gap: 2px; padding: 3px; background: rgba(255,255,255,.03); border: var(--border); border-radius: 8px; }
.lang-btn {
  font-size: 10.5px; font-weight: 700; color: var(--gray-600);
  padding: 4px 9px; border-radius: 6px;
  letter-spacing: .6px; transition: var(--transition);
}
.lang-btn:hover { color: var(--gray-300); }
.lang-btn.active { color: var(--white); background: rgba(255,255,255,.08); }
.lang-sep { display: none; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: var(--transition);
  white-space: nowrap; position: relative; overflow: hidden;
  letter-spacing: -.1px;
  -webkit-user-select: none; user-select: none;
  z-index: 1;
}
.btn::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.btn:hover::before { left: 160%; }

.btn-primary {
  background: var(--white); color: var(--black);
  border-color: rgba(255,255,255,.9);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 4px 16px rgba(0,0,0,.4);
}
.btn-primary:hover {
  background: #f5f5f5; color: var(--black);
  transform: translateY(-1.5px);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 8px 28px rgba(255,255,255,.1), 0 4px 12px rgba(0,0,0,.5);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent; color: var(--gray-400);
  border-color: rgba(255,255,255,.09);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.05); color: var(--white);
  border-color: rgba(255,255,255,.16);
  transform: translateY(-1px);
}
.btn-danger { background: transparent; color: var(--danger); border-color: rgba(239,68,68,.25); }
.btn-danger:hover { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.5); transform: translateY(-1px); }
.btn-success { background: rgba(34,197,94,.1); color: #4ade80; border-color: rgba(34,197,94,.2); }
.btn-success:hover { background: rgba(34,197,94,.15); border-color: rgba(34,197,94,.35); transform: translateY(-1px); }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-lg { padding: 13px 30px; font-size: 14.5px; border-radius: 13px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .3; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }

/* ── USER MENU ───────────────────────────────────────────────── */
.user-menu { position: relative; }
.user-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.035); border: var(--border);
  border-radius: var(--radius); padding: 5px 12px 5px 5px;
  cursor: pointer; color: var(--gray-300); font-size: 13px; font-weight: 500;
  transition: var(--transition);
}
.user-btn:hover {
  background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12);
  color: var(--white);
}
.user-avatar {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, #4f4f5c, #2a2a33);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.1);
}
.user-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px);
  background: var(--gray-900); border: var(--border);
  border-radius: var(--radius-lg); padding: 6px;
  min-width: 190px; opacity: 0; pointer-events: none;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.04);
  transform: translateY(-8px) scale(.97);
  transform-origin: top right;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 100;
}
.user-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }
.user-dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--radius);
  font-size: 13px; color: var(--gray-400); transition: var(--transition);
}
.user-dropdown a:hover { background: rgba(255,255,255,.05); color: var(--white); }
.dropdown-divider { height: 1px; background: rgba(255,255,255,.05); margin: 5px 0; }
.dropdown-danger { color: var(--danger) !important; }
.dropdown-danger:hover { background: rgba(239,68,68,.07) !important; }

/* ── FLASH ───────────────────────────────────────────────────── */
.flash {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 28px; font-size: 13px; font-weight: 500;
  border-bottom: var(--border); backdrop-filter: blur(8px);
  position: relative; z-index: 10;
}
.flash-ok, .flash-success { background: rgba(34,197,94,.055); color: var(--success); }
.flash-error { background: rgba(239,68,68,.055); color: var(--danger); }
.flash-warning { background: rgba(245,158,11,.055); color: var(--warning); }
.flash button { background: none; border: none; cursor: pointer; font-size: 17px; color: inherit; opacity: .4; transition: var(--transition); }
.flash button:hover { opacity: 1; transform: scale(1.2); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--gray-950);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -15%, rgba(99,102,241,.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 70%, rgba(139,92,246,.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(6,182,212,.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: url('../images/hero-bg.png') center center / cover no-repeat;
  opacity: .08;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; opacity: .3;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 0%, transparent 80%);
  pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; animation: heroPulse 10s ease-in-out infinite;
}
.hero-orb-1 { width: 500px; height: 500px; background: rgba(99,102,241,.08); top: -100px; left: -100px; animation-delay: 0s; }
.hero-orb-2 { width: 400px; height: 400px; background: rgba(139,92,246,.06); bottom: -80px; right: -80px; animation-delay: -5s; }
@keyframes heroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.08); }
}
.hero-container {
  max-width: 1240px; margin: 0 auto; padding: 120px 28px 100px;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: center;
}
.hero-left { max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.04); border: var(--border);
  border-radius: 999px; padding: 7px 18px; margin-bottom: 36px;
  font-size: 11px; font-weight: 600; color: var(--gray-400); letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  animation: fadeUpIn .6s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--success);
  animation: pulseDot 2.5s infinite;
  box-shadow: 0 0 8px var(--success), 0 0 16px rgba(34,197,94,.3);
}
.hero-title {
  font-size: clamp(40px, 5.5vw, 74px); font-weight: 900;
  line-height: 1.02; letter-spacing: -3px; color: var(--white);
  margin-bottom: 24px;
  animation: fadeUpIn .7s .1s ease both;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #fff 0%, rgba(200,200,255,.8) 50%, rgba(139,92,246,.8) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: 16px; color: var(--gray-500); max-width: 480px;
  line-height: 1.8; margin-bottom: 44px; font-weight: 400;
  animation: fadeUpIn .7s .2s ease both;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeUpIn .7s .3s ease both; margin-bottom: 56px; }
.hero-stats {
  display: flex; gap: 0;
  padding-top: 40px; border-top: var(--border);
  flex-wrap: wrap; animation: fadeUpIn .7s .4s ease both;
}
.hero-stat { padding-right: 48px; }
.hero-stat:not(:last-child) { border-right: var(--border); margin-right: 48px; }
.hero-stat-number {
  font-size: 32px; font-weight: 800; color: var(--white);
  letter-spacing: -1.5px; line-height: 1;
}
.hero-stat-label { font-size: 11px; color: var(--gray-600); margin-top: 5px; letter-spacing: .6px; text-transform: uppercase; font-weight: 600; }

/* Hero right panel — social proof */
.hero-right { animation: fadeUpIn .8s .3s ease both; }
.hero-proof-card {
  background: rgba(13,13,16,.85); border: var(--border);
  border-radius: var(--radius-xl); padding: 28px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.03);
}
.hero-proof-card::before {
  content: ''; display: block;
  height: 1px; margin: -28px -28px 28px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
}
.hero-trust-title {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gray-600); margin-bottom: 20px; text-align: center;
}
.hero-feature-list { display: flex; flex-direction: column; gap: 14px; }
.hero-feature-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px; border-radius: var(--radius);
  background: rgba(255,255,255,.025); border: var(--border);
  transition: var(--transition);
}
.hero-feature-item:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.hero-feature-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 14px;
}
.hero-feature-icon.blue { background: rgba(99,102,241,.15); border: 1px solid rgba(99,102,241,.2); }
.hero-feature-icon.purple { background: rgba(139,92,246,.15); border: 1px solid rgba(139,92,246,.2); }
.hero-feature-icon.cyan { background: rgba(6,182,212,.15); border: 1px solid rgba(6,182,212,.2); }
.hero-feature-icon.green { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.2); }
.hero-feature-text { flex: 1; }
.hero-feature-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.hero-feature-text span { font-size: 12px; color: var(--gray-600); line-height: 1.5; }

/* Trust badges */
.hero-trust-badges {
  display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; justify-content: center;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.03); border: var(--border);
  border-radius: 999px; padding: 5px 12px;
  font-size: 10.5px; font-weight: 600; color: var(--gray-500);
}
.trust-badge svg { color: var(--success); }

/* ── SECTION ─────────────────────────────────────────────────── */
.section { padding: 112px 28px; }
.section-container { max-width: 1240px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 72px; }
.section-eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: 3px;
  color: var(--gray-600); text-transform: uppercase; margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 20px; height: 1px; background: rgba(255,255,255,.1);
  display: inline-block;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px); font-weight: 800;
  color: var(--white); letter-spacing: -1.8px; line-height: 1.08;
}
.section-subtitle {
  font-size: 15.5px; color: var(--gray-500); margin-top: 18px;
  max-width: 460px; margin-left: auto; margin-right: auto; line-height: 1.75;
}

/* ── CARDS ───────────────────────────────────────────────────── */
.card {
  background: var(--gray-900); border: var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.035) 0%, transparent 60%);
  opacity: 0; transition: var(--transition);
  pointer-events: none;
}
.card:hover { border-color: rgba(255,255,255,.12); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }

/* ── PRODUCTS GRID ───────────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.product-card {
  background: var(--gray-900); border: var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: all .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  position: relative;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  z-index: 2;
  pointer-events: none;
}
.product-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.035) 0%, transparent 45%);
  opacity: 0; transition: var(--transition); z-index: 0; pointer-events: none;
  border-radius: inherit;
}
.product-card:hover {
  border-color: rgba(255,255,255,.16);
  transform: translateY(-8px) scale(1.006);
  box-shadow: 0 30px 80px rgba(0,0,0,.8), 0 10px 32px rgba(0,0,0,.6), var(--shadow-glow);
}
.product-card:hover::after { opacity: 1; }
.product-thumb {
  height: 200px; background: var(--gray-800);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; position: relative; overflow: hidden;
}
.product-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--gray-900) 100%);
  z-index: 1;
  pointer-events: none;
}
.product-thumb-icon { color: var(--gray-700); opacity: .6; }
.product-thumb-demo-tag {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  background: rgba(99,102,241,.9); color: white;
  font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  backdrop-filter: blur(8px);
}
.product-body { padding: 26px; flex: 1; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.product-category {
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gray-600);
}
.product-name { font-size: 20px; font-weight: 700; color: var(--white); line-height: 1.28; letter-spacing: -.4px; }
.product-desc { font-size: 13px; color: var(--gray-500); line-height: 1.7; flex: 1; }
.product-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: var(--border);
}
.product-price { font-size: 28px; font-weight: 800; color: var(--white); letter-spacing: -1.2px; }
.product-price span { font-size: 12.5px; font-weight: 400; color: var(--gray-600); }
.product-actions { display: flex; gap: 8px; margin-top: 4px; }
.product-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.035); border: var(--border);
  border-radius: 999px; padding: 4px 11px;
  font-size: 10.5px; font-weight: 600; color: var(--gray-500);
  letter-spacing: .4px;
}
.product-badge-lock { border-color: rgba(99,102,241,.2); color: var(--accent-blue); background: rgba(99,102,241,.06); }

/* ── FEATURES GRID ───────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.feature-card {
  background: var(--gray-900); border: var(--border);
  border-radius: var(--radius-xl); padding: 34px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.035) 0%, transparent 55%);
  opacity: 0; transition: var(--transition);
  pointer-events: none;
}
.feature-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  pointer-events: none;
}
.feature-card:hover { border-color: rgba(255,255,255,.12); box-shadow: 0 16px 48px rgba(0,0,0,.5); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: rgba(255,255,255,.04); border: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; margin-bottom: 22px;
  transition: var(--transition-spring);
}
.feature-card:hover .feature-icon {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
  transform: scale(1.1) rotate(-3deg);
}
.feature-title { font-size: 16.5px; font-weight: 700; color: var(--white); margin-bottom: 10px; letter-spacing: -.3px; }
.feature-desc  { font-size: 13px; color: var(--gray-500); line-height: 1.72; }

/* ── HOW IT WORKS ────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: rgba(255,255,255,.04); border-radius: var(--radius-xl); overflow: hidden; border: var(--border); }
.step-card {
  background: var(--gray-900); padding: 36px 28px;
  position: relative; transition: var(--transition);
}
.step-card:hover { background: var(--gray-800); }
.step-number {
  font-size: 56px; font-weight: 900; color: rgba(255,255,255,.04);
  letter-spacing: -3px; line-height: 1; margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.step-title { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.step-desc { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.testimonial-card {
  background: var(--gray-900); border: var(--border);
  border-radius: var(--radius-xl); padding: 28px;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.testimonial-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  pointer-events: none;
}
.testimonial-card:hover { border-color: rgba(255,255,255,.1); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.testimonial-quote {
  font-size: 28px; color: rgba(255,255,255,.08); font-family: Georgia, serif;
  line-height: 1; margin-bottom: 16px;
}
.testimonial-text { font-size: 13.5px; color: var(--gray-400); line-height: 1.75; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--white); flex-shrink: 0;
}
.testimonial-name { font-size: 13px; font-weight: 600; color: var(--white); }
.testimonial-role { font-size: 11.5px; color: var(--gray-600); margin-top: 1px; }
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 16px; }
.star { color: #f59e0b; font-size: 12px; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--gray-900); border: var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(255,255,255,.1); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer; font-size: 14px; font-weight: 600;
  color: var(--gray-200); transition: var(--transition);
  user-select: none;
  position: relative; z-index: 1;
}
.faq-question:hover { color: var(--white); }
.faq-icon {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(255,255,255,.05); border: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--gray-500); flex-shrink: 0;
  transition: var(--transition-spring);
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--white); background: rgba(255,255,255,.08); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1), padding .35s ease;
  font-size: 13.5px; color: var(--gray-500); line-height: 1.8;
}
.faq-answer-inner { padding: 0 24px 20px; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ── FORM ────────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; position: relative; }
.form-label { display: block; font-size: 11.5px; font-weight: 600; color: var(--gray-400); margin-bottom: 8px; letter-spacing: .3px; text-transform: uppercase; }
/* FIXED: all form inputs are fully interactive */
.form-input, .form-select, .form-textarea {
  width: 100%; background: rgba(255,255,255,.035); border: var(--border);
  border-radius: var(--radius); padding: 11px 16px;
  color: var(--white); font-size: 14px; transition: var(--transition);
  outline: none; appearance: none;
  position: relative; z-index: 2;
  -webkit-user-select: auto; user-select: auto;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 4px rgba(255,255,255,.04);
}
.form-input:hover, .form-select:hover, .form-textarea:hover {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
.form-input::placeholder { color: var(--gray-600); }
.form-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-select option { background: var(--gray-900); color: var(--white); }
.form-hint { font-size: 11.5px; color: var(--gray-600); margin-top: 6px; line-height: 1.5; }
.form-error { font-size: 11.5px; color: var(--danger); margin-top: 6px; }
.input-group { position: relative; }
.input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-600); pointer-events: none; z-index: 3; }
.input-icon + .form-input { padding-left: 44px; }

/* ── AUTH ────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse 80% 80% at 50% -10%, rgba(99,102,241,.06) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(139,92,246,.03) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 100% 0%, rgba(6,182,212,.03) 0%, transparent 50%);
}
.auth-card {
  background: rgba(13,13,16,.92); border: var(--border);
  border-radius: var(--radius-2xl); padding: 52px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.04);
  position: relative; overflow: hidden;
  backdrop-filter: blur(24px);
  animation: fadeUpIn .5s ease both;
}
.auth-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  pointer-events: none;
}
.auth-logo { text-align: center; margin-bottom: 44px; }
.auth-title { font-size: 25px; font-weight: 800; color: var(--white); margin-bottom: 8px; letter-spacing: -.6px; }
.auth-subtitle { font-size: 13.5px; color: var(--gray-600); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.06); }
.auth-divider span { font-size: 10.5px; color: var(--gray-700); white-space: nowrap; letter-spacing: .8px; text-transform: uppercase; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 13.5px; color: var(--gray-600); }
.auth-footer a { color: var(--white); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── DASHBOARD ───────────────────────────────────────────────── */
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 62px); }
.sidebar {
  background: var(--gray-900); border-right: var(--border);
  padding: 0;
  position: sticky; top: 62px; height: calc(100vh - 62px); overflow-y: auto;
  display: flex; flex-direction: column;
}
.sidebar-profile {
  padding: 24px 20px 20px;
  border-bottom: var(--border);
  display: flex; align-items: center; gap: 12px;
}
.sidebar-avatar {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, #4f4f5c, #2a2a33);
  color: var(--white); font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border: 1px solid rgba(255,255,255,.1);
}
.sidebar-profile-info { flex: 1; min-width: 0; }
.sidebar-profile-name { font-size: 14px; font-weight: 700; color: var(--white); truncate: ellipsis; overflow: hidden; white-space: nowrap; }
.sidebar-profile-email { font-size: 11px; color: var(--gray-600); margin-top: 1px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sidebar-nav {
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 12px; flex: 1;
}
.sidebar-section-label {
  font-size: 9.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gray-700); padding: 12px 8px 6px; margin-top: 8px;
}
.sidebar-section-label:first-child { margin-top: 0; }
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: var(--radius);
  font-size: 13px; font-weight: 500; color: var(--gray-500);
  transition: var(--transition); position: relative;
}
.sidebar-link::before {
  content: ''; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 2px; border-radius: 2px; background: var(--white);
  opacity: 0; transition: var(--transition); transform: scaleY(0);
  transform-origin: center;
}
.sidebar-link:hover { background: rgba(255,255,255,.05); color: var(--gray-300); }
.sidebar-link.active {
  background: rgba(255,255,255,.07); color: var(--white);
}
.sidebar-link.active::before { opacity: 1; transform: scaleY(1); }
.sidebar-link-icon { width: 18px; height: 18px; flex-shrink: 0; opacity: .6; transition: var(--transition); }
.sidebar-link.active .sidebar-link-icon, .sidebar-link:hover .sidebar-link-icon { opacity: 1; }
.sidebar-link-count {
  margin-left: auto; font-size: 10px; font-weight: 700;
  background: rgba(255,255,255,.07); color: var(--gray-400);
  border-radius: 999px; padding: 2px 7px; min-width: 20px; text-align: center;
}

.dashboard-content { padding: 44px; background: var(--gray-950); }
.dashboard-header { margin-bottom: 32px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dashboard-title { font-size: 24px; font-weight: 800; color: var(--white); letter-spacing: -.6px; }
.dashboard-subtitle { font-size: 13px; color: var(--gray-600); margin-top: 4px; }

/* ── WELCOME BANNER ──────────────────────────────────────────── */
.welcome-banner {
  background: var(--gray-900); border: var(--border);
  border-radius: var(--radius-xl); padding: 28px 32px;
  margin-bottom: 24px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.welcome-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,.04) 0%, transparent 60%);
  pointer-events: none;
}
.welcome-banner::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  pointer-events: none;
}
.welcome-banner-text { position: relative; }
.welcome-banner-title { font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: -.4px; }
.welcome-banner-sub { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

/* ── STATS ROW ───────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 12px; margin-bottom: 28px; }
.stat-card {
  background: var(--gray-900); border: var(--border);
  border-radius: var(--radius-lg); padding: 22px 24px;
  position: relative; overflow: hidden;
  transition: var(--transition);
  display: flex; flex-direction: column; gap: 4px;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  pointer-events: none;
}
.stat-card:hover { border-color: rgba(255,255,255,.1); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.stat-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,.04); border: var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px; color: var(--gray-500);
}
.stat-label {
  font-size: 10.5px; font-weight: 700; color: var(--gray-600);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.stat-value { font-size: 28px; font-weight: 800; color: var(--white); letter-spacing: -1.5px; line-height: 1; }
.stat-sub { font-size: 11px; color: var(--gray-600); }

/* ── QUICK ACTIONS ───────────────────────────────────────────── */
.quick-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 32px; }
.quick-action-card {
  background: var(--gray-900); border: var(--border);
  border-radius: var(--radius-lg); padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
  transition: var(--transition); cursor: pointer;
  text-decoration: none;
}
.quick-action-card:hover { border-color: rgba(255,255,255,.12); background: var(--gray-800); transform: translateY(-2px); }
.quick-action-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px;
}
.quick-action-label { font-size: 13px; font-weight: 600; color: var(--white); }
.quick-action-sub { font-size: 11px; color: var(--gray-600); margin-top: 2px; }

/* ── LICENSE CARDS ───────────────────────────────────────────── */
.license-cards { display: flex; flex-direction: column; gap: 10px; }
.license-card {
  background: var(--gray-900); border: var(--border);
  border-radius: var(--radius-lg); padding: 20px 24px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.license-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--success); border-radius: 3px 0 0 3px;
  pointer-events: none;
}
.license-card.status-inactive::before { background: var(--gray-600); }
.license-card.status-revoked::before { background: var(--danger); }
.license-card:hover { border-color: rgba(255,255,255,.1); box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.license-product-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px;
}
.license-info { flex: 1; min-width: 0; }
.license-product-name { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.license-key-display {
  font-family: var(--mono); font-size: 11px; color: var(--gray-500);
  background: rgba(255,255,255,.025); border: var(--border);
  border-radius: 6px; padding: 4px 10px; display: inline-block;
  cursor: pointer; transition: var(--transition); margin-bottom: 6px;
}
.license-key-display:hover { border-color: rgba(255,255,255,.1); color: var(--gray-300); }
.license-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.license-meta-item { font-size: 11.5px; color: var(--gray-600); display: flex; align-items: center; gap: 5px; }
.license-meta-item strong { color: var(--gray-400); }
.license-actions { display: flex; gap: 8px; align-items: center; }

/* ── TABLE ───────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: var(--border); }
table { width: 100%; border-collapse: collapse; }
thead { background: rgba(255,255,255,.025); }
th {
  text-align: left; padding: 11px 18px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gray-600); white-space: nowrap;
}
td {
  padding: 13px 18px; font-size: 13px; color: var(--gray-400);
  border-top: var(--border); vertical-align: middle;
}
tr { transition: background .15s ease; }
tr:hover td { background: rgba(255,255,255,.012); color: var(--gray-300); }
.table-empty { text-align: center; padding: 64px; color: var(--gray-700); font-size: 13px; }

/* ── BADGES ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .4px;
}
.badge::before { content: '●'; font-size: 6px; }
.badge-active   { background: rgba(34,197,94,.07);  color: #4ade80; border: 1px solid rgba(34,197,94,.15); }
.badge-inactive { background: rgba(163,163,163,.06); color: var(--gray-500); border: 1px solid rgba(163,163,163,.12); }
.badge-revoked, .badge-cancelled { background: rgba(239,68,68,.07); color: #f87171; border: 1px solid rgba(239,68,68,.15); }
.badge-pending  { background: rgba(245,158,11,.07); color: #fbbf24; border: 1px solid rgba(245,158,11,.15); }
.badge-paid     { background: rgba(34,197,94,.07);  color: #4ade80; border: 1px solid rgba(34,197,94,.15); }
.badge-open     { background: rgba(59,130,246,.07); color: #60a5fa; border: 1px solid rgba(59,130,246,.15); }
.badge-answered { background: rgba(139,92,246,.07); color: #a78bfa; border: 1px solid rgba(139,92,246,.15); }
.badge-closed   { background: rgba(163,163,163,.06); color: var(--gray-500); border: 1px solid rgba(163,163,163,.12); }

/* ── TICKET CARD ─────────────────────────────────────────────── */
.ticket-card {
  background: var(--gray-900); border: var(--border);
  border-radius: var(--radius-lg); padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
  transition: var(--transition); text-decoration: none;
  position: relative; overflow: hidden;
}
.ticket-card:hover { border-color: rgba(255,255,255,.12); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.ticket-card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: #60a5fa; font-size: 16px;
}
.ticket-card.status-answered .ticket-card-icon { background: rgba(139,92,246,.08); border-color: rgba(139,92,246,.15); color: #a78bfa; }
.ticket-card.status-closed .ticket-card-icon { background: rgba(163,163,163,.06); border-color: rgba(163,163,163,.12); color: var(--gray-500); }
.ticket-card-body { flex: 1; min-width: 0; }
.ticket-card-subject { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.ticket-card-meta { font-size: 11.5px; color: var(--gray-600); }
.ticket-card-arrow { color: var(--gray-700); transition: var(--transition); }
.ticket-card:hover .ticket-card-arrow { color: var(--gray-400); transform: translateX(3px); }

/* ── TICKET DETAIL ───────────────────────────────────────────── */
.ticket-bubble {
  border-radius: var(--radius); padding: 16px 18px;
  margin-bottom: 10px;
}
.ticket-bubble-user { background: var(--gray-800); }
.ticket-bubble-admin {
  background: rgba(255,255,255,.04);
  border-left: 3px solid rgba(255,255,255,.2);
  margin-left: 24px;
}
.ticket-bubble-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--gray-600); margin-bottom: 10px;
}
.ticket-bubble-avatar {
  width: 24px; height: 24px; border-radius: 7px;
  background: var(--gray-700); color: var(--white);
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ticket-bubble-admin-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(255,255,255,.08); color: var(--gray-300);
  padding: 2px 7px; border-radius: 999px;
}
.ticket-bubble-content {
  font-size: 14px; color: var(--gray-200); line-height: 1.75;
}

/* ── PROFILE CARD ────────────────────────────────────────────── */
.profile-card {
  background: var(--gray-900); border: var(--border);
  border-radius: var(--radius-xl); overflow: hidden; max-width: 560px;
}
.profile-card-header {
  background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(139,92,246,.05));
  padding: 32px; border-bottom: var(--border);
  display: flex; align-items: center; gap: 20px;
  position: relative; overflow: hidden;
}
.profile-card-header::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  pointer-events: none;
}
.profile-big-avatar {
  width: 72px; height: 72px; border-radius: 20px;
  background: linear-gradient(135deg, #4f4f5c, #2a2a33);
  color: var(--white); font-size: 28px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,.12); flex-shrink: 0;
}
.profile-name { font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: -.4px; }
.profile-email { font-size: 13px; color: var(--gray-500); margin-top: 3px; }
.profile-since { font-size: 11px; color: var(--gray-700); margin-top: 6px; }
.profile-form { padding: 32px; }
.profile-section-title {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray-600);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

/* ── CHECKOUT ────────────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 370px; gap: 32px; max-width: 1000px; margin: 0 auto; }
.payment-methods { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.payment-method-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 20px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.025); border: var(--border);
  cursor: pointer; transition: var(--transition); color: var(--gray-400);
  font-size: 13.5px; font-weight: 500; text-align: left;
  position: relative; z-index: 1;
}
.payment-method-btn:hover { border-color: rgba(255,255,255,.14); color: var(--gray-200); background: rgba(255,255,255,.04); transform: translateX(3px); }
.payment-method-btn.selected {
  border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.055); color: var(--white);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 4px 16px rgba(0,0,0,.3);
}
.payment-method-icon { font-size: 22px; }
.payment-detail {
  display: none; background: rgba(255,255,255,.025); border: var(--border);
  border-radius: var(--radius-lg); padding: 20px; margin-top: 12px;
}
.payment-detail.show { display: block; animation: fadeUpIn .2s ease; }
.order-summary-card {
  background: var(--gray-900); border: var(--border);
  border-radius: var(--radius-xl); padding: 26px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.order-summary-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  pointer-events: none;
}
.order-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: var(--border);
}
.order-row:last-child {
  border-bottom: none; font-weight: 700; color: var(--white);
  font-size: 18px; margin-top: 8px;
}
.order-label { color: var(--gray-500); font-size: 13px; }

/* ── ADMIN LAYOUT ────────────────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 224px 1fr; min-height: 100vh; align-items: start; }
.admin-content { padding: 40px 44px; background: var(--gray-950); min-height: 100vh; }
.admin-title { font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -.5px; }

/* ── PAGE HEADER ─────────────────────────────────────────────── */
.page-header {
  background: var(--gray-900); border-bottom: var(--border);
  padding: 52px 28px; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 120% at 50% -10%, rgba(255,255,255,.035) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 100% 100%, rgba(99,102,241,.03) 0%, transparent 50%);
  pointer-events: none;
}
.page-header::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  pointer-events: none;
}
.page-header-container { max-width: 1240px; margin: 0 auto; position: relative; }
.page-header-title {
  font-size: 36px; font-weight: 800; color: var(--white);
  letter-spacing: -1.5px;
}
.page-header-subtitle { font-size: 14.5px; color: var(--gray-500); margin-top: 8px; }

/* ── MONO TEXT ───────────────────────────────────────────────── */
.mono { font-family: var(--mono); font-size: 12.5px; color: var(--gray-400); }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 8px var(--success), 0 0 16px rgba(34,197,94,.3); transform: scale(1); }
  50% { box-shadow: 0 0 4px var(--success), 0 0 8px rgba(34,197,94,.15); transform: scale(.82); }
}
@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}
.animate-in {
  animation: fadeUpIn .55s cubic-bezier(.4,0,.2,1) forwards;
  opacity: 0;
}

/* ── DIVIDER ─────────────────────────────────────────────────── */
.divider { height: 1px; background: rgba(255,255,255,.05); margin: 32px 0; }

/* ── CTA SECTION ─────────────────────────────────────────────── */
.cta-section {
  position: relative; overflow: hidden;
  background: var(--gray-900); border-top: var(--border); border-bottom: var(--border);
  padding: 112px 28px; text-align: center;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 50% 50%, rgba(255,255,255,.035) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(99,102,241,.04) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(139,92,246,.03) 0%, transparent 50%);
  pointer-events: none;
}
.cta-section .section-container { position: relative; }
.cta-title {
  font-size: clamp(28px, 4.5vw, 50px); font-weight: 800; color: var(--white);
  letter-spacing: -2px; margin-bottom: 18px; line-height: 1.05;
}
.cta-subtitle { font-size: 15.5px; color: var(--gray-500); margin-bottom: 48px; line-height: 1.75; max-width: 440px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--black); border-top: var(--border);
  padding: 80px 28px 0;
  position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  pointer-events: none;
}
.footer-container {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 300px 1fr; gap: 80px; padding-bottom: 60px;
}
.footer-tagline { font-size: 12.5px; color: var(--gray-700); margin-top: 16px; line-height: 1.7; max-width: 240px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.footer-col h4 {
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gray-700); margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 13px; color: var(--gray-600); margin-bottom: 11px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--white); transform: translateX(3px); }
.footer-bottom {
  border-top: var(--border); padding: 24px 0; text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--gray-800); max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ── PREMIUM EXTRAS ──────────────────────────────────────────── */
.license-key {
  font-family: var(--mono);
  background: rgba(255,255,255,.03);
  border: var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--gray-300);
  letter-spacing: .6px;
  word-break: break-all;
  cursor: pointer;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.license-key::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  pointer-events: none;
}
.license-key:hover { border-color: rgba(255,255,255,.12); color: var(--white); background: rgba(255,255,255,.045); }

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── BACK LINK ───────────────────────────────────────────────── */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--gray-500);
}
.back-link:hover { color: var(--white); }

/* ══ ADMIN v2 — SIDEBAR ══════════════════════════════════════════ */
.admin-sidebar {
  width: 224px; min-width: 224px;
  background: var(--gray-900);
  border-right: 1px solid rgba(255,255,255,.05);
  min-height: 100vh;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar-brand {
  display: flex; align-items: center; gap: 11px;
  padding: 20px 18px 18px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  margin-bottom: 8px;
}
.sidebar-brand-icon {
  width: 34px; height: 34px;
  background: var(--white); color: var(--gray-950);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sidebar-brand-name {
  font-size: 13px; font-weight: 800; color: var(--white);
  letter-spacing: .3px; line-height: 1.2;
}
.sidebar-brand-sub {
  font-size: 10px; color: var(--gray-600);
  letter-spacing: 1.5px; text-transform: uppercase; margin-top: 1px;
}
.sidebar-section-title {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray-700);
  padding: 8px 18px 6px;
}
.sidebar-nav { padding: 2px 10px; flex: 1; }
.sidebar-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 8px;
  font-size: 13.5px; color: var(--gray-500);
  font-weight: 500; text-decoration: none;
  cursor: pointer; margin-bottom: 2px;
  transition: all .18s ease;
  position: relative;
}
.sidebar-nav-item:hover { background: rgba(255,255,255,.04); color: var(--gray-200); }
.sidebar-nav-item.active {
  background: rgba(255,255,255,.06);
  color: var(--white); font-weight: 600;
}
.sidebar-nav-item.active::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%); width: 3px; height: 18px;
  background: var(--white); border-radius: 0 3px 3px 0;
}
.sidebar-nav-icon { display: flex; align-items: center; flex-shrink: 0; opacity: .75; }
.sidebar-nav-item.active .sidebar-nav-icon,
.sidebar-nav-item:hover .sidebar-nav-icon { opacity: 1; }
.sidebar-nav-label { flex: 1; }
.sidebar-badge {
  font-size: 10px; font-weight: 700; min-width: 18px; height: 18px;
  background: var(--danger); color: #fff;
  border-radius: 9px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
}
.sidebar-footer {
  padding: 12px 10px 16px;
  border-top: 1px solid rgba(255,255,255,.04);
}
.sidebar-back-btn { color: var(--gray-600) !important; }
.sidebar-back-btn:hover { color: var(--gray-300) !important; }
.sidebar-version {
  font-size: 10px; color: var(--gray-800);
  text-align: center; margin-top: 8px;
}

/* ══ ADMIN v2 — DASHBOARD ════════════════════════════════════════ */
.admin-header { margin-bottom: 32px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.admin-header-sub { font-size: 13px; color: var(--gray-600); margin-top: 3px; }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px; margin-bottom: 36px;
}
.dash-stat-card {
  background: var(--gray-900);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: border-color .2s;
}
.dash-stat-card:hover { border-color: rgba(255,255,255,.1); }
.dash-stat-card.dash-stat-revenue { border-color: rgba(255,255,255,.08); }
.dash-stat-card.dash-stat-warn { border-color: rgba(245,158,11,.15); }
.dash-stat-icon {
  width: 38px; height: 38px; background: rgba(255,255,255,.04);
  border-radius: 10px; border: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); flex-shrink: 0;
}
.dash-stat-body { flex: 1; min-width: 0; }
.dash-stat-label { font-size: 11px; font-weight: 600; color: var(--gray-600); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.dash-stat-value { font-size: 26px; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -1px; }
.dash-stat-sub { font-size: 11.5px; color: var(--gray-600); margin-top: 5px; }
.dash-stat-warn .dash-stat-value { color: var(--warning); }
.dash-stat-revenue .dash-stat-value { color: var(--white); }

.dash-two-col {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px;
}
.dash-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.dash-section-title { font-size: 15px; font-weight: 700; color: var(--white); }
.dash-see-all { font-size: 12px; color: var(--gray-600); }
.dash-see-all:hover { color: var(--white); }

/* ══ ADMIN v2 — SETTINGS ════════════════════════════════════════ */
.settings-card {
  background: var(--gray-900);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 18px;
}
.settings-card-header {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; color: var(--white);
  margin-bottom: 22px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.settings-card-header svg { color: var(--gray-500); }

/* ══ ADMIN v2 — ORDER SUMMARY ════════════════════════════════════ */
.order-summary-row {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px;
}
.order-summary-chip {
  display: flex; align-items: center; gap: 7px;
  background: var(--gray-900); border: 1px solid rgba(255,255,255,.05);
  border-radius: 8px; padding: 8px 14px; font-size: 13px; color: var(--gray-400);
}
.order-summary-chip strong { color: var(--white); font-weight: 700; margin-left: 2px; }
.order-summary-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-pending { background: var(--warning); }
.dot-paid    { background: var(--success); }
.dot-cancelled { background: var(--gray-600); }

/* ══ ADMIN v2 — PRODUCT FORM ════════════════════════════════════ */
.product-form-card { margin-bottom: 40px; }
.form-section-title {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray-600);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.product-image-upload-area {
  display: grid; grid-template-columns: 180px 1fr; gap: 20px;
  align-items: start;
}
.product-thumb-preview {
  width: 180px; height: 130px; border-radius: var(--radius);
  overflow: hidden; position: relative; cursor: pointer;
  border: 1px solid rgba(255,255,255,.08);
}
.product-thumb-preview img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb-placeholder {
  width: 180px; height: 130px; border-radius: var(--radius);
  border: 2px dashed rgba(255,255,255,.08);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color .2s;
}
.product-thumb-placeholder:hover { border-color: rgba(255,255,255,.18); }
.thumb-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
  font-size: 12px; font-weight: 600; color: #fff;
  pointer-events: none;
}
.product-thumb-preview:hover .thumb-overlay { opacity: 1; }
.product-image-upload-right { display: flex; flex-direction: column; gap: 0; }

/* ══ PRODUCT PAGE ════════════════════════════════════════════════ */
.product-detail-layout {
  display: grid; grid-template-columns: 1fr 360px; gap: 52px; align-items: start;
}
.product-detail-left { min-width: 0; }
.product-detail-right { position: sticky; top: 90px; }
.product-detail-image {
  border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 36px; border: var(--border);
}
.product-detail-image img { width: 100%; height: 360px; object-fit: cover; display: block; }

.demo-section {
  background: var(--gray-900);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: 20px 22px; margin-bottom: 36px;
  position: relative; overflow: hidden;
}
.demo-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  pointer-events: none;
}
.demo-section-inner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.demo-section-icon {
  width: 46px; height: 46px;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-blue); flex-shrink: 0;
}
.demo-section-body { flex: 1; min-width: 0; }
.demo-section-title { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 3px; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .hero-container { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { max-width: 520px; }
  .hero-left { max-width: 100%; }
}
@media (max-width: 1024px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 52px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .dash-two-col { grid-template-columns: 1fr; }
  .product-detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  /* Navbar sabit yukseklik */
  .nav-container { padding: 0 18px; height: 58px; flex-wrap: nowrap; gap: 0; }
  .nav-toggle { display: flex; margin-left: auto; }

  /* nav-links ve nav-actions gizle — mobile-panel ile yonetilecek */
  .nav-links, .nav-actions { display: none !important; }

  /* Tek slide-down panel — navbar hemen altinda */
  .mobile-panel {
    display: block;
    position: fixed;
    top: 58px; left: 0; right: 0;
    background: rgba(6,6,8,.97);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border-bottom: var(--border);
    z-index: 997;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height .35s cubic-bezier(.4,0,.2,1), opacity .2s ease;
  }
  .mobile-panel.open {
    max-height: 500px;
    opacity: 1;
    pointer-events: all;
  }
  .mobile-panel-links {
    display: flex; flex-direction: column; gap: 2px;
    padding: 10px 12px 0;
  }
  .mobile-panel-links a {
    display: block; width: 100%;
    padding: 11px 14px;
    font-size: 15px; font-weight: 500;
    color: var(--gray-500);
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
  }
  .mobile-panel-links a:hover { color: var(--white); background: rgba(255,255,255,.05); }
  .mobile-panel-links a.active { color: var(--white); background: rgba(255,255,255,.06); }
  .mobile-panel-links a.nav-admin { border: var(--border); background: rgba(255,255,255,.02); }
  .mobile-panel-actions {
    display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px;
    padding: 10px 12px 16px;
  }
  .mobile-panel-actions .btn { flex: 1; justify-content: center; }
  .mobile-panel-divider {
    height: 1px; background: var(--border-color, rgba(255,255,255,.07));
    margin: 0 12px;
  }
  /* user-menu mobile icin */
  .mobile-panel-user {
    padding: 10px 12px 16px;
    display: flex; align-items: center; gap: 10px;
  }
  .dashboard-layout, .admin-layout { grid-template-columns: 1fr; }
  .sidebar { border-right: none; border-bottom: var(--border); position: static; height: auto; }
  .dashboard-content, .admin-content { padding: 22px 16px; }
  .hero-container { padding: 72px 20px 60px; }
  .section { padding: 72px 20px; }
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .hero-stats { padding-top: 32px; }
  .hero-stat { padding-right: 32px; margin-right: 32px; }
  .auth-card { padding: 36px 24px; border-radius: var(--radius-xl); }
  .hero-title { letter-spacing: -1.8px; }
  .page-header { padding: 36px 20px; }
  .page-header-title { font-size: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .welcome-banner { flex-direction: column; align-items: flex-start; }
  .license-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .btn-lg { padding: 12px 24px; font-size: 14px; }
  .hero-stat { display: block; }
  .hero-stat:not(:last-child) { border-right: none; padding-bottom: 20px; margin-bottom: 20px; border-bottom: var(--border); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-trust-badges { justify-content: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE ADDITIONS v3
   ═══════════════════════════════════════════════════════════════ */

/* ── GLOBAL OVERFLOW FIX ─────────────────────────────────────── */
/* NOT: html'de overflow:hidden kullanmak position:fixed öğeleri bozar */
/* Bunun yerine body'de clip kullanıyoruz */
html { overflow-x: clip; }
.admin-content, .dashboard-content { min-width: 0; max-width: 100%; }
.admin-layout > *, .dashboard-layout > * { min-width: 0; }

/* ── TABLE TOUCH SCROLL ──────────────────────────────────────── */
.table-wrap { -webkit-overflow-scrolling: touch; overflow-x: auto; }

/* ══════════════════════════════════════════════════════════════
   HAMBURGER BUTTON
   ══════════════════════════════════════════════════════════════ */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 9px;
  cursor: pointer; padding: 0;
  transition: background .2s ease, border-color .2s ease;
  flex-shrink: 0;
}
.nav-toggle:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.14) !important;
}
.nav-toggle span {
  display: block;
  width: 15px; height: 1.5px;
  background: var(--gray-200);
  border-radius: 2px;
  transition: transform .25s cubic-bezier(.4,0,.2,1), opacity .2s ease, width .25s ease;
  transform-origin: center;
}
/* Open state — X */
.nav-toggle.is-open { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12) !important; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════
   TABLET — 1024px
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Admin layout: sidebar on top, content below */
  .admin-layout { grid-template-columns: 1fr; align-items: start; }
  .admin-layout .admin-content { min-height: 0; }

  /* Admin sidebar → horizontal sticky top bar */
  .admin-sidebar {
    width: 100%; min-width: unset;
    min-height: 0 !important;       /* Kill the 100vh min-height */
    height: auto !important;
    position: sticky; top: 62px; z-index: 200;
    flex-direction: row; align-items: center;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.07);
    background: rgba(6,6,8,.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    overflow: hidden;               /* Contain nav scroll within sidebar */
  }
  /* Also kill min-height on layout and content */
  .admin-layout { min-height: 0 !important; }
  .admin-content { min-height: 0 !important; }
  .admin-sidebar .sidebar-brand {
    padding: 10px 14px; border-bottom: none; margin-bottom: 0;
    flex-shrink: 0; border-right: 1px solid rgba(255,255,255,.06);
  }
  .admin-sidebar .sidebar-brand-sub { display: none; }
  .admin-sidebar .sidebar-section-title { display: none; }
  .admin-sidebar .sidebar-version { display: none; }
  .admin-sidebar .sidebar-footer {
    border-top: none; padding: 0 8px;
    border-left: 1px solid rgba(255,255,255,.06);
    flex-shrink: 0;
  }
  .admin-sidebar .sidebar-footer .sidebar-nav-item { margin-bottom: 0; }

  /* Nav items horizontal scroll */
  .admin-sidebar .sidebar-nav {
    flex-direction: row; flex-wrap: nowrap;
    overflow-x: auto; overflow-y: visible;
    padding: 0 4px; flex: 1; gap: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .admin-sidebar .sidebar-nav::-webkit-scrollbar { display: none; }
  .admin-sidebar .sidebar-nav-item {
    flex-direction: row; white-space: nowrap;
    padding: 0 14px; height: 52px;
    border-radius: 0; font-size: 13px;
    flex-shrink: 0; margin-bottom: 0;
    border-bottom: 2px solid transparent;
  }
  .admin-sidebar .sidebar-nav-item:hover { background: rgba(255,255,255,.04); border-radius: 0; }
  .admin-sidebar .sidebar-nav-item.active {
    background: rgba(255,255,255,.04);
    border-bottom-color: var(--white);
    border-radius: 0;
  }
  .admin-sidebar .sidebar-nav-item.active::before { display: none; }
  .admin-sidebar .sidebar-badge {
    font-size: 9px; min-width: 16px; height: 16px;
  }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE — 768px
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* ── Hamburger visible ── */
  .nav-toggle { display: flex; }

  /* ── Dashboard layout: sidebar on top ── */
  .dashboard-layout { grid-template-columns: 1fr; }

  /* Dashboard sidebar → compact horizontal tab strip */
  .sidebar {
    width: 100%; min-width: unset;
    position: sticky; top: 62px; z-index: 200;
    height: auto !important; max-height: none;
    border-right: none;
    border-bottom: var(--border);
    background: rgba(6,6,8,.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: row; align-items: stretch;
    overflow: hidden;               /* Contain the scrollable nav inside */
    padding: 0;
    display: flex;
  }

  /* Hide profile block in mobile sidebar */
  .sidebar-profile { display: none; }
  .sidebar-section-label { display: none; }

  /* Nav links horizontal */
  .sidebar-nav {
    flex-direction: row; flex-wrap: nowrap;
    overflow-x: auto; overflow-y: visible;
    padding: 0 4px; gap: 2px; flex: 1;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sidebar-nav::-webkit-scrollbar { display: none; }

  .sidebar-link {
    flex-direction: row; white-space: nowrap;
    padding: 0 14px; height: 50px; gap: 8px;
    border-radius: 0; font-size: 13px; font-weight: 500;
    flex-shrink: 0; border-bottom: 2px solid transparent;
    align-items: center;
  }
  .sidebar-link::before { display: none; }
  .sidebar-link:hover { background: rgba(255,255,255,.04); border-radius: 0; }
  .sidebar-link.active {
    background: rgba(255,255,255,.04);
    border-bottom-color: var(--white);
    color: var(--white);
    border-radius: 0;
  }
  .sidebar-link-icon { width: 16px; height: 16px; }
  .sidebar-link-count {
    font-size: 9.5px; padding: 1px 6px; min-width: 18px;
  }

  /* ── Dashboard content ── */
  .dashboard-content { padding: 20px 14px; }

  /* ── Hero ── */
  .hero { min-height: auto; overflow: hidden; }
  .hero-orb-1 { width: 260px; height: 260px; top: -40px; left: -50px; }
  .hero-orb-2 { width: 180px; height: 180px; bottom: -30px; right: -30px; }

  /* ── Flash ── */
  .flash { padding: 11px 16px; font-size: 12.5px; gap: 8px; }

  /* ── Ticket admin indent ── */
  .ticket-bubble-admin { margin-left: 8px; }

  /* ── Product upload area stack ── */
  .product-image-upload-area { grid-template-columns: 1fr; }
  .product-thumb-preview,
  .product-thumb-placeholder { width: 100%; max-width: 100%; }

  /* ── Product detail image ── */
  .product-detail-image img { height: 220px; }

  /* ── Page header ── */
  .page-header { padding: 32px 18px; }
  .page-header-title { font-size: 26px; }
  .page-header-container { padding: 0; }

  /* ── Checkout & order ── */
  .checkout-form-section { padding: 22px 16px; }
  .demo-section-inner { flex-direction: column; align-items: flex-start; }
  .order-summary-row { flex-direction: column; gap: 8px; }

  /* ── Footer ── */
  .footer-bottom p { font-size: 11px; }
}

/* ══════════════════════════════════════════════════════════════
   SMALL MOBILE — 640px
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; gap: 12px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .section-header { margin-bottom: 44px; }
  .product-body { padding: 18px; }
  .product-name { font-size: 18px; }
  .product-price { font-size: 24px; }

  /* Admin sidebar nav items — show icon only on small tablets */
  .admin-sidebar .sidebar-nav-item { padding: 0 10px; }
  .admin-sidebar .sidebar-nav-label { font-size: 12px; }
}

/* ══════════════════════════════════════════════════════════════
   EXTRA SMALL — 480px
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* ── Auth ── */
  .auth-page { padding: 12px; align-items: flex-start; padding-top: 32px; }
  .auth-card { padding: 26px 16px; max-width: 100%; border-radius: var(--radius-xl); }

  /* ── Cards ── */
  .card { padding: 18px; }
  .feature-card { padding: 20px; }
  .step-card { padding: 22px 16px; }

  /* ── Sections ── */
  .section { padding: 52px 14px; }
  .cta-section { padding: 60px 14px; }
  .hero-container { padding: 48px 14px 40px; }
  .footer { padding: 52px 14px 0; }
  .footer-container { gap: 32px; padding-bottom: 36px; }

  /* ── Nav action buttons ── */
  .nav-actions .btn-ghost,
  .nav-actions .btn-primary { flex: 1; justify-content: center; }

  /* ── License key wrap ── */
  .license-key-display { display: block; white-space: normal; word-break: break-all; max-width: 100%; }

  /* ── Welcome banner ── */
  .welcome-banner { padding: 16px; }
  .welcome-banner-title { font-size: 17px; }

  /* ── Stat values ── */
  .dash-stat-value { font-size: 22px; }
  .stat-value { font-size: 22px; }

  /* ── Quick actions ── */
  .quick-action-card { padding: 13px; gap: 10px; }
  .quick-action-label { font-size: 12px; }
  .quick-action-sub { font-size: 10.5px; }

  /* ── Profile ── */
  .profile-card-header { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* ── Hero ── */
  .hero-badge { font-size: 10px; padding: 5px 12px; }
  .hero-subtitle { font-size: 14px; margin-bottom: 28px; }
  .hero-actions { gap: 8px; }
  .hero-proof-card { padding: 18px; }

  /* ── Admin sidebar — icon only mode ── */
  .admin-sidebar .sidebar-nav-item { padding: 0 12px; gap: 0; }
  .admin-sidebar .sidebar-nav-label { display: none; }
  .admin-sidebar .sidebar-nav-icon { opacity: 1; }
  .admin-sidebar .sidebar-badge { position: absolute; top: 8px; right: 4px; }
  .admin-sidebar .sidebar-nav-item { position: relative; }

  /* ── Tables compact ── */
  th { padding: 9px 10px; font-size: 10px; }
  td { padding: 10px 10px; font-size: 12px; }

  /* ── Tickets ── */
  .ticket-bubble-admin { margin-left: 0; }
  .ticket-bubble { padding: 12px 13px; }

  /* ── Product actions ── */
  .product-actions { flex-wrap: wrap; }
  .product-actions .btn { flex: 1; min-width: 110px; justify-content: center; }

  /* ── Dashboard sidebar labels on tiny screens ── */
  .sidebar-link { padding: 0 10px; gap: 6px; font-size: 12px; }
}
