/* ==========================================================================
   1one.shop — Premium Design System
   Custom styles layered on top of Tailwind CSS
   ========================================================================== */

:root {
  --bg-base:    #0B0A14;
  --bg-elev-1:  #13111F;
  --bg-elev-2:  #1C1930;
  --bg-elev-3:  #2A2540;
  --brand-50:   #F5F3FF;
  --brand-300:  #C4B5FD;
  --brand-400:  #A78BFA;
  --brand-500:  #8B5CF6;
  --brand-600:  #7C3AED;
  --brand-700:  #6D28D9;
  --accent-400: #FB923C;
  --accent-500: #F97316;
  --pink-500:   #EC4899;
  --text-1:     #F8FAFC;
  --text-2:     #CBD5E1;
  --text-3:     #94A3B8;
  --text-4:     #64748B;
  --ring:       rgba(124, 58, 237, 0.4);
  --grad-brand: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  --grad-accent:linear-gradient(135deg, #F97316 0%, #EC4899 100%);
  --grad-cosmic:linear-gradient(135deg, #7C3AED 0%, #4F46E5 50%, #06B6D4 100%);
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.3);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:  0 12px 32px rgba(0,0,0,0.45);
  --shadow-glow:0 0 40px -8px rgba(124, 58, 237, 0.55);
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-1);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Cosmic background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 58, 237, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 30%, rgba(236, 72, 153, 0.15), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 70%, rgba(6, 182, 212, 0.12), transparent 60%),
    var(--bg-base);
  background-attachment: fixed;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection { background: var(--brand-600); color: white; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-elev-1); }
::-webkit-scrollbar-thumb { background: var(--bg-elev-3); border-radius: 8px; border: 2px solid var(--bg-elev-1); }
::-webkit-scrollbar-thumb:hover { background: var(--brand-700); }

/* ---------- Container & layout helpers ---------- */
.container { max-width: 1280px; margin: 0 auto; }

.section-pad { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) {
  .section-pad { padding-top: 7rem; padding-bottom: 7rem; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--brand-300);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-400);
  box-shadow: 0 0 8px var(--brand-400);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(0.8); }
}

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.gradient-text-cosmic {
  background: var(--grad-cosmic);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradientMove 6s ease infinite;
}
@keyframes gradientMove {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

.h-section {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--text-1);
}
.h-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-3);
  line-height: 1.65;
  max-width: 60ch;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  background: var(--grad-brand);
  background-size: 150% 150%;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 24px -8px rgba(124, 58, 237, 0.5), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, background-position .4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  background-position: 100% 100%;
  box-shadow: 0 14px 32px -8px rgba(124, 58, 237, 0.7), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:active { transform: translateY(0) scale(0.99); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-1);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  transition: all .25s ease;
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(124, 58, 237, 0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-2);
  transition: all .2s ease;
  cursor: pointer;
}
.btn-ghost:hover { color: var(--brand-300); background: rgba(124,58,237,0.08); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 10, 20, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  background: rgba(11, 10, 20, 0.92);
  border-bottom-color: rgba(124, 58, 237, 0.2);
}

.logo-text { color: var(--text-1); }
.logo-mark { display: inline-flex; transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.08); }

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-2);
  transition: all .2s ease;
}
.nav-link:hover { color: var(--text-1); background: rgba(255,255,255,0.04); }
.nav-link--active { color: var(--brand-300); background: rgba(124,58,237,0.1); }

/* Dropdown */
.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 360px;
  padding: 1rem;
  background: rgba(28, 25, 48, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.7);
  opacity: 0;
  visibility: hidden;
  transition: all .25s cubic-bezier(.21,.6,.35,1);
  z-index: 50;
}
.group:hover > .dropdown-panel,
.group:focus-within > .dropdown-panel {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
  transition: all .15s ease;
}
.dropdown-item:hover { background: rgba(124,58,237,0.12); color: var(--brand-200); }
.dropdown-cta {
  display: block;
  margin-top: 0.6rem;
  padding: 0.7rem 0.8rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  background: var(--grad-brand);
  border-radius: 10px;
  transition: opacity .2s ease;
}
.dropdown-cta:hover { opacity: 0.9; }

/* Mobile toggle */
.mobile-toggle {
  width: 40px; height: 40px;
  display: inline-flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: pointer;
}
.mobile-toggle span {
  width: 20px; height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: all .3s ease;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { background: rgba(11, 10, 20, 0.98); border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-nav a, .mobile-nav summary { color: var(--text-2); font-weight: 500; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding-top: 7rem; padding-bottom: 6rem; } }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--brand-300);
  backdrop-filter: blur(8px);
  animation: fadeUp .6s .1s both;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--brand-400);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--brand-400);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 1.5rem 0 1.5rem;
  animation: fadeUp .7s .2s both;
}
.hero-title .accent-line { display: inline-block; position: relative; }
.hero-title .accent-line::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  background: var(--grad-brand);
  border-radius: 3px;
  opacity: 0.7;
  filter: blur(0.5px);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-3);
  line-height: 1.65;
  max-width: 60ch;
  margin-bottom: 2rem;
  animation: fadeUp .7s .35s both;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; animation: fadeUp .7s .5s both; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  animation: fadeUp .7s .65s both;
}
.hero-stat-num {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-top: 0.25rem;
}

/* Floating preview card in hero */
.hero-preview {
  position: relative;
  padding: 1.75rem;
  background: linear-gradient(180deg, rgba(28,25,48,0.9) 0%, rgba(19,17,31,0.7) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  box-shadow: 0 30px 60px -20px rgba(124, 58, 237, 0.4);
  backdrop-filter: blur(20px);
  animation: fadeUp .9s .5s both, float 7s ease-in-out infinite 1s;
}
.hero-preview-bar { display: flex; gap: 6px; margin-bottom: 1.25rem; }
.hero-preview-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.hero-preview-bar span:nth-child(1) { background: #FF5F57; }
.hero-preview-bar span:nth-child(2) { background: #FEBC2E; }
.hero-preview-bar span:nth-child(3) { background: #28C840; }

.hero-preview h4 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-3);
  margin: 0 0 0.75rem;
}
.hero-preview-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hero-preview-row:last-of-type { border-bottom: none; }
.hero-preview-row .label { color: var(--text-3); font-size: 0.9rem; }
.hero-preview-row .val { color: var(--text-1); font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.hero-preview-total {
  margin-top: 1rem; padding: 1rem;
  background: var(--grad-brand);
  border-radius: 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.hero-preview-total .label { color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.9rem; }
.hero-preview-total .val { color: white; font-weight: 800; font-family: 'JetBrains Mono', monospace; font-size: 1.5rem; }

/* Floating orbs in hero */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 320px; height: 320px; background: radial-gradient(circle, #7C3AED 0%, transparent 70%); top: -50px; right: -100px; }
.orb-2 { width: 280px; height: 280px; background: radial-gradient(circle, #EC4899 0%, transparent 70%); bottom: -80px; left: -80px; animation-delay: -3s; }
.orb-3 { width: 200px; height: 200px; background: radial-gradient(circle, #06B6D4 0%, transparent 70%); top: 40%; left: 50%; animation-delay: -5s; opacity: 0.35; }

/* ---------- Section header ---------- */
.section-header { max-width: 760px; margin-bottom: 3rem; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header.center .h-sub { margin-left: auto; margin-right: auto; }

/* ---------- Tool / Article Cards ---------- */
.tool-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(28,25,48,0.5) 0%, rgba(19,17,31,0.4) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  transition: all .35s cubic-bezier(.21,.6,.35,1);
  position: relative;
  overflow: hidden;
  animation: fadeUp .6s both;
}
.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(124, 58, 237, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 20px 40px -12px rgba(124, 58, 237, 0.35);
}
.tool-card:hover::before { opacity: 1; }

.tool-card-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.18) 0%, rgba(236,72,153,0.12) 100%);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--brand-300);
  margin-bottom: 1.1rem;
  transition: all .35s ease;
}
.tool-card-icon svg { width: 26px; height: 26px; }
.tool-card:hover .tool-card-icon {
  transform: scale(1.08) rotate(-4deg);
  background: var(--grad-brand);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 20px -4px rgba(124,58,237,0.6);
}

.tool-card-body { flex: 1; }
.tool-card-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: 0.5rem;
}
.tool-card-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0 0 0.6rem;
  color: var(--text-1);
  letter-spacing: -0.01em;
}
.tool-card-desc {
  font-size: 0.9rem;
  color: var(--text-3);
  line-height: 1.55;
  margin: 0 0 1.25rem;
}
.tool-card-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 600;
  color: var(--brand-300);
  transition: color .2s ease;
}
.tool-card:hover .tool-card-cta { color: var(--brand-200); }

/* Article card */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(28,25,48,0.4) 0%, rgba(19,17,31,0.3) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  transition: all .3s cubic-bezier(.21,.6,.35,1);
  animation: fadeUp .6s both;
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(236, 72, 153, 0.35);
  box-shadow: 0 16px 36px -10px rgba(236, 72, 153, 0.25);
}
.article-card-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.2);
  color: #F9A8D4;
  margin-bottom: 1rem;
}
.article-card-icon svg { width: 22px; height: 22px; }
.article-card-body { flex: 1; }
.article-card-cat {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: #F9A8D4;
}
.article-card-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0.5rem 0 1rem;
  color: var(--text-1);
  letter-spacing: -0.01em;
}
.article-card-cta {
  font-size: 0.85rem; font-weight: 600;
  color: #F9A8D4;
}

/* ---------- Category chip ---------- */
.category-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: all .2s ease;
}
.category-chip:hover { background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.4); color: var(--brand-200); }
.category-chip.active {
  background: var(--grad-brand);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 16px -4px rgba(124,58,237,0.6);
}

/* ---------- Calculator page ---------- */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .calc-layout { grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; }
}

.calc-shell {
  background: linear-gradient(180deg, rgba(28,25,48,0.65) 0%, rgba(19,17,31,0.5) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.calc-shell::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.5), transparent);
}

.calc-title-bar {
  display: flex; align-items: center; gap: 0.9rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.calc-title-bar .icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--grad-brand);
  color: white;
  box-shadow: 0 8px 20px -4px rgba(124,58,237,0.5);
}
.calc-title-bar .icon svg { width: 24px; height: 24px; }
.calc-title-bar h2 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.3rem; margin: 0; }
.calc-title-bar p { margin: 0.15rem 0 0; font-size: 0.85rem; color: var(--text-3); }

/* Form fields */
.field { margin-bottom: 1.25rem; }
.field-label {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 0.5rem;
}
.field-label label { font-size: 0.88rem; font-weight: 500; color: var(--text-2); }
.field-label .hint { font-size: 0.78rem; color: var(--text-4); }

.input-wrap { position: relative; }
.input-wrap .prefix,
.input-wrap .suffix {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 0.88rem; color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  pointer-events: none;
}
.input-wrap .prefix { left: 0.9rem; }
.input-wrap .suffix { right: 0.9rem; }

.input, .select, .textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(11, 10, 20, 0.5);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: var(--text-1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  transition: all .2s ease;
  outline: none;
}
.input-wrap .prefix ~ .input { padding-left: 2rem; }
.input-wrap .suffix ~ .input,
.input:has(~ .suffix) { padding-right: 2.5rem; }

.input:hover, .select:hover { border-color: rgba(255,255,255,0.15); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand-500);
  background: rgba(11, 10, 20, 0.7);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.18);
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394A3B8' stroke-width='2'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.1rem;
  padding-right: 2.5rem;
  font-family: 'Inter', sans-serif;
}
.textarea { font-family: 'Inter', sans-serif; resize: vertical; min-height: 90px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* Range slider */
.range-row { display: flex; align-items: center; gap: 1rem; }
.range {
  flex: 1;
  -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  outline: none;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-brand);
  border: 3px solid white;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(124,58,237,0.6);
  transition: transform .2s ease;
}
.range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-600);
  border: 3px solid white;
  cursor: pointer;
}

/* Result panel */
.result-panel {
  background: linear-gradient(180deg, rgba(124,58,237,0.12) 0%, rgba(236,72,153,0.06) 100%);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 18px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
}
.result-panel::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.03));
  pointer-events: none;
}
.result-headline {
  display: flex; align-items: baseline; gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.result-headline .label { font-size: 0.85rem; color: var(--text-3); }
.result-headline .value {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.result-grid .item {
  padding: 0.75rem;
  background: rgba(11, 10, 20, 0.4);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}
.result-grid .item .lbl { font-size: 0.75rem; color: var(--text-3); display: block; margin-bottom: 0.2rem; }
.result-grid .item .val { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: var(--text-1); font-size: 0.95rem; }

.result-note {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 10px;
  font-size: 0.8rem;
  color: #FDBA74;
}

/* ---------- Prose (article body) ---------- */
.prose { max-width: 75ch; }
.prose h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  color: var(--text-1);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  scroll-margin-top: 100px;
}
.prose h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-1);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}
.prose p {
  margin: 0 0 1.1rem;
  color: var(--text-2);
  line-height: 1.75;
  font-size: 1.05rem;
}
.prose ul, .prose ol { margin: 0 0 1.25rem 1.25rem; color: var(--text-2); line-height: 1.7; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--text-1); font-weight: 600; }
.prose a { color: var(--brand-300); text-decoration: underline; text-decoration-color: rgba(124,58,237,0.4); text-underline-offset: 3px; transition: all .2s ease; }
.prose a:hover { color: var(--brand-200); text-decoration-color: var(--brand-300); }

.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--brand-500);
  background: rgba(124,58,237,0.06);
  border-radius: 0 12px 12px 0;
  color: var(--text-2);
  font-style: italic;
}
.prose code {
  background: rgba(255,255,255,0.06);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  font-size: 0.9em;
  font-family: 'JetBrains Mono', monospace;
  color: var(--brand-200);
}
.prose pre {
  background: rgba(11, 10, 20, 0.7);
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow-x: auto;
  margin: 1.5rem 0;
}
.prose pre code { background: transparent; padding: 0; color: var(--text-2); }
.prose table {
  width: 100%; border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.prose th, .prose td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.08);
}
.prose th { background: rgba(124,58,237,0.1); color: var(--text-1); font-weight: 600; }
.prose td { color: var(--text-2); }

/* Callout */
.callout {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  display: flex; gap: 1rem;
  align-items: flex-start;
}
.callout-info { background: rgba(6, 182, 212, 0.08); border: 1px solid rgba(6, 182, 212, 0.25); }
.callout-warn { background: rgba(249, 115, 22, 0.08); border: 1px solid rgba(249, 115, 22, 0.25); }
.callout-tip  { background: rgba(34, 197, 94, 0.08); border: 1px solid rgba(34, 197, 94, 0.25); }
.callout-icon { flex-shrink: 0; width: 22px; height: 22px; }
.callout-info .callout-icon { color: #67E8F9; }
.callout-warn .callout-icon { color: #FDBA74; }
.callout-tip .callout-icon { color: #86EFAC; }
.callout-body { color: var(--text-2); font-size: 0.95rem; line-height: 1.6; }
.callout-body strong { color: var(--text-1); }

/* FAQ */
.faq-item {
  background: rgba(28, 25, 48, 0.4);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all .25s ease;
}
.faq-item[open] { border-color: rgba(124,58,237,0.3); background: rgba(28, 25, 48, 0.6); }
.faq-item summary {
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-1);
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem; font-weight: 300;
  color: var(--brand-300);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 1.4rem 1.2rem; color: var(--text-2); line-height: 1.7; }

/* TOC */
.toc {
  background: rgba(28, 25, 48, 0.4);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.toc h4 { font-family: 'Sora', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--text-3); margin: 0 0 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.toc ol { margin: 0; padding-left: 1.25rem; }
.toc li { margin-bottom: 0.4rem; font-size: 0.92rem; }
.toc a { color: var(--text-3); transition: color .15s ease; }
.toc a:hover { color: var(--brand-300); }

/* Article meta bar */
.article-meta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(28, 25, 48, 0.4);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  font-size: 0.85rem; color: var(--text-3);
  margin-bottom: 2rem;
}
.article-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 6rem;
  background: linear-gradient(180deg, transparent 0%, rgba(19, 17, 31, 0.5) 50%, rgba(11, 10, 20, 0.8) 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.6), transparent);
}
.footer-heading {
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-1); margin: 0 0 1rem;
}
.footer-link {
  color: var(--text-3); font-size: 0.88rem;
  transition: color .15s ease;
}
.footer-link:hover { color: var(--brand-300); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1.5rem; bottom: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-brand);
  color: white;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 10px 30px -8px rgba(124,58,237,0.6);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  z-index: 90;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px) scale(1.05); }

/* ---------- Misc utilities ---------- */
.breadcrumbs { padding: 1rem 0; }
.glass-card {
  background: rgba(28, 25, 48, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
}

.fade-in-up { animation: fadeUp .7s cubic-bezier(.21,.6,.35,1) both; }
.fade-in    { animation: fadeIn .8s ease-out both; }

/* Hide elements on no-JS */
.no-js .js-only { display: none; }

/* Print */
@media print {
  .site-header, .site-footer, .back-to-top, .hero-cta { display: none; }
  body { background: white; color: black; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   GDPR Cookie Consent Banner
   ========================================================================== */

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(28,25,48,0.98) 0%, rgba(19,17,31,0.98) 100%);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 20px;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.7), 0 0 0 1px rgba(124,58,237,0.1), 0 0 40px -10px rgba(124,58,237,0.4);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  overflow: hidden;
  animation: cookieSlideUp .5s cubic-bezier(.21,.6,.35,1) both;
}
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner[hidden] { display: none; }

.cookie-banner-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .cookie-banner-inner { flex-direction: row; align-items: center; }
}

.cookie-banner-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}
.cookie-banner-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,58,237,0.18) 0%, rgba(236,72,153,0.12) 100%);
  border: 1px solid rgba(124,58,237,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-300);
}
.cookie-banner-text { flex: 1; min-width: 0; }
.cookie-banner-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-1);
  margin: 0 0 0.35rem;
}
.cookie-banner-desc {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.55;
  margin: 0;
}
.cookie-banner-desc a {
  color: var(--brand-300);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .cookie-banner-actions { flex-direction: row; }
}

.cookie-btn {
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.cookie-btn-accept {
  background: var(--grad-brand);
  color: white;
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 4px 12px -2px rgba(124,58,237,0.5);
}
.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -2px rgba(124,58,237,0.7);
}
.cookie-btn-reject {
  background: rgba(255,255,255,0.04);
  color: var(--text-2);
  border-color: rgba(255,255,255,0.1);
}
.cookie-btn-reject:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-1);
}
.cookie-btn-customize {
  background: transparent;
  color: var(--text-3);
  border-color: rgba(255,255,255,0.06);
}
.cookie-btn-customize:hover {
  color: var(--brand-300);
  border-color: rgba(124,58,237,0.3);
}
.cookie-btn-save {
  background: var(--grad-brand);
  color: white;
  border-color: rgba(255,255,255,0.1);
  width: 100%;
  margin-top: 0.5rem;
}
.cookie-btn-save:hover { transform: translateY(-1px); }

/* Customize panel */
.cookie-customize-panel {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(11,10,20,0.4);
}
.cookie-customize-panel[hidden] { display: none; }

.cookie-category {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cookie-category:last-of-type { border-bottom: none; }
.cookie-category-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}
.cookie-category-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-1);
}
.cookie-category-label input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--brand-500);
  cursor: pointer;
}
.cookie-category-label input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
.cookie-category-required {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(124,58,237,0.15);
  color: var(--brand-300);
}
.cookie-category-desc {
  font-size: 0.82rem;
  color: var(--text-3);
  line-height: 1.55;
  margin: 0 0 0 1.8rem;
}
.cookie-customize-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   Site Search Modal
   ========================================================================== */

.search-trigger {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-3);
  font-family: 'Inter', sans-serif;
  transition: all .2s ease;
}
.search-trigger:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-1);
  border-color: rgba(124,58,237,0.3);
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(11,10,20,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 1rem 1rem;
  animation: fadeIn .2s ease-out;
}
.search-overlay[hidden] { display: none; }

.search-modal {
  width: 100%;
  max-width: 640px;
  background: linear-gradient(180deg, rgba(28,25,48,0.98) 0%, rgba(19,17,31,0.98) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  box-shadow: 0 30px 80px -10px rgba(0,0,0,0.8), 0 0 60px -10px rgba(124,58,237,0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 75vh;
  animation: searchSlideDown .25s cubic-bezier(.21,.6,.35,1);
}
@keyframes searchSlideDown {
  from { opacity: 0; transform: translateY(-20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.search-modal-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-1);
  font-size: 1.05rem;
  font-family: 'Inter', sans-serif;
}
.search-input::placeholder { color: var(--text-4); }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; }

.search-close {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-3);
  cursor: pointer;
  transition: all .15s ease;
}
.search-close:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-1);
}

.search-results {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
  max-height: 50vh;
}
.search-results:empty::before {
  content: 'Start typing to search calculators, guides, and pages...';
  display: block;
  padding: 2rem;
  text-align: center;
  color: var(--text-4);
  font-size: 0.9rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: var(--text-2);
  transition: all .12s ease;
  cursor: pointer;
  text-decoration: none;
}
.search-result-item:hover,
.search-result-item.active {
  background: rgba(124,58,237,0.12);
  color: var(--text-1);
}
.search-result-item.active {
  background: rgba(124,58,237,0.2);
}
.search-result-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  color: var(--brand-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search-result-icon svg { width: 18px; height: 18px; }
.search-result-body { flex: 1; min-width: 0; }
.search-result-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-1);
  margin: 0 0 0.15rem;
  line-height: 1.3;
}
.search-result-summary {
  font-size: 0.78rem;
  color: var(--text-4);
  margin: 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.search-result-meta {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-3);
}
.search-result-meta.calculator { background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.25); color: var(--brand-300); }
.search-result-meta.guide { background: rgba(236,72,153,0.1); border-color: rgba(236,72,153,0.25); color: #F9A8D4; }
.search-result-meta.page { background: rgba(6,182,212,0.08); border-color: rgba(6,182,212,0.2); color: #67E8F9; }

.search-result-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-4);
  font-size: 0.9rem;
}

.search-footer {
  padding: 0.65rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(11,10,20,0.4);
}

/* Highlight matched text */
.search-result-title mark,
.search-result-summary mark {
  background: rgba(124,58,237,0.3);
  color: var(--text-1);
  padding: 0 2px;
  border-radius: 2px;
}

/* ==========================================================================
   Footer Social Links
   ========================================================================== */

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
.footer-social-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-3);
  transition: all .25s cubic-bezier(.34,1.56,.64,1);
}
.footer-social-link:hover {
  background: var(--grad-brand);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(124,58,237,0.5);
}
.footer-social-link:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 2px;
}

/* ==========================================================================
   Cookie banner — re-open link (in footer or privacy policy)
   ========================================================================== */
.cookie-reopen-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-3);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all .2s ease;
  font-family: 'Inter', sans-serif;
}
.cookie-reopen-link:hover {
  background: rgba(124,58,237,0.1);
  border-color: rgba(124,58,237,0.3);
  color: var(--brand-300);
}

/* ==========================================================================
   Skip-to-content link (accessibility)
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--brand-600);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top .2s ease;
  font-family: 'Inter', sans-serif;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--brand-300);
  outline-offset: 2px;
}
