/* ==========================================================================
   MRL Analytics — Premium Dark Theme
   Font: Inter (Google Fonts)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   1. CSS RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* ==========================================================================
   2. SELECTION STYLING
   ========================================================================== */

::selection {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

::-moz-selection {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   3. CONTAINER
   ========================================================================== */

.container {
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
  filter: blur(100px);
  animation: hero-orb 20s linear infinite;
  pointer-events: none;
}

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

.hero h1 {
  font-size: clamp(3rem, 8vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero h1 span {
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #999;
  font-weight: 500;
  margin-top: 24px;
}

.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator .dot {
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.6);
  animation: scroll-bounce 1.5s ease-in-out infinite;
}

/* ==========================================================================
   5. ABOUT SECTION
   ========================================================================== */

.about {
  padding-top: 96px;
  padding-bottom: 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(to bottom, #000 0%, rgba(24, 24, 27, 0.2) 50%, #000 100%);
}

.about-badge {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  padding: 8px 20px;
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #999;
  font-weight: 600;
  margin-bottom: 24px;
}

.about h2 {
  font-size: clamp(1.875rem, 4vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}

.about > .container > p {
  color: #999;
  font-size: 18px;
  max-width: 640px;
  margin-bottom: 48px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 300ms ease, background 300ms ease;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 300ms ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #999;
}

/* ==========================================================================
   6. RESEARCH TEAM SECTION
   ========================================================================== */

.research {
  padding-top: 128px;
  padding-bottom: 128px;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.research-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: rgba(39, 39, 42, 0.3);
  border-radius: 9999px;
  filter: blur(160px);
  pointer-events: none;
}

.research-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.research-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.research-text .badge {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  padding: 8px 20px;
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #999;
  font-weight: 600;
  align-self: flex-start;
}

.research-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.research-text p {
  font-size: 18px;
  color: #999;
  font-weight: 300;
  line-height: 1.7;
}

.research-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.method-card {
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.01);
  transition: background 300ms ease;
}

.method-card:hover {
  background: rgba(255, 255, 255, 0.03);
}

.method-card .method-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.method-card h4 {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}

.method-card p {
  font-size: 14px;
  color: #999;
  font-weight: 300;
  line-height: 1.7;
}

/* Industries */

.industries {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 48px;
  margin-top: 32px;
}

.industries h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 32px;
}

.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.industry-card {
  padding: 32px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  position: relative;
  transition: background 500ms ease, transform 500ms ease, border-color 500ms ease;
}

.industry-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
}

.industry-card .glow {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 192px;
  height: 192px;
  border-radius: 9999px;
  filter: blur(48px);
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: none;
}

.industry-card:hover .glow {
  opacity: 1;
}

.glow-emerald {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1), rgba(20, 184, 166, 0.1));
}

.glow-blue {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
}

.glow-purple {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
}

.glow-amber {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1), rgba(249, 115, 22, 0.1));
}

.industry-card.industry-emerald:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

.industry-card.industry-blue:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.industry-card.industry-purple:hover {
  border-color: rgba(168, 85, 247, 0.3);
}

.industry-card.industry-amber:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.industry-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.industry-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 500ms ease;
}

.industry-card:hover .industry-icon {
  transform: scale(1.1);
}

.industry-content h4 {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
}

.industry-content p {
  font-size: 14px;
  color: #999;
  font-weight: 300;
  line-height: 1.7;
  margin-top: 8px;
}

/* ==========================================================================
   7. SERVICES SECTION
   ========================================================================== */

.services {
  padding-top: 96px;
  padding-bottom: 96px;
  background: rgba(255, 255, 255, 0.02);
}

.services h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}

.services > .container > p {
  color: #999;
  max-width: 672px;
  font-size: 18px;
  margin-bottom: 48px;
}

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

.service-card {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 300ms ease, background 300ms ease, transform 300ms ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 500ms ease;
  pointer-events: none;
  border-radius: 24px;
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}

.service-card p {
  font-size: 17px;
  color: #999;
  line-height: 1.6;
  position: relative;
}

/* ==========================================================================
   8. COMPLIANCE SECTION
   ========================================================================== */

.compliance {
  padding-top: 128px;
  padding-bottom: 128px;
  background: #050505;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.compliance-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

.compliance-glow-blue {
  position: absolute;
  top: 25%;
  right: -25%;
  width: 800px;
  height: 800px;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 9999px;
  filter: blur(120px);
  pointer-events: none;
}

.compliance-glow-purple {
  position: absolute;
  bottom: 0;
  left: -25%;
  width: 600px;
  height: 600px;
  background: rgba(168, 85, 247, 0.05);
  border-radius: 9999px;
  filter: blur(120px);
  pointer-events: none;
}

.compliance-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.compliance-header h2 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.compliance-header h3 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 0%, #fff 60%, rgba(255, 255, 255, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 32px;
}

.compliance-header p {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: #999;
  font-weight: 300;
  line-height: 1.7;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

.compliance-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.compliance-features {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.compliance-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.compliance-feature h4 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 12px;
}

.compliance-feature p {
  font-size: 18px;
  color: #999;
  font-weight: 300;
  line-height: 1.7;
}

/* Chart Card */

.chart-card {
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.chart-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 40%, transparent 100%);
  pointer-events: none;
  border-radius: 40px;
}

.chart-badge {
  display: inline-flex;
  align-items: center;
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  position: relative;
}

.chart-card h5 {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  margin-top: 8px;
  position: relative;
}

.chart-card > p {
  font-size: 16px;
  color: #777;
  font-weight: 300;
  position: relative;
}

/* ── New chart layout ── */
.chart-area {
  margin-top: 48px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0;
  height: 240px;
  padding-bottom: 0;
  position: relative;
}

/* Each column: label-top, bar-track, label-bottom */
.chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  flex: 1;
  position: relative;
}

.chart-col-label-top {
  font-size: 28px;
  font-weight: 700;
  color: #d4d4d4;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease 1.6s, transform 0.5s ease 1.6s;
  height: 38px;
  display: flex;
  align-items: center;
}

.chart-col-label-top.chart-col-label-emerald {
  color: #34d399;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease 2.1s, transform 0.5s ease 2.1s;
}

.chart-area.is-visible .chart-col-label-top {
  opacity: 1;
  transform: translateY(0);
}

.chart-bar-track {
  width: 80px;
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end; /* bars grow from bottom */
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

.chart-bar {
  width: 100%;
  border-radius: 14px 14px 0 0;
  position: relative;
  overflow: hidden;
  transform-origin: bottom;
  transform: scaleY(0);
}

.chart-bar-before {
  height: 100%;        /* target = 100% of track */
  background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 100%);
  border: 1px solid #484848;
  border-bottom: none;
}

.chart-bar-after {
  height: 27%;         /* target = 27% of track height */
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.35) 0%, rgba(16, 185, 129, 0.15) 100%);
  border: 1px solid rgba(52, 211, 153, 0.5);
  border-bottom: none;
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.15);
}

/* Shine sweep on the emerald bar */
.chart-bar-after::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  transform: translateY(100%);
  animation: none;
}

/* Trigger animations when chart-area gets .is-visible */
.chart-area.is-visible .chart-bar-before {
  animation: bar-scale-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.chart-area.is-visible .chart-bar-after {
  animation: bar-scale-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

.chart-area.is-visible .chart-bar-after::after {
  animation: shine-slide 1.8s ease-in-out 2.8s forwards, shine-repeat 8s ease-in-out 4.6s infinite;
}

.chart-col-label-bottom {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Arrow column between bars */
.chart-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  padding-bottom: 42px; /* align to bottom of bar tracks */
  flex-shrink: 0;
  width: 60px;
}

.chart-arrow-line {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease 2.4s, transform 0.6s cubic-bezier(0.16,1,0.3,1) 2.4s;
}

.chart-area.is-visible .chart-arrow-line {
  opacity: 1;
  transform: scale(1);
}

.chart-arrow-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #34d399;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 9999px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.chart-disclaimer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 10px;
  color: #3a3a3a;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

/* ==========================================================================
   9. CONTACT SECTION
   ========================================================================== */

.contact {
  padding-top: 128px;
  padding-bottom: 128px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.contact h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}

.contact > .container > p {
  color: #999;
  font-size: 18px;
  margin-bottom: 48px;
}

.contact-form {
  max-width: 448px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 300ms ease;
}

.contact-form:focus-within {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.contact-form input {
  background: transparent;
  padding: 16px 24px;
  color: #fff;
  outline: none;
  border: none;
  font-size: 16px;
  font-family: inherit;
  width: 100%;
}

.contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-form button {
  height: 48px;
  width: 100%;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #fff;
  color: #000;
  font-weight: 500;
  font-size: 14px;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: transform 200ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.contact-form button:active {
  transform: scale(0.98);
}

.contact-form button .btn-content {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 300ms ease;
}

.contact-form button .btn-spinner {
  display: none;
  height: 20px;
  width: 20px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 9999px;
  animation: spin 0.6s linear infinite;
}

.contact-form button .btn-success {
  position: absolute;
  inset: 0;
  background: #10b981;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  opacity: 0;
  transition: transform 300ms ease, opacity 300ms ease;
  border-radius: 9999px;
}

.contact-form button.submitting .btn-content {
  opacity: 0;
}

.contact-form button.submitting .btn-spinner {
  display: block;
}

.contact-form button.success .btn-success {
  transform: scale(1);
  opacity: 1;
}

/* Direct Contact */

.direct-contact {
  padding-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 384px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 48px;
}

.direct-contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  transition: border-color 300ms ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
}

.contact-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.contact-card .role {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

.contact-card a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  margin-top: 6px;
  display: inline-block;
  transition: color 200ms ease;
}

.contact-card a:hover {
  color: #fff;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.4);
  padding-top: 64px;
  padding-bottom: 64px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.footer h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}

.footer p,
.footer a {
  font-size: 14px;
  color: #999;
  line-height: 1.7;
}

.footer a:hover {
  color: #fff;
}

.footer-legal h4,
.footer-contact h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-director-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-director-name {
  color: #fff;
  font-weight: 500;
}

.footer-email {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-top: 4px;
  transition: color 200ms ease;
}

.footer-email:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: #999;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #10b981;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

/* ==========================================================================
   11. COOKIE CONSENT
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: 16px;
  z-index: 50;
  max-width: 448px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(50px);
  opacity: 0;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), opacity 400ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.cookie-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-close {
  padding: 4px;
  border-radius: 8px;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.cookie-text {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
  margin-bottom: 12px;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 8px;
}

.cookie-settings {
  font-size: 12px;
  font-weight: 500;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 200ms ease;
  padding: 8px 12px;
}

.cookie-settings:hover {
  color: #fff;
}

.cookie-accept {
  border-radius: 9999px;
  background: #fff;
  color: #000;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 200ms ease;
}

.cookie-accept:hover {
  transform: scale(1.02);
}

.cookie-accept:active {
  transform: scale(0.98);
}

/* ==========================================================================
   12. SCROLL ANIMATIONS
   ========================================================================== */

.animate-on-scroll {
  opacity: 0;
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.fade-up {
  transform: translateY(30px);
}

.animate-on-scroll.fade-left {
  transform: translateX(-40px);
}

.animate-on-scroll.scale-in {
  transform: scale(0.95);
  filter: blur(10px);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
  filter: blur(0);
}

.delay-1 {
  transition-delay: 100ms;
}

.delay-2 {
  transition-delay: 200ms;
}

.delay-3 {
  transition-delay: 300ms;
}

.delay-4 {
  transition-delay: 400ms;
}

/* ==========================================================================
   13. KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes hero-orb {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2) rotate(90deg);
    opacity: 0.5;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.3;
  }
}

@keyframes scroll-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

@keyframes bar-scale-in {
  0% {
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(1);
  }
}

@keyframes shine-repeat {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

@keyframes shine-slide {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

@keyframes label-fade-in {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ==========================================================================
   14. RESPONSIVE — Medium Screens
   ========================================================================== */

@media (min-width: 640px) {
  .contact-form {
    flex-direction: row;
    border-radius: 9999px;
  }

  .contact-form input {
    padding: 12px 24px;
  }

  .contact-form button {
    width: 140px;
  }

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

  .method-card.wide {
    grid-column: span 2;
  }

  .cookie-banner {
    left: auto;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }

  .chart-bars {
    gap: 8px;
  }
}

@media (min-width: 768px) {
  .about {
    padding-top: 128px;
    padding-bottom: 128px;
  }

  .services {
    padding-top: 128px;
    padding-bottom: 128px;
  }

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

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

  .footer {
    padding-top: 96px;
    padding-bottom: 96px;
  }

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

  .feature-card {
    padding: 32px;
  }

  .cookie-banner {
    padding: 24px;
  }

  .contact > .container > p {
    font-size: 20px;
  }

  .compliance-header h2 {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

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

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

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

  .research-cards {
    grid-template-columns: 1fr;
  }

  .method-card.wide {
    grid-column: span 1;
  }

  .compliance-layout {
    flex-direction: column;
    gap: 48px;
  }

  .chart-bars {
    height: 180px;
  }

  .chart-bar-track {
    width: 60px;
  }

  .chart-arrow {
    width: 44px;
  }

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

@media (max-width: 640px) {
  .contact-form {
    flex-direction: column;
    border-radius: 16px;
  }

  .contact-form button {
    width: 100%;
    border-radius: 9999px;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .research-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 64px;
    flex-direction: unset;
  }

  .research-text {
    grid-column: span 5;
  }

  .research-cards {
    grid-column: span 7;
  }

  .compliance-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
    align-items: center;
  }

  .about-grid {
    gap: 32px;
  }

  .services-grid {
    gap: 48px;
  }
}

/* ==========================================================================
   LEGAL PAGES (Privacy Policy, Terms of Service)
   ========================================================================== */

.legal-page {
  padding-top: 160px;
  padding-bottom: 128px;
  background: #000;
  min-height: 100vh;
}

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

.legal-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-header p {
  color: #999;
  font-size: 18px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-top: 48px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #d4d4d4;
  margin-top: 32px;
  margin-bottom: 16px;
}

.legal-content p, 
.legal-content ul, 
.legal-content ol {
  font-size: 16px;
  line-height: 1.8;
  color: #999;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style-type: disc;
  padding-left: 24px;
}

.legal-content ol {
  list-style-type: decimal;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: #34d399;
  text-decoration: underline;
  text-decoration-color: rgba(52, 211, 153, 0.3);
  text-underline-offset: 4px;
  transition: text-decoration-color 300ms ease;
}

.legal-content a:hover {
  text-decoration-color: rgba(52, 211, 153, 1);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #999;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
  transition: color 300ms ease;
}

.back-link:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .legal-page {
    padding-top: 120px;
  }
  .legal-content {
    padding: 32px 24px;
  }
}

/* ==========================================================================
   NEW RESTRUCTURE STYLES
   ========================================================================== */

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: #999;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a.nav-cta {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 9999px;
  color: #fff;
}
.nav-links a.nav-cta:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Updated */
.hero { padding-top: 180px; }
.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #999;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}
.hero-usp {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  color: #fff;
  margin: 20px auto;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 80px;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 16px 32px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Social Proof */
.social-proof { margin-top: 40px; }
.social-proof-label {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.social-proof-logos {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logo-placeholder {
  font-size: 14px;
  color: #555;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  transition: color 0.3s;
}
.logo-placeholder:hover { color: #888; }

/* Experts Grid */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.expert-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.expert-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.04);
}
.expert-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}
.expert-info h3 { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.expert-role { font-size: 14px; color: #3b82f6; margin-bottom: 16px; }
.expert-desc { font-size: 15px; color: #999; line-height: 1.6; margin-bottom: 24px; flex-grow: 1; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.expert-tags span {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 999px;
  color: #aaa;
}

/* Service Pillars */
.services-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 64px;
}
.service-pillar {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 32px;
  padding: 48px;
}
.pillar-header { margin-bottom: 48px; }
.pillar-header h3 { font-size: 28px; font-weight: 600; margin-bottom: 16px; color: #fff; }
.pillar-header p { color: #999; font-size: 16px; line-height: 1.6; }
.pillar-content { display: flex; flex-direction: column; gap: 24px; }

/* Knowledge Base */
.knowledge { padding: 160px 0; }
.knowledge-header { text-align: center; margin-bottom: 80px; }
.knowledge-header h2 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; margin-bottom: 24px; }
.knowledge-header p { color: #999; max-width: 600px; margin: 0 auto; font-size: 18px; line-height: 1.6; }
.knowledge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.knowledge-column h3 { font-size: 20px; font-weight: 600; margin-bottom: 32px; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 16px; }
.report-card, .blog-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  transition: background 0.3s;
}
.report-card:hover, .blog-card:hover { background: rgba(255, 255, 255, 0.04); }
.report-card { display: flex; align-items: center; gap: 20px; }
.report-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(59, 130, 246, 0.1); color: #3b82f6; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.report-info { flex-grow: 1; }
.report-info h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.report-info p { font-size: 14px; color: #999; }
.btn-download { background: none; border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 8px 16px; border-radius: 8px; font-size: 13px; cursor: pointer; transition: 0.3s; }
.btn-download:hover { background: rgba(255,255,255,0.1); }
.blog-date { font-size: 12px; color: #3b82f6; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 8px; }
.blog-card h4 { font-size: 18px; font-weight: 600; margin-bottom: 12px; line-height: 1.4; }
.blog-card p { font-size: 15px; color: #999; margin-bottom: 16px; line-height: 1.6; }
.blog-link { color: #fff; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; transition: color 0.3s; }
.blog-link:hover { color: #3b82f6; }

/* Privacy Note */
.privacy-note { margin-top: 24px; font-size: 14px; color: #666; display: flex; justify-content: center; align-items: center; gap: 8px; }
.privacy-note a { color: #999; text-decoration: underline; transition: color 0.3s; }
.privacy-note a:hover { color: #fff; }

@media (max-width: 992px) {
  .experts-grid, .services-pillars, .knowledge-grid { grid-template-columns: 1fr; }
  .service-pillar { padding: 32px 24px; }
  .nav-links { display: none; }
}
