/* ==========================================================================
   Gilper Tech — Corporate Stylesheet
   Brand Palette: #3278BC (Brand Blue) · #4DBECF (Brand Cyan) · #0B1324 (Midnight)
   ========================================================================== */

:root {
  --gt-blue: #3278bc;
  --gt-blue-dark: #245e99;
  --gt-blue-soft: #eef5fc;
  --gt-cyan: #4dbecf;
  --gt-cyan-bright: #67d6e6;
  --gt-cyan-soft: #ebf8fa;

  --bg-surface: #ffffff;
  --bg-subtle: #f5f8fc;
  --bg-dark: #0b1324;
  --bg-dark-elevated: #111c33;
  --bg-dark-footer: #080e1c;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-on-dark: #f8fafc;
  --text-on-dark-muted: #94a3b8;

  --border-light: #e2e8f0;
  --border-dark: rgba(148, 163, 184, 0.16);
  --border-cyan: rgba(77, 190, 207, 0.34);

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 30px -8px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 24px 48px -12px rgba(11, 19, 36, 0.16);
  --shadow-glow: 0 18px 40px -12px rgba(50, 120, 188, 0.32);

  --container-max: 1200px;
  --nav-height: 76px;
  --transition-fast: 180ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-med: 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gt-cyan);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Typography Helpers */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--gt-cyan-soft);
  color: var(--gt-blue-dark);
  border: 1px solid rgba(77, 190, 207, 0.38);
  margin-bottom: 1.1rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gt-cyan);
  box-shadow: 0 0 0 3px rgba(77, 190, 207, 0.25);
}

.dark-section .eyebrow {
  background: rgba(77, 190, 207, 0.12);
  color: var(--gt-cyan-bright);
  border-color: rgba(77, 190, 207, 0.3);
}

.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  color: var(--text-main);
}

.dark-section .section-title {
  color: var(--text-on-dark);
}

.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 0;
}

.dark-section .section-subtitle {
  color: var(--text-on-dark-muted);
}

.text-gradient {
  background: linear-gradient(115deg, var(--gt-blue) 0%, var(--gt-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.55rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background-color var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gt-blue) 0%, #2b6cb0 100%);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gt-blue-dark) 0%, var(--gt-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -12px rgba(50, 120, 188, 0.45);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--gt-blue);
  color: var(--gt-blue-dark);
  background: var(--gt-blue-soft);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--gt-cyan) 0%, var(--gt-blue) 100%);
  color: #ffffff;
  box-shadow: 0 14px 32px -10px rgba(77, 190, 207, 0.45);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark);
  border-color: rgba(148, 163, 184, 0.28);
}

.btn-ghost-dark:hover {
  background: rgba(77, 190, 207, 0.14);
  border-color: var(--gt-cyan);
  color: #ffffff;
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.65);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast),
    background-color var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border-light);
  box-shadow: 0 8px 24px -10px rgba(15, 23, 42, 0.1);
}

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

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-item:hover,
.nav-item.active {
  color: var(--gt-blue-dark);
  background: var(--gt-blue-soft);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gt-blue), var(--gt-cyan));
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang-selector {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  gap: 0.15rem;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: background-color var(--transition-fast), color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.lang-link .fi {
  border-radius: 2px;
  font-size: 0.85rem;
}

.lang-link:hover {
  color: var(--text-main);
}

.lang-link.active {
  background: var(--bg-surface);
  color: var(--gt-blue-dark);
  box-shadow: var(--shadow-sm);
}

.nav-cta {
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  cursor: pointer;
}

.mobile-menu-btn .bar {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-main);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-menu-btn[aria-expanded='true'] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded='true'] .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded='true'] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: calc(var(--nav-height) + 4rem) 0 5rem;
  background-color: var(--bg-surface);
  background-image:
    radial-gradient(circle at 82% 18%, rgba(77, 190, 207, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 12% 78%, rgba(50, 120, 188, 0.1) 0%, transparent 45%),
    radial-gradient(rgba(50, 120, 188, 0.14) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.25rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 58ch;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gt-blue-dark);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-subtle);
  line-height: 1.35;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 0.65rem;
  background: linear-gradient(145deg, rgba(77, 190, 207, 0.28), rgba(50, 120, 188, 0.2));
  box-shadow: var(--shadow-lg);
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 6px);
}

.telemetry-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(11, 19, 36, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(77, 190, 207, 0.35);
  color: var(--text-on-dark);
  box-shadow: 0 16px 32px rgba(11, 19, 36, 0.28);
  animation: gentleFloat 6s ease-in-out infinite;
}

.telemetry-card--top {
  top: 1.35rem;
  left: -1.35rem;
}

.telemetry-card--bottom {
  bottom: 1.35rem;
  right: -1.2rem;
  animation-delay: -3s;
}

.telemetry-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25);
  flex-shrink: 0;
}

.telemetry-pulse--cyan {
  background: var(--gt-cyan);
  box-shadow: 0 0 0 4px rgba(77, 190, 207, 0.25);
}

.telemetry-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gt-cyan-bright);
  letter-spacing: 0.02em;
}

.telemetry-sub {
  display: block;
  font-size: 0.78rem;
  color: #e2e8f0;
}

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

/* ==========================================================================
   Generic Section Spacing
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section-subtle {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.dark-section {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  background-image:
    radial-gradient(circle at 15% 15%, rgba(77, 190, 207, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(50, 120, 188, 0.18) 0%, transparent 46%);
}

/* ==========================================================================
   Capabilities Bento Grid
   ========================================================================== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.cap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    border-color var(--transition-med);
}

.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(50, 120, 188, 0.35);
}

.cap-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.cap-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(50, 120, 188, 0.12), rgba(77, 190, 207, 0.18));
  color: var(--gt-blue);
  border: 1px solid rgba(50, 120, 188, 0.18);
}

.cap-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.cap-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.cap-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--bg-subtle);
  color: var(--gt-blue-dark);
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   AI Agents & Automation Flagship (Dark Section)
   ========================================================================== */
.ai-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.ai-card {
  padding: 1.65rem;
  border-radius: var(--radius-lg);
  background: rgba(17, 28, 51, 0.82);
  border: 1px solid var(--border-dark);
  transition: transform var(--transition-fast), border-color var(--transition-fast),
    background-color var(--transition-fast);
}

.ai-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-cyan);
  background: rgba(20, 34, 61, 0.95);
}

.ai-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 190, 207, 0.12);
  color: var(--gt-cyan-bright);
  border: 1px solid rgba(77, 190, 207, 0.28);
  margin-bottom: 1rem;
}

.ai-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 0.5rem;
}

.ai-card p {
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 0;
}

/* Interactive Blueprint Simulator */
.blueprint-simulator {
  border-radius: var(--radius-xl);
  padding: 2rem;
  background: linear-gradient(180deg, rgba(17, 28, 51, 0.96) 0%, rgba(11, 19, 36, 0.98) 100%);
  border: 1px solid rgba(77, 190, 207, 0.28);
  box-shadow: 0 28px 60px -20px rgba(0, 0, 0, 0.55);
}

.blueprint-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-dark);
}

.blueprint-title-wrap h3 {
  font-size: 1.25rem;
  color: var(--text-on-dark);
  margin-bottom: 0.25rem;
}

.blueprint-title-wrap p {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 0;
}

.blueprint-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blueprint-tab {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-on-dark-muted);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.blueprint-tab:hover {
  color: #ffffff;
  border-color: rgba(77, 190, 207, 0.55);
}

.blueprint-tab[aria-selected='true'] {
  background: linear-gradient(135deg, var(--gt-blue) 0%, var(--gt-cyan) 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(77, 190, 207, 0.45);
}

.blueprint-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pipeline-node {
  position: relative;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(8, 14, 28, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.pipeline-node.is-switching {
  border-color: var(--gt-cyan);
  transform: translateY(-2px);
}

.pipeline-node:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -0.82rem;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--gt-cyan);
  animation: pulseArrow 2s ease-in-out infinite;
  z-index: 2;
}

@keyframes pulseArrow {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

.pipeline-step {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gt-cyan-bright);
  margin-bottom: 0.45rem;
}

.pipeline-node h4 {
  font-size: 0.98rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.pipeline-node p {
  font-size: 0.84rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 0;
  line-height: 1.45;
}

.blueprint-console-row {
  display: grid;
  grid-template-columns: 1.6fr 0.75fr;
  gap: 1.25rem;
  align-items: stretch;
}

.trace-terminal {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: #060b16;
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.trace-terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.6rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 0.72rem;
  color: #64748b;
}

.trace-dots {
  display: inline-flex;
  gap: 0.35rem;
}

.trace-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
}

.trace-dots span:nth-child(1) {
  background: #f87171;
}
.trace-dots span:nth-child(2) {
  background: #fbbf24;
}
.trace-dots span:nth-child(3) {
  background: #34d399;
}

.trace-lines {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trace-line {
  white-space: pre-wrap;
  word-break: break-word;
}

.trace-tag {
  color: var(--gt-cyan-bright);
}

.trace-ok {
  color: #34d399;
}

.roi-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(50, 120, 188, 0.22), rgba(77, 190, 207, 0.16));
  border: 1px solid rgba(77, 190, 207, 0.35);
}

.roi-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gt-cyan-bright);
  margin-bottom: 0.35rem;
}

.roi-metric {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.roi-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 0;
}

/* ==========================================================================
   Interactive Tech Stack Explorer
   ========================================================================== */
.stack-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.stack-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stack-filter-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.stack-filter-btn:hover {
  border-color: var(--gt-blue);
  color: var(--gt-blue-dark);
}

.stack-filter-btn.active {
  background: var(--gt-blue);
  border-color: var(--gt-blue);
  color: #ffffff;
  box-shadow: 0 8px 18px -8px rgba(50, 120, 188, 0.5);
}

.stack-count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stack-item {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.stack-item:hover {
  transform: translateY(-3px);
  border-color: var(--gt-cyan);
  box-shadow: var(--shadow-md);
}

.stack-item.is-hidden {
  display: none;
}

.stack-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.stack-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.stack-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.16rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--gt-blue-soft);
  color: var(--gt-blue-dark);
}

.stack-badge--aws {
  background: #fff7ed;
  color: #c2410c;
}

.stack-badge--ai {
  background: var(--gt-cyan-soft);
  color: #0e7490;
}

.stack-badge--fe {
  background: #f0fdf4;
  color: #15803d;
}

.stack-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.45;
}

/* ==========================================================================
   Sectors & Multidisciplinary Team
   ========================================================================== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.sector-card {
  padding: 1.65rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.sector-card:hover {
  transform: translateY(-3px);
  border-color: var(--gt-blue);
  box-shadow: var(--shadow-md);
}

.sector-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gt-blue-soft);
  color: var(--gt-blue-dark);
  margin-bottom: 1rem;
}

.sector-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

.sector-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.team-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.team-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.team-role {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
}

.team-role h4 {
  font-size: 0.95rem;
  color: var(--gt-blue-dark);
  margin-bottom: 0.25rem;
}

.team-role p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.45;
}

.office-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.office-photo {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.office-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(11, 19, 36, 0.84);
  backdrop-filter: blur(10px);
  color: #f8fafc;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.office-caption strong {
  color: var(--gt-cyan-bright);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* ==========================================================================
   Partnership (Vucle) & Gilper Ecosystem
   ========================================================================== */
.partner-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.25rem;
  align-items: center;
  padding: 2.25rem 2.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(125deg, #ffffff 0%, #f5f8fc 60%, #ebf8fa 100%);
  border: 1px solid rgba(50, 120, 188, 0.24);
  box-shadow: var(--shadow-md);
  margin-bottom: 2.25rem;
}

.partner-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 1.75rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.partner-logo-box img {
  height: 36px;
  width: auto;
}

.partner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #bc1160;
  margin-bottom: 0.45rem;
}

.partner-content h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.partner-content p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.eco-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    border-color var(--transition-med);
}

.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gt-cyan);
}

.eco-card-head {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.15rem;
}

.eco-icon-badge {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.eco-icon-badge--games {
  background: #0f172a;
}

.eco-icon-badge--games img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.42);
}

.eco-icon-badge--tools {
  background: #090d10;
  padding: 0.65rem;
}

.eco-icon-badge--tools img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eco-meta-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gt-blue);
  margin-bottom: 0.2rem;
}

.eco-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0;
}

.eco-card p {
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}

.eco-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  padding: 3rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--bg-dark) 0%, #112240 100%);
  color: var(--text-on-dark);
  border: 1px solid rgba(77, 190, 207, 0.28);
  box-shadow: var(--shadow-lg);
}

.contact-panel .section-title {
  color: #ffffff;
}

.contact-panel p {
  color: #cbd5e1;
}

.email-highlight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin: 1.75rem 0 1rem;
}

.email-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.3rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(77, 190, 207, 0.42);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.email-pill:hover {
  background: rgba(77, 190, 207, 0.16);
  border-color: var(--gt-cyan-bright);
}

.copy-feedback {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #34d399;
  min-height: 1.25em;
}

.inquiry-composer {
  padding: 1.65rem;
  border-radius: var(--radius-lg);
  background: rgba(8, 14, 28, 0.65);
  border: 1px solid var(--border-dark);
}

.composer-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gt-cyan-bright);
  margin-bottom: 0.65rem;
}

.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.topic-chip {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.topic-chip:hover {
  border-color: var(--gt-cyan);
  color: #ffffff;
}

.topic-chip.selected {
  background: rgba(77, 190, 207, 0.2);
  border-color: var(--gt-cyan);
  color: #ffffff;
}

.composer-textarea {
  width: 100%;
  min-height: 92px;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #f8fafc;
  font-size: 0.92rem;
  resize: vertical;
  margin-bottom: 1rem;
}

.composer-textarea::placeholder {
  color: #64748b;
}

.composer-textarea:focus {
  outline: none;
  border-color: var(--gt-cyan);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark-footer);
  color: var(--text-on-dark-muted);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  margin-bottom: 1.1rem;
}

.footer-brand-pill img {
  height: 30px;
  width: auto;
}

.footer-tagline {
  font-size: 0.92rem;
  max-width: 38ch;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.footer-email {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--gt-cyan-bright);
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-col h4 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f8fafc;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.footer-list a:hover {
  color: var(--gt-cyan-bright);
}

.footer-ext-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.footer-ext-icon--games {
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.footer-ext-icon--games img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.4);
}

.footer-ext-icon--tools {
  background: #090d10;
  padding: 2px;
}

.footer-ext-icon--tools img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-ext-icon--vucle {
  background: #ffffff;
  padding: 3px 5px;
  width: auto;
}

.footer-ext-icon--vucle img {
  height: 12px;
  width: auto;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.84rem;
  color: #64748b;
}

/* ==========================================================================
   Privacy Policy Page
   ========================================================================== */
.privacy-header {
  padding: calc(var(--nav-height) + 3.5rem) 0 3rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

.privacy-content {
  padding: 3.5rem 0 5rem;
}

.privacy-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.privacy-card h2 {
  font-size: 1.35rem;
  color: var(--gt-blue-dark);
  margin-top: 2rem;
}

.privacy-card h2:first-child {
  margin-top: 0;
}

.privacy-card p {
  color: var(--text-muted);
}

/* ==========================================================================
   Scroll Reveal Motion
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .telemetry-card,
  .pipeline-node:not(:last-child)::after {
    animation: none;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .team-split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .telemetry-card--top {
    left: 1rem;
  }

  .telemetry-card--bottom {
    right: 1rem;
  }

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

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

  .pipeline-node:nth-child(2)::after {
    display: none;
  }

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

  .partner-banner {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 1.25rem;
  }

  .partner-logo-box {
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-med), opacity var(--transition-fast);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-item {
    padding: 0.75rem 1rem;
  }

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

  .capabilities-grid,
  .ai-value-grid,
  .blueprint-pipeline,
  .blueprint-console-row,
  .ecosystem-grid,
  .team-roles {
    grid-template-columns: 1fr;
  }

  .pipeline-node:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 4rem 0;
  }

  .stack-grid,
  .sectors-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .blueprint-simulator,
  .contact-panel,
  .team-split,
  .partner-banner,
  .privacy-card {
    padding: 1.5rem;
  }

  .telemetry-card {
    position: static;
    margin-top: 0.75rem;
    animation: none;
  }
}
