/* ===== FatmaDesign — Neo-Brutalist Design System ===== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400;1,9..40,500&family=Instrument+Serif:ital@0;1&family=Archivo:ital,wght@0,400;0,700;0,800;0,900;1,400;1,700;1,800;1,900&family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900;1,14..32,400;1,14..32,700;1,14..32,800;1,14..32,900&display=swap');

/* ===== VARIABLES ===== */
:root {
  --bg: #080E1A;
  --bg-elevated: #0D1526;
  --bg-card: rgba(255,255,255,0.025);
  --border-card: rgba(255,255,255,0.06);
  --border-card-hover: rgba(255,255,255,0.14);

  --accent-emerald: #34D399;
  --accent-amber: #FBBF24;
  --accent-lavender: #A78BFA;

  --glow-emerald: rgba(52,211,153,0.2);
  --glow-amber: rgba(251,191,36,0.2);
  --glow-lavender: rgba(167,139,250,0.2);

  --text-100: rgba(255,255,255,1);
  --text-80: rgba(255,255,255,0.82);
  --text-50: rgba(255,255,255,0.5);
  --text-40: rgba(255,255,255,0.38);
  --text-20: rgba(255,255,255,0.18);

  --gradient-aurora: linear-gradient(135deg, var(--accent-emerald), var(--accent-lavender), var(--accent-amber));
  --gradient-aurora-h: linear-gradient(90deg, var(--accent-emerald), var(--accent-lavender), var(--accent-amber));

  /* keep old variable names mapped for any straggler references */
  --neon-pink: var(--accent-amber);
  --neon-purple: var(--accent-lavender);
  --neon-cyan: var(--accent-emerald);
  --gradient-neon: var(--gradient-aurora);
  --gradient-neon-h: var(--gradient-aurora-h);
  --glow-pink: var(--glow-amber);
  --glow-purple: var(--glow-lavender);
  --glow-cyan: var(--glow-emerald);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* ===== RESET ===== */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-80);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }

::selection {
  background: rgba(52,211,153,0.3);
  color: #fff;
}

/* ===== SVG NOISE TEXTURE ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out-expo),
              height 0.3s var(--ease-out-expo);
}

.cursor.hover {
  width: 50px;
  height: 50px;
}

@media (pointer: coarse) {
  .cursor { display: none; }
  body, button { cursor: auto; }
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.5s var(--ease-out-expo);
}

.navbar.scrolled {
  background: rgba(8,14,26,0.85);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-bottom: 1px solid rgba(52,211,153,0.08);
  padding: 0.75rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 400;
  font-style: italic;
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-50);
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-aurora-h);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--text-100);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a.active {
  color: var(--text-100);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.55rem 1.4rem !important;
  border-radius: var(--radius-full);
  background: var(--accent-emerald) !important;
  color: #080E1A !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  box-shadow: 0 4px 20px rgba(52,211,153,0.25), 0 0 0 1px rgba(52,211,153,0.15);
  transition: box-shadow 0.3s ease, transform 0.3s ease !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  box-shadow: 0 6px 30px rgba(52,211,153,0.4), 0 0 0 1px rgba(52,211,153,0.3);
  transform: translateY(-1px);
}

/* Theme Toggle */
.theme-toggle {
  padding: 0.4rem;
  border-radius: var(--radius-full);
  color: var(--text-50);
  transition: color 0.3s ease;
}

.theme-toggle:hover { color: var(--text-100); }

.toggle-track {
  width: 44px;
  height: 24px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-full);
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s var(--ease-out-expo);
}

.toggle-track::before {
  content: '🌙';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
}

.toggle-track::after {
  content: '☀️';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  opacity: 0.3;
}

.toggle-thumb {
  width: 18px;
  height: 18px;
  background: var(--gradient-aurora);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.3s var(--ease-out-expo);
  z-index: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  z-index: 1001;
  cursor: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-80);
  border-radius: 2px;
  transition: all 0.4s var(--ease-out-expo);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Fullscreen Menu */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,14,26,0.97);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-overlay nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-overlay nav a {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-50);
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
}

.mobile-overlay.open nav a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-overlay nav a:nth-child(1) { transition-delay: 0.1s; }
.mobile-overlay nav a:nth-child(2) { transition-delay: 0.2s; }
.mobile-overlay nav a:nth-child(3) { transition-delay: 0.3s; }
.mobile-overlay nav a:nth-child(4) { transition-delay: 0.4s; }

.mobile-overlay nav a:hover {
  color: var(--text-100);
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
}

/* Aurora Background */
.hero-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  filter: blur(100px);
  opacity: 0.12;
  will-change: transform;
}

.blob-pink {
  background: var(--accent-amber);
  width: 600px;
  height: 350px;
  top: 5%;
  left: 5%;
  animation: auroraFloat1 12s ease-in-out infinite, auroraMorph 18s ease-in-out infinite;
}

.blob-purple {
  background: var(--accent-lavender);
  width: 700px;
  height: 400px;
  top: 20%;
  right: 5%;
  animation: auroraFloat2 15s ease-in-out infinite, auroraMorph 20s ease-in-out infinite reverse;
}

.blob-cyan {
  background: var(--accent-emerald);
  width: 650px;
  height: 380px;
  bottom: 10%;
  left: 25%;
  animation: auroraFloat3 13s ease-in-out infinite, auroraMorph 16s ease-in-out infinite;
}

@keyframes auroraFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(40px, -30px) rotate(5deg); }
  66% { transform: translate(-30px, 20px) rotate(-3deg); }
}

@keyframes auroraFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-35px, 25px) rotate(-5deg); }
  66% { transform: translate(25px, -35px) rotate(4deg); }
}

@keyframes auroraFloat3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, 30px) rotate(3deg); }
  66% { transform: translate(-40px, -15px) rotate(-4deg); }
}

@keyframes auroraMorph {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 36% 64% / 56% 62% 38% 44%; }
  50% { border-radius: 42% 58% 70% 30% / 46% 32% 68% 54%; }
  75% { border-radius: 65% 35% 45% 55% / 38% 58% 42% 62%; }
}

/* Star field dots */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,0.2) 50%, transparent 50%),
    radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.25) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,0.2) 50%, transparent 50%),
    radial-gradient(1px 1px at 90% 30%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 15% 80%, rgba(255,255,255,0.15) 50%, transparent 50%),
    radial-gradient(1px 1px at 85% 85%, rgba(255,255,255,0.2) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 45% 45%, rgba(255,255,255,0.12) 50%, transparent 50%),
    radial-gradient(1px 1px at 60% 25%, rgba(255,255,255,0.18) 50%, transparent 50%),
    radial-gradient(1px 1px at 25% 55%, rgba(255,255,255,0.22) 50%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.2);
  border-radius: var(--radius-full);
  color: var(--accent-emerald);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--text-100);
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: italic;
}

.hero h1 .text-outline {
  -webkit-text-stroke: 1.5px var(--text-20);
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-40);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-20);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-20);
  fill: none;
  stroke-width: 2;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.5; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo), background 0.3s ease, border-color 0.3s ease;
  cursor: none;
  position: relative;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-emerald);
  outline-offset: 3px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-gradient {
  background: var(--accent-emerald);
  color: #080E1A;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(52,211,153,0.25), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-gradient:hover {
  box-shadow: 0 8px 40px rgba(52,211,153,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-80);
  border: 1px solid var(--text-20);
}

.btn-outline:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  background: rgba(52,211,153,0.06);
  transform: translateY(-2px);
}

/* Magnetic button container */
.magnetic-wrap {
  display: inline-block;
  position: relative;
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-emerald);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--text-100);
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-40);
  font-size: 1.05rem;
  max-width: 500px;
  line-height: 1.7;
}

/* ===== BENTO GRID (Kategoriler) ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.bento-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), background 0.4s ease, border-color 0.4s ease;
  transform-style: preserve-3d;
  perspective: 800px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: var(--gradient-aurora);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.bento-card:hover::before {
  opacity: 0.7;
}

.bento-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: transparent;
}

.bento-card:focus-visible {
  outline: 2px solid var(--accent-emerald);
  outline-offset: 2px;
}

.bento-card .card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: var(--radius-xl);
}

.bento-card:hover .card-glow {
  opacity: 1;
}

.bento-card.span-2 { grid-column: span 2; }
.bento-card.row-2 { grid-row: span 2; }

.bento-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(52,211,153,0.06);
  border: 1px solid rgba(52,211,153,0.1);
}

.bento-card h3 {
  color: var(--text-100);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.bento-card p {
  color: var(--text-40);
  font-size: 0.84rem;
  line-height: 1.6;
}

.bento-card .card-count {
  color: var(--text-20);
  font-size: 0.7rem;
  margin-top: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ===== MASONRY BLOG CARDS ===== */
.masonry-grid {
  columns: 3;
  column-gap: 1.5rem;
  margin-top: 3rem;
}

.blog-card {
  break-inside: avoid;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(52,211,153,0.15);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(52,211,153,0.08);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-card-image .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.blog-card:hover .placeholder-img {
  transform: scale(1.05);
}

.blog-card-image .gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,14,26,0.85) 100%);
  pointer-events: none;
}

.blog-card-image .category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(8,14,26,0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-body h3 {
  color: var(--text-100);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card-body h3 {
  color: var(--accent-emerald);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-40);
  font-size: 0.78rem;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  padding: 6rem 0;
}

.newsletter-box {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 4rem;
  text-align: center;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: var(--gradient-aurora);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.newsletter-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  border-radius: var(--radius-xl);
  z-index: 0;
}

.newsletter-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.05;
  background:
    radial-gradient(circle at 20% 50%, var(--accent-emerald), transparent 50%),
    radial-gradient(circle at 80% 50%, var(--accent-amber), transparent 50%),
    radial-gradient(circle at 50% 80%, var(--accent-lavender), transparent 50%);
  animation: meshShift 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes meshShift {
  0% { background-position: 0% 0%, 100% 0%, 50% 100%; }
  100% { background-position: 30% 20%, 70% 30%, 50% 60%; }
}

.newsletter-content {
  position: relative;
  z-index: 2;
}

.newsletter-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--text-100);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.newsletter-content p {
  color: var(--text-40);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 450px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text-100);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--text-40);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 20px rgba(52,211,153,0.15);
}

.newsletter-form button {
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  background: var(--accent-emerald);
  color: #080E1A;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
  white-space: nowrap;
  cursor: none;
}

.newsletter-form button:hover {
  box-shadow: 0 6px 30px rgba(52,211,153,0.35);
  transform: translateY(-1px);
}

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-aurora-h);
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-40);
  font-size: 0.85rem;
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 1rem;
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.15);
  border-color: var(--accent-emerald);
  box-shadow: 0 0 15px rgba(52,211,153,0.2);
}

.footer-col h4 {
  color: var(--text-80);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  color: var(--text-40);
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--accent-emerald);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-20);
  font-size: 0.8rem;
}

.footer-bottom .gradient-text {
  font-weight: 600;
}

/* ===== SCROLL REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.56s; opacity: 1; transform: translateY(0); }

/* Hero orchestrated entrance */
.hero-content .hero-badge {
  opacity: 0;
  transform: translateY(20px);
  animation: heroEnter 0.8s var(--ease-out-expo) 0.3s forwards;
}

.hero-content h1 {
  opacity: 0;
  transform: translateY(30px);
  animation: heroEnter 0.8s var(--ease-out-expo) 0.5s forwards;
}

.hero-content .hero-description {
  opacity: 0;
  transform: translateY(20px);
  animation: heroEnter 0.8s var(--ease-out-expo) 0.7s forwards;
}

.hero-content .hero-buttons {
  opacity: 0;
  transform: translateY(20px);
  animation: heroEnter 0.8s var(--ease-out-expo) 0.9s forwards;
}

.hero-content .scroll-indicator {
  opacity: 0;
  animation: heroEnter 0.8s var(--ease-out-expo) 1.1s forwards;
}

@keyframes heroEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== TOOL PAGE STYLES ===== */
.tool-page-hero {
  text-align: center;
  padding: 8rem 0 2rem;
  position: relative;
}

.tool-page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(52,211,153,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.tool-page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text-100);
  position: relative;
  letter-spacing: -0.02em;
}

.tool-page-hero p {
  color: var(--text-40);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto;
  position: relative;
}

.hero-badge { /* reusable in tool pages */
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.18);
  border-radius: var(--radius-full);
  color: var(--accent-emerald);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

/* Tool sections */
.tool-section {
  padding: 2rem 0 4rem;
}

.tool-controls {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tool-preview {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.tool-output {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

/* Form elements */
label {
  display: block;
  color: var(--text-50);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

input[type="text"],
input[type="number"],
select {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text-100);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 15px rgba(52,211,153,0.12);
}

input[type="color"] {
  width: 50px;
  height: 40px;
  padding: 2px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  cursor: none;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-emerald);
  cursor: none;
  box-shadow: 0 0 10px rgba(52,211,153,0.35);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-emerald);
  cursor: none;
  border: none;
  box-shadow: 0 0 10px rgba(52,211,153,0.35);
}

/* Copy / Preset buttons */
.copy-btn,
.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--accent-emerald);
  color: #080E1A;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
  cursor: none;
  border: none;
}

.copy-btn:hover,
.btn-copy:hover {
  box-shadow: 0 4px 20px rgba(52,211,153,0.3);
  transform: translateY(-1px);
}

.preset-btn,
.preset-button {
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-50);
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  cursor: none;
}

.preset-btn:hover,
.preset-button:hover {
  background: rgba(52,211,153,0.08);
  border-color: rgba(52,211,153,0.25);
  color: var(--text-100);
}

.preset-btn.active,
.preset-button.active {
  background: rgba(52,211,153,0.12);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

/* Code output */
.code-output, code, pre {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1rem;
  color: var(--accent-emerald);
  font-size: 0.85rem;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Status colors */
.result-pass { color: #34D399; font-weight: 700; }
.result-fail { color: #EF4444; font-weight: 700; }

/* Filter buttons */
.filter-btn {
  padding: 0.5rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  color: var(--text-50);
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: none;
}

.filter-btn:hover { background: rgba(52,211,153,0.08); color: var(--text-100); }
.filter-btn.active { background: var(--accent-emerald); color: #080E1A; border-color: transparent; }

/* Kontrast specific */
.contrast-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.color-input-group { display: flex; flex-direction: column; gap: 0.5rem; }
.contrast-result { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.contrast-result-item { background: rgba(255,255,255,0.03); border: 1px solid var(--border-card); border-radius: var(--radius-md); padding: 1rem; text-align: center; }

/* Palet specific */


/* =====================================================================
   NEO-BRUTALIST DESIGN SYSTEM — INDEX PAGE
   ===================================================================== */

/* --- Neo-Brutalist Variables --- */
:root {
  --nb-cream: #F5F0EB;
  --nb-black: #000000;
  --nb-white: #FFFFFF;
  --nb-coral: #E8594F;
  --nb-yellow: #F5C731;
  --nb-cyan: #6DD3CE;
  --nb-purple: #9B8FE8;
  --nb-pink: #EC7A8A;
  --nb-teal: #5BC5AD;
  --nb-beige: #E8DFD0;
  --nb-border: 3px solid #000;
  --nb-shadow: 5px 5px 0 #000;
  --nb-font-display: 'Archivo', 'Inter', sans-serif;
  --nb-font-body: 'Inter', 'DM Sans', sans-serif;
}

/* --- Global Navbar Override (Neo-Brutalist) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: var(--nb-white);
  border: 3px solid #000;
  transition: none;
}

.navbar.scrolled {
  background: var(--nb-white);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 3px solid #000;
  padding: 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.logo {
  font-family: var(--nb-font-display);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: normal;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  color: var(--nb-black);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.logo em {
  font-weight: 900;
  font-style: italic;
}

.logo .logo-light {
  font-weight: 400;
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--nb-black);
  font-family: var(--nb-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--nb-black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: var(--nb-black);
  opacity: 0.7;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a.active {
  color: var(--nb-black);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

/* Hide CTA styling */
.nav-cta {
  padding: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: var(--nb-black) !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.nav-cta:hover {
  box-shadow: none;
  transform: none;
  opacity: 0.7;
}

/* Hamburger override */
.hamburger {
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: var(--nb-border) !important;
  border-radius: 0 !important;
  background: var(--nb-black) !important;
  padding: 10px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--nb-white) !important;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -6px); }

/* Theme Toggle — hide in brutalist mode */
.theme-toggle { display: none !important; }

/* Mobile Overlay override */
.mobile-overlay {
  background: var(--nb-white) !important;
}

.mobile-overlay nav a {
  color: var(--nb-black) !important;
  font-family: var(--nb-font-display) !important;
  font-weight: 900 !important;
  font-style: italic;
  text-transform: uppercase;
  font-size: 2.5rem !important;
}

/* --- INDEX PAGE: Body & Global Overrides --- */
body.page-index {
  background: var(--nb-cream);
  color: var(--nb-black);
  cursor: default;
  font-family: var(--nb-font-body);
}

body.page-index::before {
  display: none;
}

body.page-index .cursor {
  display: none;
}

body.page-index a,
body.page-index button {
  cursor: pointer;
}

/* --- HERO SECTION --- */
.nb-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  background: var(--nb-cream);
}

.nb-hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--nb-black);
  color: var(--nb-white);
  font-family: var(--nb-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 3;
}

.nb-hero-title {
  font-family: var(--nb-font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--nb-black);
  position: relative;
  z-index: 2;
  margin-bottom: 2.5rem;
}

.nb-hero-title .coral {
  color: var(--nb-coral);
}

.nb-hero-subtitle {
  font-family: var(--nb-font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: var(--nb-black);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Animated Brush Strokes */
.brush-strokes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.brush-stroke {
  position: absolute;
}

.brush-stroke svg {
  width: 100%;
  height: 100%;
}

.brush-stroke path {
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.brush-pink {
  top: 8%;
  left: -5%;
  width: 55%;
  height: 80px;
  animation: brushFloat1 6s ease-in-out infinite;
}

.brush-pink path {
  stroke: var(--nb-pink);
  stroke-width: 18;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: brushDraw 2s ease-out 0.5s forwards;
}

.brush-yellow {
  bottom: 25%;
  left: -2%;
  width: 18%;
  height: 180px;
  animation: brushFloat2 7s ease-in-out infinite;
}

.brush-yellow path {
  stroke: var(--nb-yellow);
  stroke-width: 22;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: brushDraw 1.8s ease-out 0.8s forwards;
}

.brush-cyan {
  bottom: 18%;
  right: 8%;
  width: 28%;
  height: 70px;
  animation: brushFloat3 8s ease-in-out infinite;
}

.brush-cyan path {
  stroke: var(--nb-cyan);
  stroke-width: 16;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: brushDraw 1.6s ease-out 1.1s forwards;
}

@keyframes brushDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes brushFloat1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

@keyframes brushFloat2 {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(10px) rotate(-2deg); }
}

@keyframes brushFloat3 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-10px) translateX(8px); }
}

/* --- TOOLS SECTION --- */
.nb-tools-section {
  padding: 6rem 2rem;
  position: relative;
  background: var(--nb-cream);
  border-top: 1px solid rgba(0,0,0,0.08);
}

.nb-tools-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
  position: relative;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.nb-tools-header-left {
  max-width: 700px;
}

.nb-tools-title {
  font-family: var(--nb-font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--nb-black);
  margin-bottom: 1.5rem;
}

.nb-tools-title .coral {
  color: var(--nb-coral);
}

.nb-tools-divider {
  width: 80px;
  height: 5px;
  background: var(--nb-black);
  margin-bottom: 2rem;
}

.nb-tools-quote {
  font-family: var(--nb-font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--nb-black);
  border-left: 4px solid var(--nb-black);
  padding-left: 1.5rem;
  max-width: 500px;
}

/* TOOLS V1.0 Sticker */
.nb-sticker {
  position: relative;
  flex-shrink: 0;
  margin-top: 2rem;
}

.nb-sticker-brush {
  position: absolute;
  top: -30px;
  left: -40px;
  width: 150px;
  height: 60px;
  z-index: 0;
}

.nb-sticker-brush path {
  stroke: var(--nb-purple);
  stroke-width: 14;
  fill: none;
  stroke-linecap: round;
}

.nb-sticker-card {
  position: relative;
  z-index: 1;
  width: 140px;
  height: 140px;
  background: var(--nb-yellow);
  border: var(--nb-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
  box-shadow: var(--nb-shadow);
}

.nb-sticker-card span {
  font-family: var(--nb-font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.6rem;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
  color: var(--nb-black);
}

/* Tool Cards Grid */
.nb-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.nb-tool-card {
  background: var(--nb-white);
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: var(--nb-black);
  min-height: 280px;
}

.nb-tool-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 #000;
}

.nb-tool-card:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #000;
}

.nb-tool-icon {
  width: 72px;
  height: 72px;
  border: 2px solid var(--nb-black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.nb-tool-icon.yellow { background: var(--nb-yellow); }
.nb-tool-icon.pink { background: var(--nb-pink); }
.nb-tool-icon.teal { background: var(--nb-teal); }
.nb-tool-icon.purple { background: var(--nb-purple); }
.nb-tool-icon.beige { background: var(--nb-beige); }
.nb-tool-icon.cyan { background: var(--nb-cyan); }

.nb-tool-card h3 {
  font-family: var(--nb-font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  color: var(--nb-black);
}

.nb-tool-card p {
  font-family: var(--nb-font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.nb-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--nb-black);
  color: var(--nb-white);
  font-family: var(--nb-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  transition: opacity 0.2s ease;
  align-self: flex-start;
}

.nb-tool-btn:hover {
  opacity: 0.85;
}

/* --- MANIFESTO SECTION --- */
.nb-manifesto {
  padding: 6rem 2rem;
  background: var(--nb-cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nb-manifesto-title {
  font-family: var(--nb-font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(4.5rem, 11vw, 10rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--nb-black);
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
}

.nb-manifesto-title .inverted {
  display: inline-block;
  background: var(--nb-black);
  color: var(--nb-white);
  padding: 0.1em 0.3em;
  line-height: 1;
}

.nb-manifesto-brush {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.nb-manifesto-brush.pink-stroke {
  top: 45%;
  left: 0;
  width: 70%;
  height: 80px;
  animation: brushFloat1 7s ease-in-out infinite;
}

.nb-manifesto-brush.pink-stroke path {
  stroke: var(--nb-pink);
  stroke-width: 16;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.nb-manifesto-brush.pink-stroke.animated path {
  animation: brushDraw 2s ease-out forwards;
}

/* Stat Boxes */
.nb-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 4rem auto 0;
  position: relative;
  z-index: 2;
}

.nb-stat-box {
  border: 3px solid #000;
  background: var(--nb-white);
  padding: 2.5rem 2rem;
  text-align: center;
}

.nb-stat-box h4 {
  font-family: var(--nb-font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--nb-black);
  margin-bottom: 0.5rem;
}

.nb-stat-box p {
  font-family: var(--nb-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #555;
}

/* --- FOOTER (Neo-Brutalist) --- */
body.page-index .footer {
  background: #111;
  padding: 5rem 2rem 2rem;
}

body.page-index .footer::before {
  display: none;
}

body.page-index .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

body.page-index .footer .logo {
  color: var(--nb-white);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

body.page-index .footer-brand p {
  color: rgba(255,255,255,0.5);
  font-family: var(--nb-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.7;
  max-width: 400px;
}

body.page-index .social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

body.page-index .social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 0;
  font-size: 1.1rem;
  color: var(--nb-white);
  transition: border-color 0.2s ease, background 0.2s ease;
}

body.page-index .social-links a:hover {
  border-color: var(--nb-white);
  background: rgba(255,255,255,0.1);
  transform: none;
  box-shadow: none;
}

body.page-index .footer-col h4 {
  color: rgba(255,255,255,0.5);
  font-family: var(--nb-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

body.page-index .footer-col a {
  color: var(--nb-white);
  font-family: var(--nb-font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.page-index .footer-col a:hover {
  color: rgba(255,255,255,0.6);
}

body.page-index .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

body.page-index .footer-bottom .gradient-text {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  color: var(--nb-white);
  font-weight: 700;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .nb-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .nb-tools-header {
    flex-direction: column;
    gap: 2rem;
  }
  
  .nb-sticker {
    align-self: flex-end;
  }
}

@media (max-width: 768px) {
  .nb-hero-title {
    font-size: clamp(2.5rem, 12vw, 5rem);
  }
  
  .nb-tools-grid {
    grid-template-columns: 1fr;
  }
  
  .nb-manifesto-title {
    font-size: clamp(2.5rem, 12vw, 5rem);
  }
  
  .nb-stats {
    grid-template-columns: 1fr;
  }
  
  body.page-index .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .nb-sticker {
    display: none;
  }
  
  .nav-links {
    display: none;
  }
  
  .navbar .container {
    padding: 0.75rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .nb-hero {
    padding: 7rem 1rem 3rem;
  }
  
  .nb-tools-section,
  .nb-manifesto {
    padding: 3rem 1rem;
  }
}
.palette-modes { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.palette-colors { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.palette-color { width: 80px; height: 80px; border-radius: var(--radius-md); cursor: none; transition: all 0.3s var(--ease-out-expo); border: 2px solid transparent; }
.palette-color:hover { transform: scale(1.1); border-color: var(--neon-purple); box-shadow: 0 0 15px rgba(168,85,247,0.3); }

/* Tipografi specific */
.scale-item { display: flex; align-items: baseline; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border-card); }
.scale-item:last-child { border-bottom: none; }
.scale-label { color: var(--text-40); font-size: 0.8rem; min-width: 60px; }
.scale-size { color: var(--neon-purple); font-size: 0.8rem; min-width: 50px; font-family: monospace; }

/* Gölge specific */
.shadow-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.shadow-preview-box { width: 200px; height: 200px; background: rgba(255,255,255,0.06); border-radius: var(--radius-lg); margin: 2rem auto; transition: box-shadow 0.3s ease; }
.shadow-presets { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* =====================================================================
   NEO-BRUTALIST — TOOL PAGES (kontrast, palet, tipografi, golge, gradient, araclar)
   ===================================================================== */

/* All tool page bodies */
body.page-kontrast,
body.page-palet,
body.page-tipografi,
body.page-golge,
body.page-gradient,
body.page-boya-fircasi,
body.page-araclar {
  background: var(--nb-cream);
  color: var(--nb-black);
  cursor: default;
  font-family: var(--nb-font-body);
}

body.page-kontrast::before,
body.page-palet::before,
body.page-tipografi::before,
body.page-golge::before,
body.page-gradient::before,
body.page-boya-fircasi::before,
body.page-araclar::before {
  display: none;
}

body.page-kontrast .cursor,
body.page-palet .cursor,
body.page-tipografi .cursor,
body.page-golge .cursor,
body.page-gradient .cursor,
body.page-boya-fircasi .cursor,
body.page-araclar .cursor {
  display: none;
}

body.page-kontrast a,
body.page-kontrast button,
body.page-palet a,
body.page-palet button,
body.page-tipografi a,
body.page-tipografi button,
body.page-golge a,
body.page-golge button,
body.page-gradient a,
body.page-gradient button,
body.page-boya-fircasi a,
body.page-boya-fircasi button,
body.page-araclar a,
body.page-araclar button {
  cursor: pointer;
}

/* --- Tool Page Hero --- */
.nb-tool-hero {
  padding: 8rem 2rem 3rem;
  text-align: center;
  background: var(--nb-cream);
  position: relative;
}

.nb-tool-hero .nb-hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--nb-black);
  color: var(--nb-white);
  font-family: var(--nb-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.nb-tool-hero h1 {
  font-family: var(--nb-font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--nb-black);
  margin-bottom: 1rem;
}

.nb-tool-hero h1 .accent {
  color: var(--nb-coral);
}

.nb-tool-hero p {
  font-family: var(--nb-font-body);
  font-size: 1.05rem;
  color: #555;
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Tool Container --- */
.nb-tool-container {
  padding: 0 2rem 4rem;
}

.nb-tool-container .container {
  max-width: 1000px;
}

.nb-tool-box {
  background: var(--nb-white);
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

/* Form elements in tool pages */
.nb-tool-box label {
  display: block;
  font-family: var(--nb-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nb-black);
  margin-bottom: 0.5rem;
}

.nb-tool-box input[type="text"],
.nb-tool-box input[type="number"],
.nb-tool-box select {
  padding: 0.75rem 1rem;
  border: 2px solid #000;
  border-radius: 0;
  background: var(--nb-white);
  color: var(--nb-black);
  font-family: var(--nb-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  transition: box-shadow 0.2s ease;
  max-width: 100%;
}

.nb-tool-box input[type="text"]:focus,
.nb-tool-box input[type="number"]:focus,
.nb-tool-box select:focus {
  box-shadow: 3px 3px 0 #000;
}

.nb-tool-box input[type="color"] {
  width: 50px;
  height: 44px;
  padding: 2px;
  border: 2px solid #000;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.nb-tool-box input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: #ccc;
  border-radius: 0;
  outline: none;
}

.nb-tool-box input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 0;
  background: var(--nb-black);
  cursor: pointer;
  border: 2px solid #000;
}

.nb-tool-box input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 0;
  background: var(--nb-black);
  cursor: pointer;
  border: 2px solid #000;
}

/* Color pickers row */
.nb-color-pickers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.nb-color-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nb-color-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Preview box */
.nb-preview-box {
  border: 2px solid #000;
  padding: 2rem;
  margin: 1.5rem 0;
  transition: background 0.2s, color 0.2s;
}

.nb-preview-box h3 {
  font-family: var(--nb-font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.nb-preview-box p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Results grid */
.nb-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.nb-result-card {
  border: 2px solid #000;
  padding: 1.25rem;
  text-align: center;
  background: var(--nb-cream);
}

.nb-result-card .ratio {
  font-family: var(--nb-font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--nb-black);
}

.nb-result-card .ratio.pass {
  color: #10B981;
}

.nb-result-card .ratio.fail {
  color: #EF4444;
}

.nb-result-card .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
  margin-top: 0.25rem;
}

.nb-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.nb-badge.pass {
  background: #10B981;
  color: #fff;
}

.nb-badge.fail {
  background: #EF4444;
  color: #fff;
}

/* Swap button */
.nb-swap-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid #000;
  background: var(--nb-yellow);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  margin: 1rem auto;
  transition: transform 0.2s ease;
}

.nb-swap-btn:hover {
  transform: rotate(180deg);
}

/* Info Cards */
.nb-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.nb-info-card {
  border: 2px solid #000;
  padding: 1.5rem;
  background: var(--nb-white);
}

.nb-info-card h4 {
  font-family: var(--nb-font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--nb-coral);
  margin-bottom: 0.5rem;
}

.nb-info-card p {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.5;
}

/* Copy button */
.nb-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  background: var(--nb-black);
  color: var(--nb-white);
  font-family: var(--nb-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.nb-copy-btn:hover {
  opacity: 0.8;
}

/* Code output */
.nb-code-output {
  background: var(--nb-cream);
  border: 2px solid #000;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  padding: 1.25rem;
  font-size: 0.85rem;
  color: var(--nb-black);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  margin-top: 0.5rem;
  border-radius: 0;
}

/* Filter / Preset buttons */
.nb-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.nb-filter-btn {
  padding: 0.5rem 1.25rem;
  background: var(--nb-white);
  border: 2px solid #000;
  color: var(--nb-black);
  font-family: var(--nb-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nb-filter-btn:hover {
  background: var(--nb-cream);
}

.nb-filter-btn.active {
  background: var(--nb-black);
  color: var(--nb-white);
}

/* Slider group */
.nb-slider-group {
  margin-bottom: 1rem;
}

.nb-slider-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.nb-slider-group label span {
  font-family: monospace;
  background: var(--nb-cream);
  padding: 0.15rem 0.5rem;
  border: 1px solid #ccc;
}

/* Shadow controls override */
.nb-shadow-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Gradient presets */
.nb-gradient-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nb-gradient-presets button {
  width: 60px;
  height: 60px;
  border: 2px solid #000;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nb-gradient-presets button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 #000;
}

/* Palette colors */
.nb-palette-display {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.nb-palette-display .palette-color,
.palette-color {
  border-radius: 0 !important;
  border: 2px solid #000 !important;
}

/* Palette swatches (dynamically generated by palet.js) */
.palette-display {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.palette-swatch {
  flex: 1;
  min-width: 70px;
  border: 2px solid #000;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.palette-swatch:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 #000;
}

.swatch-color {
  height: 80px;
  border-bottom: 2px solid #000;
}

.swatch-info {
  padding: 0.5rem;
  background: var(--nb-white);
}

.swatch-hex {
  display: block;
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--nb-black);
}

.swatch-label {
  display: block;
  font-size: 0.7rem;
  color: #666;
  margin-top: 0.15rem;
}

/* Scale items */
.nb-scale-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 2px solid #eee;
}

.nb-scale-item:last-child {
  border-bottom: none;
}

/* --- Tool Araclar page grid --- */
.nb-araclar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.nb-araclar-card {
  display: block;
  background: var(--nb-white);
  border: 3px solid #000;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nb-araclar-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 #000;
}

.nb-araclar-icon {
  width: 50px;
  height: 50px;
  border: 3px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: #000;
  font-family: var(--nb-font-display);
}

.nb-araclar-card h3 {
  font-family: var(--nb-font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.nb-araclar-card p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.nb-araclar-link {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #000;
  display: inline-block;
  border-bottom: 2px solid #000;
  padding-bottom: 2px;
}

/* Shadow preview wrapper */
.nb-shadow-preview-wrap {
  background: var(--nb-beige);
  border: 3px solid #000;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  overflow: hidden;
}

/* --- Tool page footer --- */
.nb-tool-footer {
  background: #111;
  padding: 2rem;
}

.nb-tool-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

.nb-tool-footer .footer-bottom a {
  color: var(--nb-white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.nb-tool-footer .footer-bottom a:hover {
  opacity: 0.7;
}

.nb-tool-footer .gradient-text {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  color: var(--nb-white);
  font-weight: 700;
}

/* --- Responsive for tool pages --- */
@media (max-width: 768px) {
  .nb-tool-container {
    padding: 0 0 3rem;
  }

  .nb-tool-container .container {
    padding: 0 0.75rem;
  }

  .nb-tool-hero {
    padding: 7rem 1rem 2rem;
  }
  
  .nb-tool-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .nb-tool-box {
    padding: 1.25rem;
    box-shadow: 4px 4px 0 #000;
    overflow: hidden;
  }
  
  .nb-color-pickers {
    grid-template-columns: 1fr;
  }
  
  .nb-results-grid {
    grid-template-columns: 1fr;
  }
  
  .nb-shadow-controls {
    grid-template-columns: 1fr;
  }
  
  .nb-info-grid {
    grid-template-columns: 1fr;
  }

  /* Slider labels: prevent value badge overflow */
  .nb-slider-group label {
    gap: 0.5rem;
  }

  .nb-slider-group label span {
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Shadow preview smaller on mobile */
  .nb-shadow-preview-wrap {
    padding: 2rem 1rem;
  }

  .nb-shadow-preview-wrap > div {
    width: 150px !important;
    height: 150px !important;
  }

  /* Color input wrap: ensure inputs don't overflow */
  .nb-color-input-wrap {
    flex-wrap: wrap;
  }

  .nb-color-input-wrap input[type="text"] {
    flex: 1;
    min-width: 0;
  }

  /* Palette swatches mobile */
  .palette-display {
    gap: 0.5rem;
  }

  .palette-swatch {
    min-width: calc(50% - 0.5rem);
    flex: 0 0 calc(50% - 0.25rem);
  }

  .swatch-color {
    height: 60px;
  }

  /* Tipografi scale mobile */
  .typo-row {
    flex-direction: column !important;
    gap: 0.25rem !important;
    align-items: flex-start !important;
  }

  .typo-row span:last-child {
    font-size: clamp(1rem, 6vw, 2.5rem) !important;
    white-space: normal !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }

  /* Araclar grid mobile */
  .nb-araclar-grid {
    grid-template-columns: 1fr;
  }

  /* Brush strokes mobile */
  .brush-strokes {
    opacity: 0.4;
  }

  .brush-pink {
    width: 40%;
  }

  .brush-yellow {
    width: 12%;
    height: 120px;
  }

  /* Code output mobile */
  .nb-code-output {
    font-size: 0.75rem;
    word-break: break-all;
    overflow-x: auto;
  }

  /* Filter buttons mobile */
  .nb-filter-group {
    flex-wrap: wrap;
  }

  /* Tool footer mobile */
  .nb-tool-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* === Boya Fırçası Canvas === */
.nb-canvas-actions-top {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.nb-canvas-wrap {
  position: relative;
  border: 3px solid #000;
  background: #fff;
  margin-bottom: 1rem;
}

.nb-canvas-wrap canvas {
  display: block;
  width: 100%;
  cursor: crosshair;
  touch-action: none;
}

@media (max-width: 480px) {
  .nb-tool-container {
    padding: 0 0 2rem;
  }

  .nb-tool-container .container {
    padding: 0 0.75rem;
  }

  .nb-tool-box {
    padding: 1rem;
    box-shadow: 3px 3px 0 #000;
    border-width: 2px;
  }

  .nb-tool-hero {
    padding: 6rem 0.75rem 1.5rem;
  }

  .nb-tool-hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .palette-swatch {
    min-width: calc(50% - 0.25rem);
    flex: 0 0 calc(50% - 0.25rem);
  }

  .swatch-color {
    height: 50px;
  }

  .nb-slider-group label {
    font-size: 0.72rem;
  }

  .nb-araclar-card {
    padding: 1.25rem;
  }

  .brush-strokes {
    display: none;
  }

  .nb-canvas-wrap {
    border-width: 2px;
  }
}

/* Gradient specific */
.gradient-preview { width: 100%; height: 200px; border-radius: var(--radius-lg); margin-bottom: 1.5rem; border: 1px solid var(--border-card); }
.gradient-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gradient-presets { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* FAQ */
.faq-section { padding: 3rem 0; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1rem; }
.faq-item h3 { color: var(--text-100); font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.faq-item p { color: var(--text-40); font-size: 0.9rem; line-height: 1.6; }

/* Tools Grid (araclar.html, index araçlar bölümü) */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: all 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: none;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: var(--gradient-neon);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.tool-card:hover::before { opacity: 1; }

.tool-card:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
}

.tool-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.tool-card h3 { color: var(--text-100); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.tool-card p { color: var(--text-40); font-size: 0.85rem; line-height: 1.6; margin-bottom: 1rem; flex-grow: 1; }
.tool-link { color: var(--neon-purple); font-size: 0.85rem; font-weight: 600; transition: color 0.3s ease; }
.tool-card:hover .tool-link { color: var(--neon-pink); }

/* Section header (used in araclar.html) */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-family: var(--font-serif); font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; margin-bottom: 0.75rem; color: var(--text-100); }
.section-header p { color: var(--text-40); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* Newsletter (used in various pages) */
.newsletter {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.newsletter h2 { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 900; margin-bottom: 0.75rem; color: var(--text-100); }
.newsletter p { color: var(--text-40); margin-bottom: 1.5rem; font-size: 0.95rem; }

/* ===== LIGHT THEME ===== */
[data-theme="light"] {
  --bg: #FAFAFA;
  --bg-card: rgba(0,0,0,0.03);
  --border-card: rgba(0,0,0,0.08);
  --border-card-hover: rgba(0,0,0,0.15);
  --text-100: rgba(0,0,0,0.9);
  --text-80: rgba(0,0,0,0.75);
  --text-50: rgba(0,0,0,0.5);
  --text-40: rgba(0,0,0,0.4);
  --text-20: rgba(0,0,0,0.15);
}

[data-theme="light"] body { background: var(--bg); cursor: none; }
[data-theme="light"] .toggle-thumb { transform: translateX(22px); }
[data-theme="light"] .toggle-track::before { opacity: 0.3; }
[data-theme="light"] .toggle-track::after { opacity: 1; }
[data-theme="light"] .toggle-track { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.12); }
[data-theme="light"] .blob { opacity: 0.08; }
[data-theme="light"] .navbar.scrolled { background: rgba(255,255,255,0.8); }
[data-theme="light"] .code-output, [data-theme="light"] code, [data-theme="light"] pre { background: rgba(0,0,0,0.04); }
[data-theme="light"] input[type="range"] { background: rgba(0,0,0,0.08); }
[data-theme="light"] .newsletter-form input[type="email"] { background: rgba(0,0,0,0.04); }
[data-theme="light"] .cursor { background: #000; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-2 { grid-column: span 1; }
  .masonry-grid { columns: 2; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .theme-toggle { display: none; }

  .hero { padding: 7rem 1.5rem 3rem; min-height: auto; }
  .hero h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  .blob { width: 300px; height: 300px; }

  .hero-buttons { flex-direction: column; align-items: center; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.span-2 { grid-column: span 1; }
  .bento-card.row-2 { grid-row: span 1; }

  .masonry-grid { columns: 1; }
  .tools-grid { grid-template-columns: 1fr; }

  .newsletter-box { padding: 2.5rem 1.5rem; }
  .newsletter-form { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .contrast-inputs, .shadow-controls, .gradient-controls { grid-template-columns: 1fr; }
  .tool-controls, .tool-preview, .tool-output { padding: 1.25rem; }

  .cursor { display: none; }
  body, button, .btn, .tool-card, .preset-btn, .preset-button,
  .copy-btn, .btn-copy, .filter-btn, .palette-color, input[type="color"],
  input[type="range"]::-webkit-slider-thumb, input[type="range"]::-moz-range-thumb,
  .newsletter-form button { cursor: auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 4rem 0; }
  .tool-card { padding: 1.5rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.85rem; }
}

/* ===== MOTION SAFE ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .blob { animation: none; opacity: 0.1; }
  .reveal { opacity: 1; transform: none; }
  .stagger-children > * { opacity: 1; transform: none; }
  .hero-content .hero-badge,
  .hero-content h1,
  .hero-content .hero-description,
  .hero-content .hero-buttons,
  .hero-content .scroll-indicator {
    opacity: 1;
    transform: none;
    animation: none;
  }
}