﻿/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg-primary: #070b18;
  --bg-secondary: #0d1426;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --accent-cyan: #c084fc;
  --gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  --gradient-text: linear-gradient(135deg, #a78bfa 0%, #c084fc 100%);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  --glow: 0 0 48px rgba(124, 58, 237, 0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nav-height: 72px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}
address {
  font-style: normal;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.5);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  border: 1px solid var(--border-hover);
  color: var(--text-secondary);
}
.btn-ghost:hover {
  border-color: var(--accent-light);
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.08);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 11, 24, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.logo-fallback {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition);
}
.nav-icon:hover {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(7, 11, 24, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.5rem 1.25rem;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  padding: 0.875rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-menu a:hover {
  color: var(--text-primary);
}
.mobile-menu a:last-child {
  border-bottom: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 72% 38%,
      rgba(124, 58, 237, 0.13) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 45% 45% at 25% 65%,
      rgba(168, 85, 247, 0.08) 0%,
      transparent 55%
    );
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.28);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f0f4ff;
  padding: 1.5rem;
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.15),
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(124, 58, 237, 0.12);
}
.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.hero-image-glow {
  display: none;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--border-hover);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--accent-light);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(12px);
    opacity: 0.2;
  }
}

/* ============================================================
   CLIENT LOGOS MARQUEE
   ============================================================ */
.clients {
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.025) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  /* subtle divider lines either side */
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: center;
  padding: 0 2rem;
}
.clients-label::before,
.clients-label::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-hover));
}
.clients-label::after {
  background: linear-gradient(to left, transparent, var(--border-hover));
}

.clients-inner {
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.clients-track:hover {
  animation-play-state: paused;
}

/* Each logo sits in a frosted pill card */
.client-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  opacity: 0.85;
  transition:
    opacity var(--transition),
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
  cursor: default;
}
.client-logo:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.client-logo img {
  height: 42px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  /* no blending â€” show logos as-is, fully legible */
  filter: none;
  transition: none;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 7rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-body {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-top: 1.5rem;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  background: #f0f4ff;
  padding: 1.5rem;
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.15),
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(124, 58, 237, 0.1);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  padding: 2.25rem 1.5rem;
  position: relative;
}
.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================================
   FEATURES / TABS
   ============================================================ */
.features {
  padding: 7rem 0;
}

.tabs-wrapper {
  display: flex;
  justify-content: center;
  margin: 3rem 0 2.5rem;
}

.tabs {
  display: inline-flex;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 6px;
  gap: 4px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}
.tab-btn i {
  font-size: 0.85rem;
}
.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}
.tab-btn.active {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
  animation: fadeSlideIn 0.35s var(--ease) both;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: var(--transition);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.12);
}
.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-icon-fa {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent-light);
}

.feature-card h4 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

/* ============================================================
   PROJECT CAROUSEL â€” full-bleed slides
   ============================================================ */
.projects {
  padding: 7rem 0 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

/* Outer container */
.project-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 3rem;
  /* prevent layout shift before JS runs */
  min-height: 480px;
}

/* Sliding track */
.project-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Individual slides */
.project-slide {
  flex: 0 0 100%;
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* Background photo */
.project-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-slide:hover .project-bg {
  transform: scale(1.03);
}

/* Dark overlay â€” stronger at bottom */
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 8, 20, 0.92) 0%,
    rgba(4, 8, 20, 0.55) 45%,
    rgba(4, 8, 20, 0.18) 100%
  );
  z-index: 1;
}

/* Text content */
.project-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 3.5rem 4rem;
  color: #fff;
}

.project-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.project-content h3 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.project-content p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 540px;
}

/* Ghost white button used inside slides */
.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  background: transparent;
  padding: 0.75rem 1.875rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Prev / Next arrow buttons */
.project-prev,
.project-next {
  position: absolute;
  bottom: 1.75rem;
  transform: none;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(7, 11, 24, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.project-prev {
  right: 4.5rem;
  left: auto;
}
.project-next {
  right: 1.5rem;
}
.project-prev:hover,
.project-next:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}

/* Dot indicators */
.project-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}
.project-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.project-dot.active {
  background: #fff;
  transform: scale(1.35);
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits {
  padding: 7rem 0;
}

.benefits-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 3rem;
}

.benefits-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
}

.benefit-btn {
  text-align: left;
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  border: 1px solid transparent;
  line-height: 1.45;
}
.benefit-btn:hover {
  color: var(--text-secondary);
  background: var(--bg-card);
  border-color: var(--border);
}
.benefit-btn.active {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.28);
}

.benefit-panel {
  display: none;
}
.benefit-panel.active {
  display: block;
  animation: fadeSlideIn 0.35s var(--ease) both;
}

.benefit-panel-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.benefit-gif {
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  background: var(--bg-secondary);
  justify-self: center;
}
.benefit-gif img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit-text h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.benefit-text p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 7rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.contact-info .section-title {
  margin-top: 0.25rem;
}

.contact-body {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0.5rem 0 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-detail i {
  color: var(--accent-cyan);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.contact-detail div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-detail strong {
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 600;
}
.contact-detail span,
.contact-detail a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.contact-detail a:hover {
  color: var(--accent-light);
}

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
/* Honeypot — visually hidden but present in DOM so bots fill it */
#_gotcha {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.required {
  color: var(--accent-cyan);
  margin-left: 2px;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.9rem;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
  outline: none;
  resize: vertical;
  width: 100%;
}
.form-group textarea {
  min-height: 110px;
}

.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(124, 58, 237, 0.18);
  background: rgba(124, 58, 237, 0.04);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-message {
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}
.form-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}
.form-message.error-msg {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #f87171;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 5rem 0 2rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-logo-link img {
  height: 38px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-address {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.85;
}
.footer-address a {
  color: var(--accent-cyan);
  transition: color var(--transition);
}
.footer-address a:hover {
  color: var(--text-primary);
}

.footer-links-col h4,
.footer-social-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
}
.footer-links-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  transition: color var(--transition);
  border-bottom: 1px solid var(--border);
}
.footer-links-col a:last-child {
  border-bottom: none;
}
.footer-links-col a:hover {
  color: var(--accent-light);
}

.footer-social-col {
  display: flex;
  flex-direction: column;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  transition: color var(--transition);
  border-bottom: 1px solid var(--border);
}
.social-link:last-child {
  border-bottom: none;
}
.social-link i {
  font-size: 1rem;
  color: var(--accent-cyan);
}
.social-link:hover {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal-up,
.reveal-right {
  opacity: 0;
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}
.reveal-up {
  transform: translateY(28px);
}
.reveal-right {
  transform: translateX(40px);
}

.reveal-up.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* ============================================================
   RESPONSIVE â€” 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding-top: 3.5rem;
  }
  .hero-subtitle {
    margin: 0 auto 2.5rem;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-image {
    max-width: 600px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item + .stat-item::before {
    display: none;
  }

  .benefits-layout {
    grid-template-columns: 1fr;
  }
  .benefits-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: static;
  }
  .benefit-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.875rem;
  }

  .project-content {
    padding: 2.5rem 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   RESPONSIVE â€” 768px
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .nav-links {
    display: none;
  }
  .nav-actions .btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .section-subtitle {
    margin-bottom: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-slide {
    min-height: 420px;
  }
  .project-content {
    padding: 2rem;
  }

  .benefit-panel-content {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand {
    grid-column: auto;
  }

  .tabs {
    flex-direction: column;
    width: 100%;
  }
  .tab-btn {
    justify-content: center;
  }
}

/* ============================================================
   RESPONSIVE â€” 480px
   ============================================================ */
@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .project-slide {
    min-height: 380px;
  }
  .project-content {
    padding: 1.5rem;
  }
  .project-content h3 {
    font-size: 1.5rem;
  }
}

/* ============================================================
   ACCESSIBILITY â€” IS 5568 / WCAG 2.1 AA
   ============================================================ */

/* Screen-reader-only 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;
}

/* Skip navigation link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Global keyboard focus indicator â€” visible for keyboard users only */
:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Remove outline for mouse clicks */
:focus:not(:focus-visible) {
  outline: none;
}

/* â”€â”€ Accessibility Toolbar â”€â”€ */
#a11y-toolbar {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9000;
  font-family: var(--font);
}

.a11y-toggle-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.45);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.a11y-toggle-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.6);
}
.a11y-toggle-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.a11y-panel {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  left: 0;
  background: #1a2035;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  padding: 1rem;
  min-width: 210px;
  box-shadow: var(--shadow-lg);
  animation: fadeSlideIn 0.2s var(--ease) both;
}
.a11y-panel[hidden] {
  display: none;
}

.a11y-panel-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.a11y-options {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 0.875rem;
}

.a11y-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.55rem 0.875rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}
.a11y-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-hover);
}
.a11y-btn[aria-pressed="true"] {
  background: rgba(124, 58, 237, 0.18);
  border-color: rgba(124, 58, 237, 0.45);
  color: var(--accent-light);
}
.a11y-btn.a11y-reset {
  border-color: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.a11y-btn.a11y-reset:hover {
  color: var(--text-secondary);
  background: transparent;
  border-color: transparent;
}

.a11y-statement-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  text-decoration: none;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  transition: color var(--transition);
}
.a11y-statement-link:hover {
  color: var(--text-primary);
}

/* â”€â”€ Accessibility Modes (toggled by JS via body class) â”€â”€ */

/* High Contrast */
body.a11y-high-contrast {
  --bg-primary: #000;
  --bg-secondary: #0a0a0a;
  --bg-card: #111;
  --bg-card-hover: #1a1a1a;
  --border: rgba(255, 255, 255, 0.3);
  --border-hover: rgba(255, 255, 255, 0.5);
  --text-primary: #fff;
  --text-secondary: #e0e0e0;
  --text-muted: #c0c0c0;
  --accent: #4d8eff;
  --accent-light: #80b3ff;
  --accent-cyan: #00ffff;
  }
body.a11y-high-contrast #page-wrap {
  filter: contrast(1.25);
}

/* Grayscale */
body.a11y-grayscale #page-wrap {
  filter: grayscale(100%);
}
body.a11y-high-contrast.a11y-grayscale #page-wrap {
  filter: contrast(1.25) grayscale(100%);
}

/* Large Text — scale from the root so rem units cascade */
body.a11y-large-text {
  zoom: 1.2;
}

/* Highlight Links */
body.a11y-highlight-links a:not(.btn):not(.a11y-toggle-btn) {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  outline: 1px dashed currentColor;
  outline-offset: 2px;
}

/* ============================================================
   LEGAL MODALS
   ============================================================ */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 6, 14, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.2s var(--ease) both;
}
.legal-modal[hidden] {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.legal-modal-box {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  animation: slideUp 0.25s var(--ease) both;
}

@keyframes slideUp {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.legal-modal-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
}
.legal-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.legal-modal-close:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.legal-modal-body {
  overflow-y: auto;
  padding: 1.5rem 1.75rem 2rem;
  scroll-behavior: smooth;
}
.legal-modal-body h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-light);
  margin: 1.5rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.legal-modal-body h3:first-child {
  margin-top: 0.5rem;
}
.legal-modal-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}
.legal-modal-body strong {
  color: var(--text-primary);
}
.legal-modal-body a {
  color: var(--accent-light);
  text-underline-offset: 3px;
}

