*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-navy-deep: #060d1a;
  --color-navy: #0b1d3a;
  --color-navy-mid: #122d52;
  --color-navy-light: #1a3d6e;
  --color-gold: #d4a843;
  --color-gold-light: #e8c671;
  --color-gold-dark: #b8922e;
  --color-teal: #2a9d8f;
  --color-teal-light: #3db8aa;
  --color-teal-dark: #1f7a6f;
  --color-slate: #64748b;
  --color-slate-light: #94a3b8;
  --color-white: #ffffff;
  --color-off-white: #f1f5f9;
  --color-light-bg: #f8fafc;
  --color-border: #e2e8f0;
  --color-text-primary: #1e293b;
  --color-text-secondary: #475569;
  --color-text-light: #f1f5f9;
  --color-error: #dc2626;
  --color-success: #16a34a;
  --gradient-hero: linear-gradient(135deg, #060d1a 0%, #0b1d3a 40%, #122d52 70%, #1a3d6e 100%);
  --gradient-accent: linear-gradient(135deg, #d4a843 0%, #e8c671 50%, #c99a2e 100%);
  --gradient-teal: linear-gradient(135deg, #1f7a6f 0%, #2a9d8f 50%, #3db8aa 100%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-primary);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-navy-deep);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

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

a:hover {
  color: var(--color-teal-dark);
}

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

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--color-text-secondary);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-navy-deep);
  border-bottom: 1px solid var(--color-navy-mid);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--color-navy-deep);
  box-shadow: var(--shadow-lg);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-logo-mark {
  width: 42px;
  height: 42px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy-deep);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.navbar-brand-text {
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.25px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar-links a {
  color: var(--color-slate-light);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
  position: relative;
}

.navbar-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.25s ease;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--color-white);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-cta {
  background: var(--gradient-accent);
  color: var(--color-navy-deep);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.navbar-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 168, 67, 0.3);
  color: var(--color-navy-deep);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-white);
  font-size: 1.5rem;
}

/* ============================================
   HERO SECTION (Homepage)
   ============================================ */
.hero {
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 157, 143, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background-color: rgba(42, 157, 143, 0.15);
  color: var(--color-teal-light);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero-title-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-slate-light);
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-navy-deep);
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(212, 168, 67, 0.35);
  color: var(--color-navy-deep);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-navy-light);
}

.btn-secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}

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

.hero-hex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 340px;
}

.hero-hex {
  width: 100px;
  height: 115px;
  background-color: var(--color-navy-light);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.75rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-hex:hover {
  transform: scale(1.08);
  background-color: var(--color-teal);
  color: var(--color-white);
}

.hero-hex:nth-child(1) { animation: hexFloat 4s ease-in-out infinite; }
.hero-hex:nth-child(2) { animation: hexFloat 4s ease-in-out 0.3s infinite; }
.hero-hex:nth-child(3) { animation: hexFloat 4s ease-in-out 0.6s infinite; }
.hero-hex:nth-child(4) { animation: hexFloat 4s ease-in-out 0.9s infinite; }
.hero-hex:nth-child(5) { animation: hexFloat 4s ease-in-out 1.2s infinite; }
.hero-hex:nth-child(6) { animation: hexFloat 4s ease-in-out 1.5s infinite; }
.hero-hex:nth-child(7) { animation: hexFloat 4s ease-in-out 1.8s infinite; }
.hero-hex:nth-child(8) { animation: hexFloat 4s ease-in-out 2.1s infinite; }
.hero-hex:nth-child(9) { animation: hexFloat 4s ease-in-out 2.4s infinite; }

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

/* ============================================
   SECTION GENERICS
   ============================================ */
.section {
  padding: 100px 0;
}

.section-dark {
  background-color: var(--color-navy-deep);
  color: var(--color-text-light);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

.section-dark p,
.section-dark li {
  color: var(--color-slate-light);
}

.section-light {
  background-color: var(--color-light-bg);
}

.section-label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-slate);
  max-width: 600px;
  margin-bottom: 3rem;
}

.section-header-center {
  text-align: center;
}

.section-header-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   SERVICES GRID (Homepage)
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
}

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

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card-icon.blue {
  background-color: #e0f2fe;
  color: #0284c7;
}

.service-card-icon.teal {
  background-color: #ccfbf1;
  color: #0f766e;
}

.service-card-icon.gold {
  background-color: #fef3c7;
  color: #b45309;
}

.service-card-icon.purple {
  background-color: #f3e8ff;
  color: #7c3aed;
}

.service-card-icon.rose {
  background-color: #ffe4e6;
  color: #e11d48;
}

.service-card-icon.indigo {
  background-color: #e0e7ff;
  color: #4338ca;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================
   STATS BAR (Homepage)
   ============================================ */
.stats-bar {
  background: var(--gradient-hero);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--color-slate-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   PROCESS STEPS (Homepage)
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 60px;
  right: 60px;
  height: 2px;
  background-color: var(--color-border);
  z-index: 0;
}

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

.process-step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-navy);
  color: var(--color-gold);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--color-navy-light);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.process-step:hover .process-step-number {
  background-color: var(--color-gold);
  color: var(--color-navy-deep);
  border-color: var(--color-gold);
}

.process-step h4 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* ============================================
   TECH STACK (Homepage)
   ============================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.tech-item {
  background-color: var(--color-navy-mid);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid transparent;
}

.tech-item:hover {
  transform: translateY(-4px);
  background-color: var(--color-navy-light);
  border-color: var(--color-gold);
}

.tech-item-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.tech-item span {
  display: block;
  color: var(--color-slate-light);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ============================================
   FEATURE SPLIT (Homepage)
   ============================================ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-split.reverse {
  direction: rtl;
}

.feature-split.reverse > * {
  direction: ltr;
}

.feature-visual {
  background-color: var(--color-navy-mid);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.feature-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.feature-visual-cell {
  background-color: var(--color-navy-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  color: var(--color-gold);
  font-size: 2rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--color-text-secondary);
  font-size: 1rem;
  margin-bottom: 0;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-teal);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--gradient-teal);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #f0f2f5;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-teal-dark);
  font-weight: 700;
}

.btn-white:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  color: var(--color-teal-dark);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--color-navy-deep);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--color-navy-mid);
}

.footer-brand p {
  color: var(--color-slate-light);
  font-size: 0.9375rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: var(--color-slate-light);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-gold-light);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--color-slate);
  font-size: 0.8125rem;
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom-links a {
  color: var(--color-slate);
  font-size: 0.8125rem;
}

/* ============================================
   PAGE HEADER (Privacy / Terms)
   ============================================ */
.page-header {
  padding: 140px 0 60px;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 157, 143, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-title {
  color: var(--color-white);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.page-header-subtitle {
  color: var(--color-slate-light);
  font-size: 1.0625rem;
}

/* ============================================
   LEGAL CONTENT LAYOUT (Privacy / Terms)
   ============================================ */
.legal-content {
  padding: 80px 0;
  background-color: var(--color-white);
}

.legal-content .container {
  max-width: 840px;
}

.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 1.625rem;
  color: var(--color-navy-deep);
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 4px solid var(--color-gold);
}

.legal-section h3 {
  font-size: 1.25rem;
  color: var(--color-navy-mid);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.legal-section p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
}

.legal-section ul,
.legal-section ol {
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.legal-section li {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
}

.legal-section strong {
  color: var(--color-navy-deep);
}

.legal-toc {
  background-color: var(--color-light-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3rem;
}

.legal-toc h3 {
  font-size: 1.125rem;
  color: var(--color-navy-deep);
  margin-bottom: 1rem;
}

.legal-toc ol {
  columns: 2;
  column-gap: 2rem;
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.legal-toc li {
  margin-bottom: 0.5rem;
  break-inside: avoid;
}

.legal-toc a {
  font-size: 0.9375rem;
  color: var(--color-teal);
}

.legal-toc a:hover {
  color: var(--color-teal-dark);
  text-decoration: underline;
}

.legal-effective {
  display: inline-block;
  background-color: var(--color-light-bg);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--color-slate);
  margin-top: 1rem;
}

/* ============================================
   CONTACT SECTION (Homepage)
   ============================================ */
.contact-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-teal);
}

.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-text p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

.contact-form {
  background-color: var(--color-light-bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-navy-deep);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-text-primary);
  background-color: var(--color-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.15);
}

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

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-navy);
  color: var(--color-gold);
  border: 2px solid var(--color-navy-light);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-gold);
  color: var(--color-navy-deep);
  border-color: var(--color-gold);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-navy-deep);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu-overlay.active {
  display: flex;
}

.mobile-menu-overlay a {
  color: var(--color-slate-light);
  font-size: 1.25rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-navy-mid);
  transition: color 0.2s ease;
}

.mobile-menu-overlay a:hover,
.mobile-menu-overlay a.active {
  color: var(--color-gold);
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-visual {
    display: none;
  }

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

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

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

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

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-split.reverse {
    direction: ltr;
  }

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

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .navbar-cta {
    display: none;
  }

  .navbar-toggle {
    display: block;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .section {
    padding: 60px 0;
  }

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

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

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

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

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

  .contact-panels {
    grid-template-columns: 1fr;
  }

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

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

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

  .legal-toc ol {
    columns: 1;
  }

  .page-header-title {
    font-size: 2rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
  }

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

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

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}
