/* =============================================
   TAHA PORTFOLIO — Global Stylesheet
   =============================================
   1.  Design Tokens (CSS Custom Properties)
   2.  Reset & Base
   3.  Typography
   4.  Layout Utilities
   5.  Site Header & Navigation
   6.  Mobile Navigation
   7.  Site Footer
   8.  Buttons
   9.  Cards & Shared Components
   10. Animation System (Scroll Reveal)
   11. Page Transition
   12. HOME — Hero Section
   13. HOME — Gallery (Horizontal Scroll)
   14. HOME — Services Preview
   15. HOME — CTA Banner
   16. ABOUT — Page Styles
   17. SERVICES — Page Styles
   18. PROJECTS — Page Styles
   19. CONTACT — Page Styles
   20. Responsive Breakpoints
   21. prefers-reduced-motion
   ============================================= */


/* ============================================
   1. DESIGN TOKENS
   ============================================ */
:root {
  /* Background */
  --bg-primary:   #0a0a0f;
  --bg-secondary: #111118;
  --bg-card:      #14141c;
  --bg-card-hover:#1a1a26;

  /* Text */
  --text-primary:   #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-muted:     #71717a;

  /* Accent — single violet */
  --accent:        #8b5cf6;
  --accent-light:  #a78bfa;
  --accent-dim:    rgba(139, 92, 246, 0.15);
  --accent-glow:   rgba(139, 92, 246, 0.30);
  --accent-border: rgba(139, 92, 246, 0.35);

  /* Borders / Glass */
  --border:        rgba(255, 255, 255, 0.07);
  --border-hover:  rgba(255, 255, 255, 0.14);
  --glass-bg:      rgba(255, 255, 255, 0.04);
  --glass-border:  rgba(255, 255, 255, 0.08);

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

  /* Spacing */
  --section-py:      clamp(70px, 9vw, 120px);
  --container-max:   1200px;
  --container-px:    clamp(20px, 5vw, 60px);

  /* Transitions */
  --t-fast:   150ms ease-out;
  --t-base:   250ms ease-out;
  --t-slow:   500ms ease-out;

  /* Radii */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-pill: 100px;

  /* Header height */
  --header-h: 72px;
}


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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }


/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-secondary); line-height: 1.75; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.78em;
  letter-spacing: 0.06em;
}

.accent  { color: var(--accent); }
.accent-light { color: var(--accent-light); }
.muted   { color: var(--text-muted); }


/* ============================================
   4. LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section { padding: var(--section-py) 0; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.section-title  { margin-bottom: 1.25rem; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 3rem;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ============================================
   5. SITE HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--container-px);
  transition:
    background var(--t-base),
    backdrop-filter var(--t-base),
    border-color var(--t-base);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--glass-border);
}

/* Logo */
.logo {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: color var(--t-fast);
  flex-shrink: 0;
  line-height: 1;
}

.logo span { color: var(--accent); }
.logo:hover { color: var(--accent-light); }

/* Desktop nav links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast);
  position: relative;
  padding-bottom: 2px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base);
  border-radius: 2px;
}

.main-nav a:hover,
.main-nav a.active { color: var(--text-primary); }

.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

/* Header right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--t-base);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================
   6. MOBILE NAVIGATION OVERLAY
   ============================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-secondary);
  transition: color var(--t-fast), transform var(--t-fast);
}

.mobile-nav a:hover { color: var(--accent); transform: translateX(8px); }

.mobile-nav .btn { margin-top: 1rem; font-size: 1rem; }


/* ============================================
   7. SITE FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3.5rem var(--container-px) 2rem;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-brand .logo { display: inline-block; margin-bottom: 0.85rem; }

.footer-brand p {
  font-size: 0.875rem;
  max-width: 300px;
  line-height: 1.65;
}

.footer-brand .contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--accent-light);
  transition: color var(--t-fast);
}

.footer-brand .contact-email:hover { color: var(--accent); }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--t-fast), transform var(--t-fast);
  display: inline-block;
}

.footer-nav a:hover { color: var(--accent-light); transform: translateX(-4px); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--t-base);
}

.social-links a svg { width: 16px; height: 16px; fill: currentColor; }

.social-links a:hover {
  border-color: var(--accent-border);
  color: var(--accent-light);
  background: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}


/* ============================================
   8. BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--t-base);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow), 0 0 0 1px rgba(139, 92, 246, 0.4);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent-border);
  color: var(--accent-light);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 0.95rem;
}


/* ============================================
   FOCUS VISIBLE — Keyboard Accessibility
   ============================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--accent-dim);
}


/* ============================================
   9. CARDS & SHARED COMPONENTS
   ============================================ */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--accent-dim);
  color: var(--accent-light);
  border: 1px solid var(--accent-border);
  display: inline-block;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: var(--section-py) 0;
}


/* ============================================
   10. ANIMATION SYSTEM
   ============================================ */

/* Scroll-triggered reveal targets */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease-out, transform 650ms ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 650ms ease-out, transform 650ms ease-out;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 650ms ease-out, transform 650ms ease-out;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger helpers */
.d1 { transition-delay: 80ms; }
.d2 { transition-delay: 160ms; }
.d3 { transition-delay: 240ms; }
.d4 { transition-delay: 320ms; }
.d5 { transition-delay: 400ms; }


/* ============================================
   11. PAGE TRANSITION
   ============================================ */
.page-veil {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease-out;
}

.page-veil.out { opacity: 1; }


/* ============================================
   12. HOME — HERO SECTION  (Lando Norris style)
   Full-viewport immersive portrait + text overlay
   ============================================ */
.hero {
  min-height: 100vh;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Dot-grid + accent blob background */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 75% at 72% 50%, rgba(139, 92, 246, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(139, 92, 246, 0.07) 0%, transparent 55%);
}

/* Hero wrapper — full viewport, positioning context for everything */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  display: block;
}

/* Left-side reading gradient — makes text legible over portrait */
.hero-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 58%;
  background: linear-gradient(
    to right,
    rgba(10, 10, 15, 0.96) 25%,
    rgba(10, 10, 15, 0.65) 60%,
    transparent 100%
  );
  z-index: 3;
  pointer-events: none;
}

/* Bottom gradient — grounds the portrait */
.hero-inner::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.85) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

/* Text content — overlaid bottom-left */
.hero-content {
  position: absolute;
  bottom: clamp(90px, 12vh, 150px);
  left: var(--container-px);
  z-index: 5;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  padding-bottom: 0;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.hero-heading {
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
}

.hero-heading .line-accent { color: var(--accent); }

.hero-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 420px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

/* Portrait section — right side, full height, absolute */
.hero-portrait-section {
  position: absolute;
  right: 0;
  top: 0;
  width: 62%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
}

/* Violet glow behind portrait */
.portrait-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 80%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}

/* Portrait wrapper — fills the portrait section entirely */
.hero-portrait-wrapper {
  position: absolute;
  inset: 0;
  max-width: none;
  margin-bottom: 0;
  cursor: crosshair;
  user-select: none;
}

/* Base portrait — fills wrapper, aligned to bottom-center */
.hero-portrait-normal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(-60px 0 80px rgba(0,0,0,0.9))
          drop-shadow(0 40px 60px rgba(0,0,0,0.6));
}

/* Robot overlay — revealed by cursor spotlight */
.hero-portrait-robot {
  --x: -9999px;
  --y: -9999px;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  z-index: 2;
  -webkit-mask-image: radial-gradient(
    circle 140px at var(--x) var(--y),
    black 50%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle 140px at var(--x) var(--y),
    black 50%,
    transparent 100%
  );
  will-change: mask-position;
  filter: drop-shadow(0 40px 80px rgba(139, 92, 246, 0.35));
}

/* Floating availability card */
.hero-info-card {
  position: absolute;
  bottom: 32px;
  left: var(--container-px);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.3rem;
  border-radius: 14px;
  background: rgba(14, 14, 22, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.status-indicator {
  position: relative;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.status-dot-core {
  position: absolute;
  inset: 0;
  background: #22c55e;
  border-radius: 50%;
}

.status-dot-ring {
  position: absolute;
  inset: -4px;
  background: rgba(34, 197, 94, 0.3);
  border-radius: 50%;
  animation: pulse-ring 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0%  { transform: scale(0.85); opacity: 0.8; }
  100%{ transform: scale(2.0);  opacity: 0; }
}

.status-text .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: block;
  color: var(--text-primary);
}

.status-text .sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  margin-top: 1px;
}

/* ---- Hero entrance animations (home page only) ---- */
body.page-home .site-header {
  opacity: 0;
  animation: fadeIn 0.5s ease-out 0.05s forwards;
}

body.page-home .hero-eyebrow {
  opacity: 0;
  transform: translateY(16px);
  animation: slideUp 0.6s ease-out 0.15s forwards;
}

body.page-home .hero-heading {
  opacity: 0;
  transform: translateY(22px);
  animation: slideUp 0.7s ease-out 0.28s forwards;
}

body.page-home .hero-tagline {
  opacity: 0;
  transform: translateY(16px);
  animation: slideUp 0.6s ease-out 0.42s forwards;
}

body.page-home .hero-ctas {
  opacity: 0;
  transform: translateY(16px);
  animation: slideUp 0.6s ease-out 0.54s forwards;
}

body.page-home .hero-portrait-section {
  opacity: 0;
  transform: scale(1.03);
  animation: portraitIn 1s ease-out 0.1s forwards;
}

/* CTA button in nav — bounce entrance */
body.page-home .nav-cta {
  opacity: 0;
  animation: bounceCta 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

body.page-home .hero-info-card {
  opacity: 0;
  transform: translateX(-28px);
  animation: slideRight 0.7s ease-out 0.8s forwards;
}

@keyframes fadeIn    { to { opacity: 1; } }
@keyframes slideUp   { to { opacity: 1; transform: translateY(0); } }
@keyframes portraitIn{ to { opacity: 1; transform: scale(1); } }
@keyframes slideRight{ to { opacity: 1; transform: translateX(0); } }
@keyframes bounceCta {
  0%   { opacity: 0; transform: scale(0.75); }
  100% { opacity: 1; transform: scale(1); }
}


/* ============================================
   13. HOME — GALLERY (Horizontal Scroll)
   ============================================ */
.gallery-section { overflow: hidden; }

.gallery-section .container { margin-bottom: 2.5rem; }

.gallery-hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.gallery-hint::before {
  content: '←→';
  font-size: 0.75rem;
  color: var(--accent);
}

/* Track container with edge fade */
.gallery-track-wrapper {
  position: relative;
}

.gallery-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100px;
  background: linear-gradient(to left, var(--bg-primary), transparent);
  pointer-events: none;
  z-index: 2;
}

/* Scrollable row */
.gallery-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem var(--container-px) 1.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}

.gallery-track:active { cursor: grabbing; }
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-card {
  min-width: 280px;
  max-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  scroll-snap-align: start;
  flex-shrink: 0;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}

.gallery-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px var(--accent-border);
}

.gallery-visual {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-visual-icon {
  font-size: 2.5rem;
  opacity: 0.5;
  position: relative;
  z-index: 1;
}

.gallery-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gallery-info .tag { align-self: flex-start; }

.gallery-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.gallery-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}


/* ============================================
   14. HOME — SERVICES PREVIEW
   ============================================ */
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 2rem;
  transition: border-color var(--t-base), background var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}

.service-preview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
}

.service-preview-card:hover {
  border-color: var(--accent-border);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3), 0 0 30px rgba(139, 92, 246, 0.08);
}

.service-preview-card:hover::before { opacity: 1; }

.service-preview-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.service-preview-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-light);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-preview-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.service-preview-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--t-fast), color var(--t-fast);
}

.service-link:hover { color: var(--accent-light); gap: 0.6rem; }


/* ============================================
   15. HOME — CTA BANNER
   ============================================ */
.cta-section { padding-bottom: var(--section-py); }

.cta-banner {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0.04) 100%);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: var(--r-lg);
  padding: clamp(3rem, 5vw, 5rem) var(--container-px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner p {
  margin-bottom: 2rem;
  font-size: 1.05rem;
  position: relative;
}

.cta-banner .btn { position: relative; }


/* ============================================
   16. ABOUT PAGE STYLES
   ============================================ */

/* Inner hero (non-home pages) */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 60%, rgba(139, 92, 246, 0.12) 0%, transparent 65%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4rem var(--container-px);
}

.page-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.page-hero-eyebrow::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--accent);
  display: block;
}

/* About split layout */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-split.reverse { direction: rtl; }
.about-split.reverse > * { direction: ltr; }

.about-photo-wrap {
  position: relative;
}

.about-photo-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease-out;
}

.about-photo-frame:hover img { transform: scale(1.03); }

/* Decorative frame accent */
.about-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.2);
}

.about-photo-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  border-radius: var(--r-md);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  z-index: -1;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-content h2 { margin-bottom: 0.5rem; }

/* Stagger reveal lines for bio text */
.bio-line {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.bio-line.visible { opacity: 1; transform: translateY(0); }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.stat {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-align: center;
  transition: border-color var(--t-base), transform var(--t-base);
}

.stat:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-value span { color: var(--accent); }

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* Skills section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.skill-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem;
  transition: border-color var(--t-base);
}

.skill-group:hover { border-color: var(--accent-border); }

.skill-group h4 {
  font-size: 0.85rem;
  color: var(--accent-light);
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  margin-top: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  transition: background var(--t-base), box-shadow var(--t-base);
}

.timeline-item.visible .timeline-dot {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.35rem;
  display: block;
}

.timeline-item h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.timeline-item p {
  font-size: 0.875rem;
  line-height: 1.6;
}


/* ============================================
   17. SERVICES PAGE STYLES
   ============================================ */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: var(--section-py) 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child { border-bottom: none; }

.service-block.reverse > .service-visual { order: 2; }
.service-block.reverse > .service-text  { order: 1; }

.service-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.service-visual-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-visual-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.service-big-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 20px var(--accent-glow));
}

.service-visual-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.service-visual-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.service-visual-card .tag { margin: 0.3rem; }

/* Floating badge on service visual */
.service-badge {
  position: absolute;
  bottom: -12px;
  right: -12px;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: white;
  border-radius: var(--r-sm);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.service-text { display: flex; flex-direction: column; gap: 1.5rem; }

.service-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-item::before {
  content: '▸';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}


/* ============================================
   18. PROJECTS PAGE STYLES
   ============================================ */
.filter-bar-wrapper {
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  margin-bottom: 2.5rem;
}

.filter-bar-wrapper::-webkit-scrollbar { display: none; }

.filter-bar {
  display: flex;
  gap: 0.6rem;
  min-width: max-content;
  padding-bottom: 4px;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.55rem 1.2rem;
  min-height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--accent-border);
  color: var(--accent-light);
  background: var(--accent-dim);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition:
    border-color var(--t-base),
    transform var(--t-base),
    box-shadow var(--t-base),
    opacity 0.4s ease-out;
  cursor: pointer;
}

.project-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-5px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.35), 0 0 0 1px var(--accent-border);
}

.project-card.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.97);
}

.project-visual {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.project-visual-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform 0.5s ease-out;
}

.project-card:hover .project-visual-inner { transform: scale(1.06); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-base);
  backdrop-filter: blur(4px);
}

.project-card:hover .project-overlay { opacity: 1; }

.project-overlay-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transform: translateY(8px);
  transition: transform var(--t-base);
}

.project-card:hover .project-overlay-btn { transform: translateY(0); }

.project-info {
  padding: 1.4rem;
}

.project-info .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.project-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.project-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}


/* ============================================
   19. CONTACT PAGE STYLES
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-info {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.contact-info h2 { margin-bottom: 1rem; }

.contact-info p { margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 1rem;
  transition: border-color var(--t-base), transform var(--t-base);
}

.contact-detail:hover {
  border-color: var(--accent-border);
  transform: translateX(4px);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px; height: 18px;
  stroke: var(--accent-light);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail-text span {
  display: block;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-detail-text a,
.contact-detail-text strong {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--t-fast);
}

.contact-detail-text a:hover { color: var(--accent-light); }

.contact-socials { margin-top: 2rem; }

.contact-socials p {
  font-size: 0.8rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Form */
.contact-form-wrap {}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.form-group.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--t-base), box-shadow var(--t-base);
  outline: none;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

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

.form-submit {
  margin-top: 0.5rem;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.95rem;
  transition: all var(--t-base);
}

.form-submit .btn:hover {
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25), 0 8px 30px var(--accent-glow);
  transform: translateY(-2px) scale(1.01);
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes successPop {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}


/* ============================================
   20. RESPONSIVE BREAKPOINTS
   ============================================ */

/* ---- Tablet / Mobile: 768px ---- */
@media (max-width: 768px) {
  /* Nav */
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  /* Hero: full-screen, portrait bleeds full width */
  .hero {
    height: 100svh;
    min-height: 100svh;
  }

  .hero-inner {
    height: 100svh;
  }

  /* Left gradient → becomes bottom-up gradient on mobile */
  .hero-inner::before {
    top: auto;
    left: 0; right: 0;
    bottom: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(
      to top,
      rgba(10, 10, 15, 0.98) 30%,
      rgba(10, 10, 15, 0.7) 60%,
      transparent 100%
    );
  }

  /* Portrait fills full viewport width, aligned to top */
  .hero-portrait-section {
    width: 100%;
    height: 80%;
    top: 0;
    right: 0;
    overflow: hidden;
  }

  .hero-portrait-wrapper {
    position: absolute;
    inset: 0;
    max-width: none;
  }

  /* Content: pushed to bottom of screen */
  .hero-content {
    bottom: clamp(80px, 14svh, 130px);
    left: var(--container-px);
    right: var(--container-px);
    max-width: none;
    gap: 0.9rem;
  }

  /* Hero heading size for phones */
  .hero-heading { font-size: clamp(2.2rem, 8vw, 3rem); }

  .hero-tagline { display: none; }  /* hide tagline to avoid clutter */

  /* Info card: bottom, full width */
  .hero-info-card {
    bottom: 16px;
    left: var(--container-px);
    right: var(--container-px);
    width: auto;
  }

  /* Gallery */
  .gallery-card { min-width: 240px; max-width: 240px; }

  /* Services preview grid */
  .services-preview-grid { grid-template-columns: 1fr; }

  /* About */
  .about-split { grid-template-columns: 1fr; gap: 3rem; }
  .about-split.reverse { direction: ltr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .skills-grid { grid-template-columns: 1fr; }

  /* Services page */
  .service-block { grid-template-columns: 1fr; gap: 3rem; }
  .service-block.reverse > .service-visual { order: 0; }
  .service-block.reverse > .service-text  { order: 0; }

  /* Projects grid */
  .projects-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-info { position: static; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-nav { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Grid helpers */
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ---- Mobile: 480px ---- */
@media (max-width: 480px) {
  .hero-heading { font-size: 2.6rem; }

  .hero-portrait-section { max-height: 55vw; }

  .projects-grid { grid-template-columns: 1fr; }

  .about-stats { grid-template-columns: 1fr 1fr; }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }

  .services-preview-grid { grid-template-columns: 1fr; }
}


/* ============================================
   WHATSAPP FLOATING BUTTON & PRICING STYLES
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.15);
  z-index: 990;
  transition: transform 250ms ease, box-shadow 250ms ease, background-color 250ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.06);
  background: #20ba5a;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.65), 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* Pricing Grid & Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--accent-glow);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.12) 0%, var(--bg-card) 100%);
  border: 1px solid var(--accent);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.25);
}

.pricing-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  align-self: flex-start;
  margin-bottom: 1rem;
}

.pricing-tag.accent-tag {
  background: var(--accent);
  color: #ffffff;
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-top: auto;
}

.pricing-amount .currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-light);
  font-family: var(--font-mono);
}

.pricing-amount .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.pricing-amount .period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-converted {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.pricing-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}


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

  /* Make all reveal elements immediately visible */
  .reveal, .reveal-left, .reveal-right,
  .bio-line, .timeline-item, .form-group {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Static 50/50 split for spotlight instead of cursor effect */
  .hero-portrait-robot {
    --x: 50% !important;
    --y: 0px !important;
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 50%) !important;
    mask-image: linear-gradient(to right, black 50%, transparent 50%) !important;
  }

  /* Remove hero entrance delay animations */
  body.page-home .site-header,
  body.page-home .hero-eyebrow,
  body.page-home .hero-heading,
  body.page-home .hero-tagline,
  body.page-home .hero-ctas,
  body.page-home .hero-portrait-wrapper,
  body.page-home .nav-cta,
  body.page-home .hero-info-card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
