/* ========================================
   CSS Custom Properties — Luxury Color System
   ======================================== */
:root {
  --color-bg-primary: #0A0E17;
  --color-bg-secondary: #111827;
  --color-surface: #1B2A4A;
  --color-surface-light: #2A3D66;
  --color-accent-gold: #C9A84C;
  --color-accent-gold-hover: #DAA520;
  --color-accent-gold-deep: #B8860B;
  --color-accent-platinum: #A8B5C8;
  --color-text-primary: #F0F2F5;
  --color-text-secondary: #8896A7;
  --color-success: #2DD4A8;
  --color-border: rgba(201, 168, 76, 0.12);
  --color-border-subtle: rgba(168, 181, 200, 0.08);
  --color-card-bg: #0F1A2E;
  --color-card-hover: #1B2A4A;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --max-width: 1200px;
  --content-width: 720px;
  --section-padding: 140px;
  --section-padding-mobile: 72px;
  --card-gap: 28px;
  --border-radius: 8px;
  --transition-base: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-accent-gold);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-accent-gold-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.nav-cta:focus-visible {
  outline-offset: 4px;
  box-shadow: 0 0 0 2px var(--color-bg-primary), 0 0 0 4px var(--color-accent-gold);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--color-accent-gold);
  color: var(--color-bg-primary);
  font-weight: 600;
  font-size: 14px;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  color: var(--color-bg-primary);
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: var(--content-width);
  line-height: 1.7;
}

.gold-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-gold-deep), var(--color-accent-gold), var(--color-accent-gold-deep));
  margin: 24px auto 0;
  border-radius: 1px;
}

/* ========================================
   Scroll Animations
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background-color var(--transition-base), padding var(--transition-base), box-shadow var(--transition-base);
}

.nav.scrolled {
  background-color: rgba(10, 14, 23, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--color-border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.3px;
}

.nav-logo-mark {
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-accent-gold);
  flex-shrink: 0;
}

.nav-logo-text span {
  color: var(--color-accent-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-base);
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  color: var(--color-text-primary);
}

.nav-cta {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-bg-primary) !important;
  background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-deep));
  border-radius: 6px;
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--color-accent-gold-hover), var(--color-accent-gold));
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
  color: var(--color-bg-primary) !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

#nav-checkbox {
  display: none;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #0F1A30 0%, var(--color-surface) 50%, #2A3D66 100%);
  overflow: hidden;
  padding: 120px 24px 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 100px,
    rgba(184, 134, 11, 0.03) 100px,
    rgba(184, 134, 11, 0.03) 200px
  );
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 75% 70%, rgba(42, 61, 102, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-logo {
  width: 88px;
  height: 88px;
  border: 3px solid var(--color-accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-accent-gold);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.1s forwards;
  background: rgba(15, 26, 48, 0.6);
  backdrop-filter: blur(8px);
}

.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
  color: #FFFFFF;
}

.hero-title em {
  font-style: italic;
  color: var(--color-accent-gold);
}

.hero-title-accent {
  display: block;
  color: var(--color-accent-gold);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 2px;
}

.hero-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent-gold), transparent);
  margin: 0 auto 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-subtitle {
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.8;
  color: rgba(240, 242, 245, 0.8);
  max-width: 640px;
  margin: 0 auto 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-bg-primary);
  background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-deep));
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-gold-hover), var(--color-accent-gold));
  color: var(--color-bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.3);
}

.btn-secondary {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-secondary:hover {
  border-color: var(--color-accent-gold);
  background: rgba(201, 168, 76, 0.06);
  color: var(--color-text-primary);
  transform: translateY(-2px);
}

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

/* ========================================
   Social Proof Bar
   ======================================== */
.proof-bar {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 56px 0;
}

.proof-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.proof-item {
  padding: 8px 0;
}

.proof-number {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--color-accent-gold);
  line-height: 1.2;
  margin-bottom: 6px;
}

.proof-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ========================================
   Services Overview
   ======================================== */
.services {
  padding: var(--section-padding) 0;
  background: var(--color-bg-primary);
}

.services-header {
  text-align: center;
  margin-bottom: 72px;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--card-gap);
}

.service-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 44px 28px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.12);
  color: var(--color-accent-gold);
  font-size: 24px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.3;
  color: var(--color-text-primary);
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.service-link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link::after {
  content: '\2192';
  transition: transform var(--transition-base);
}

.service-link:hover::after {
  transform: translateX(4px);
}

/* ========================================
   Featured Service Deep-Dive
   ======================================== */
.deep-dive {
  padding: var(--section-padding) 0;
  background: var(--color-bg-secondary);
}

.deep-dive-header {
  text-align: center;
  margin-bottom: 80px;
}

.deep-dive-header .section-subtitle {
  margin: 0 auto;
}

.deep-dive-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.deep-dive-item:last-child {
  margin-bottom: 0;
}

.deep-dive-item.reversed {
  direction: rtl;
}

.deep-dive-item.reversed > * {
  direction: ltr;
}

.deep-dive-visual {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  min-height: 340px;
  position: relative;
  overflow: hidden;
}

.deep-dive-visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.deep-dive-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 26, 48, 0.25), rgba(27, 42, 74, 0.15));
  z-index: 1;
}

.deep-dive-content h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.25;
}

.deep-dive-content > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

.deep-dive-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.deep-dive-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.deep-dive-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--color-accent-gold);
  border-radius: 50%;
  margin-top: 10px;
}

/* ========================================
   Process / Methodology
   ======================================== */
.process {
  padding: var(--section-padding) 0;
  background: var(--color-bg-primary);
}

.process-header {
  text-align: center;
  margin-bottom: 72px;
}

.process-header .section-subtitle {
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-gold), var(--color-accent-gold), transparent);
  opacity: 0.25;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-number {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  border: 2px solid var(--color-accent-gold);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent-gold);
  position: relative;
  z-index: 1;
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text-primary);
}

.process-step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* ========================================
   Case Studies
   ======================================== */
.case-studies {
  padding: var(--section-padding) 0;
  background: var(--color-bg-secondary);
}

.case-studies-header {
  text-align: center;
  margin-bottom: 72px;
}

.case-studies-header .section-subtitle {
  margin: 0 auto;
}

.case-study-featured {
  background: linear-gradient(135deg, var(--color-surface), var(--color-card-bg));
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.case-study-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-gold-deep), var(--color-accent-gold), var(--color-accent-gold-deep));
}

.case-study-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 4px;
  margin-bottom: 20px;
}

.case-study-featured h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
  color: var(--color-text-primary);
}

.case-study-featured > div > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.case-study-metric {
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
}

.case-study-metric-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent-gold);
  margin-bottom: 4px;
}

.case-study-metric-label {
  font-size: 12px;
  color: var(--color-text-secondary);
  letter-spacing: 0.5px;
}

.case-study-visual {
  background: linear-gradient(165deg, #0F1A30, var(--color-surface), #2A3D66);
  border-radius: var(--border-radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.case-study-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 60px,
    rgba(184, 134, 11, 0.03) 60px,
    rgba(184, 134, 11, 0.03) 120px
  );
}

.case-study-visual-logo {
  width: 72px;
  height: 72px;
  border: 2px solid var(--color-accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent-gold);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.case-study-visual-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: #FFFFFF;
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
}

.case-study-visual-sub {
  font-size: 13px;
  color: var(--color-accent-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

.case-study-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 36px 28px;
  transition: all var(--transition-base);
  position: relative;
}

.case-study-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.case-study-card .case-study-badge {
  margin-bottom: 16px;
}

.case-study-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.case-study-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.case-study-result {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-success);
}

.case-study-result::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
  padding: var(--section-padding) 0;
  background: var(--color-bg-primary);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-header .section-subtitle {
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

.testimonial-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 40px 32px;
  position: relative;
}

.testimonial-quote {
  font-size: 48px;
  font-family: var(--font-display);
  color: var(--color-accent-gold);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.5;
}

.testimonial-card blockquote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  border: 2px solid var(--color-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent-gold);
}

.testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.testimonial-role {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.testimonials-note {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* ========================================
   About / Team
   ======================================== */
.about {
  padding: var(--section-padding) 0;
  background: var(--color-bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-content .section-subtitle {
  margin-bottom: 24px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.about-values {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.about-value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-value-marker {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--color-accent-gold);
  border-radius: 2px;
  margin-top: 8px;
}

.about-value h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-text-primary);
}

.about-value p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

.about-team-card {
  background: linear-gradient(135deg, var(--color-card-bg), var(--color-surface));
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
}

.about-team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent-gold), transparent);
}

.about-team-card-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.about-team-card-header .about-team-name {
  flex: 1;
}

.about-team-avatar {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 3px solid var(--color-accent-gold);
  overflow: hidden;
  flex-shrink: 0;
  margin-left: 32px;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.15);
}

.about-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.about-team-card h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-text-primary);
}

.about-team-card .role {
  font-size: 14px;
  color: var(--color-accent-gold);
  font-weight: 500;
  margin-bottom: 0;
}

.about-team-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.about-team-card p + p {
  margin-top: 16px;
}

.about-credentials {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-credentials li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.about-credentials li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(165deg, #0F1A30 0%, var(--color-surface) 50%, #2A3D66 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 100px,
      rgba(184, 134, 11, 0.02) 100px,
      rgba(184, 134, 11, 0.02) 200px
    ),
    radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-section .section-title {
  margin-bottom: 20px;
}

.cta-section .section-subtitle {
  margin: 0 auto 40px;
  text-align: center;
}

.cta-contact-info {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-contact-item {
  font-size: 15px;
  color: var(--color-text-secondary);
}

.cta-contact-item a {
  color: var(--color-accent-gold);
  font-weight: 500;
}

.cta-meta {
  margin-top: 20px;
  font-size: 13px;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 64px 0 32px;
  background: var(--color-bg-primary);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand-mark {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--color-accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent-gold);
}

.footer-brand-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.footer-brand-name span {
  color: var(--color-accent-gold);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 320px;
}

.footer h5 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.footer-links a:hover {
  color: var(--color-text-primary);
}

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

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 500;
}

/* ========================================
   AI Systems Showcase
   ======================================== */
.showcase {
  padding: var(--section-padding) 0;
  background: var(--color-bg-secondary);
}

.showcase-header {
  text-align: center;
  margin-bottom: 72px;
}

.showcase-header .section-subtitle {
  margin: 0 auto;
}

.showcase-hero-stat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}

.showcase-stat-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 28px 20px;
  text-align: center;
}

.showcase-stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-accent-gold);
  line-height: 1.2;
  margin-bottom: 6px;
}

.showcase-stat-label {
  font-size: 13px;
  color: var(--color-text-secondary);
  letter-spacing: 0.5px;
}

.showcase-system {
  background: linear-gradient(135deg, var(--color-surface), var(--color-card-bg));
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 48px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.showcase-system::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent-gold), transparent);
}

.showcase-system-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.showcase-system.reversed .showcase-system-split {
  direction: rtl;
}

.showcase-system.reversed .showcase-system-split > * {
  direction: ltr;
}

.showcase-system-badge {
  display: inline-block;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 4px;
  margin-bottom: 16px;
}

.showcase-system h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.3;
  color: var(--color-text-primary);
}

.showcase-system-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.showcase-capabilities {
  list-style: none;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.showcase-capabilities li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.showcase-capabilities li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--color-accent-gold);
  border-radius: 50%;
  margin-top: 7px;
}

.showcase-roi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 16px;
  background: rgba(45, 212, 168, 0.06);
  border: 1px solid rgba(45, 212, 168, 0.15);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-success);
}

.showcase-roi::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  flex-shrink: 0;
}

a.showcase-roi {
  text-decoration: none;
  transition: all var(--transition-base);
}

a.showcase-roi:hover {
  background: rgba(45, 212, 168, 0.12);
  color: var(--color-success);
}

.showcase-visual {
  background: linear-gradient(165deg, #0F1A30, var(--color-surface), #2A3D66);
  border-radius: var(--border-radius);
  padding: 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.showcase-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(184, 134, 11, 0.02) 40px,
    rgba(184, 134, 11, 0.02) 80px
  );
}

.showcase-pipeline-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
  width: 100%;
}

.pipeline-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.pipeline-connector {
  color: var(--color-accent-gold);
  font-size: 20px;
  line-height: 1;
  padding: 6px 0;
  text-align: right;
  width: 100%;
  padding-right: 38px;
  opacity: 0.7;
}

.showcase-pipeline {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}

.showcase-pipeline-step {
  background: var(--color-bg-primary);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 6px;
  padding: 14px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.4;
  min-width: 100px;
}

.showcase-pipeline-step strong {
  display: block;
  color: var(--color-accent-gold);
  font-size: 13px;
  margin-bottom: 3px;
  letter-spacing: 0.3px;
}

.showcase-pipeline-arrow {
  color: var(--color-accent-gold);
  font-size: 18px;
  flex-shrink: 0;
  opacity: 0.7;
}

.platform-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
}

.platform-logo {
  width: 16px;
  height: 16px;
  fill: var(--color-accent-gold);
  opacity: 0.85;
}

/* Mobile pipeline (hidden by default, shown at 768px) */
.pipeline-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 24px 16px;
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 12px;
}

.pipeline-mobile-step {
  background: var(--color-bg-primary);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 6px;
  padding: 14px 20px;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.4;
  min-width: 160px;
}

.pipeline-mobile-step strong {
  display: block;
  color: var(--color-accent-gold);
  font-size: 13px;
  margin-bottom: 3px;
  letter-spacing: 0.3px;
}

.pipeline-mobile-arrow {
  color: var(--color-accent-gold);
  font-size: 18px;
  opacity: 0.7;
  padding: 4px 0;
}

/* Video Carousel */
.carousel-section {
  margin-top: 48px;
}

.carousel-section h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  text-align: center;
}

.carousel-section > p {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 20px;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  padding: 4px 0;
}

.carousel-track {
  display: flex;
  gap: 14px;
  animation: carouselScroll 60s linear infinite;
  width: max-content;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes carouselScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.carousel-card {
  flex-shrink: 0;
  width: 220px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  background: var(--color-bg-primary);
}

.carousel-card:hover {
  border-color: var(--color-accent-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.carousel-card img {
  width: 100%;
  height: 124px;
  object-fit: cover;
  display: block;
}

.carousel-card-title {
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.carousel-channels {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-secondary);
}

.carousel-channels a {
  padding: 4px 10px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* Bottom systems row */
.showcase-compact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--card-gap);
  margin-top: 28px;
}

.showcase-compact-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 36px 28px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.showcase-compact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.showcase-compact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.showcase-compact-card:hover::before {
  opacity: 1;
}

.showcase-compact-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text-primary);
}

.showcase-compact-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

/* ========================================
   Responsive — Tablet
   ======================================== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 100px;
  }

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

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }

  .process-steps::before {
    display: none;
  }

  .deep-dive-item {
    gap: 48px;
  }

  .case-study-featured {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .showcase-system-split {
    grid-template-columns: 1fr;
  }

  .showcase-system {
    padding: 36px;
  }

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

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

  .carousel-card {
    width: 180px;
  }

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

/* ========================================
   Responsive — Mobile
   ======================================== */
@media (max-width: 768px) {
  :root {
    --section-padding: var(--section-padding-mobile);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    flex-direction: column;
    background: var(--color-bg-secondary);
    padding: 80px 32px 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    border-left: 1px solid var(--color-border);
  }

  #nav-checkbox:checked ~ .nav-inner .nav-links {
    transform: translateX(0);
  }

  #nav-checkbox:checked ~ .nav-inner .nav-toggle .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #nav-checkbox:checked ~ .nav-inner .nav-toggle .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  #nav-checkbox:checked ~ .nav-inner .nav-toggle .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-toggle {
    display: flex;
  }

  #nav-checkbox:checked ~ .nav-overlay {
    display: block;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .nav-links {
    z-index: 1000;
  }

  .hero-logo {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }

  .proof-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .deep-dive-item,
  .deep-dive-item.reversed {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .deep-dive-visual {
    min-height: 200px;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .case-study-featured {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 32px;
  }

  .case-study-metrics {
    grid-template-columns: 1fr;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .showcase-system {
    padding: 28px;
  }

  .showcase-system-split,
  .showcase-system.reversed .showcase-system-split {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 28px;
  }

  /* === Mobile pipeline: hide desktop, show vertical === */
  .pipeline-desktop {
    display: none !important;
  }

  .pipeline-mobile {
    display: flex !important;
  }

  .showcase-hero-stat {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-compact-grid {
    grid-template-columns: 1fr;
  }

  .carousel-card {
    width: 160px;
  }

  .carousel-card img {
    height: 90px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .cta-contact-info {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .proof-bar-inner {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .deep-dive-item {
    margin-bottom: 64px;
  }
}
