/* ==========================================================================
   UGANTRA — Stylesheet
   Design tokens derived from the logo: deep near-black shell, glowing cyan
   "eyes" as the signature motif, clean light surface for content sections.
   ========================================================================== */

:root {
  /* Brand palette (from logo) */
  --black: #111111;
  --black-2: #0b0c10;
  --white: #ffffff;
  --accent: #00bfff;
  --accent-2: #33d3ff;
  --bg: #f5f7fa;
  --bg-card: #ffffff;
  --text-muted: #5b6472;
  --border-soft: rgba(17, 17, 17, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.4);

  /* Type */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(17, 17, 17, 0.08);
  --shadow-card: 0 20px 45px rgba(17, 17, 17, 0.1);
  --glow-accent: 0 0 24px rgba(0, 191, 255, 0.45);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --nav-height: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, li { list-style: none; }

::selection { background: var(--accent); color: var(--white); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.25;
  max-width: 720px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.9rem;
  max-width: 560px;
}

.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; margin: 0 auto 3.2rem; padding: 0 1.5rem; }

/* ==========================================================================
   Ambient cursor glow — signature ambient element (desktop only)
   ========================================================================== */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,191,255,0.16) 0%, rgba(0,191,255,0) 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: opacity 0.3s ease;
  will-change: transform;
}
@media (max-width: 900px), (hover: none) {
  .cursor-glow { display: none; }
}

/* ==========================================================================
   Navbar — fixed, glassmorphism
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 8px 30px rgba(17,17,17,0.08); }

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 clamp(1.2rem, 4vw, 2.8rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--black);
  box-shadow: 0 0 0 2px rgba(0,191,255,0.35);
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { color: var(--black); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  padding: 0.4rem 0.1rem;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.8rem; }

.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  color: var(--black);
  background: rgba(17,17,17,0.05);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.icon-btn:hover { background: var(--black); color: var(--accent); transform: translateY(-2px); }

.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  box-shadow: 0 0 0 2px var(--bg);
  transition: transform 0.2s ease;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(17,17,17,0.05);
}
.hamburger span {
  width: 20px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.25s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: rgba(17,17,17,0.97);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.65,0,0.35,1), opacity 0.35s ease, padding 0.4s ease;
  z-index: 999;
}
.mobile-menu.open {
  max-height: 500px;
  opacity: 1;
  padding: 1.2rem 0 2rem;
}
.mobile-link {
  width: 100%;
  text-align: center;
  padding: 1rem 0;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: color 0.2s ease, background 0.2s ease;
}
.mobile-link:hover { color: var(--accent); background: rgba(255,255,255,0.03); }
.cart-count-mobile {
  background: var(--accent);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #171a20 0%, var(--black-2) 60%, #000 100%);
  padding: calc(var(--nav-height) + 2rem) 1.5rem 4rem;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
#neuralCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.hero-glow-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0,191,255,0.55), transparent 70%);
  top: -120px; left: 10%;
  animation: floatGlow 9s ease-in-out infinite;
}
.hero-glow-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0,191,255,0.35), transparent 70%);
  bottom: -100px; right: 8%;
  animation: floatGlow 11s ease-in-out infinite reverse;
}
@keyframes floatGlow {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-20px) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: center;
  color: var(--white);
}
.hero .eyebrow { color: var(--accent-2); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.text-glow {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(0,191,255,0.7);
}
.hero-sub {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 8px; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.1rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0080c9);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(0,191,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,191,255,0.55);
}
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,191,255,0.25);
}

/* Ripple */
.ripple { }
.ripple-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transform: scale(0);
  animation: rippleAnim 0.65s ease-out;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(2.6); opacity: 0; }
}

/* ==========================================================================
   Products
   ========================================================================== */
.products {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6.5rem 1.5rem 5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.4s ease, border-color 0.4s ease;
  opacity: 0;
  transform: translateY(24px);
}
.product-card.in-view {
  animation: cardRise 0.7s cubic-bezier(0.2,0.8,0.2,1) forwards;
}
@keyframes cardRise {
  to { opacity: 1; transform: translateY(0); }
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-card), var(--glow-accent);
  border-color: rgba(0,191,255,0.35);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--black);
  overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-media img { transform: scale(1.08); }

.product-body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.product-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}
.product-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  flex: 1;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
}
.product-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--black);
}
.add-to-cart {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.add-to-cart:hover {
  background: var(--accent);
  color: var(--black);
  box-shadow: var(--glow-accent);
  transform: translateY(-2px);
}
.add-to-cart.added { background: var(--accent); color: var(--black); }

/* ==========================================================================
   About — signature dark band with twin glowing "eyes"
   ========================================================================== */
.about {
  background: linear-gradient(180deg, var(--black-2), var(--black) 60%);
  color: var(--white);
  padding: 6rem 1.5rem;
  position: relative;
}
.about-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.about-glow-orb {
  position: absolute;
  top: -60px; left: 50%;
  width: 320px; height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,191,255,0.25), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.about .eyebrow { position: relative; z-index: 1; }
.about-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
}
.about-signature {
  position: relative;
  z-index: 1;
  margin-top: 2.4rem;
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}
.eye-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px 4px rgba(0,191,255,0.7);
  animation: eyePulse 2.6s ease-in-out infinite;
}
.eye-dot:nth-child(2) { animation-delay: 0.3s; }
@keyframes eyePulse {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6.5rem 1.5rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card), var(--glow-accent);
  border-color: rgba(0,191,255,0.4);
}
.contact-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--black);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
  box-shadow: 0 0 0 4px rgba(0,191,255,0.12);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.contact-card p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-brand img {
  width: 44px; height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(0,191,255,0.4);
}
.footer-line { font-size: 0.92rem; color: rgba(255,255,255,0.65); margin-bottom: 0.35rem; }
.footer-line a { transition: color 0.2s ease; }
.footer-line a:hover { color: var(--accent); }
.footer-divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 1.4rem 0 1.2rem;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ==========================================================================
   Cart sidebar
   ========================================================================== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(11,12,16,0.55);
  backdrop-filter: blur(3px);
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(420px, 100vw);
  background: var(--white);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.2,0.8,0.2,1);
  box-shadow: -20px 0 60px rgba(0,0,0,0.25);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 1.5rem 1.2rem;
  border-bottom: 1px solid var(--border-soft);
}
.cart-header h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty {
  margin: auto;
  text-align: center;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.cart-empty p { font-family: var(--font-display); font-weight: 600; color: var(--black); }
.cart-empty span { font-size: 0.82rem; }

.cart-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  animation: cartItemIn 0.35s ease;
}
@keyframes cartItemIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.cart-item-img {
  width: 62px; height: 62px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--black);
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.15rem; }

.qty-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.qty-btn {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.qty-btn:hover { background: var(--accent); color: var(--black); }
.qty-value { font-weight: 700; font-size: 0.88rem; min-width: 16px; text-align: center; }

.remove-item {
  color: #b3364a;
  font-size: 0.78rem;
  font-weight: 600;
  margin-left: auto;
  transition: color 0.2s ease;
}
.remove-item:hover { color: #e34767; text-decoration: underline; }

.cart-footer {
  padding: 1.3rem 1.5rem 1.6rem;
  border-top: 1px solid var(--border-soft);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.cart-total { color: var(--accent-2); text-shadow: 0 0 12px rgba(0,191,255,0.3); }
.cart-checkout { width: 100%; }

/* ==========================================================================
   Toast
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--black);
  color: var(--white);
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,191,255,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.toast::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Reveal on scroll (fade/slide utility)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2,0.8,0.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.fade-in { opacity: 0; animation: fadeIn 1s ease 0.15s forwards; }
.slide-up { opacity: 0; transform: translateY(24px); animation: slideUp 0.9s cubic-bezier(0.2,0.8,0.2,1) 0.3s forwards; }
.slide-up.delay-1 { animation-delay: 0.5s; }
.slide-up.delay-2 { animation-delay: 0.7s; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}