/* ===================================================
   SHEETSTUDIO - DESIGN SYSTEM v3
   Dark Neumorphism + Glassmorphism + Bold Typography
   =================================================== */

/* ---------- GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@700;800;900&display=swap');

/* ---------- CSS VARIABLES ---------- */
:root {
  --bg-primary: #0a0f1e;
  --bg-secondary: #0f1629;
  --bg-card: #111827;
  --bg-card-hover: #151f30;
  --bg-surface: #1a2440;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255,255,255,0.07);
  --border-bright: rgba(59,130,246,0.3);
  --neu-dark: #070c18;
  --neu-light: #131e34;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
}

/* ---------- RESET ---------- */
*,*::before,*::after{box-sizing:border-box;max-width:100%}
html,body{overflow-x:hidden;width:100%;margin:0;padding:0;scroll-behavior:smooth}
body{font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-size:16px;line-height:1.6;color:var(--text-primary);background:var(--bg-primary);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
*{word-wrap:break-word;overflow-wrap:break-word}

/* ---------- LAYOUT UTILITIES ---------- */
.container{width:100%;max-width:1280px;margin:0 auto;padding:0 1rem}
.mx-auto{margin-left:auto;margin-right:auto}
.max-w-sm{max-width:24rem}.max-w-md{max-width:28rem}.max-w-lg{max-width:32rem}
.max-w-xl{max-width:36rem}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}
.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}
.max-w-none{max-width:none}

/* ---------- FLEX ---------- */
.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.flex-row{flex-direction:row}
.flex-wrap{flex-wrap:wrap}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink{flex-shrink:1}
.items-start{align-items:flex-start}.items-center{align-items:center}.items-end{align-items:flex-end}.items-stretch{align-items:stretch}
.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}
.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}
.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}
.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-10{gap:2.5rem}.gap-12{gap:3rem}

/* ---------- GRID ---------- */
.grid{display:grid}
.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}
.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.col-span-2{grid-column:span 2}

/* ---------- SPACING ---------- */
.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}
.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-7{padding:1.75rem}.p-8{padding:2rem}.p-10{padding:2.5rem}.p-12{padding:3rem}
.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}
.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}
.px-8{padding-left:2rem;padding-right:2rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}
.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}
.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}
.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}
.py-8{padding-top:2rem;padding-bottom:2rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}
.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}
.py-20{padding-top:5rem;padding-bottom:5rem}.py-24{padding-top:6rem;padding-bottom:6rem}
.pt-16{padding-top:4rem}.pt-20{padding-top:5rem}.pt-24{padding-top:6rem}.pt-28{padding-top:7rem}.pt-32{padding-top:8rem}
.pb-8{padding-bottom:2rem}.pb-10{padding-bottom:2.5rem}.pb-12{padding-bottom:3rem}.pb-16{padding-bottom:4rem}.pb-20{padding-bottom:5rem}
.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pr-10{padding-right:2.5rem}.pr-12{padding-right:3rem}
.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}
.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}
.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-10{margin-bottom:2.5rem}
.mb-12{margin-bottom:3rem}.mb-16{margin-bottom:4rem}
.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}
.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-12{margin-top:3rem}
.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-8{margin-left:2rem}
.mr-2{margin-right:.5rem}
.space-y-1>*+*{margin-top:.25rem}.space-y-2>*+*{margin-top:.5rem}
.space-y-3>*+*{margin-top:.75rem}.space-y-4>*+*{margin-top:1rem}

/* ---------- DISPLAY ---------- */
.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.hidden{display:none!important}
.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.sticky{position:sticky}
.top-0{top:0}.top-3{top:.75rem}.top-4{top:1rem}.top-1\/2{top:50%}
.left-0{left:0}.left-3{left:.75rem}.left-4{left:1rem}
.right-0{right:0}.right-3{right:.75rem}.right-4{right:1rem}
.bottom-0{bottom:0}.inset-0{inset:0}
.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}
.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}
.whitespace-nowrap{white-space:nowrap}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.w-full{width:100%}.w-screen{width:100vw}
.h-full{height:100%}.h-screen{height:100vh}
.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}
.w-10{width:2.5rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-px{width:1px}
.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}
.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-px{height:1px}
.min-h-screen{min-height:100vh}.min-h-0{min-height:0}
.aspect-video{aspect-ratio:16/9}.aspect-square{aspect-ratio:1}
.object-cover{object-fit:cover}.object-contain{object-fit:contain}.object-center{object-position:center}

/* ---------- TYPOGRAPHY ---------- */
.font-display{font-family:'Outfit',system-ui,sans-serif}
.font-sans{font-family:'Plus Jakarta Sans',system-ui,sans-serif}
.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}
.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}
.text-xl{font-size:1.25rem;line-height:1.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}
.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}
.text-5xl{font-size:3rem;line-height:1}.text-6xl{font-size:3.75rem;line-height:1}.text-7xl{font-size:4.5rem;line-height:1}
.font-normal{font-weight:400}.font-medium{font-weight:500}.font-semibold{font-weight:600}
.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-black{font-weight:900}
.leading-none{line-height:1}.leading-tight{line-height:1.25}.leading-snug{line-height:1.375}
.leading-normal{line-height:1.5}.leading-relaxed{line-height:1.625}
.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.tracking-widest{letter-spacing:.1em}
.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}
.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}
.antialiased{-webkit-font-smoothing:antialiased}
.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.line-clamp-3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.italic{font-style:italic}

/* ---------- COLORS ---------- */
/* Text */
.text-white{color:#fff}
.text-gray-400{color:#9ca3af}.text-gray-500{color:#6b7280}.text-gray-600{color:#4b5563}
.text-gray-700{color:#374151}.text-gray-800{color:#1f2937}.text-gray-900{color:#111827}
.text-blue-400{color:#60a5fa}.text-blue-500{color:#3b82f6}.text-blue-600{color:#2563eb}.text-blue-700{color:#1d4ed8}
.text-cyan-400{color:#22d3ee}.text-cyan-500{color:#06b6d4}.text-cyan-600{color:#0891b2}
.text-green-500{color:#22c55e}.text-green-600{color:#16a34a}
.text-white\/70{color:rgba(255,255,255,.7)}.text-white\/80{color:rgba(255,255,255,.8)}.text-white\/90{color:rgba(255,255,255,.9)}
/* Background */
.bg-white{background-color:#fff}
.bg-gray-50{background-color:#f9fafb}.bg-gray-100{background-color:#f3f4f6}
.bg-gray-800{background-color:#1f2937}.bg-gray-900{background-color:#111827}
.bg-blue-50{background-color:#eff6ff}.bg-blue-100{background-color:#dbeafe}
.bg-blue-400{background-color:#60a5fa}.bg-blue-500{background-color:#3b82f6}
.bg-blue-600{background-color:#2563eb}.bg-blue-700{background-color:#1d4ed8}.bg-blue-800{background-color:#1e40af}
.bg-cyan-100{background-color:#cffafe}.bg-cyan-500{background-color:#06b6d4}
.bg-green-100{background-color:#dcfce7}.bg-green-500{background-color:#22c55e}
.bg-white\/10{background-color:rgba(255,255,255,.1)}.bg-white\/20{background-color:rgba(255,255,255,.2)}
.bg-brand-950{background-color:#172554}.bg-brand-900{background-color:#1e3a8a}.bg-brand-800{background-color:#1e40af}
/* Gradients */
.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}
.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}
.from-blue-500{--tw-gradient-from:#3b82f6;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(59,130,246,0))}
.from-blue-600{--tw-gradient-from:#2563eb;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(37,99,235,0))}
.from-brand-950{--tw-gradient-from:#172554;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(23,37,84,0))}
.via-brand-900{--tw-gradient-stops:var(--tw-gradient-from),#1e3a8a,var(--tw-gradient-to,rgba(30,58,138,0))}
.to-brand-800{--tw-gradient-to:#1e40af}.to-cyan-500{--tw-gradient-to:#06b6d4}
.to-brand-950{--tw-gradient-to:#172554}

/* ---------- BORDER ---------- */
.border{border:1px solid var(--border)}.border-0{border:0}.border-2{border-width:2px}
.border-t{border-top:1px solid var(--border)}.border-b{border-bottom:1px solid var(--border)}.border-b-2{border-bottom-width:2px;border-bottom-style:solid}.border-l-4{border-left-width:4px;border-left-style:solid}
.border-white{border-color:#fff}.border-gray-200{border-color:#e5e7eb}.border-blue-200{border-color:#bfdbfe}.border-blue-600{border-color:#2563eb}
.border-white\/10{border-color:rgba(255,255,255,.1)}.border-white\/20{border-color:rgba(255,255,255,.2)}
.rounded{border-radius:.25rem}.rounded-md{border-radius:.375rem}.rounded-lg{border-radius:.5rem}
.rounded-xl{border-radius:.75rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}
.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}
.rounded-b-xl{border-bottom-left-radius:.75rem;border-bottom-right-radius:.75rem}

/* ---------- SHADOWS ---------- */
.shadow{box-shadow:0 1px 3px rgba(0,0,0,.5)}
.shadow-sm{box-shadow:0 1px 2px rgba(0,0,0,.4)}
.shadow-md{box-shadow:0 4px 6px -1px rgba(0,0,0,.5)}
.shadow-lg{box-shadow:0 10px 15px -3px rgba(0,0,0,.5)}
.shadow-xl{box-shadow:0 20px 25px -5px rgba(0,0,0,.5)}
.shadow-2xl{box-shadow:0 25px 50px -12px rgba(0,0,0,.7)}
.shadow-none{box-shadow:none}

/* ---------- OPACITY ---------- */
.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-100{opacity:1}

/* ---------- TRANSITIONS ---------- */
.transition{transition:color,background-color,border-color,opacity,box-shadow,transform .15s cubic-bezier(.4,0,.2,1)}
.transition-all{transition:all .15s cubic-bezier(.4,0,.2,1)}
.transition-colors{transition:color,background-color,border-color .15s cubic-bezier(.4,0,.2,1)}
.transition-transform{transition:transform .15s cubic-bezier(.4,0,.2,1)}
.transition-opacity{transition:opacity .15s cubic-bezier(.4,0,.2,1)}
.duration-200{transition-duration:200ms}.duration-300{transition-duration:300ms}
.duration-500{transition-duration:500ms}.duration-700{transition-duration:700ms}

/* ---------- TRANSFORMS ---------- */
.scale-100{transform:scale(1)}.scale-105{transform:scale(1.05)}.scale-110{transform:scale(1.1)}
.-translate-y-1\/2{transform:translateY(-50%)}.translate-x-1{transform:translateX(.25rem)}

/* ---------- FILTER / BLUR ---------- */
.blur-3xl{filter:blur(64px)}.blur-xl{filter:blur(24px)}
.backdrop-blur{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}

/* ---------- HOVER / FOCUS ---------- */
.hover\:text-white:hover{color:#fff}
.hover\:text-blue-600:hover{color:#2563eb}
.hover\:bg-white\/10:hover{background-color:rgba(255,255,255,.1)}
.hover\:bg-white\/20:hover{background-color:rgba(255,255,255,.2)}
.hover\:bg-blue-50:hover{background-color:#eff6ff}
.hover\:shadow-2xl:hover{box-shadow:0 25px 50px -12px rgba(0,0,0,.7)}
.hover\:scale-105:hover{transform:scale(1.05)}
.hover\:scale-110:hover{transform:scale(1.1)}
.group:hover .group-hover\:text-blue-600{color:#2563eb}
.group:hover .group-hover\:scale-110{transform:scale(1.1)}
.group:hover .group-hover\:translate-x-1{transform:translateX(.25rem)}
.focus\:outline-none:focus{outline:2px solid transparent}
.focus\:ring-4:focus{box-shadow:0 0 0 4px rgba(37,99,235,.3)}
.focus\:border-blue-600:focus{border-color:#2563eb}

/* ---------- MISC ---------- */
.cursor-pointer{cursor:pointer}.select-none{user-select:none}
.list-none{list-style:none}.list-disc{list-style:disc}.list-decimal{list-style:decimal}

/* ======================================================
   DESIGN SYSTEM COMPONENTS
   ====================================================== */

/* ---- GLASSMORPHISM ---- */
.glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
}

.glass-dark {
  background: rgba(10,15,30,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(59,130,246,0.2);
}

.glass-card {
  background: rgba(17,24,39,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.07);
}

/* ---- NEUMORPHISM (Dark) ---- */
.neu-card {
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow:
    8px 8px 20px var(--neu-dark),
    -8px -8px 20px var(--neu-light),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.neu-card:hover {
  box-shadow:
    12px 12px 28px var(--neu-dark),
    -4px -4px 12px var(--neu-light),
    inset 0 1px 0 rgba(255,255,255,0.07);
  transform: translateY(-2px);
  transition: all .3s ease;
}

.neu-inset {
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow:
    inset 4px 4px 10px var(--neu-dark),
    inset -4px -4px 10px var(--neu-light);
}

.neu-btn {
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow:
    4px 4px 10px var(--neu-dark),
    -4px -4px 10px var(--neu-light);
  transition: all .2s ease;
  cursor: pointer;
  border: none;
}

.neu-btn:hover {
  box-shadow:
    2px 2px 6px var(--neu-dark),
    -2px -2px 6px var(--neu-light);
}

.neu-btn:active {
  box-shadow:
    inset 3px 3px 8px var(--neu-dark),
    inset -3px -3px 8px var(--neu-light);
}

/* ---- GRADIENT TEXT ---- */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-warm {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- GRADIENT BORDER ---- */
.gradient-border {
  position: relative;
  border-radius: 16px;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, #3b82f6, #06b6d4, #818cf8);
  z-index: -1;
}

/* ---- GLOW EFFECTS ---- */
.glow-blue {
  box-shadow: 0 0 30px rgba(59,130,246,0.3), 0 0 60px rgba(59,130,246,0.1);
}

.glow-cyan {
  box-shadow: 0 0 30px rgba(6,182,212,0.3);
}

/* ---- MESH GRADIENT ---- */
.mesh-bg {
  background:
    radial-gradient(at 20% 30%, rgba(59,130,246,0.15) 0, transparent 50%),
    radial-gradient(at 80% 70%, rgba(6,182,212,0.12) 0, transparent 50%),
    radial-gradient(at 50% 90%, rgba(129,140,248,0.1) 0, transparent 50%);
}

/* ---- BADGE ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #60a5fa;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ---- DIVIDER ---- */
.divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* ---- SECTION LABEL ---- */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 12px;
}

/* ---- FEATURE ICON ---- */
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* ======================================================
   NAVIGATION
   ====================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59,130,246,0.15);
  transition: background .3s ease;
}

.site-nav .nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37,99,235,0.4);
  transition: transform .2s ease;
}

.nav-logo:hover .nav-logo-icon { transform: scale(1.08) rotate(-3deg); }

.nav-logo span {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: all .2s ease;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.nav-links a.active {
  color: #60a5fa;
}

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: rgba(12,18,35,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  overflow: hidden;
  z-index: 100;
}

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

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: rgba(255,255,255,.8);
  transition: all .2s;
  border-radius: 0;
}

.nav-dropdown-menu a:hover {
  background: rgba(59,130,246,.12);
  color: #60a5fa;
}

/* CTA Button */
.nav-cta {
  padding: 8px 20px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: white !important;
  font-weight: 700 !important;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(37,99,235,0.35);
  transition: all .2s ease !important;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.45) !important;
  background: rgba(255,255,255,0) !important;
  background-image: linear-gradient(135deg,#1d4ed8,#0891b2) !important;
}

/* Mobile Toggle */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 49;
  background: rgba(8,12,24,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59,130,246,0.15);
  padding: 16px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  display: none;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: all .2s;
  margin-bottom: 2px;
}

.mobile-menu a:hover, .mobile-menu a.active {
  background: rgba(59,130,246,.1);
  color: #60a5fa;
}

.mobile-menu .nav-cta-mobile {
  display: block;
  margin-top: 8px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: white;
  font-weight: 700;
  border-radius: 12px;
  text-align: center;
}

/* Desktop nav visible at 1024px+ */
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* ======================================================
   BUTTONS
   ====================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(37,99,235,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-secondary {
  background: rgba(255,255,255,0.07);
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,0.35);
}

.btn-ghost:hover {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.6);
}

/* ======================================================
   READING PROGRESS
   ====================================================== */

#reading-progress {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #06b6d4, #818cf8);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 40;
}

/* ======================================================
   ANIMATIONS
   ====================================================== */

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }
@keyframes glow-pulse { 0%,100%{opacity:.6} 50%{opacity:1} }
@keyframes fade-up { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes spin { to{transform:rotate(360deg)} }
@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-glow { animation: glow-pulse 3s ease-in-out infinite; }
.animate-fade-up { animation: fade-up .6s ease-out forwards; }
.animate-fade-in { animation: fade-up .5s ease-out forwards; }
.animate-spin { animation: spin 1s linear infinite; }

/* ======================================================
   PROSE (Article Content)
   ====================================================== */

.prose {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: none;
}

.prose h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.prose h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}

.prose h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2rem 0 .75rem;
}

.prose p { margin-bottom: 1.4rem; }

.prose a { color: #60a5fa; text-decoration: underline; text-decoration-color: rgba(96,165,250,.3); }
.prose a:hover { color: #93c5fd; }

.prose strong { font-weight: 700; color: var(--text-primary); }

.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.4rem; }
.prose ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.4rem; }
.prose li { margin-bottom: .4rem; }

.prose blockquote {
  border-left: 3px solid #2563eb;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(37,99,235,.08);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.prose code {
  background: rgba(59,130,246,.1);
  padding: .15em .4em;
  border-radius: .3rem;
  font-size: .875em;
  color: #93c5fd;
  font-family: 'Courier New', monospace;
  border: 1px solid rgba(59,130,246,.2);
}

.prose pre {
  background: #080d1a;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
  font-size: .875rem;
}

.prose pre code {
  background: transparent;
  color: #e2e8f0;
  padding: 0;
  border: none;
  font-size: inherit;
}

.prose img {
  border-radius: 14px;
  margin: 2rem auto;
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
  border: 1px solid var(--border);
}

.prose table { width: 100%; border-collapse: collapse; margin: 2rem 0; overflow-x: auto; display: block; }
.prose th { padding: .75rem 1rem; text-align: left; font-weight: 700; background: var(--bg-surface); border-bottom: 1px solid var(--border); color: var(--text-primary); }
.prose td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); }

.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* ======================================================
   CARDS (app.js generated)
   ====================================================== */

/* Blog card (rendered by app.js) */
.group.bg-white {
  background: var(--bg-card) !important;
  border: 1px solid var(--border);
  box-shadow: 8px 8px 20px var(--neu-dark), -4px -4px 12px var(--neu-light) !important;
  transition: all .35s ease !important;
}

.group.bg-white:hover {
  border-color: rgba(59,130,246,.25) !important;
  box-shadow: 12px 12px 30px var(--neu-dark), -4px -4px 12px var(--neu-light), 0 0 0 1px rgba(59,130,246,.15) !important;
  transform: translateY(-4px);
}

/* Text overrides for dark theme in app.js cards */
.text-gray-900 { color: var(--text-primary) !important; }
.text-gray-600 { color: var(--text-secondary) !important; }
.text-gray-500 { color: var(--text-muted) !important; }
.bg-white.rounded-xl, .bg-white.rounded-2xl {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
}

/* Post header */
.bg-blue-100 { background: rgba(37,99,235,.12) !important; }
.text-blue-700 { color: #60a5fa !important; }

/* Related posts in post.html */
.bg-white.rounded-xl {
  background: var(--bg-card) !important;
}

/* Border on related posts */
.border-t { border-top-color: var(--border) !important; }
.border-t.pt-12 h2 { color: var(--text-primary); }

/* Loading / Error states */
.flex.items-center.justify-center.min-h-screen {
  background: var(--bg-primary);
}

/* Spinner */
.animate-spin {
  border-color: rgba(59,130,246,.2);
  border-top-color: #2563eb;
}

/* ======================================================
   INPUTS
   ====================================================== */

input[type=text], input[type=email], input[type=search], textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border-bright);
  color: var(--text-primary);
  border-radius: 12px;
  padding: 13px 20px;
  font-size: 15px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
}

input:focus, textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.2);
}

input::placeholder, textarea::placeholder { color: var(--text-muted); }

/* ======================================================
   FOOTER
   ====================================================== */

.site-footer {
  background: #060a14;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 48px 20px 28px;
}

/* ======================================================
   SCROLLBAR
   ====================================================== */

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(59,130,246,.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(59,130,246,.5); }

/* ======================================================
   RESPONSIVE UTILITIES
   ====================================================== */

@media (min-width:640px){
  .sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sm\:flex{display:flex!important}
  .sm\:hidden{display:none!important}
  .sm\:block{display:block!important}
  .sm\:flex-row{flex-direction:row}
  .sm\:col-span-2{grid-column:span 2}
  .sm\:text-sm{font-size:.875rem;line-height:1.25rem}
  .sm\:text-base{font-size:1rem;line-height:1.5rem}
  .sm\:text-lg{font-size:1.125rem;line-height:1.75rem}
  .sm\:text-xl{font-size:1.25rem;line-height:1.75rem}
  .sm\:text-2xl{font-size:1.5rem;line-height:2rem}
  .sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}
  .sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}
  .sm\:text-5xl{font-size:3rem;line-height:1}
  .sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}
  .sm\:py-4{padding-top:1rem;padding-bottom:1rem}
  .sm\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}
  .sm\:py-8{padding-top:2rem;padding-bottom:2rem}
  .sm\:py-12{padding-top:3rem;padding-bottom:3rem}
  .sm\:gap-6{gap:1.5rem}
  .sm\:gap-8{gap:2rem}
  .sm\:p-6{padding:1.5rem}
  .sm\:items-center{align-items:center}
  .sm\:text-center{text-align:center}
}

@media (min-width:768px){
  .md\:flex{display:flex!important}
  .md\:hidden{display:none!important}
  .md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .md\:col-span-1{grid-column:span 1}
  .md\:text-5xl{font-size:3rem;line-height:1}
  .md\:text-6xl{font-size:3.75rem;line-height:1}
  .md\:flex-row{flex-direction:row}
  .md\:items-center{align-items:center}
}

@media (min-width:1024px){
  .lg\:flex{display:flex!important}
  .lg\:hidden{display:none!important}
  .lg\:block{display:block!important}
  .lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .lg\:text-7xl{font-size:4.5rem;line-height:1}
  .lg\:text-6xl{font-size:3.75rem;line-height:1}
  .lg\:text-5xl{font-size:3rem;line-height:1}
  .lg\:text-4xl{font-size:2.25rem;line-height:2.5rem}
  .lg\:text-xl{font-size:1.25rem;line-height:1.75rem}
  .lg\:px-8{padding-left:2rem;padding-right:2rem}
  .lg\:py-20{padding-top:5rem;padding-bottom:5rem}
  .lg\:py-16{padding-top:4rem;padding-bottom:4rem}
  .lg\:pt-32{padding-top:8rem}
  .lg\:pb-20{padding-bottom:5rem}
  .lg\:p-8{padding:2rem}
  .lg\:gap-8{gap:2rem}
  .lg\:gap-12{gap:3rem}
  .lg\:items-center{align-items:center}
}

@media (max-width:639px){
  .prose h1{font-size:1.75rem}
  .prose h2{font-size:1.35rem}
  .prose pre{padding:1rem;border-radius:.75rem}
}

/* Spin for loader */
@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
