/* ============================================================
   JAO PORTFOLIO - style.css
   Main Stylesheet: Design System, Variables, Base, Components
   Author: Joshua Aluaye Ohiole
   Website: jao.jaotechgworld.com
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* ---- Primary Palette ---- */
  --clr-red:         #E8192C;
  --clr-red-light:   #FF3347;
  --clr-red-dark:    #B8001A;
  --clr-blue:        #0A6EFF;
  --clr-blue-light:  #3D8FFF;
  --clr-blue-dark:   #0050CC;
  --clr-white:       #FFFFFF;

  /* ---- Secondary Palette ---- */
  --clr-purple:      #6B21E8;
  --clr-purple-light:#8B4FFF;
  --clr-offwhite:    #F5F5F7;

  /* ---- Dark Mode Surfaces ---- */
  --surface-900:     #080B14;
  --surface-800:     #0D1121;
  --surface-700:     #111827;
  --surface-600:     #1A2236;
  --surface-500:     #232E45;
  --surface-400:     #2E3D5C;
  --surface-300:     #3E5070;

  /* ---- Light Mode Surfaces ---- */
  --light-100:       #FFFFFF;
  --light-200:       #F5F5F7;
  --light-300:       #EAEAF0;
  --light-400:       #D8D8E8;
  --light-500:       #B0B0C8;

  /* ---- Text ---- */
  --text-primary-dark:   #F0F2FF;
  --text-secondary-dark: #9BA8C0;
  --text-muted-dark:     #5A6A85;
  --text-primary-light:  #0A0E1A;
  --text-secondary-light:#3D4A60;
  --text-muted-light:    #7A8599;

  /* ---- Gradients ---- */
  --gradient-brand:   linear-gradient(135deg, var(--clr-red) 0%, var(--clr-purple) 50%, var(--clr-blue) 100%);
  --gradient-red-blue:linear-gradient(135deg, var(--clr-red) 0%, var(--clr-blue) 100%);
  --gradient-glass:   linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  --gradient-card:    linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);

  /* ---- Glow / Shadow ---- */
  --glow-red:         0 0 24px rgba(232,25,44,0.35);
  --glow-blue:        0 0 24px rgba(10,110,255,0.35);
  --glow-purple:      0 0 24px rgba(107,33,232,0.35);
  --shadow-card:      0 4px 32px rgba(0,0,0,0.28);
  --shadow-card-hover:0 12px 56px rgba(0,0,0,0.40);
  --shadow-light:     0 4px 32px rgba(0,0,0,0.08);
  --shadow-light-hover:0 12px 48px rgba(0,0,0,0.14);

  /* ---- Border ---- */
  --border-glass:     1px solid rgba(255,255,255,0.10);
  --border-glass-light:1px solid rgba(0,0,0,0.08);
  --radius-sm:        8px;
  --radius-md:        14px;
  --radius-lg:        22px;
  --radius-xl:        32px;
  --radius-full:      9999px;

  /* ---- Typography ---- */
  --font-display:     'Syne', 'Bebas Neue', sans-serif;
  --font-body:        'DM Sans', 'Segoe UI', sans-serif;
  --font-mono:        'JetBrains Mono', 'Courier New', monospace;

  /* ---- Spacing ---- */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   40px;
  --space-2xl:  64px;
  --space-3xl:  96px;

  /* ---- Transitions ---- */
  --transition-fast:   0.18s ease;
  --transition-smooth: 0.32s cubic-bezier(0.4,0,0.2,1);
  --transition-bounce: 0.45s cubic-bezier(0.34,1.56,0.64,1);

  /* ---- Nav ---- */
  --nav-height: 70px;

  /* ---- Active Theme (Dark by default) ---- */
  --bg-primary:    var(--surface-900);
  --bg-secondary:  var(--surface-800);
  --bg-card:       var(--surface-700);
  --bg-nav:        rgba(8,11,20,0.88);
  --text-primary:  var(--text-primary-dark);
  --text-secondary:var(--text-secondary-dark);
  --text-muted:    var(--text-muted-dark);
  --border-subtle: rgba(255,255,255,0.07);
  --border-card:   rgba(255,255,255,0.09);
}

/* ---- Light Mode Overrides ---- */
[data-theme="light"] {
  --bg-primary:    var(--light-100);
  --bg-secondary:  var(--light-200);
  --bg-card:       var(--light-100);
  --bg-nav:        rgba(255,255,255,0.92);
  --text-primary:  var(--text-primary-light);
  --text-secondary:var(--text-secondary-light);
  --text-muted:    var(--text-muted-light);
  --border-subtle: rgba(0,0,0,0.06);
  --border-card:   rgba(0,0,0,0.08);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.80) 0%, rgba(255,255,255,0.60) 100%);
  --gradient-card:  linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(240,240,255,0.80) 100%);
  --shadow-card:    var(--shadow-light);
  --shadow-card-hover: var(--shadow-light-hover);
}

/* ============================================================
   2. GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=JetBrains+Mono:wght@400;500&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   4. TYPOGRAPHY SCALE
   ============================================================ */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.heading-md {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.3;
}

.body-lg {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  font-weight: 300;
}

.body-md {
  font-size: 1rem;
  line-height: 1.7;
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.6;
}

.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================================
   5. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--wide {
  max-width: 1400px;
}

.container--narrow {
  max-width: 800px;
}

.section {
  padding: var(--space-3xl) 0;
}

.section--sm {
  padding: var(--space-2xl) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ============================================================
   6. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
}

.navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.navbar__logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.navbar__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.navbar__logo-text span {
  background: var(--gradient-red-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__link {
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--text-primary);
  background: var(--border-subtle);
}

.navbar__link.active {
  color: var(--clr-blue-light);
}

.navbar__controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Theme Toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--border-subtle);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.theme-toggle:hover {
  background: var(--border-card);
  color: var(--text-primary);
}

/* Language Selector */
.lang-select {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--border-subtle);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  padding-right: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239BA8C0' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.lang-select:hover,
.lang-select:focus {
  background-color: var(--border-card);
  color: var(--text-primary);
  outline: none;
}

/* Hamburger */
.hamburger {
  width: 38px;
  height: 38px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--radius-sm);
  background: var(--border-subtle);
  border: 1px solid var(--border-card);
  transition: background var(--transition-fast);
}

.hamburger:hover {
  background: var(--border-card);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform var(--transition-smooth), opacity var(--transition-fast), width var(--transition-smooth);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-secondary);
  z-index: 999;
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  border-top: 1px solid var(--border-subtle);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  padding: var(--space-md) var(--space-md);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  gap: var(--space-md);
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
  background: var(--border-subtle);
  color: var(--text-primary);
  border-color: var(--border-card);
}

.mobile-menu__link .link-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--transition-smooth);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity var(--transition-fast);
  border-radius: inherit;
}

.btn:hover::before { opacity: 1; }

.btn--primary {
  background: var(--gradient-red-blue);
  color: white;
  box-shadow: 0 4px 20px rgba(232,25,44,0.30);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,25,44,0.45);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(8px);
}

.btn--secondary:hover {
  background: var(--border-subtle);
  border-color: rgba(255,255,255,0.20);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--border-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.btn--ghost:hover {
  background: var(--border-card);
  color: var(--text-primary);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

.btn--lg {
  padding: 16px 38px;
  font-size: 1rem;
}

.btn svg, .btn .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================================
   8. CARDS
   ============================================================ */

/* Glass Card */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(255,255,255,0.15);
}

[data-theme="light"] .card {
  background: var(--light-100);
  border-color: var(--light-300);
}

[data-theme="light"] .card:hover {
  border-color: var(--light-400);
}

/* Project Card */
.project-card {
  position: relative;
  overflow: hidden;
}

.project-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gradient-red-blue);
  border-radius: 0 0 2px 0;
  transition: height var(--transition-smooth);
}

.project-card:hover .project-card__accent {
  height: 100%;
}

/* Status Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge--active {
  background: rgba(0,200,83,0.12);
  color: #00C853;
  border: 1px solid rgba(0,200,83,0.25);
}

.badge--building {
  background: rgba(255,170,0,0.12);
  color: #FFAA00;
  border: 1px solid rgba(255,170,0,0.25);
}

.badge--planning {
  background: rgba(10,110,255,0.12);
  color: var(--clr-blue-light);
  border: 1px solid rgba(10,110,255,0.25);
}

.badge--dot::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.badge--active .badge--dot::before { animation: pulse-dot 1.8s ease-in-out infinite; }

/* Tech Tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-sm);
}

.tag {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 500;
  font-family: var(--font-mono);
  background: var(--border-subtle);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.tag:hover {
  color: var(--clr-blue-light);
  border-color: rgba(61,143,255,0.3);
  background: rgba(61,143,255,0.06);
}

/* ============================================================
   9. SECTION HEADER
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-blue-light);
  margin-bottom: var(--space-md);
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.section-title span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 300;
}

/* ============================================================
   10. HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: float-orb 12s ease-in-out infinite;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: var(--clr-red);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: var(--clr-blue);
  bottom: -100px;
  left: -100px;
  animation-delay: -4s;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: var(--clr-purple);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -8s;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

[data-theme="light"] .hero__grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--space-3xl) 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-2xl);
  align-items: center;
}

.hero__text-block {}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(10,110,255,0.10);
  border: 1px solid rgba(10,110,255,0.25);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-blue-light);
  margin-bottom: var(--space-lg);
}

.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-blue-light);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.hero__name .highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero__tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 540px;
  line-height: 1.7;
  font-weight: 300;
}

.hero__typewriter {
  color: var(--clr-blue-light);
  font-weight: 500;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.hero__stats {
  display: flex;
  gap: var(--space-xl);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.stat__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero image side */
.hero__image-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.hero__avatar-wrap {
  position: relative;
  width: 320px;
  height: 380px;
  flex-shrink: 0;
}

.hero__avatar-ring {
  position: absolute;
  inset: -10px;
  border-radius: var(--radius-xl);
  background: var(--gradient-brand);
  opacity: 0.20;
  animation: spin-slow 20s linear infinite;
}

.hero__avatar-ring-2 {
  position: absolute;
  inset: -5px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.08);
  border-top-color: rgba(232,25,44,0.4);
  border-right-color: rgba(10,110,255,0.4);
  animation: spin-slow 14s linear infinite reverse;
}

.hero__avatar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  overflow: hidden;
  z-index: 1;
}

.hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
  transition: transform 0.6s ease;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hero__avatar-wrap:hover img {
  transform: scale(1.03);
}

.hero__avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--text-muted);
  background: var(--bg-card);
  border-radius: inherit;
}

.hero__avatar-placeholder .initials {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  white-space: nowrap;
  z-index: 2;
  backdrop-filter: blur(12px);
}

.hero__badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00C853;
  animation: pulse-dot 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

.hero__badge-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

/* ============================================================
   11. ABOUT / BIO SECTION
   ============================================================ */
.bio-section {
  background: var(--bg-secondary);
}

.bio__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-2xl);
  align-items: start;
}

.bio__label {
  color: var(--clr-red);
  margin-bottom: var(--space-md);
}

.bio__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
}

.bio__skills {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-item__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.skill-bar {
  height: 3px;
  background: var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
}

.skill-bar__fill {
  height: 100%;
  border-radius: 2px;
  background: var(--gradient-red-blue);
  width: 0;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

.bio__text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: var(--space-lg);
}

.bio__text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.bio__note {
  padding: var(--space-md) var(--space-lg);
  border-left: 3px solid var(--clr-blue);
  background: rgba(10,110,255,0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: var(--space-xl);
}

/* ============================================================
   12. PROJECTS SECTION
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.proj-card {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.proj-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
}

.proj-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.proj-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.proj-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

.proj-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: auto;
}

/* ============================================================
   13. SOCIAL / CONNECT SECTION
   ============================================================ */
.social-section {
  background: var(--bg-secondary);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-xl) var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  border: 1px solid var(--border-card);
  text-decoration: none;
  transition: all var(--transition-smooth);
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.social-card:hover::before {
  opacity: 0.06;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.16);
}

.social-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: transform var(--transition-bounce);
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.social-card:hover img {
  transform: scale(1.15) translateY(-2px);
}

.social-card__name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
  transition: color var(--transition-fast);
}

.social-card:hover .social-card__name {
  color: var(--text-primary);
}

/* Tooltip */
.tooltip-wrap {
  position: relative;
}

.tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  font-family: var(--font-mono);
  z-index: 10;
}

.tooltip-wrap:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   14. CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.cta-inner {
  text-align: center;
  padding: var(--space-3xl) 0;
  position: relative;
  z-index: 1;
}

.cta__bg-glow {
  position: absolute;
  width: 600px;
  height: 300px;
  background: var(--gradient-brand);
  opacity: 0.06;
  filter: blur(80px);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.cta__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto var(--space-xl);
  line-height: 1.75;
  font-weight: 300;
}

.cta__buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-lg) 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer__link {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.footer__link:hover {
  color: var(--text-primary);
}

/* ============================================================
   16. PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.page-hero__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

/* ============================================================
   17. WEBSITE / APP CARDS (reusable)
   ============================================================ */
/* ---- START: COPY THIS CARD TO ADD NEW WEBSITE/APP PROJECTS ---- */
.site-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.site-card__logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--border-subtle);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.site-card__logo-placeholder {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.site-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

.site-card__owner {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--border-subtle);
}

.site-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.site-card__footer {
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
}
/* ---- END: COPY THIS CARD TO ADD NEW WEBSITE/APP PROJECTS ---- */

/* ============================================================
   18. GRAPHICS / MODAL
   ============================================================ */
.graphics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.graphics-card {
  cursor: pointer;
}

.graphics-card__thumb {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  margin-bottom: var(--space-md);
  position: relative;
}

.graphics-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.graphics-card:hover .graphics-card__thumb img {
  transform: scale(1.05);
}

.graphics-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}

.graphics-card:hover .graphics-card__overlay {
  opacity: 1;
}

.graphics-card__overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.9);
  color: #000;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-smooth);
  position: relative;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 1;
  border: 1px solid var(--border-card);
}

.modal__close:hover {
  background: var(--clr-red);
  color: white;
  border-color: var(--clr-red);
}

.modal__body {
  padding: var(--space-xl);
}

.gallery-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  margin-bottom: var(--space-lg);
}

.gallery-slider__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.gallery-slider__img.active {
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: background var(--transition-fast);
  z-index: 2;
}

.gallery-nav:hover { background: rgba(0,0,0,0.8); }
.gallery-nav--prev { left: var(--space-sm); }
.gallery-nav--next { right: var(--space-sm); }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: var(--space-lg);
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-card);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-dot.active {
  background: var(--clr-blue-light);
  width: 20px;
  border-radius: 3px;
}

/* ============================================================
   19. PROTECTED CONTENT COMPONENT
   ============================================================ */
.protected-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  border: 1px dashed var(--border-card);
  border-radius: var(--radius-lg);
  gap: var(--space-md);
  background: rgba(232,25,44,0.03);
}

.protected-content__icon {
  font-size: 2rem;
  opacity: 0.6;
}

.protected-content__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-secondary);
}

.protected-content__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 340px;
  line-height: 1.6;
}

/* ============================================================
   20. DEVELOPER TOOLS NOTICE
   ============================================================ */
.devtools-notice {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(8,11,20,0.96);
  border-bottom: 2px solid var(--clr-red);
  z-index: 9999;
  padding: var(--space-md) var(--space-lg);
  backdrop-filter: blur(12px);
}

.devtools-notice.visible {
  display: flex;
}

.devtools-notice__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.devtools-notice__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.devtools-notice__text p {
  font-size: 0.82rem;
  color: #9BA8C0;
  line-height: 1.6;
  margin-top: 4px;
}

.devtools-notice__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: #F0F2FF;
}

/* ============================================================
   21. DIGITAL PRODUCTS / EDUCATION CARDS
   ============================================================ */
.product-card {
  display: flex;
  flex-direction: column;
}

.product-card__cover {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  margin-bottom: var(--space-md);
  position: relative;
}

.product-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.product-card__cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-align: center;
  padding: var(--space-lg);
}

.training-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.training-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-card);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}

/* ============================================================
   22. CONTENT CREATION PAGE
   ============================================================ */
.content-subsection {
  margin-bottom: var(--space-2xl);
}

.content-subsection__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.content-subsection__title::before {
  content: '';
  width: 4px;
  height: 1.4em;
  background: var(--gradient-red-blue);
  border-radius: 2px;
  flex-shrink: 0;
}

.security-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  background: rgba(255,170,0,0.05);
  border: 1px solid rgba(255,170,0,0.2);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.security-note__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   23. PAYMENT PAGE
   ============================================================ */
.payment-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--gradient-card);
  border: 1px solid var(--border-card);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.payment-method:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: rgba(255,255,255,0.15);
}

.payment-method__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.payment-method__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.payment-method__desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.payment-pending {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  border: 1px dashed var(--border-card);
  border-radius: var(--radius-xl);
  background: var(--gradient-card);
}

.payment-pending__icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

/* ============================================================
   24. LEGAL PAGES
   ============================================================ */
.legal-page {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-3xl);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin: var(--space-xl) 0 var(--space-md);
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: var(--space-lg) 0 var(--space-sm);
  color: var(--text-secondary);
}

.legal-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-md);
  font-weight: 300;
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content ul li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  font-weight: 300;
}

.legal-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--space-xl) 0;
}

/* ============================================================
   25. SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-red-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
  border: none;
  box-shadow: 0 4px 16px rgba(232,25,44,0.30);
  font-size: 1.1rem;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  box-shadow: 0 8px 28px rgba(232,25,44,0.45);
  transform: translateY(-2px);
}

/* ============================================================
   26. MISC UTILS
   ============================================================ */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--space-xl) 0;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--surface-900);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-md);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__logo {
  width: 72px;
  height: 72px;
}

.preloader__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.preloader__bar {
  width: 160px;
  height: 2px;
  background: var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
}

.preloader__progress {
  height: 100%;
  background: var(--gradient-red-blue);
  border-radius: 2px;
  width: 0;
  animation: preload 1.4s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes preload {
  to { width: 100%; }
}

/* Highlight bar on focused inputs */
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--clr-blue);
  outline-offset: 2px;
}

/* Image protection */
img {
  user-select: none;
  -webkit-user-drag: none;
}

/* ============================================================
   END OF style.css
   ============================================================ */
