/* ===== CSS VARIABLES & TOKENS ===== */
:root {
  --brand-500: #1c63b8;
  --brand-600: #17549b;
  --brand-700: #113b6f;
  --ink-900: #0f172a;
  --ink-800: #1f2937;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-400: #94a3b8;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50: #f8fafc;
  --ink-0: #ffffff;
  --success-500: #22c55e;
  --warning-500: #f59e0b;
  --danger-500: #ef4444;
  --info-500: #0ea5e9;
  --ring: rgba(28, 99, 184, 0.25);
  --container: 1120px;
  --space: 8px;
  --radius: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 30px rgba(2, 6, 23, 0.06);
}

/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--ink-800);
  background-color: var(--ink-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-900);
  margin-bottom: calc(var(--space) * 2);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--brand-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

p {
  margin-bottom: calc(var(--space) * 2);
  color: var(--ink-700);
}

a {
  color: var(--brand-500);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-600);
}

/* ===== LAYOUT & CONTAINERS ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 calc(var(--space) * 2);
}

section {
  padding: calc(var(--space) * 8) 0;
}

/* ===== UTILITY CLASSES ===== */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--brand-500);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--space) * 1.5) calc(var(--space) * 3);
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  line-height: 1;
  min-height: 44px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn:focus {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--brand-500) 0%,
    var(--brand-600) 100%
  );
  color: var(--ink-0);
  border-color: var(--brand-500);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--brand-600) 0%,
    var(--brand-700) 100%
  );
  border-color: var(--brand-600);
  color: var(--ink-0);
}

.btn-ghost {
  background-color: transparent;
  color: var(--brand-500);
  border-color: var(--ink-200);
}

.btn-ghost:hover {
  background-color: var(--ink-50);
  border-color: var(--brand-500);
}

.btn-large {
  padding: calc(var(--space) * 2) calc(var(--space) * 4);
  font-size: 1.125rem;
  min-height: 52px;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ink-200);
  z-index: 100;
  height: 70px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: calc(var(--space) * 6);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: calc(var(--space) * 2);
  flex-shrink: 0;
}

.logo {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 4px rgba(28, 99, 184, 0.2));
}

.brand-text {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink-900);
  letter-spacing: -0.025em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: calc(var(--space) * 5);
  margin-left: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: calc(var(--space) * 4);
}

.nav-link {
  color: var(--ink-700);
  font-weight: 600;
  padding: calc(var(--space) * 1.5) calc(var(--space) * 2);
  position: relative;
  transition: all 0.3s ease;
  border-radius: var(--radius);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--brand-500);
  background-color: var(--ink-50);
  transform: translateY(-1px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-600));
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 80%;
}

.nav-cta {
  margin-left: calc(var(--space) * 3);
  position: relative;
  overflow: hidden;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: calc(var(--space) * 1);
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--ink-700);
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--ink-700);
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(
    135deg,
    var(--ink-50) 0%,
    var(--ink-100) 50%,
    var(--ink-50) 100%
  );
  padding: calc(var(--space) * 16) 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(28, 99, 184, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(34, 197, 94, 0.03) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--space) * 6);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--brand-500) 0%,
    var(--brand-600) 100%
  );
  color: white;
  padding: calc(var(--space) * 1) calc(var(--space) * 2);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: calc(var(--space) * 3);
  box-shadow: 0 4px 12px rgba(28, 99, 184, 0.3);
  transform: translateY(0);
  transition: all 0.3s ease;
}

.eyebrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 99, 184, 0.4);
}

.hero-subhead {
  font-size: 1.25rem;
  color: var(--ink-600);
  margin-bottom: calc(var(--space) * 4);
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: calc(var(--space) * 2);
  margin-bottom: calc(var(--space) * 4);
  flex-wrap: wrap;
}

.proof-snippets ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: calc(var(--space) * 1);
}

.proof-snippets li {
  color: var(--ink-600);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-text-bubble {
  position: absolute;
  bottom: 10%;
  right: 10%;
  background: linear-gradient(135deg, var(--success-500) 0%, #16a34a 100%);
  color: white;
  padding: calc(var(--space) * 2) calc(var(--space) * 3);
  border-radius: var(--radius-pill);
  border: 2px solid var(--success-500);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: 0.025em;
  z-index: 10;
  transform: translateY(0);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
  cursor: pointer;
  text-align: center;
  min-width: 200px;
}

.hero-text-bubble::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 20%;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--success-500);
}

.hero-text-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4), 0 4px 8px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #16a34a 0%, var(--success-500) 100%);
  color: white;
  border-color: #16a34a;
}

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

.hero-video {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  filter: brightness(1.05) contrast(1.1);
  object-fit: cover;
}

.hero-video:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1) contrast(1.15);
}

/* ===== METHOD CARDS SECTION ===== */
.ied-section {
  background: linear-gradient(180deg, var(--ink-0) 0%, var(--ink-50) 100%);
  padding: calc(var(--space) * 10) 0;
}

.ied-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: calc(var(--space) * 5);
  margin-top: calc(var(--space) * 8);
}

.ied-card {
  background: var(--ink-0);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: calc(var(--space) * 5);
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.ied-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-500), var(--success-500));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.ied-card:hover::before {
  transform: scaleX(1);
}

.ied-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(2, 6, 23, 0.15);
  border-color: var(--brand-200);
}

.card-icon {
  margin-bottom: calc(var(--space) * 3);
  display: flex;
  justify-content: center;
}

.card-icon svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 2px 8px rgba(28, 99, 184, 0.2));
  transition: all 0.3s ease;
}

.ied-card:hover .card-icon svg {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 16px rgba(28, 99, 184, 0.4));
}

.ied-card h3 {
  margin-bottom: calc(var(--space) * 2);
  color: var(--ink-900);
}

.ied-card p {
  color: var(--ink-600);
  line-height: 1.6;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background: linear-gradient(180deg, var(--ink-50) 0%, var(--ink-100) 100%);
  padding: calc(var(--space) * 10) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--space) * 5);
  margin-top: calc(var(--space) * 8);
}

.service-card {
  background: var(--ink-0);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: calc(var(--space) * 5);
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--info-500));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.12);
  border-color: var(--brand-200);
}

.service-card h3 {
  margin-bottom: calc(var(--space) * 2);
  color: var(--ink-900);
}

.service-card p {
  color: var(--ink-600);
  margin-bottom: calc(var(--space) * 3);
}

.learn-more {
  background: none;
  border: none;
  color: var(--brand-500);
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.learn-more:hover {
  color: var(--brand-600);
}

.service-details {
  margin-top: calc(var(--space) * 2);
  padding-top: calc(var(--space) * 2);
  border-top: 1px solid var(--ink-200);
}

.service-details p {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--ink-500);
}

/* ===== PROOF SECTION ===== */
.proof-section {
  background: linear-gradient(180deg, var(--ink-0) 0%, var(--ink-50) 100%);
  padding: calc(var(--space) * 10) 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: calc(var(--space) * 5);
  margin-top: calc(var(--space) * 8);
}

.proof-item {
  text-align: center;
  padding: calc(var(--space) * 4);
  background: var(--ink-0);
  border-radius: var(--radius);
  border: 1px solid var(--ink-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.proof-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--success-500));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.proof-item:hover::before {
  transform: scaleX(1);
}

.proof-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(2, 6, 23, 0.1);
  border-color: var(--brand-200);
}

.proof-icon {
  margin-bottom: calc(var(--space) * 2);
  display: flex;
  justify-content: center;
}

.proof-icon svg {
  width: 48px;
  height: 48px;
}

.proof-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-500);
  margin-bottom: calc(var(--space) * 1);
  line-height: 1;
}

.proof-item p {
  color: var(--ink-600);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* ===== PROCESS SECTION ===== */
.process-section {
  background: linear-gradient(180deg, var(--ink-50) 0%, var(--ink-100) 100%);
  padding: calc(var(--space) * 10) 0;
}

.process-stepper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: calc(var(--space) * 5);
  margin-top: calc(var(--space) * 8);
}

.step {
  text-align: center;
  position: relative;
  padding: calc(var(--space) * 3);
  background: var(--ink-0);
  border-radius: var(--radius);
  border: 1px solid var(--ink-200);
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(2, 6, 23, 0.1);
  border-color: var(--brand-200);
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(
    135deg,
    var(--brand-500) 0%,
    var(--brand-600) 100%
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0 auto calc(var(--space) * 3);
  box-shadow: 0 4px 12px rgba(28, 99, 184, 0.3);
  transition: all 0.3s ease;
}

.step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(28, 99, 184, 0.4);
}

.step h3 {
  margin-bottom: calc(var(--space) * 1);
  color: var(--ink-900);
}

.step p {
  color: var(--ink-600);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* ===== BOTGUI SECTION ===== */
.botgui-section {
  background-color: var(--ink-0);
}

.botgui-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--space) * 6);
  align-items: center;
}

.botgui-text h2 {
  margin-bottom: calc(var(--space) * 2);
}

.botgui-text p {
  margin-bottom: calc(var(--space) * 4);
  font-size: 1.125rem;
  color: var(--ink-600);
}

.botgui-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.botgui-illustration svg {
  max-width: 100%;
  height: auto;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background-color: var(--ink-50);
}

.faq-list {
  margin-top: calc(var(--space) * 6);
}

.faq-item {
  background: var(--ink-0);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  margin-bottom: calc(var(--space) * 2);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: calc(var(--space) * 3);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--ink-900);
  transition: all 0.3s ease;
  position: relative;
}

.faq-question::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-600));
  transition: width 0.3s ease;
}

.faq-question[aria-expanded="true"]::before {
  width: 4px;
}

.faq-question:hover {
  background-color: var(--ink-50);
}

.faq-question:focus {
  outline: 2px solid var(--ring);
  outline-offset: -2px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--ink-400);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--brand-500);
}

.faq-answer {
  padding: 0 calc(var(--space) * 3) calc(var(--space) * 3);
  color: var(--ink-600);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(-10px);
}

.faq-answer[data-expanded="true"] {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
  padding-top: calc(var(--space) * 2);
}

.faq-answer p {
  margin-bottom: 0;
  padding-top: calc(var(--space) * 2);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: linear-gradient(180deg, var(--ink-0) 0%, var(--ink-50) 100%);
  padding: calc(var(--space) * 10) 0;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--space) * 6);
  align-items: start;
}

.contact-text {
  text-align: left;
}

.contact-text p {
  font-size: 1.25rem;
  color: var(--ink-600);
  margin-bottom: 0;
}

.contact-form-container {
  background: var(--ink-0);
  border-radius: var(--radius);
  padding: calc(var(--space) * 5);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--ink-200);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: calc(var(--space) * 3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: calc(var(--space) * 1);
}

.form-group label {
  font-weight: 600;
  color: var(--ink-700);
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
  padding: calc(var(--space) * 2);
  border: 2px solid var(--ink-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: var(--ink-0);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--success-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

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

.form-submit {
  margin-top: calc(var(--space) * 2);
  background: linear-gradient(135deg, var(--success-500) 0%, #16a34a 100%);
  border-color: var(--success-500);
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: linear-gradient(135deg, #16a34a 0%, var(--success-500) 100%);
  border-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

/* ===== CTA BAND SECTION ===== */
.cta-band {
  background: linear-gradient(
    135deg,
    var(--brand-500) 0%,
    var(--brand-600) 50%,
    var(--brand-700) 100%
  );
  color: white;
  text-align: center;
  padding: calc(var(--space) * 12) 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 70%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.cta-band h3 {
  color: white;
  margin-bottom: calc(var(--space) * 2);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: calc(var(--space) * 4);
}

.cta-buttons {
  display: flex;
  gap: calc(var(--space) * 2);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band .btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-band .btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--ink-900);
  color: var(--ink-200);
  padding: calc(var(--space) * 6) 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: calc(var(--space) * 3);
  flex-wrap: wrap;
  gap: calc(var(--space) * 2);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: calc(var(--space) * 1.5);
  color: var(--ink-100);
}

.footer-brand .logo {
  width: 24px;
  height: 24px;
}

.footer-links {
  display: flex;
  gap: calc(var(--space) * 3);
}

.footer-links a {
  color: var(--ink-300);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--ink-100);
}

.footer-disclaimer {
  color: var(--ink-400);
  font-size: 0.875rem;
  margin-bottom: 0;
  text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: white;
    border-top: 1px solid var(--ink-200);
    padding: calc(var(--space) * 3);
    flex-direction: column;
    gap: calc(var(--space) * 3);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    gap: calc(var(--space) * 2);
    width: 100%;
  }

  .nav-link {
    padding: calc(var(--space) * 1.5);
    border-bottom: 1px solid var(--ink-100);
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: calc(var(--space) * 4);
    text-align: center;
  }

  .hero-text-bubble {
    bottom: 5%;
    right: 5%;
    padding: calc(var(--space) * 1.5) calc(var(--space) * 2);
    font-size: 0.75rem;
    min-width: 160px;
  }

  .hero-ctas {
    justify-content: center;
  }

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

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

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

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

  .botgui-content {
    grid-template-columns: 1fr;
    gap: calc(var(--space) * 4);
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: calc(var(--space) * 4);
    text-align: center;
  }

  .contact-text {
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: calc(var(--space) * 3);
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 calc(var(--space) * 1.5);
  }

  section {
    padding: calc(var(--space) * 6) 0;
  }

  .hero {
    padding: calc(var(--space) * 8) 0;
  }

  .btn-large {
    padding: calc(var(--space) * 1.5) calc(var(--space) * 3);
    font-size: 1rem;
  }
}

/* ===== ACCESSIBILITY & FOCUS ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .btn:hover,
  .ied-card:hover,
  .service-card:hover {
    transform: none;
  }
}

/* Focus styles for keyboard navigation */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
  padding: 80px 0;
  background-color: var(--ink-50);
}

.projects-section h2 {
  margin-bottom: 8px;
}

.projects-section p {
  color: var(--ink-600);
  margin-bottom: 32px;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.chip {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink-200);
  background-color: var(--ink-0);
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  border-color: var(--brand-500);
  color: var(--brand-600);
}

.chip[aria-pressed="true"] {
  background-color: var(--brand-500);
  color: var(--ink-0);
  border-color: var(--brand-500);
}

.search {
  position: relative;
  margin-bottom: 24px;
}

.search input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-200);
  background-color: var(--ink-0);
  color: var(--ink-800);
  font-size: 16px;
}

.search input:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--ring);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.project-card {
  background-color: var(--ink-0);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.1);
  border-color: var(--brand-500);
}

.project-card .meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0;
}

.tag {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background-color: var(--brand-500);
  color: var(--ink-0);
  font-weight: 500;
}

.tag.ai-tag {
  background-color: #ff6b35;
  color: white;
}

.ring {
  width: 48px;
  height: 48px;
}

.outcomes {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--ink-600);
  font-size: 14px;
}

.outcomes li {
  margin-bottom: 4px;
}

.thumb {
  margin: 16px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--ink-100);
  border: 1px solid var(--ink-200);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --ink-200: #000000;
    --ink-100: #000000;
    --ink-50: #ffffff;
  }
}
