/* ============================================
   Components — Modern Corporate Tech Theme
   Header, Nav, Buttons, Cards, Hero, Stats,
   Footer, Forms, CTA, Page Hero
   ============================================ */

/* ===========================================
   SKIP NAVIGATION
   =========================================== */
.skip-nav {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: var(--z-toast);
  padding: var(--space-3) var(--space-6);
  background: var(--color-accent-cyan);
  color: var(--color-bg-primary);
  font-weight: var(--weight-semibold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top var(--transition-fast);
}

.skip-nav:focus {
  top: 0;
  outline: none;
}


/* ===========================================
   HEADER / NAVIGATION
   =========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-5) 0;
  transition: background var(--transition-base), padding var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  color: var(--color-text-white);
  text-decoration: none;
  flex-shrink: 0;
}

.logo__wordmark {
  height: 24px;
  width: auto;
  overflow: visible;
}

/* Desktop Nav */
.nav {
  display: none;
  align-items: center;
  gap: var(--space-1);
}

.nav__link {
  position: relative;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav__link--active {
  color: #ffffff;
}

.nav__link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Header CTA */
.header__cta {
  display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
  z-index: calc(var(--z-overlay) + 1);
}

.menu-toggle:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

.menu-toggle__bar {
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-fast), background var(--transition-fast);
  transform-origin: center;
}

.menu-toggle.active .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Panel */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(350px, 85vw);
  height: 100vh;
  background: var(--color-bg-secondary);
  border-left: 1px solid var(--color-border);
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.08);
  padding: var(--space-20) var(--space-6) var(--space-6);
  z-index: var(--z-overlay);
  transition: right var(--transition-slow);
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav__link {
  display: block;
  padding: var(--space-4) var(--space-4);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.mobile-nav__link:hover,
.mobile-nav__link:focus-visible {
  color: var(--color-text-heading);
  background: rgba(6, 147, 227, 0.06);
}

.mobile-nav__link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.mobile-nav__link--active {
  color: var(--color-accent-cyan);
}

.mobile-nav__cta {
  margin-top: var(--space-6);
  padding: 0 var(--space-4);
}

/* Mobile overlay backdrop */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  z-index: calc(var(--z-overlay) - 1);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-nav-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* Desktop: show nav, hide toggle */
@media (min-width: 1024px) {
  .nav {
    display: flex;
  }

  .header__cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Header scrolled — light background overrides */
.header.scrolled .logo {
  color: var(--color-text-heading);
}

.header.scrolled .nav__link {
  color: var(--color-text-secondary);
}

.header.scrolled .nav__link:hover,
.header.scrolled .nav__link:focus-visible {
  color: var(--color-text-heading);
  background: rgba(6, 147, 227, 0.06);
}

.header.scrolled .nav__link--active {
  color: var(--color-accent-cyan);
}

.header.scrolled .menu-toggle__bar {
  background: var(--color-text-primary);
}


/* ===========================================
   BUTTONS
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-base);
  min-height: 44px;
  min-width: 44px;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Primary — gradient with glow */
.btn--primary {
  background: var(--gradient-btn);
  color: white;
  box-shadow: 0 4px 20px rgba(53, 170, 242, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn--primary:hover {
  background: var(--gradient-btn-hover);
  box-shadow: 0 6px 30px rgba(53, 170, 242, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Secondary — glass outline */
.btn--secondary {
  background: rgba(53, 170, 242, 0.06);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-hover);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: rgba(53, 170, 242, 0.12);
  border-color: var(--color-accent-cyan);
  color: var(--color-accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(53, 170, 242, 0.15);
}

/* Ghost */
.btn--ghost {
  background: rgba(53, 170, 242, 0.06);
  color: var(--color-text-primary);
}

.btn--ghost:hover {
  background: rgba(53, 170, 242, 0.12);
  color: var(--color-accent-cyan);
}

/* Large */
.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
  min-height: 52px;
}

/* Full width */
.btn--full {
  width: 100%;
}

/* Button icon */
.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}


/* ===========================================
   HERO SECTION — Editorial / Typographic
   =========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--space-32);
  padding-bottom: var(--space-16);
  overflow: hidden;
  background: var(--gradient-hero);
}

/* Background layer */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  top: -20%;
  right: -10%;
  background: rgba(53, 170, 242, 0.1);
  animation: pulse-soft 10s ease-in-out infinite;
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  bottom: -10%;
  left: -5%;
  background: rgba(97, 206, 112, 0.06);
  animation: pulse-soft 14s ease-in-out infinite reverse;
}

/* ---- Top block — centered headline ---- */
.hero__top {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: var(--space-10);
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent-cyan);
  margin-bottom: var(--space-8);
  animation: fade-in-up 0.6s ease both;
}

.hero__pulse {
  width: 8px;
  height: 8px;
  background: var(--color-accent-green);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(97, 206, 112, 0.5);
}

.hero__heading {
  animation: fade-in-up 0.6s ease 0.15s both;
}

.hero__heading-sub {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.hero__heading-display {
  display: block;
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: var(--weight-black);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(53, 170, 242, 0.85);
}

@supports not (-webkit-text-stroke: 1px black) {
  .hero__heading-display {
    color: var(--color-accent-cyan);
  }
}

/* ---- Gradient rule ---- */
.hero__rule {
  position: relative;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(53, 170, 242, 0.4) 30%, rgba(97, 206, 112, 0.3) 70%, transparent 100%);
  margin-bottom: var(--space-10);
  animation: fade-in 0.8s ease 0.3s both;
}

/* ---- Bottom — description + CTA ---- */
.hero__bottom {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
  animation: fade-in-up 0.6s ease 0.35s both;
}

.hero__desc {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--leading-relaxed);
  max-width: 480px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
}

.hero__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.hero__link:hover {
  color: #ffffff;
  gap: var(--space-3);
}

.hero__link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

.hero__link svg {
  width: 18px;
  height: 18px;
}

/* ---- Metrics strip ---- */
.hero__metrics {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6) var(--space-8);
  animation: fade-in-up 0.6s ease 0.5s both;
}

.hero__metric {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.hero__metric-val {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: #ffffff;
}

.hero__metric-lbl {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__metric-sep {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
  display: none;
}

/* Responsive hero */
@media (min-width: 768px) {
  .hero__heading-sub {
    font-size: var(--text-3xl);
  }

  .hero__desc {
    font-size: var(--text-xl);
  }

  .hero__metric-sep {
    display: block;
  }

  .hero__metrics {
    gap: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-bottom: var(--space-20);
  }

  .hero__heading-sub {
    font-size: var(--text-4xl);
  }

  .hero__bottom {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .hero__cta {
    flex-direction: column;
    align-items: flex-end;
  }
}


/* ===========================================
   STATS BAR
   =========================================== */
.stats {
  position: relative;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  padding-block: var(--space-12);
}

.stat {
  text-align: center;
  position: relative;
}

.stat__value {
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
    padding-block: var(--space-16);
  }

  .stat__value {
    font-size: var(--text-5xl);
  }
}


/* ===========================================
   SERVICE CARDS (glass/tech style)
   =========================================== */
.service-card {
  position: relative;
  padding: var(--space-8);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover,
.service-card:focus-visible {
  border-color: var(--color-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.service-card:hover::before,
.service-card:focus-visible::before {
  opacity: 1;
}

.service-card:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(53, 170, 242, 0.1);
  border: 1px solid rgba(53, 170, 242, 0.15);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  color: var(--color-accent-cyan);
  transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
  background: rgba(53, 170, 242, 0.15);
  box-shadow: 0 0 20px rgba(53, 170, 242, 0.15);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-heading);
  margin-bottom: var(--space-3);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  flex-grow: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent-cyan);
  transition: gap var(--transition-fast);
}

.service-card:hover .service-card__link {
  gap: var(--space-3);
}

.service-card__link svg {
  width: 16px;
  height: 16px;
}


/* ===========================================
   VALUE CARDS
   =========================================== */
.value-card {
  padding: var(--space-8);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.value-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(53, 170, 242, 0.1);
  border: 1px solid rgba(53, 170, 242, 0.12);
  border-radius: var(--radius-lg);
  color: var(--color-accent-cyan);
  margin-bottom: var(--space-5);
}

.value-card__icon svg {
  width: 24px;
  height: 24px;
}

.value-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-heading);
  margin-bottom: var(--space-3);
}

.value-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}


/* ===========================================
   CTA SECTION
   =========================================== */
.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  padding: var(--space-16) var(--space-8);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.cta-section__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(53, 170, 242, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(97, 206, 112, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section__title {
  position: relative;
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-heading);
  margin-bottom: var(--space-4);
}

.cta-section__desc {
  position: relative;
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-8);
}

.cta-section__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

@media (min-width: 768px) {
  .cta-section__inner {
    padding: var(--space-24) var(--space-12);
  }

  .cta-section__title {
    font-size: var(--text-5xl);
  }
}


/* ===========================================
   FOOTER
   =========================================== */
.footer {
  background: var(--color-bg-deep);
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-16);
}

.footer .logo {
  color: var(--color-text-heading);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
}

.footer__brand {
  max-width: 340px;
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-4);
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent-cyan);
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  width: fit-content;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--color-accent-cyan);
}

.footer__link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(53, 170, 242, 0.06);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer__social-link:hover,
.footer__social-link:focus-visible {
  background: rgba(53, 170, 242, 0.12);
  border-color: var(--color-border-hover);
  color: var(--color-accent-cyan);
  box-shadow: 0 0 15px rgba(53, 170, 242, 0.1);
}

.footer__social-link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.footer__bottom-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__bottom-link:hover,
.footer__bottom-link:focus-visible {
  color: var(--color-accent-cyan);
}

.footer__bottom-link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}


/* ===========================================
   FORMS
   =========================================== */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 48px;
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
  border-color: var(--color-border-hover);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent-cyan);
  box-shadow: var(--focus-ring);
}

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

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%235a6478' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--space-10);
}

.form-input.error,
.form-textarea.error,
.form-select.error {
  border-color: #ef4444;
}

.form-error {
  display: block;
  font-size: var(--text-sm);
  color: #ef4444;
  margin-top: var(--space-2);
}

.form-success {
  padding: var(--space-6);
  background: rgba(97, 206, 112, 0.08);
  border: 1px solid rgba(97, 206, 112, 0.2);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: var(--space-6);
}

.form-success__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-accent-green);
  margin-bottom: var(--space-2);
}

.form-success__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}


/* ===========================================
   PAGE HERO (inner pages)
   =========================================== */
.page-hero {
  position: relative;
  padding-top: var(--space-32);
  padding-bottom: var(--space-16);
  text-align: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  color: var(--color-text-white);
  margin-bottom: var(--space-4);
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .page-hero {
    padding-top: calc(var(--space-32) + var(--space-8));
    padding-bottom: var(--space-20);
  }

  .page-hero__title {
    font-size: var(--text-6xl);
  }

  .page-hero__subtitle {
    font-size: var(--text-xl);
  }
}


/* ===========================================
   CONTENT BLOCKS
   =========================================== */
.content-block {
  padding-block: var(--space-12);
}

.content-block + .content-block {
  border-top: 1px solid var(--color-border);
}

.content-block__title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-heading);
  margin-bottom: var(--space-4);
}

.content-block__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 720px;
}

.content-block__text + .content-block__text {
  margin-top: var(--space-4);
}


/* ===========================================
   TIMELINE
   =========================================== */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}

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

.timeline__item {
  position: relative;
  padding-bottom: var(--space-10);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) - 5px);
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--color-accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(53, 170, 242, 0.5);
}

.timeline__year {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-accent-cyan);
  margin-bottom: var(--space-2);
}

.timeline__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-heading);
  margin-bottom: var(--space-2);
}

.timeline__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}


/* ===========================================
   CONTACT GRID
   =========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

.contact-form-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  backdrop-filter: blur(10px);
}

.contact-info-card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.contact-info-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}

.contact-info-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(53, 170, 242, 0.1);
  border: 1px solid rgba(53, 170, 242, 0.12);
  border-radius: var(--radius-lg);
  color: var(--color-accent-cyan);
  flex-shrink: 0;
}

.contact-info-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-card__title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-heading);
  margin-bottom: var(--space-1);
}

.contact-info-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact-info-card__link {
  color: var(--color-accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-info-card__link:hover {
  color: var(--color-accent-blue);
}

.contact-info-card__link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}


/* ===========================================
   FEATURE LIST
   =========================================== */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.feature-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.feature-list__icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent-green);
  flex-shrink: 0;
}


/* ===========================================
   TECH BADGE (monospace labels)
   =========================================== */
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: rgba(53, 170, 242, 0.08);
  border: 1px solid rgba(53, 170, 242, 0.15);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-accent-cyan);
  letter-spacing: 0.05em;
}
