/* ============================================
   BastetQ — Global Styles
   ============================================ */

:root {
  --bg: #1a1a1a;
  --bg-light: #232323;
  --bg-card: #2a2a2a;
  --text: #eaeaea;
  --text-dim: #999;
  --text-muted: #666;
  --accent: #D4202C;
  --accent-hover: #e8333f;
  --white: #fff;
  --black: #000;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s var(--ease);
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: clamp(14px, 1vw, 18px);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

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

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

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

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

::selection {
  background: var(--accent);
  color: var(--white);
}

/* ============================================
   Preloader
   ============================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.preloader-inner {
  text-align: center;
}

.preloader-text {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto 1rem;
  border-radius: 2px;
  overflow: hidden;
}

.preloader-progress {
  width: 0%;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.preloader-percent {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* ============================================
   Custom Cursor
   ============================================ */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor.hover {
  width: 40px;
  height: 40px;
  background: var(--white);
}

.cursor-follower {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(212, 32, 44, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-follower.hover {
  width: 60px;
  height: 60px;
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .cursor, .cursor-follower { display: none; }
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.section {
  padding: clamp(4rem, 10vw, 10rem) 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.label-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.section-heading {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.3s, padding 0.3s, backdrop-filter 0.3s;
}

.header.scrolled {
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
}

.nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1001;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-email {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  transition: color var(--transition);
}

.nav-email:hover {
  color: var(--accent);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}

.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-burger.active span:nth-child(2) {
  opacity: 0;
}

.nav-burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-links, .nav-email { display: none; }
  .nav-burger { display: flex; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.mobile-menu-link {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.3s;
  transform: translateY(20px);
  opacity: 0;
}

.mobile-menu.active .mobile-menu-link {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.5s var(--ease-out), opacity 0.5s ease, color 0.3s;
}

.mobile-menu.active .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu-link:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu-link:hover {
  color: var(--accent);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-ticker {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  overflow: hidden;
  opacity: 0.06;
  pointer-events: none;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
}

.ticker-item {
  font-size: clamp(5rem, 15vw, 14rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  padding: 0 2rem;
  flex-shrink: 0;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 2rem;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-title-line {
  display: block;
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-title-line:first-child {
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  color: var(--text-dim);
  font-weight: 400;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--text-muted);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ============================================
   About Section
   ============================================ */
.about-heading {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.about-text p {
  font-size: clamp(0.9375rem, 1.2vw, 1.125rem);
  color: var(--text-dim);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============================================
   Stats Section
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  display: inline;
  letter-spacing: -0.03em;
}

.stat-suffix {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  display: inline;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.75rem;
}

.stat-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Team Section
   ============================================ */
.team-slider {
  position: relative;
}

.team-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 1rem;
}

.team-track::-webkit-scrollbar {
  display: none;
}

.team-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.team-card-img {
  width: 100%;
  height: 320px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-card-placeholder {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.3;
}

.team-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 40%);
}

.team-card-info {
  padding: 1.5rem;
}

.team-card-name {
  font-size: 1.125rem;
  font-weight: 700;
}

.team-card-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin: 0.25rem 0 0.75rem;
}

.team-card-desc {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.team-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.team-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.team-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
}

/* ============================================
   Services Section
   ============================================ */
.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: padding 0.4s var(--ease-out);
}

.service-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.service-item:hover {
  padding-left: 1rem;
}

.service-item:hover .service-number {
  color: var(--accent);
}

.service-item:hover .service-arrow {
  transform: translate(4px, -4px);
  color: var(--accent);
}

.service-item:hover .service-title {
  color: var(--accent);
}

.service-number {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-shrink: 0;
  width: 2.5rem;
  transition: color 0.3s;
}

.service-content {
  flex: 1;
}

.service-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  max-width: 500px;
  line-height: 1.5;
}

.service-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s, color 0.3s;
}

@media (max-width: 768px) {
  .service-item { flex-wrap: wrap; }
  .service-desc { max-width: none; }
}

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

.project-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.project-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-card-placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  transition: transform 0.6s var(--ease-out);
}

.project-card:hover .project-card-placeholder-img {
  transform: scale(1.05);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 1;
}

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

.project-card-info {
  padding: 1.25rem 1.5rem;
}

.project-card-info h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.project-card-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .projects-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Reviews Section
   ============================================ */
.reviews-slider {
  position: relative;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.6s var(--ease-out);
}

.review-card {
  flex: 0 0 100%;
  padding: 3rem;
  background: var(--bg-card);
  border-radius: 16px;
  margin-right: 2rem;
  min-width: 0;
}

.review-quote {
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: -1rem;
}

.review-text {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.review-author-name {
  font-weight: 600;
}

.review-author-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.reviews-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}

.reviews-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.reviews-dots {
  display: flex;
  gap: 0.5rem;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}

.reviews-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 600;
  text-align: left;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-icon span {
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s;
}

.faq-icon span:first-child {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-icon span:last-child {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.faq-item.active .faq-icon span:last-child {
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-form {
  max-width: 800px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 32, 44, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.form-checkbox input {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}

.form-checkbox input:checked + .checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

.form-checkbox input:checked + .checkmark::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(212, 32, 44, 0.3);
}

.btn-submit svg {
  transition: transform 0.3s;
}

.btn-submit:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-light);
  padding: 4rem 0 2rem;
  margin-top: 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: block;
}

.footer-tagline {
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-social {
  font-size: 0.875rem;
  color: var(--text-dim);
  position: relative;
  transition: color 0.3s;
}

.footer-social::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.footer-social:hover {
  color: var(--accent);
}

.footer-social:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-email a {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-dim);
  transition: color 0.3s;
}

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

.footer-coords {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer-top { flex-direction: column; gap: 2rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   Reveal Animations
   ============================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* Stagger delays for children */
.reveal-up:nth-child(2) { transition-delay: 0.1s; }
.reveal-up:nth-child(3) { transition-delay: 0.2s; }
.reveal-up:nth-child(4) { transition-delay: 0.3s; }
.reveal-up:nth-child(5) { transition-delay: 0.4s; }
.reveal-up:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   Glitch Text Effect
   ============================================ */
.glitch-text {
  position: relative;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.glitch-text:hover::before {
  animation: glitch1 0.3s linear;
  color: var(--accent);
  opacity: 0.8;
}

.glitch-text:hover::after {
  animation: glitch2 0.3s linear;
  color: cyan;
  opacity: 0.4;
}

@keyframes glitch1 {
  0% { transform: translate(0); }
  20% { transform: translate(-3px, 3px); }
  40% { transform: translate(3px, -3px); }
  60% { transform: translate(-3px, -3px); }
  80% { transform: translate(3px, 3px); }
  100% { transform: translate(0); }
}

@keyframes glitch2 {
  0% { transform: translate(0); }
  20% { transform: translate(3px, -3px); }
  40% { transform: translate(-3px, 3px); }
  60% { transform: translate(3px, 3px); }
  80% { transform: translate(-3px, -3px); }
  100% { transform: translate(0); }
}

/* ============================================
   Utility
   ============================================ */
.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;
}
