/* =============================================================
   ANGELUNI-SALLTD — styles.css
   Brand: dark navy base · electric teal accent · editorial type
   Author: Angeluni-salltd / Supper Needs Int'l Ltd
============================================================= */

/* ─── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  --bg:         #060b14;
  --bg-2:       #0c1526;
  --bg-card:    #101d30;
  --bg-card-h:  #142034;
  --border:     rgba(255,255,255,0.07);
  --border-h:   rgba(0,229,189,0.35);

  --teal:       #00e5bd;
  --teal-dim:   #00b89a;
  --teal-glow:  rgba(0,229,189,0.15);
  --teal-glow2: rgba(0,229,189,0.06);

  --text:       #e8edf5;
  --text-2:     #8fa0b8;
  --text-3:     #4f6480;

  --accent-red: #ff5f5f;
  --accent-yel: #ffd166;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;

  --shadow-card: 0 4px 32px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 40px rgba(0,229,189,0.18);

  --nav-h: 70px;
  --trans:  0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
}

/* ─── UTILITY ────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-glow2);
  border: 1px solid rgba(0,229,189,0.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: all var(--trans);
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--bg);
  border-color: var(--teal);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--teal-dim);
  border-color: var(--teal-dim);
  box-shadow: 0 0 24px rgba(0,229,189,0.35);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: rgba(0,229,189,0.3);
  font-size: 0.85rem;
  padding: 9px 18px;
}
.btn-ghost:hover {
  background: var(--teal-glow);
  border-color: var(--teal);
}
.btn-full { width: 100%; justify-content: center; }
.btn-nav {
  background: var(--teal-glow);
  color: var(--teal);
  border-color: rgba(0,229,189,0.3);
  padding: 10px 22px;
  font-size: 0.88rem;
}
.btn-nav:hover {
  background: var(--teal);
  color: var(--bg);
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--trans), box-shadow var(--trans);
}
.navbar.scrolled {
  background: rgba(6, 11, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text);
  flex-shrink: 0;
}
.logo-mark {
  width: 34px; height: 34px;
  background: var(--teal);
  color: var(--bg);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 800;
}
.logo-text em { color: var(--teal); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 6px;
  transition: color var(--trans), background var(--trans);
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h); right: 0;
  width: min(320px, 85vw);
  height: calc(100vh - var(--nav-h));
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  z-index: 999;
}
.mobile-menu.open { transform: translateX(0); }
.mob-link {
  display: block;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: all var(--trans);
}
.mob-link:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.mob-cta { margin-top: 16px; }

.mob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mob-overlay.show { opacity: 1; pointer-events: all; }

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

/* Grid pattern bg */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,189,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,189,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: 20%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,229,189,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px 120px;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(0,229,189,0.3);
  background: rgba(0,229,189,0.06);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 32px;
  animation: fadeSlideUp 0.7s both;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 28px;
}
.hero-heading .line {
  display: block;
  overflow: hidden;
}
.hero-heading .line:nth-child(1) { animation: fadeSlideUp 0.7s 0.1s both; }
.hero-heading .line:nth-child(2) { animation: fadeSlideUp 0.7s 0.2s both; }
.hero-heading .line:nth-child(3) { animation: fadeSlideUp 0.7s 0.3s both; }
.hero-heading .accent { color: var(--teal); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 40px;
  animation: fadeSlideUp 0.7s 0.4s both;
}
.hero-sub strong { color: var(--text); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
  animation: fadeSlideUp 0.7s 0.5s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.7s 0.6s both;
}
.stat { text-align: left; padding: 0 32px 0 0; }
.stat:first-child { padding-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
}
.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-3);
  margin-top: 4px;
  letter-spacing: 0.03em;
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
  margin: 0 32px 0 0;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeSlideUp 0.7s 0.9s both;
}
.scroll-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: scrollBounce 1.8s infinite;
}

/* ─── ABOUT STRIP ────────────────────────────────────────── */
.about-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-text .section-tag { margin-bottom: 14px; }
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.about-text p {
  color: var(--text-2);
  margin-bottom: 28px;
  font-size: 1rem;
}
.about-text p strong { color: var(--text); }
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-2);
}
.tick {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Code card */
.code-card {
  background: #0a1421;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  font-family: 'Courier New', monospace;
}
.code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green  { background: #28c840; }
.code-filename {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-left: 8px;
  letter-spacing: 0.03em;
}
.code-body {
  padding: 20px 20px 24px;
  font-size: 0.88rem;
  line-height: 1.75;
  overflow-x: auto;
}
code { display: block; }
.c-kw  { color: #c792ea; }
.c-fn  { color: #82aaff; }
.c-str { color: #f07178; }
.c-val { color: #c3e88d; }
.c-teal{ color: var(--teal); }

/* ─── PROJECTS ───────────────────────────────────────────── */
.projects-section {
  padding: 110px 0;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 9px 22px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--trans);
}
.filter-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.filter-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Project card */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
  animation: fadeSlideUp 0.5s both;
}
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal-glow2), transparent);
  opacity: 0;
  transition: opacity var(--trans);
}
.project-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.project-card:hover::before { opacity: 1; }

.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}
.project-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--teal-glow);
  border: 1px solid rgba(0,229,189,0.2);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.project-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-glow2);
  border: 1px solid rgba(0,229,189,0.15);
  padding: 3px 10px;
  border-radius: 100px;
}
.project-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.project-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 22px;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.tag {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-3);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 4px;
}

/* ─── VIDEOS ─────────────────────────────────────────────── */
.videos-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 110px 0;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

/* Video card */
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all var(--trans);
  animation: fadeSlideUp 0.5s both;
}
.video-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: var(--bg);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Placeholder for no-embed */
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg);
  color: var(--text-3);
}
.video-placeholder .play-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal-glow);
  border: 2px solid var(--teal);
  display: grid;
  place-items: center;
  color: var(--teal);
  font-size: 1.4rem;
}
.video-placeholder p { font-size: 0.82rem; }

.video-info { padding: 20px 22px 22px; }
.video-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.video-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ─── CONTACT ────────────────────────────────────────────── */
.contact-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}
.contact-glow {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,229,189,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-text .section-tag { margin-bottom: 14px; }
.contact-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.contact-text p {
  color: var(--text-2);
  margin-bottom: 36px;
  font-size: 1rem;
}

.contact-methods { display: flex; flex-direction: column; gap: 14px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-card);
  transition: all var(--trans);
}
.contact-method:hover {
  border-color: var(--border-h);
  transform: translateX(4px);
}
.whatsapp-btn { border-color: rgba(37,211,102,0.25); }
.whatsapp-btn:hover {
  border-color: rgba(37,211,102,0.5);
  background: rgba(37,211,102,0.05);
}
.whatsapp-btn .method-icon { color: #25d366; }

.method-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--teal);
}
.method-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.method-details strong { font-size: 0.95rem; color: var(--text); }
.method-details small  { font-size: 0.79rem; color: var(--text-3); }
.method-arrow { color: var(--text-3); transition: color var(--trans); }
.contact-method:hover .method-arrow { color: var(--teal); }

/* Contact card */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.card-sub { font-size: 0.88rem; color: var(--text-2); margin-bottom: 28px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  color: var(--text);
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
  resize: vertical;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238fa0b8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,229,189,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group select option { background: var(--bg-2); }

.form-note {
  text-align: center;
  font-size: 0.77rem;
  color: var(--text-3);
  margin-top: 12px;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-top: 14px;
  line-height: 1.7;
}
.footer-brand p strong { color: var(--text); }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-2);
  transition: color var(--trans);
}
.footer-links a:hover { color: var(--teal); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}
.footer-contact a {
  font-size: 0.88rem;
  color: var(--text-2);
  transition: color var(--trans);
  word-break: break-all;
}
.footer-contact a:hover { color: var(--teal); }
.wa-link { color: #25d366 !important; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 24px;
  max-width: 1160px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--text-3);
}

/* ─── BACK TO TOP ────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  z-index: 500;
  transition: all var(--trans);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
.back-top.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.back-top:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--bg);
}

/* ─── REVEAL ANIMATION ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── KEYFRAMES ──────────────────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,229,189,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(0,229,189,0); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(10px); opacity: 0.3; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-inner   { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 62px; }

  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }

  .hero-content { padding: 60px 0 100px; }
  .hero-stats { gap: 0; }
  .stat { padding: 0 24px 0 0; }
  .stat-divider { margin: 0 24px 0 0; }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 2.6rem; }
  .hero-actions { flex-direction: column; }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .stat-divider { width: 40px; height: 1px; margin: 0; }
  .stat { padding: 0; }
  .contact-card { padding: 24px 18px; }
  .back-top { bottom: 20px; right: 16px; }
}

/* ─── FOCUS STYLES (accessibility) ──────────────────────── */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}