/* =========================
   Code Harbor — Modern Astronomical Theme
   ========================= */

:root {
  /* Color palette */
  --space-black: #05071a;
  --deep-space: #0a0c24;
  --cosmic-purple: #2d1b69;
  --nebula-blue: #1a5fb4;
  --star-yellow: #ffd43b;
  --white-hole: #ffffff;
  --muted-starlight: rgba(255, 255, 255, 0.7);
  --dim-starlight: rgba(255, 255, 255, 0.5);
  
  /* UI Elements */
  --card-bg: rgba(16, 18, 40, 0.4);
  --card-border: rgba(255, 255, 255, 0.1);
  --card-glow: rgba(45, 27, 105, 0.3);
  
  /* Sizing */
  --container: 1200px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  
  /* Effects */
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-strong: 0 24px 64px rgba(0, 0, 0, 0.5);
  
  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-normal: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--space-black);
  color: var(--white-hole);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* ===== NEW ASTRONOMICAL BACKGROUND ===== */
.cosmic-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  background: 
    radial-gradient(ellipse at 20% 20%, var(--cosmic-purple) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 30%, var(--nebula-blue) 0%, transparent 40%),
    radial-gradient(ellipse at 40% 80%, rgba(255, 212, 59, 0.1) 0%, transparent 40%),
    linear-gradient(180deg, var(--deep-space) 0%, var(--space-black) 100%);
  animation: cosmicFloat 60s ease-in-out infinite alternate;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 10% 20%, white 1px, transparent 1px),
    radial-gradient(1px 1px at 20% 40%, white 1px, transparent 1px),
    radial-gradient(1px 1px at 30% 60%, white 1px, transparent 1px),
    radial-gradient(1px 1px at 40% 80%, white 1px, transparent 1px),
    radial-gradient(2px 2px at 50% 30%, white 2px, transparent 2px),
    radial-gradient(2px 2px at 60% 50%, white 2px, transparent 2px),
    radial-gradient(2px 2px at 70% 70%, white 2px, transparent 2px),
    radial-gradient(2px 2px at 80% 90%, white 2px, transparent 2px);
  background-size: 200px 200px, 300px 300px, 400px 400px;
  animation: starTwinkle 8s ease-in-out infinite;
}

@keyframes cosmicFloat {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.02) rotate(0.5deg);
  }
}

@keyframes starTwinkle {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, 
    rgba(10, 12, 36, 0.8) 0%,
    rgba(5, 7, 26, 0.6) 100%
  );
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== MODERN GRID SYSTEM ===== */
.grid {
  display: grid;
  gap: 2rem;
}

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

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--asymmetric {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--white-hole), var(--muted-starlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--nebula-blue), var(--cosmic-purple));
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--muted-starlight);
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 2rem;
}

p {
  color: var(--muted-starlight);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ===== MODERN CARD DESIGN ===== */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
}

.glass-card:hover::before {
  transform: translateX(100%);
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 
    var(--shadow-strong),
    0 0 40px var(--card-glow);
}

/* ===== GLASS BASE (used across the site) ===== */
.glass {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
}

.glass:hover::before {
  transform: translateX(100%);
}

.glass:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-soft);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--nebula-blue), var(--cosmic-purple));
  color: white;
  box-shadow: 
    var(--shadow-medium),
    0 0 30px rgba(45, 27, 105, 0.4);
}

.btn--primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 
    var(--shadow-strong),
    0 0 50px rgba(45, 27, 105, 0.6);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white-hole);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

/* ===== HEADER ===== */
.topbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: calc(var(--container) - 3rem);
  background: rgba(5, 7, 26, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  z-index: 1000;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-soft);
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateX(-50%) translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-normal);
}

.brand:hover {
  transform: scale(1.02);
}

.brand__logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--nebula-blue), var(--cosmic-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 8px 24px rgba(45, 27, 105, 0.3);
}

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

.brand__name {
  font-weight: 900;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--white-hole), var(--star-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand__tag {
  font-size: 0.875rem;
  color: var(--dim-starlight);
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 0.5rem;
}

.nav__link {
  text-decoration: none;
  color: var(--dim-starlight);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: calc(var(--radius-md) - 4px);
  transition: all var(--transition-normal);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--nebula-blue), var(--cosmic-purple));
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.nav__link:hover::after {
  width: 60%;
}

.nav__link:hover {
  color: var(--white-hole);
  background: rgba(255, 255, 255, 0.1);
}

.nav__cta {
  background: linear-gradient(135deg, var(--nebula-blue), var(--cosmic-purple));
  color: white;
  margin-left: 0.5rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(45, 27, 105, 0.3);
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 27, 105, 0.4);
}

.navbtn {
  display: none;
  background: none;
  border: none;
  color: var(--white-hole);
  font-size: 1.5rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.navbtn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 12rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(45, 27, 105, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 4rem;
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--star-yellow);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--star-yellow);
  animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero__h1 {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero__p {
  font-size: 1.25rem;
  color: var(--muted-starlight);
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease-out 0.8s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== STATS SECTION ===== */
.strip {
  padding: 4rem 0;
  position: relative;
  margin-bottom: 2rem;
}

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

.stat {
  text-align: center;
}

.stat__n {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--nebula-blue), var(--cosmic-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.stat__t {
  font-size: 1.25rem;
  color: var(--white-hole);
  margin-bottom: 0.75rem;
}

.stat__p {
  color: var(--dim-starlight);
  font-size: 0.875rem;
}

/* ===== SERVICES ===== */
.service {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.service__meta {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.chip--price {
  background: linear-gradient(135deg, rgba(255, 212, 59, 0.2), rgba(255, 212, 59, 0.1));
  border-color: rgba(255, 212, 59, 0.3);
  color: var(--star-yellow);
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.bullets li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dim-starlight);
}

.bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--nebula-blue);
  font-weight: bold;
}

.cta {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem !important;
}

/* ===== PROCESS ===== */
.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent,
    var(--nebula-blue),
    var(--cosmic-purple),
    transparent
  );
  opacity: 0.3;
}

.step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step__n {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--nebula-blue), var(--cosmic-purple));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: white;
  box-shadow: 0 8px 24px rgba(45, 27, 105, 0.3);
}

.split {
  margin-top: 3rem;
}

/* ===== CAPABILITIES ===== */
.cap {
  text-align: center;
}

.cap__k {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white-hole);
  margin-bottom: 0.5rem;
}

.cap__v {
  font-size: 0.875rem;
  color: var(--dim-starlight);
}

.stack {
  align-items: center;
}

.stack__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

/* ===== TESTIMONIALS ===== */
.twrap {
  position: relative;
}

.tcontrols {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.iconbtn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white-hole);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.iconbtn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.tviewport {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  margin-top: 4rem;
}

.ttrack {
  display: flex;
  gap: 1.5rem;
  animation: scrollHorizontal 40s linear infinite;
  width: max-content;
}

@keyframes scrollHorizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-350px * 10));
  }
}

.tcard {
  flex: 0 0 350px;
}

.tcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tcard__name {
  font-weight: 700;
  color: var(--white-hole);
}

.tcard__stars {
  color: var(--star-yellow);
  font-size: 1.25rem;
}

.note {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 212, 59, 0.1);
  border: 1px solid rgba(255, 212, 59, 0.2);
  border-radius: var(--radius-md);
}

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

/* ===== FAQ ===== */
.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__q {
  /* button reset */
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white-hole);

  text-align: left;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.faq__q:hover {
  transform: translateX(8px);
}

.faq__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim-starlight);
  transition: all var(--transition-normal);
}

.faq__q[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
  color: var(--star-yellow);
}

.faq__a {
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--nebula-blue);
  margin-left: 1.5rem;
  animation: slideDown 0.3s ease-out;
}

/* ===== CONTACT ===== */
.contact {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.contact__form {
  height: 100%;
}

.fieldrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dim-starlight);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

input, select, textarea {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--white-hole);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--nebula-blue);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(45, 27, 105, 0.2);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.agree {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0;
  color: var(--dim-starlight);
}

.agree input {
  margin-top: 0.25rem;
}

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

.form__note {
  font-size: 0.875rem;
  color: var(--dim-starlight);
}

.contact__info {
  height: 100%;
}

.info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.info__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

.info__k {
  font-size: 0.875rem;
  color: var(--dim-starlight);
  font-weight: 600;
}

.info__v {
  color: var(--white-hole);
}

.info__v a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-normal);
}

.info__v a:hover {
  color: var(--star-yellow);
}

.contact__mini {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.miniCard {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.miniCard:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.miniCard__k {
  font-size: 0.875rem;
  color: var(--dim-starlight);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.miniCard__v {
  color: var(--white-hole);
  font-size: 0.875rem;
}

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 0 2rem;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 26, 0.8));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--nebula-blue), 
    var(--cosmic-purple), 
    transparent
  );
}

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

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--nebula-blue), var(--cosmic-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(45, 27, 105, 0.3);
}

.footer__name {
  font-weight: 900;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--white-hole), var(--star-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__lines {
  color: var(--dim-starlight);
  line-height: 1.6;
  font-size: 0.875rem;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__title {
  font-size: 1rem;
  color: var(--white-hole);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--nebula-blue), var(--cosmic-purple));
}

.footer__nav a {
  color: var(--dim-starlight);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all var(--transition-normal);
}

.footer__nav a:hover {
  color: var(--white-hole);
  transform: translateX(4px);
}

.linkbtn {
  text-align: left;
  background: none;
  border: none;
  color: var(--dim-starlight);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-normal);
}

.linkbtn:hover {
  color: var(--white-hole);
  transform: translateX(4px);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--dim-starlight);
  font-size: 0.875rem;
}

.toTop {
  color: var(--dim-starlight);
  text-decoration: none;
  font-weight: 700;
  transition: all var(--transition-normal);
}

.toTop:hover {
  color: var(--white-hole);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .strip__grid,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid--asymmetric {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  
  .container {
    width: min(100% - 1.5rem, var(--container));
  }
  
  .topbar {
    top: 1rem;
    width: calc(100% - 2rem);
    padding: 0.75rem 1rem;
  }
  
  .nav {
    display: none;
  }
  
  .navbtn {
    display: block;
  }
  
  .mobile {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 7, 26, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1001;
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;
  }
  
  .mobile.active {
    transform: translateY(-100%);
  }
  
  .mobile__link {
    padding: 1rem 1.5rem;
    color: var(--white-hole);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background var(--transition-normal);
  }
  
  .mobile__link:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .mobile__cta {
    background: linear-gradient(135deg, var(--nebula-blue), var(--cosmic-purple));
    color: white;
    margin-top: 0.5rem;
  }
  
  .hero {
    padding: 8rem 0 4rem;
  }
  
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
  
  .timeline {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    display: none;
  }
  
  .fieldrow {
    grid-template-columns: 1fr;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .strip__grid,
  .grid--4 {
    grid-template-columns: 1fr;
  }
  
  .ttrack {
    animation: scrollHorizontal 30s linear infinite;
  }
}

/* ===== TILT EFFECT ===== */
.tilt {
  transition: transform 0.2s ease-out;
}

.tilt:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(2deg) scale(1.02);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--deep-space);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--nebula-blue), var(--cosmic-purple));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--cosmic-purple), var(--nebula-blue));
}