/* ===== AGENTIC LAW — PREMIUM STYLES ===== */

/* ---- CSS CUSTOM PROPERTIES (refined, cohesive palette) ---- */
:root {
  /* Deep navy scale — replaces harsh pure black with richer blues */
  --navy-950: #060a12;
  --navy-dark: #0a1628;
  --navy-mid: #0f1d36;
  --navy-light: #16284a;

  /* Brand accent — warmer, more saturated orange */
  --orange: #ff7a30;
  --orange-deep: #f26a1d;
  --orange-light: rgba(255, 122, 48, 0.14);
  --orange-glow: rgba(255, 122, 48, 0.35);

  /* Secondary accent — calm cyan for tech/trust balance */
  --cyan: #38bdf8;
  --cyan-soft: rgba(56, 189, 248, 0.12);

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f6f8fb;
  --light-grey: #e6eaf1;
  --text-grey: #5b6577;
  --text-dark: #131a2b;

  /* Typography */
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(8, 16, 32, 0.06);
  --shadow-md: 0 10px 30px rgba(8, 16, 32, 0.12);
  --shadow-lg: 0 24px 64px rgba(8, 16, 32, 0.20);
  --shadow-orange: 0 14px 40px rgba(255, 122, 48, 0.28);

  /* Motion */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  overflow-x: hidden;
}

img { max-width: 100%; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- SECTION BASES ---- */
.section {
  padding: 100px 0;
}

.section-light {
  background: var(--off-white);
  color: var(--text-dark);
}

.section-dark {
  background: linear-gradient(180deg, var(--navy-dark), var(--navy-mid));
  color: var(--white);
}

.section-hero-gradient {
  background: linear-gradient(180deg, var(--navy-mid), var(--navy-dark));
  color: var(--white);
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.section-dark .section-title,
.section-hero-gradient .section-title {
  color: var(--white);
}

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

.section-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  opacity: 0.85;
}

.subsection-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 60px 0 20px;
  text-align: center;
}

.subsection-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  opacity: 0.85;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-deep);
  border-color: var(--orange-deep);
  box-shadow: 0 8px 24px var(--orange-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 48px;
  font-size: 1.1rem;
  width: 100%;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

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

.nav-logo img {
  height: 36px;
  transition: var(--transition);
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link.active {
  color: var(--orange);
}

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 500;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--orange-deep);
  box-shadow: 0 4px 16px var(--orange-glow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy-dark);
  overflow: hidden;
}

/* Full-bleed background video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark gradient overlay so text is readable over any video */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(6, 10, 18, 0.85) 0%,
      rgba(10, 22, 40, 0.70) 30%,
      rgba(10, 22, 40, 0.65) 60%,
      rgba(6, 10, 18, 0.90) 100%
    );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 160px 24px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
  padding: 8px 18px;
  border: 1px solid var(--orange-glow);
  border-radius: 50px;
  background: var(--orange-light);
  backdrop-filter: blur(8px);
}

.hero-content {
  position: relative;
  max-width: 860px;
  text-align: center;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-headline .accent {
  color: var(--orange);
  text-shadow: 0 0 40px var(--orange-glow);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.trust-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--navy-dark);
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ---- CLOUD BENEFITS ---- */
.cloud-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}

.benefit-item {
  text-align: center;
  padding: 24px;
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.benefit-item h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-item p {
  font-size: 0.9rem;
  color: var(--text-grey);
}

/* ---- CAPABILITY CARDS ---- */
.capability-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.capability-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

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

.cap-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--orange);
  opacity: 0.5;
  margin-bottom: 12px;
}

.capability-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.capability-card p {
  font-size: 0.85rem;
  color: var(--text-grey);
}

/* ---- QUOTES ---- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.premium-quote {
  border-left: 4px solid var(--orange);
  padding: 24px 28px;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}

.premium-quote p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.premium-quote cite {
  font-size: 0.9rem;
  color: var(--text-grey);
  font-style: normal;
}

.partners-strip {
  text-align: center;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.partners-text {
  font-size: 0.95rem;
  color: var(--text-grey);
}

.partners-text strong {
  color: var(--text-dark);
}

/* ---- NUMBERS SECTION ---- */
.numbers-section {
  margin-top: 60px;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.number-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.number-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 8px;
}

.number-desc {
  font-size: 0.85rem;
  color: var(--text-grey);
  line-height: 1.5;
}

/* ---- COMPARISON TABLE ---- */
.comparison-section {
  margin-top: 60px;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.comparison-table,
.integration-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.comparison-table th,
.comparison-table td,
.integration-table th,
.integration-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--light-grey);
}

.comparison-table th,
.integration-table th {
  background: var(--navy-dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.comparison-table .col-highlight {
  background: var(--orange-light);
  position: relative;
}

.comparison-table .col-highlight:first-letter {
  /* placeholder */
}

.comparison-table th.col-highlight {
  background: var(--orange);
  color: var(--white);
}

.comparison-table tbody tr:nth-child(even),
.integration-table tbody tr:nth-child(even) {
  background: var(--off-white);
}

.comparison-table tbody tr:hover {
  background: rgba(253, 112, 20, 0.05);
}

.comparison-table td.col-highlight {
  font-weight: 500;
  color: var(--text-dark);
}

.integration-table td {
  font-size: 0.9rem;
}

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  cursor: pointer;
}

.service-card:hover {
  background: rgba(253, 112, 20, 0.08);
  border-color: var(--orange);
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(253, 112, 20, 0.15);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.service-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---- SERVICE DETAILS ACCORDION ---- */
.service-details {
  max-width: 900px;
  margin: 0 auto;
}

.service-detail-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.service-detail-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  transition: var(--transition);
}

.service-detail-toggle:hover {
  background: rgba(253, 112, 20, 0.08);
}

.service-detail-toggle[aria-expanded="true"] {
  background: rgba(253, 112, 20, 0.08);
  border-bottom: 1px solid rgba(253, 112, 20, 0.2);
}

.detail-icon {
  font-size: 1.3rem;
  margin-right: 16px;
}

.detail-title {
  flex: 1;
}

.detail-chevron {
  font-size: 1.5rem;
  color: var(--orange);
  transition: transform 0.3s ease;
}

.service-detail-toggle[aria-expanded="true"] .detail-chevron {
  transform: rotate(45deg);
}

.service-detail-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.service-detail-item.open .service-detail-content {
  max-height: 4000px;
}

.service-detail-content > * {
  padding: 0 24px;
}

.service-detail-content h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--orange);
}

.service-detail-content > p {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.service-detail-content h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--white);
}

.service-detail-content ul,
.service-detail-content ol {
  margin-bottom: 16px;
  padding-left: 0;
}

.service-detail-content ul li,
.service-detail-content ol li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.service-detail-content ul li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.8rem;
}

.service-detail-content ol.checkpoint-list {
  counter-reset: checkpoint;
}

.service-detail-content ol.checkpoint-list li {
  counter-increment: checkpoint;
  padding-left: 40px;
}

.service-detail-content ol.checkpoint-list li::before {
  content: counter(checkpoint);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-body);
}

/* ---- MIGRATION PHASES ---- */
.migration-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.migration-phase {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.phase-num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 10px;
  font-size: 0.85rem;
}

/* ---- AI SUITE ---- */
.ai-suite {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.ai-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.ai-item h6 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--orange);
}

.ai-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}

.ai-stat {
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  border-left: 3px solid var(--orange);
  padding-left: 12px;
  margin-top: 8px;
}

.ai-adoption-note {
  background: var(--orange-light);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 24px;
}

/* ---- SECURITY CONFIG GRID (IN SERVICES) ---- */
.security-config-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.sec-config-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.sec-config-item h6 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--orange);
}

.sec-config-item ul li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  padding-left: 20px;
  margin-bottom: 8px;
  position: relative;
}

.sec-config-item ul li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.7rem;
}

.inline-quote {
  margin-top: 20px;
  padding: 16px 24px;
  border-left: 4px solid var(--orange);
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
}

/* ---- TIMELINE ---- */
.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--orange), rgba(253, 112, 20, 0.1));
}

.timeline-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-marker {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  z-index: 2;
  box-shadow: 0 4px 16px var(--orange-glow);
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  flex: 1;
}

.timeline-phase {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  margin-bottom: 4px;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-weeks {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.timeline-body h6 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-grey);
  margin-top: 16px;
  margin-bottom: 8px;
}

.timeline-body ul li {
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text-dark);
  position: relative;
}

.timeline-body ul li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.7rem;
}

/* ---- SECURITY GRID ---- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.security-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}

.security-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(253, 112, 20, 0.1);
}

.sec-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.security-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.security-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.security-card ul li,
.cert-list li {
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.security-card ul li::before,
.cert-list li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.7rem;
}

/* ---- PERSONA GRID ---- */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.persona-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.persona-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.persona-icon {
  font-size: 2rem;
}

.persona-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.persona-body {
  padding: 24px 28px;
}

.persona-care {
  font-size: 0.9rem;
  color: var(--text-grey);
  margin-bottom: 16px;
}

.persona-how-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 8px;
}

.persona-body ul li {
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--text-dark);
  position: relative;
}

.persona-body ul li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.7rem;
}

.persona-note {
  margin-top: 16px;
  padding: 16px;
  background: var(--orange-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-dark);
}

/* ---- FAQ ---- */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 40px;
}

.faq-category-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(253, 112, 20, 0.2);
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(253, 112, 20, 0.06);
}

.faq-question[aria-expanded="true"] {
  background: rgba(253, 112, 20, 0.08);
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--orange);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

/* ---- ABOUT ---- */
.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--text-dark);
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 24px 0 12px;
}

.about-certs {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.about-certs h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cert-badge-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cert-badge-list li {
  padding: 12px 16px;
  background: var(--orange-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  border-left: 3px solid var(--orange);
}

/* ---- CONTACT ---- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 36px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
}

.form-group select option {
  background: var(--navy-dark);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
}

.form-success {
  margin-top: 20px;
  padding: 16px 24px;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: var(--radius-sm);
}

.form-success p {
  color: #2ecc71;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-info-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.contact-info-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info-item ul li {
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.contact-info-item ul li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.7rem;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 24px;
}

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

.footer-brand img {
  margin-bottom: 16px;
  height: 40px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 400px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: var(--orange);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 980px) {
  .stats-grid,
  .cloud-benefits,
  .numbers-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .capability-cards,
  .ai-suite,
  .security-config-grid,
  .security-grid,
  .persona-grid,
  .services-grid,
  .migration-phases {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-headline {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-wrapper,
  .about-content,
  .quotes-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    gap: 8px;
    transition: right 0.4s ease;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-cta {
    margin-top: 16px;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 300px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

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

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-inner {
    padding: 100px 20px 60px;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .subsection-title {
    font-size: 1.3rem;
  }

  .stats-grid,
  .cloud-benefits,
  .numbers-grid,
  .capability-cards,
  .ai-suite,
  .security-config-grid,
  .security-grid,
  .persona-grid,
  .services-grid,
  .migration-phases,
  .quotes-grid {
    grid-template-columns: 1fr;
  }

  .stat-number,
  .number-value {
    font-size: 2rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    gap: 16px;
  }

  .timeline-marker {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .timeline-content {
    padding: 20px;
  }

  .contact-form {
    padding: 24px 20px;
  }

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

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

/* ============================================================
   UPGRADES — hero split, cert strip, figures, reveal, a11y
   ============================================================ */

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 2000;
  background: var(--orange);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* ---- FOCUS VISIBILITY (a11y) ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- VIDEO HERO (video + overlay styles are in the main hero block above) ---- */

/* ---- CERTIFIED MIGRATION STRIP ---- */
.cert-strip {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-dark));
  padding: 48px 0;
  border-top: 1px solid var(--orange-glow);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cert-strip-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cert-badge-img {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), var(--shadow-md);
}
.cert-strip-text {
  flex: 1;
  min-width: 280px;
}
.cert-strip-text h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.cert-strip-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}
.cert-strip-cta {
  flex-shrink: 0;
}

/* ---- SECTION FIGURES (illustrations) ---- */
.section-figure {
  margin: 36px auto 48px;
  max-width: 820px;
  text-align: center;
}
.section-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  margin: 0 auto;
}
.section-figure figcaption {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-grey);
  font-style: italic;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-figure--dark figcaption {
  color: rgba(255, 255, 255, 0.6);
}
.section-figure--center {
  margin-left: auto;
  margin-right: auto;
}

/* ---- CERT CALLOUT (in migration accordion) ---- */
.cert-callout {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(255, 122, 48, 0.12), rgba(56, 189, 248, 0.08));
  border: 1px solid var(--orange-glow);
  border-radius: var(--radius);
  margin-left: 24px;
  margin-right: 24px;
}
.cert-badge-inline {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
}
.cert-callout strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 4px;
}
.cert-callout p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

/* ---- CERT FEATURE (About) ---- */
.cert-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin-bottom: 20px;
  background: var(--orange-light);
  border-radius: var(--radius);
  border: 1px solid var(--orange-glow);
}
.cert-feature img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cert-feature strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-dark);
}
.cert-feature span {
  font-size: 0.85rem;
  color: var(--text-grey);
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* ---- ACCORDION: raise caps so long migration/AI content isn't clipped ---- */
.service-detail-item.open .service-detail-content {
  max-height: 9000px;
}
.faq-item.open .faq-answer {
  max-height: 1500px;
}
.cert-callout {
  overflow: hidden;
}

/* ---- MOBILE MENU OVERLAY + CLOSE-ON-OUTSIDE ---- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 18, 0.6);
  backdrop-filter: blur(2px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.active {
  display: block;
  opacity: 1;
}

@media (max-width: 768px) {
  .cert-strip-inner {
    flex-direction: column;
    text-align: center;
  }
  .cert-strip-cta {
    width: 100%;
    max-width: 320px;
  }
  .cert-callout {
    flex-direction: column;
    text-align: center;
    margin-left: 16px;
    margin-right: 16px;
  }
}
