/* ============================================================
   STIGTech — styles.css
   Dark Modern / Glassmorphism / Tech Startup Theme
   ============================================================ */

/* ─── RESET & ROOT ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Backgrounds */
  --bg-base:       #050508;
  --bg-surface:    #0c0c18;
  --bg-elevated:   #111127;

  /* Brand colors */
  --cyan:          #00d4ff;
  --cyan-mid:      rgba(0, 212, 255, 0.25);
  --cyan-dim:      rgba(0, 212, 255, 0.12);
  --cyan-glow:     rgba(0, 212, 255, 0.06);
  --purple:        #7c3aed;
  --purple-mid:    rgba(124, 58, 237, 0.25);
  --purple-dim:    rgba(124, 58, 237, 0.12);

  /* Text */
  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #475569;

  /* Surfaces */
  --border:         rgba(255, 255, 255, 0.07);
  --border-bright:  rgba(255, 255, 255, 0.13);
  --glass:          rgba(255, 255, 255, 0.04);
  --glass-hover:    rgba(255, 255, 255, 0.07);

  /* Typography */
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  /* Layout */
  --section-py:     120px;
  --container-max:  1200px;
  --gap-px:         24px;

  /* Radii */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 40px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t:    0.3s;
  --t-md: 0.5s;
  --t-lg: 0.8s;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle grid texture over the whole page */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}

a        { color: inherit; text-decoration: none; }
img, svg { display: block; }
address  { font-style: normal; }

/* ─── LAYOUT UTILITIES ──────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gap-px);
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease);
  white-space: nowrap;
}

.btn svg { flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  box-shadow: 0 0 32px rgba(0, 212, 255, 0.18), 0 4px 16px rgba(0,0,0,0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 56px rgba(0, 212, 255, 0.32), 0 10px 30px rgba(0,0,0,0.55);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-bright);
}
.btn-ghost:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-full { width: 100%; justify-content: center; }

/* ─── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 900;
  padding: 22px 0;
  transition: padding var(--t) var(--ease), background var(--t) var(--ease),
              border-color var(--t) var(--ease), backdrop-filter var(--t) var(--ease);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gap-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/*.nav-logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  z-index: 901;
}*/

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.logo-main {
    line-height: 1;
}

.logo-motto {
    font-size: 0.70rem;
    letter-spacing: 0.15em;
    text-transform: none;
    opacity: 0.75;
    margin-top: 2px;
    white-space: nowrap;
}
.logo-text   { color: var(--text-primary); }
.logo-accent { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 50px;
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav-link:hover { color: var(--text-primary); background: var(--glass); }

.nav-link.nav-cta {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
}
.nav-link.nav-cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 901;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-base);
}
.hero-motto {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}
/* Video/iframe wrapper — fills the full hero behind all overlays */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-iframe,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  border: none;
}

/* Ambient orb fallback — visible through the video overlay, adds depth */
.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.55;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.orb-1 {
  width: 600px;
  height: 600px;
  top: -15%;
  left: -10%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.18) 0%, transparent 70%);
  animation-duration: 14s;
}
.orb-2 {
  width: 500px;
  height: 500px;
  bottom: -10%;
  right: -8%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16) 0%, transparent 70%);
  animation-duration: 10s;
  animation-direction: alternate-reverse;
}
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -40px) scale(1.1); }
}

/* Dark cinematic gradient over video */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    175deg,
    rgba(5, 5, 8, 0.35) 0%,
    rgba(5, 5, 8, 0.58) 45%,
    rgba(5, 5, 8, 0.90) 100%
  );
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 960px;
  padding: 0 var(--gap-px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-bright);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero-brand {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  background: linear-gradient(140deg, #ffffff 0%, var(--cyan) 52%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2.2vw, 1.25rem);
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-tagline {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 52px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--cyan));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 1; }
  49%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ─── WHAT WE DO ────────────────────────────────────────────── */
.what-we-do { background: var(--bg-surface); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease),
              background var(--t) var(--ease), box-shadow var(--t) var(--ease);
  transition-delay: var(--delay, 0s);
}

/* Top-edge shimmer */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  background: var(--glass-hover);
  border-color: rgba(0, 212, 255, 0.18);
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 40px rgba(0, 212, 255, 0.04);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 24px;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.service-card:hover .card-icon {
  background: var(--cyan-mid);
  box-shadow: 0 0 20px var(--cyan-glow);
}
.card-icon svg { width: 24px; height: 24px; }

.card-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 24px;
}

.card-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 4px 12px;
  border-radius: 50px;
}

/* ─── FEATURED SOLUTIONS ────────────────────────────────────── */
.solutions { background: var(--bg-base); }

.solutions-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 15% 50%, rgba(124, 58, 237, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 55% 50% at 85% 50%, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 48px 36px 40px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-md) var(--ease), border-color var(--t-md) var(--ease),
              box-shadow var(--t-md) var(--ease);
  transition-delay: var(--delay, 0s);
}

/* Gradient bottom bar */
.solution-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transform: scaleX(0);
  transition: transform var(--t-md) var(--ease);
  transform-origin: left;
  border-radius: 0 0 var(--r-2xl) var(--r-2xl);
}
.solution-card:hover::after { transform: scaleX(1); }
.solution-card:hover {
  border-color: rgba(0, 212, 255, 0.18);
  transform: translateY(-7px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 60px rgba(0, 212, 255, 0.04);
}

.solution-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  margin-bottom: 20px;
  user-select: none;
}

.solution-icon {
  width: 62px;
  height: 62px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--cyan-dim), var(--purple-dim));
  border: 1px solid rgba(0, 212, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 28px;
  transition: box-shadow var(--t) var(--ease);
}
.solution-card:hover .solution-icon { box-shadow: 0 0 28px rgba(0, 212, 255, 0.15); }
.solution-icon svg { width: 28px; height: 28px; }

.solution-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.solution-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.82;
  margin-bottom: 32px;
}

.solution-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.green {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
  animation: blink 2.4s ease-in-out infinite;
}
.status-dot.amber {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

/* ─── BUSINESS PARTNERS ─────────────────────────────────────── */
.partners { background: var(--bg-surface); }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.partner-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 52px 36px 44px;
  text-align: center;
  transition: transform var(--t-md) var(--ease), border-color var(--t-md) var(--ease),
              box-shadow var(--t-md) var(--ease);
  transition-delay: var(--delay, 0s);
}
.partner-card:hover {
  border-color: rgba(0, 212, 255, 0.18);
  transform: translateY(-7px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.48);
}

.partner-avatar {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 28px;
}

/* Animated ring behind avatar */
.avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(var(--cyan), var(--purple), var(--cyan));
  opacity: 0.35;
  animation: ringRotate 6s linear infinite;
  z-index: 0;
}
@keyframes ringRotate { to { transform: rotate(360deg); } }

.avatar-placeholder {
  position: relative;
  z-index: 1;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-dim), var(--purple-dim));
  border: 2px solid rgba(0, 212, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

/* If a real photo is used */
.partner-photo {
  position: relative;
  z-index: 1;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 212, 255, 0.25);
}

.partner-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.partner-role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.partner-bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 28px;
}

.partner-socials { display: flex; justify-content: center; gap: 10px; }

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease),
              background var(--t) var(--ease);
}
.social-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-glow);
}
.social-link svg { width: 16px; height: 16px; }

/* ─── WHY STIGTECH ──────────────────────────────────────────── */
.why-us { background: var(--bg-base); }

.why-ambient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 25% 50%, rgba(0, 212, 255, 0.045) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  align-items: start;
}

.why-left {
  position: sticky;
  top: 110px;
}
.why-left .section-label { display: block; }
.why-left .section-title { text-align: left; }

.why-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.82;
  margin: 18px 0 40px;
}

.why-pillars { display: flex; flex-direction: column; }

.pillar {
  display: flex;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left var(--t) var(--ease);
  transition-delay: var(--delay, 0s);
}
.pillar:first-child { border-top: 1px solid var(--border); }
.pillar:hover { padding-left: 8px; }

.pillar-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-top: 2px;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.pillar:hover .pillar-icon {
  background: linear-gradient(135deg, var(--cyan-dim), var(--purple-dim));
  box-shadow: 0 0 20px var(--cyan-glow);
}
.pillar-icon svg { width: 22px; height: 22px; }

.pillar-text h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.pillar-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.78;
}

/* ─── CONTACT ───────────────────────────────────────────────── */
.contact { background: var(--bg-surface); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 96px;
  align-items: start;
}

.contact-left .section-label { display: block; }
.contact-left .section-title { text-align: left; }

.contact-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 20px 0 40px;
}

.contact-details { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.contact-item svg  { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; }
.contact-item a:hover { color: var(--cyan); text-decoration: underline; }

.contact-form-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 48px;
  transition-delay: var(--delay, 0s);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
}
.form-group label span { color: var(--cyan); }

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
  outline: none;
  resize: vertical;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(0, 212, 255, 0.45);
  background: rgba(0, 212, 255, 0.025);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.09);
}

.form-success {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: rgba(34, 197, 94, 0.07);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: var(--r-md);
  color: #22c55e;
}
.form-success svg   { width: 26px; height: 26px; flex-shrink: 0; }
.form-success strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.form-success p      { font-size: 0.85rem; opacity: 0.8; color: var(--text-secondary); }
.form-success[hidden] {
  display: none !important;
}
/* ─── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

.footer-nav { display: flex; gap: 80px; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--t) var(--ease);
}
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--text-muted); transition: color var(--t) var(--ease); }
.footer-legal a:hover { color: var(--text-secondary); }

/* ─── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-lg) var(--ease), transform var(--t-lg) var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE: TABLET (≤1024px) ─────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-py: 90px; }

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

  .why-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .why-left {
    position: static;
    text-align: center;
  }
  .why-left .section-title { text-align: center; }
  .why-left .btn { margin: 0 auto; }
  .why-intro { margin-inline: auto; }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .contact-left .section-title { text-align: center; }
  .contact-left .section-label { display: block; text-align: center; }
  .contact-intro  { text-align: center; }
  .contact-details { align-items: center; }
}

/* ─── RESPONSIVE: MOBILE (≤768px) ──────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-py: 72px;
    --gap-px: 20px;
  }

  /* Nav — slide-in drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: rgba(12, 12, 24, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 20px 40px;
    gap: 4px;
    transition: right 0.4s var(--ease);
    border-left: 1px solid var(--border);
    z-index: 900;
  }
  .nav-links.open { right: 0; }
  .nav-link { padding: 14px 16px; border-radius: var(--r-sm); }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero-tagline   { font-size: 0.95rem; }
  .hero-actions   { flex-direction: column; align-items: center; }
  .tagline-break  { display: none; }

  /* Grids */
  .services-grid  { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .partners-grid  { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }

  /* Form */
  .form-row             { grid-template-columns: 1fr; }
  .contact-form-card    { padding: 32px 24px; }

  /* Footer */
  .footer-top    { flex-direction: column; }
  .footer-nav    { gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ─── RESPONSIVE: SMALL MOBILE (≤480px) ────────────────────── */
@media (max-width: 480px) {
  .hero-brand  { font-size: clamp(3.5rem, 17vw, 5.5rem); }
  .footer-nav  { flex-direction: column; gap: 32px; }
  .partner-card { padding: 40px 24px 36px; }
}

/* ─── REDUCED MOTION ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html    { scroll-behavior: auto; }
}
