/* ============================================================
   Renkli Koçluk — Premium Tasarım Sistemi v3.0
   UI/UX Pro Max + Framer Motion seviyesinde CSS Animasyonları
   Stil: Glassmorphism × Claymorphism × Micro-interactions
   ============================================================ */

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

/* ==========================================================
   DESIGN TOKENS
   ========================================================== */
:root {
  /* Primary Palette — Indigo */
  --brand-50: #EEF2FF;
  --brand-100: #E0E7FF;
  --brand-200: #C7D2FE;
  --brand-300: #A5B4FC;
  --brand-400: #818CF8;
  --brand-500: #6366F1;
  --brand-600: #4F46E5;
  --brand-700: #4338CA;
  --brand-800: #3730A3;
  --brand-900: #312E81;
  --brand-950: #1E1B4B;

  /* Accent */
  --accent-400: #FBBF24;
  --accent-500: #F59E0B;
  --accent-600: #D97706;

  /* Functional */
  --success: #10B981;
  --success-light: #D1FAE5;
  --error: #EF4444;
  --error-light: #FEE2E2;
  --warning: #F59E0B;
  --info: #3B82F6;

  /* Neutral / Surface */
  --white: #FFFFFF;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --slate-950: #020617;

  /* Semantic */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #F8FAFC;
  --bg-page: #F1F5F9;
  --bg-card: #FFFFFF;
  --border-default: #E2E8F0;
  --border-light: rgba(255,255,255,0.12);

  /* Glass */
  --glass-bg: rgba(255,255,255,0.07);
  --glass-bg-hover: rgba(255,255,255,0.13);
  --glass-border: rgba(255,255,255,0.1);
  --glass-border-hover: rgba(255,255,255,0.2);
  --glass-blur: 24px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 40px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.15);
  --shadow-glow-indigo: 0 0 0 4px rgba(99,102,241,0.1), 0 0 60px rgba(99,102,241,0.15);
  --shadow-glow-orange: 0 0 0 4px rgba(249,115,22,0.1), 0 0 60px rgba(249,115,22,0.2);

  /* Easing Curves — Framer Motion seviyesinde */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Timing */
  --dur-instant: 100ms;
  --dur-fast: 200ms;
  --dur-normal: 350ms;
  --dur-slow: 600ms;
  --dur-glacial: 900ms;

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

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* ==========================================================
   RESET & BASE
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Selection */
::selection { background: rgba(99,102,241,0.2); color: var(--brand-900); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================
   SCROLLBAR
   ========================================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--slate-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--slate-400); }

/* ==========================================================
   ANIMATION KEYFRAMES — Framer Motion kalitesinde
   ========================================================== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(40px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes fade-down {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scale-in {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Floating / ambient */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%      { transform: translateY(-14px) rotate(1deg); }
  66%      { transform: translateY(6px) rotate(-1deg); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-20px); }
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(99,102,241,0.4); }
  70% { box-shadow: 0 0 0 20px rgba(99,102,241,0); }
  100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); }
}
@keyframes gradient-spin {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes shimmer {
  0%   { transform: translateX(-100%) skewX(-12deg); }
  100% { transform: translateX(200%) skewX(-12deg); }
}
@keyframes dash {
  to { stroke-dashoffset: 0; }
}
@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes draw-line {
  from { stroke-dashoffset: 1000; }
  to   { stroke-dashoffset: 0; }
}

/* ==========================================================
   ANIMATION UTILITY CLASSES
   ========================================================== */
.anim-fade-up    { animation: fade-up var(--dur-slow) var(--ease-out-expo) both; }
.anim-fade-down  { animation: fade-down var(--dur-slow) var(--ease-out-expo) both; }
.anim-fade-in    { animation: fade-in var(--dur-slow) var(--ease-smooth) both; }
.anim-scale-in   { animation: scale-in var(--dur-slow) var(--ease-out-back) both; }
.anim-slide-left { animation: slide-in-left var(--dur-slow) var(--ease-out-expo) both; }
.anim-slide-right{ animation: slide-in-right var(--dur-slow) var(--ease-out-expo) both; }

/* Stagger delays */
.d-0  { animation-delay: 0s; }
.d-1  { animation-delay: 0.08s; }
.d-2  { animation-delay: 0.16s; }
.d-3  { animation-delay: 0.24s; }
.d-4  { animation-delay: 0.32s; }
.d-5  { animation-delay: 0.40s; }
.d-6  { animation-delay: 0.50s; }
.d-7  { animation-delay: 0.60s; }
.d-8  { animation-delay: 0.75s; }

/* ==========================================================
   SCROLL REVEAL (Intersection Observer)
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.6s var(--ease-out-expo),
    transform 0.6s var(--ease-out-expo);
}
.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }

/* ==========================================================
   TYPOGRAPHY
   ========================================================== */
.display-2xl {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.heading-lg {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.body-base {
  font-size: 1rem;
  line-height: 1.65;
}
.text-gradient {
  background: linear-gradient(135deg, var(--brand-400) 0%, var(--brand-600) 50%, #8B5CF6 100%);
  background-size: 200% 200%;
  animation: gradient-spin 8s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-warm {
  background: linear-gradient(135deg, var(--accent-500) 0%, #EF4444 50%, #EC4899 100%);
  background-size: 200% 200%;
  animation: gradient-spin 6s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #0F172A 0%, #1E1B4B 25%, #312E81 50%, #1E1B4B 75%, #0F172A 100%);
  background-size: 400% 400%;
  animation: gradient-spin 20s ease infinite;
  overflow: hidden;
  isolation: isolate;
}

/* Animated mesh gradient overlay */
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 25% 25%, rgba(99,102,241,0.25) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 75% 60%, rgba(139,92,246,0.2) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 85%, rgba(236,72,153,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(245,158,11,0.08) 0%, transparent 50%);
  animation: fade-in 1.5s var(--ease-smooth) both;
}

/* Dot grid pattern */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 70%);
  animation: fade-in 2s var(--ease-smooth) both;
}

/* Floating gradient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 450px; height: 450px;
  background: rgba(99,102,241,0.3);
  top: -15%; left: -8%;
  animation: float-slow 12s ease-in-out infinite;
}
.orb-2 {
  width: 350px; height: 350px;
  background: rgba(139,92,246,0.2);
  top: 50%; right: -10%;
  animation: float-slow 15s ease-in-out infinite;
  animation-delay: -5s;
}
.orb-3 {
  width: 280px; height: 280px;
  background: rgba(236,72,153,0.15);
  bottom: -10%; left: 40%;
  animation: float-slow 10s ease-in-out infinite;
  animation-delay: -8s;
}
.orb-4 {
  width: 200px; height: 200px;
  background: rgba(245,158,11,0.12);
  top: 20%; left: 60%;
  animation: float-slow 14s ease-in-out infinite;
  animation-delay: -3s;
}

/* Mouse glow */
.glow-cursor {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  will-change: left, top;
}

/* ==========================================================
   BADGE / PILL
   ========================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.01em;
}
.badge-dot {
  width: 7px; height: 7px;
  background: #34D399;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(52,211,153,0.6);
  animation: pulse-ring 2.5s ease-out infinite;
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9375rem 2.25rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur-normal) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Shimmer effect */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%) skewX(-12deg);
  transition: transform 0.6s;
}
.btn:hover::after {
  transform: translateX(200%) skewX(-12deg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 4px 24px rgba(99,102,241,0.3);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(99,102,241,0.45);
}
.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 12px rgba(99,102,241,0.3);
}

.btn-accent {
  background: linear-gradient(135deg, #F97316, #EA580C);
  box-shadow: 0 4px 24px rgba(249,115,22,0.3);
  color: #fff;
}
.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(249,115,22,0.45);
}
.btn-accent:active {
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.25);
  color: #fff;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.btn-outline:active {
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--brand-600);
  box-shadow: var(--shadow-lg);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}
.btn-white:active {
  transform: translateY(-1px);
}

/* ==========================================================
   GLASS CARD
   ========================================================== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  transition: all var(--dur-normal) var(--ease-out-expo);
}
.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(255,255,255,0.05);
}

/* ==========================================================
   FEATURE CARD (Glass + Clay blend)
   ========================================================== */
.feature-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  transition: all 0.4s var(--ease-out-expo);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-8px);
  box-shadow: 0 32px 64px -16px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.05);
}
.feature-icon-wrapper {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  transition: all 0.4s var(--ease-out-expo);
}
.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.08);
  box-shadow: 0 0 32px rgba(99,102,241,0.3);
}

/* ==========================================================
   STAT COUNTER
   ========================================================== */
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #818CF8, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* ==========================================================
   STEP CARD
   ========================================================== */
.step-card {
  text-align: center;
  position: relative;
}
.step-number {
  width: 72px; height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  background: rgba(99,102,241,0.12);
  border: 2px solid rgba(99,102,241,0.2);
  color: var(--brand-400);
  transition: all 0.4s var(--ease-out-expo);
}
.step-card:hover .step-number {
  background: rgba(99,102,241,0.2);
  border-color: var(--brand-400);
  box-shadow: 0 0 40px rgba(99,102,241,0.25);
  transform: scale(1.08);
}

/* ==========================================================
   SECTION
   ========================================================== */
.section {
  position: relative;
  padding: 7rem 1.5rem;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4.5rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: var(--brand-50);
  color: var(--brand-600);
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================
   CTA SECTION
   ========================================================== */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600), var(--brand-700));
  background-size: 300% 300%;
  animation: gradient-spin 12s ease infinite;
  overflow: hidden;
  isolation: isolate;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 20%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(245,158,11,0.1) 0%, transparent 50%);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--slate-900);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3rem 1.5rem;
}
.footer-link {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s var(--ease-smooth);
}
.footer-link:hover { color: rgba(255,255,255,0.9); }

/* ==========================================================
   SCROLL TO TOP
   ========================================================== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--brand-500);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all var(--dur-normal) var(--ease-out-back);
  z-index: 50;
}
.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ==========================================================
   SCROLL INDICATOR (mouse)
   ========================================================== */
.scroll-indicator {
  animation: bounce-subtle 2s ease-in-out infinite;
}

/* ==========================================================
   REDUCED MOTION
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right,
  [class*="anim-"] { opacity: 1 !important; transform: none !important; }
  .stagger-children > * { opacity: 1; transform: none; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
/* ==========================================================
   LOGIN PAGE — Form Elements
   ========================================================== */
.login-split {
  display: flex;
  min-height: 100vh;
}
.login-brand-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0F172A 0%, #1E1B4B 40%, #312E81 100%);
}
.login-brand-bg {
  position: absolute;
  inset: 0;
}
.login-brand-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  pointer-events: none;
}
.login-brand-blur-1 {
  width: 350px; height: 350px;
  background: rgba(99,102,241,0.35);
  top: -10%; left: -10%;
  animation: float-slow 12s ease-in-out infinite;
}
.login-brand-blur-2 {
  width: 300px; height: 300px;
  background: rgba(139,92,246,0.25);
  bottom: -10%; right: -10%;
  animation: float-slow 15s ease-in-out infinite;
  animation-delay: -5s;
}
.login-brand-blur-3 {
  width: 200px; height: 200px;
  background: rgba(236,72,153,0.15);
  top: 50%; left: 30%;
  animation: float-slow 10s ease-in-out infinite;
  animation-delay: -8s;
}
.login-brand-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 40% 50%, black 20%, transparent 70%);
}
.login-brand-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 4rem 3.5rem;
}
.login-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: var(--white);
}
.login-form-container {
  width: 100%;
  max-width: 420px;
}

/* Input fields */
.input-group { margin-bottom: 1.5rem; }
.input-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.375rem;
  margin-left: 0.25rem;
}
.input-wrapper {
  position: relative;
}
.input-wrapper .input-icon-left {
  position: absolute;
  left: 0.9375rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.125rem;
  height: 1.125rem;
  color: var(--slate-400);
  pointer-events: none;
  transition: color var(--dur-fast) var(--ease-smooth);
}
.input-wrapper:focus-within .input-icon-left {
  color: var(--brand-500);
}
.form-input {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--dur-fast) var(--ease-smooth);
}
.form-input::placeholder { color: var(--slate-400); }
.form-input:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.08);
}
.form-input.has-icon-left { padding-left: 2.75rem; }
.form-input.has-icon-right { padding-right: 2.75rem; }

/* Password toggle */
.password-toggle {
  position: absolute;
  right: 0.375rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--slate-400);
  border-radius: var(--radius-sm);
  transition: all var(--dur-fast) var(--ease-smooth);
}
.password-toggle:hover { color: var(--slate-700); background: var(--slate-100); }

/* Custom checkbox */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--slate-500);
  cursor: pointer;
  font-weight: 500;
  user-select: none;
}
.custom-checkbox input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 5px;
  border: 1.5px solid var(--slate-300);
  accent-color: var(--brand-500);
  cursor: pointer;
}

/* Alerts */
.alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  animation: fade-up 0.35s var(--ease-out-expo) both;
  margin-bottom: 1.25rem;
}
.alert-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}
.alert-success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

/* Login submit button */
.btn-login {
  width: 100%;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(99,102,241,0.25);
  position: relative;
  overflow: hidden;
}
.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,0.4);
}
.btn-login:active { transform: translateY(0); }
.btn-login::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%) skewX(-12deg);
  transition: transform 0.6s;
}
.btn-login:hover::after { transform: translateX(200%) skewX(-12deg); }

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--slate-400);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-smooth);
}
.back-link:hover { color: var(--slate-600); }

/* Forgot password link */
.forgot-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-600);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-smooth);
}
.forgot-link:hover { color: var(--brand-700); }

/* Brand panel stat */
.brand-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-400);
  letter-spacing: -0.02em;
}
.brand-stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.125rem;
}

@media (max-width: 768px) {
  .section { padding: 4rem 1rem; }
  .section-header { margin-bottom: 2.5rem; }
  .hide-mobile { display: none; }
}
