/* ================================================
   Ma YongLi — Design System (Linear-inspired)
   Dark-mode-first · Inter Variable · Indigo accent
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;1,14..32,400&display=swap');

/* ------------------------------------------------
   Variables
   ------------------------------------------------ */
:root {
  /* Backgrounds */
  --bg:          #08090a;
  --bg-panel:    #0f1011;
  --bg-surface:  #191a1b;
  --bg-elevated: #28282c;

  /* Text */
  --text-primary:   #f7f8f8;
  --text-secondary: #d0d6e0;
  --text-muted:     #8a8f98;
  --text-subtle:    #62666d;

  /* Brand */
  --accent:       #5e6ad2;
  --accent-bright:#7170ff;
  --accent-hover: #828fff;
  --accent-glow:  rgba(94, 106, 210, 0.25);

  /* Borders */
  --border:       rgba(255, 255, 255, 0.08);
  --border-subtle:rgba(255, 255, 255, 0.05);
  --border-solid: #23252a;

  /* Status */
  --green:  #10b981;

  /* Layout */
  --max-w:  1140px;
  --radius: 8px;
  --radius-lg: 12px;
  --t: 0.25s ease;
  --t-spring: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ------------------------------------------------
   Reset & Base
   ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, system-ui, 'Segoe UI', sans-serif;
  font-feature-settings: "cv01", "ss03";
  color: var(--text-secondary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; font-feature-settings: "cv01", "ss03"; }
h1, h2, h3, h4, h5 {
  font-family: 'Inter', sans-serif;
  font-feature-settings: "cv01", "ss03";
  color: var(--text-primary);
  line-height: 1.1;
  font-weight: 510;
}

/* ------------------------------------------------
   Layout
   ------------------------------------------------ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
section { padding: 96px 0; }

/* ------------------------------------------------
   Utilities
   ------------------------------------------------ */
.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 510;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 9999px;
}
.label--light { color: var(--text-secondary); border-color: rgba(255,255,255,0.08); }
.section-title { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 16px; letter-spacing: -0.7px; }
.section-sub { font-size: 17px; color: var(--text-muted); line-height: 1.75; max-width: 560px; }

/* ------------------------------------------------
   Buttons
   ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 510;
  font-feature-settings: "cv01", "ss03";
  letter-spacing: 0em;
  transition: all var(--t);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Primary CTA — brand indigo */
.btn-gold {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-gold:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(94,106,210,0.35);
}

/* Dark secondary */
.btn-navy {
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn-navy:hover {
  background: rgba(255,255,255,0.07);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

/* Ghost outline — white */
.btn-outline-white {
  background: rgba(255,255,255,0.02);
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

/* Ghost outline — surface */
.btn-outline-navy {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn-outline-navy:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------
   Navigation
   ------------------------------------------------ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8,9,10,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color var(--t), box-shadow var(--t);
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 var(--border-subtle), 0 8px 32px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
  font-size: 15px;
  font-weight: 590;
  color: var(--text-primary);
  letter-spacing: -0.2px;
  font-feature-settings: "cv01", "ss03";
}
.logo-sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-subtle);
}
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  font-size: 13.5px;
  font-weight: 510;
  color: var(--text-muted);
  transition: color var(--t);
  padding: 6px 10px;
  border-radius: 5px;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}
.nav-cta-btn {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 7px 16px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 510 !important;
  transition: all var(--t) !important;
}
.nav-cta-btn:hover {
  background: var(--accent-bright) !important;
  transform: none !important;
  box-shadow: 0 2px 12px rgba(94,106,210,0.4) !important;
}
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--text-muted); border-radius: 1px; transition: var(--t);
}
.mobile-nav {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px; z-index: 999;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.mobile-nav.open { display: block; }
.mobile-nav li a {
  display: block; padding: 12px 0; font-size: 15px; font-weight: 510;
  color: var(--text-secondary); border-bottom: 1px solid var(--border-subtle);
  transition: color var(--t);
}
.mobile-nav li a:hover { color: var(--text-primary); }
.mobile-cta-link {
  display: block; margin-top: 16px; text-align: center;
  background: var(--accent); color: #fff !important; padding: 12px;
  border-radius: 6px; font-weight: 510; font-size: 14px;
  border-bottom: none !important;
  transition: background var(--t);
}
.mobile-cta-link:hover { background: var(--accent-bright) !important; }

/* ------------------------------------------------
   Footer
   ------------------------------------------------ */
.footer {
  background: var(--bg-panel);
  color: var(--text-secondary);
  padding: 72px 28px 40px;
  border-top: 1px solid var(--border-subtle);
}
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px;
  padding-bottom: 48px; border-bottom: 1px solid var(--border-subtle);
}
.footer-brand .brand-name {
  font-size: 16px; font-weight: 590; color: var(--text-primary);
  margin-bottom: 4px; letter-spacing: -0.2px;
  font-feature-settings: "cv01", "ss03";
}
.footer-brand .brand-sub {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-subtle); margin-bottom: 16px;
}
.footer-brand p { font-size: 13.5px; color: var(--text-subtle); line-height: 1.8; max-width: 280px; }
.footer-col h5 {
  font-size: 10px; font-weight: 590; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px;
  font-feature-settings: "cv01", "ss03";
}
.footer-col li { margin-bottom: 8px; }
.footer-col li a { font-size: 13.5px; color: var(--text-subtle); transition: color var(--t); }
.footer-col li a:hover { color: var(--text-primary); }
.footer-contact-item {
  display: flex; gap: 10px; margin-bottom: 10px;
  font-size: 13.5px; color: var(--text-subtle); align-items: flex-start;
}
.footer-contact-item i { color: var(--accent-bright); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 12px; color: var(--text-subtle); }
.footer-disclaimer {
  max-width: var(--max-w); margin: 20px auto 0;
  padding-top: 18px; border-top: 1px solid var(--border-subtle);
  font-size: 11px; color: var(--text-subtle); opacity: 0.5; line-height: 1.75;
}

/* ------------------------------------------------
   Inner Page Hero
   ------------------------------------------------ */
.page-hero {
  background: var(--bg);
  padding: 144px 28px 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(94,106,210,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .orb { display: none; }
.page-hero-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.page-hero h1 {
  color: var(--text-primary);
  font-size: clamp(30px, 4.5vw, 48px);
  letter-spacing: -1.056px;
  margin-bottom: 18px;
  font-weight: 510;
}
.page-hero p { color: var(--text-muted); font-size: 17px; line-height: 1.75; }

/* ------------------------------------------------
   Keyframes
   ------------------------------------------------ */
@keyframes orb-drift {
  0%, 100% { transform: translateY(0) scale(1); }
  33%       { transform: translateY(-24px) scale(1.03); }
  66%       { transform: translateY(12px) scale(0.97); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmer-text {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(94,106,210,0.3); }
  70%  { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ------------------------------------------------
   HOME — Hero
   ------------------------------------------------ */
.hero {
  min-height: 100vh;
  background: var(--bg);
  display: flex; align-items: center;
  padding-top: 64px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(94,106,210,0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(113,112,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
/* Keep orb divs in HTML but hide them (replaced by ::before gradient) */
.hero-orb { display: none; }

.hero-content {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto; padding: 80px 28px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center;
}

/* Staggered load */
.hero-text .label     { animation: fade-up 0.5s ease 0.05s both; }
.hero-text h1         { animation: fade-up 0.6s ease 0.15s both; }
.hero-text p          { animation: fade-up 0.5s ease 0.28s both; }
.hero-text .hero-ctas { animation: fade-up 0.5s ease 0.4s both; }
.hero-card            { animation: fade-up 0.7s ease 0.25s both; }

.hero-text h1 {
  color: var(--text-primary);
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 510;
  letter-spacing: -1.2px;
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero-text h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent-bright) 0%, #a8a8ff 40%, var(--accent-bright) 70%, var(--accent-bright) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-text 4s linear infinite;
  display: inline-block;
}
.hero-text p {
  font-size: 16px; color: var(--text-muted); line-height: 1.8;
  margin-bottom: 32px; max-width: 460px;
}
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* Hero card — dark glass */
.hero-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.04);
}
.hero-card .card-title {
  font-size: 12px; font-weight: 590; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  font-feature-settings: "cv01", "ss03";
}
.hero-checklist { display: flex; flex-direction: column; gap: 12px; }
.hero-checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text-secondary); font-size: 14px; line-height: 1.55;
}
.hero-checklist li i { color: var(--accent-bright); margin-top: 3px; flex-shrink: 0; font-size: 12px; }
.hero-note {
  margin-top: 20px; padding: 12px 16px;
  background: rgba(94,106,210,0.08);
  border-left: 2px solid var(--accent);
  border-radius: 0 4px 4px 0;
  font-size: 13px; color: var(--text-muted); font-style: italic;
}

/* ------------------------------------------------
   HOME — Trust Bar
   ------------------------------------------------ */
.trust-bar {
  background: var(--bg-panel);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
}
.trust-bar-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: center;
  gap: 64px; flex-wrap: wrap;
}
.trust-stat { text-align: center; }
.trust-stat .num {
  font-size: 36px; font-weight: 510; letter-spacing: -0.8px;
  color: var(--text-primary); line-height: 1; margin-bottom: 5px;
  display: flex; align-items: flex-start; justify-content: center; gap: 1px;
  font-feature-settings: "cv01", "ss03";
}
.trust-stat .num .gold { color: var(--accent-bright); }
.trust-stat .num .count { font-variant-numeric: tabular-nums; }
.trust-stat p { font-size: 12px; color: var(--text-subtle); font-weight: 510; letter-spacing: 0.04em; }

/* ------------------------------------------------
   HOME — Pain Points
   ------------------------------------------------ */
.pain-section .inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center;
}
.pain-text h2 { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 14px; letter-spacing: -0.7px; }
.pain-text > p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 28px; }
.pain-list { display: flex; flex-direction: column; gap: 10px; }
.pain-item {
  display: flex; gap: 14px; padding: 18px 20px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  transition: all var(--t);
  cursor: default;
}
.pain-item:hover {
  border-color: rgba(94,106,210,0.3);
  background: rgba(94,106,210,0.04);
  transform: translateX(4px);
}
.pain-icon {
  width: 42px; height: 42px;
  background: rgba(94,106,210,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: var(--accent-bright); flex-shrink: 0;
  transition: all var(--t);
}
.pain-item:hover .pain-icon { background: rgba(94,106,210,0.18); transform: scale(1.05); }
.pain-item-text h4 {
  font-size: 14px; font-weight: 590; color: var(--text-primary);
  margin-bottom: 3px; font-feature-settings: "cv01", "ss03";
}
.pain-item-text p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ------------------------------------------------
   HOME — About Preview
   ------------------------------------------------ */
.about-preview { background: var(--bg-panel); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.about-preview .inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center;
}
.about-img-block { position: relative; }
.about-img-placeholder {
  width: 100%; aspect-ratio: 4/5;
  background: var(--bg-surface);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.about-img-placeholder img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.about-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--accent);
  color: #fff;
  padding: 16px 18px; border-radius: 10px; text-align: center;
  box-shadow: 0 4px 20px rgba(94,106,210,0.4);
  animation: pulse-ring 3s ease infinite;
}
.about-badge .years { font-size: 30px; font-weight: 590; line-height: 1; font-feature-settings: "cv01", "ss03"; }
.about-badge .years-label { font-size: 10.5px; font-weight: 510; opacity: 0.85; }
.about-content h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; letter-spacing: -0.6px; }
.about-content p { font-size: 15px; color: var(--text-muted); line-height: 1.85; margin-bottom: 14px; }
.about-credentials { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 28px; }
.cred-tag {
  padding: 5px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 12px; font-weight: 510; color: var(--text-muted);
  transition: all var(--t);
  font-feature-settings: "cv01", "ss03";
}
.cred-tag:hover {
  border-color: rgba(113,112,255,0.35);
  color: var(--accent-bright);
  background: rgba(94,106,210,0.06);
}

/* ------------------------------------------------
   HOME — Services Preview
   ------------------------------------------------ */
.services-preview .section-head { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; margin-bottom: 48px; }
.services-preview h2 { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 12px; letter-spacing: -0.7px; }
.services-grid-3 { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all var(--t-spring);
  cursor: default;
}
.svc-card:hover {
  border-color: rgba(94,106,210,0.3);
  background: rgba(94,106,210,0.04);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transform: translateY(-4px);
}
.svc-icon {
  width: 48px; height: 48px;
  background: rgba(94,106,210,0.1);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--accent-bright); margin-bottom: 18px;
  transition: all var(--t-spring);
}
.svc-card:hover .svc-icon { background: rgba(94,106,210,0.2); transform: scale(1.08); }
.svc-card h3 { font-size: 16px; margin-bottom: 9px; letter-spacing: -0.24px; }
.svc-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.75; }
.services-preview-cta { max-width: var(--max-w); margin: 36px auto 0; padding: 0 28px; text-align: center; }

/* ------------------------------------------------
   HOME — Testimonial Snippet
   ------------------------------------------------ */
.testi-snippet {
  background: var(--bg-panel);
  padding: 96px 28px;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.testi-snippet::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(94,106,210,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.testi-snippet .inner {
  position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center;
}
.testi-glass-wrap {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 52px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.04);
}
.quote-mark {
  font-size: 72px; color: var(--accent-bright); line-height: 0.65;
  margin-bottom: 20px; display: block; font-weight: 300; opacity: 0.6;
}
.testi-snippet blockquote {
  font-size: clamp(17px, 2.3vw, 22px);
  color: var(--text-primary);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 28px;
  font-weight: 400;
  letter-spacing: -0.2px;
}
.testi-attribution { display: flex; align-items: center; justify-content: center; gap: 12px; }
.testi-ava {
  width: 42px; height: 42px;
  background: rgba(94,106,210,0.15);
  border: 1px solid rgba(113,112,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 590; color: var(--accent-bright); flex-shrink: 0;
  font-feature-settings: "cv01", "ss03";
}
.testi-who { text-align: left; }
.testi-who strong { display: block; font-size: 14px; color: var(--text-primary); font-weight: 510; }
.testi-who span { font-size: 12px; color: var(--text-subtle); }

/* Dots */
.testi-dots { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.testi-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: none; cursor: pointer;
  transition: all var(--t); padding: 0;
}
.testi-dot.active { background: var(--accent-bright); transform: scale(1.3); }

/* Stars — hidden globally */
.stars { display: none; }

/* ------------------------------------------------
   HOME — CTA Banner
   ------------------------------------------------ */
.home-cta {
  position: relative; overflow: hidden;
  background: var(--bg);
  padding: 100px 28px; text-align: center;
  border-top: 1px solid var(--border-subtle);
}
.home-cta::before {
  content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(94,106,210,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.home-cta .label { color: var(--accent-bright); border-color: rgba(113,112,255,0.25); background: rgba(94,106,210,0.08); }
.home-cta h2 { position: relative; font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 14px; letter-spacing: -0.9px; }
.home-cta p { position: relative; font-size: 16px; color: var(--text-muted); max-width: 480px; margin: 0 auto 32px; line-height: 1.75; }

/* ------------------------------------------------
   SERVICES PAGE
   ------------------------------------------------ */
.services-full { background: var(--bg); }
.services-full .inner { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.services-full-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc-full-card {
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--border-subtle);
  transition: all var(--t);
}
.svc-full-card:hover {
  border-color: rgba(94,106,210,0.3);
  background: rgba(94,106,210,0.04);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  transform: translateY(-3px);
}
.svc-full-card:hover .svc-icon { background: rgba(94,106,210,0.2); transform: scale(1.06); }
.svc-full-card h3 { font-size: 18px; margin-bottom: 10px; margin-top: 16px; letter-spacing: -0.3px; }
.svc-full-card > p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; }
.svc-bullets { display: flex; flex-direction: column; gap: 8px; }
.svc-bullets li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-muted); }
.svc-bullets li i { color: var(--accent-bright); font-size: 9px; flex-shrink: 0; }

/* SERVICES — Process */
.process-section {
  background: var(--bg-panel);
  padding: 96px 0;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.process-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(94,106,210,0.06) 0%, transparent 60%);
}
.process-section .inner { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.process-section h2 { color: var(--text-primary); font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 12px; letter-spacing: -0.7px; }
.process-section > .inner > p { color: var(--text-muted); font-size: 15px; max-width: 480px; margin-bottom: 56px; line-height: 1.75; }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative;
}
.process-steps::before {
  content: ''; position: absolute; top: 26px; left: 12%; right: 12%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}
.process-step { position: relative; z-index: 1; text-align: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(94,106,210,0.08);
  border: 1px solid rgba(94,106,210,0.3);
  color: var(--accent-bright);
  font-size: 18px; font-weight: 590;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  transition: all var(--t);
  font-feature-settings: "cv01", "ss03";
}
.process-step:hover .step-num { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.06); }
.process-step h4 { font-size: 14px; font-weight: 590; color: var(--text-primary); margin-bottom: 7px; font-feature-settings: "cv01", "ss03"; }
.process-step p { color: var(--text-subtle); font-size: 13px; line-height: 1.65; }

/* SERVICES — CTA */
.services-cta {
  background: var(--bg);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 28px; text-align: center;
}
.services-cta h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; letter-spacing: -0.6px; }
.services-cta p { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; max-width: 460px; margin-inline: auto; }

/* ------------------------------------------------
   TESTIMONIALS PAGE
   ------------------------------------------------ */
.featured-testimonials { background: var(--bg); }
.featured-testimonials .inner { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.featured-testi {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center; padding: 64px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.featured-testi:last-child { border-bottom: none; }
.featured-testi.reverse { direction: rtl; }
.featured-testi.reverse > * { direction: ltr; }

.testi-card-large {
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--border-subtle);
  transition: all var(--t);
  position: relative; overflow: hidden;
}
.testi-card-large::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-bright), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.testi-card-large:hover::before { transform: scaleX(1); }
.testi-card-large:hover {
  border-color: rgba(94,106,210,0.25);
  background: rgba(94,106,210,0.03);
}

.testi-card-large .big-quote {
  font-size: 56px; color: var(--accent-bright); line-height: 0.65;
  margin-bottom: 18px; font-weight: 300; opacity: 0.5;
}
.testi-card-large blockquote {
  font-size: 15px; color: var(--text-secondary); line-height: 1.85;
  font-style: italic; margin-bottom: 22px;
}
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-ava-lg {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(94,106,210,0.12);
  border: 1px solid rgba(113,112,255,0.25);
  color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 590; flex-shrink: 0;
  font-feature-settings: "cv01", "ss03";
}
.testi-person-info strong { display: block; font-size: 13.5px; color: var(--text-primary); font-weight: 510; }
.testi-person-info span { font-size: 12px; color: var(--text-subtle); }

.testi-context h3 { font-size: 22px; margin-bottom: 12px; letter-spacing: -0.4px; }
.testi-context p { font-size: 14.5px; color: var(--text-muted); line-height: 1.85; margin-bottom: 12px; }
.testi-outcome {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px;
  background: rgba(94,106,210,0.07);
  border-left: 2px solid var(--accent);
  border-radius: 0 6px 6px 0;
  font-size: 13.5px; color: var(--text-muted); font-style: italic; margin-top: 16px;
}
.testi-outcome i { color: var(--accent-bright); margin-top: 2px; flex-shrink: 0; }

/* Testimonials — Mini Grid */
.testi-grid-section {
  background: var(--bg-panel);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.testi-grid-section .inner { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.testi-grid-section h2 { font-size: clamp(24px, 3vw, 34px); text-align: center; margin-bottom: 40px; letter-spacing: -0.6px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-card {
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border-subtle);
  transition: all var(--t);
  position: relative; overflow: hidden;
}
.mini-card:hover {
  border-color: rgba(94,106,210,0.25);
  background: rgba(94,106,210,0.03);
  transform: translateY(-3px);
}
.mini-card blockquote { font-size: 13.5px; color: var(--text-muted); line-height: 1.8; font-style: italic; margin-bottom: 18px; }
.mini-who { display: flex; align-items: center; gap: 9px; }
.mini-ava {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(94,106,210,0.12);
  border: 1px solid rgba(113,112,255,0.2);
  color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 590; flex-shrink: 0;
  font-feature-settings: "cv01", "ss03";
}
.mini-who strong { display: block; font-size: 12.5px; font-weight: 510; color: var(--text-primary); }
.mini-who span { font-size: 11.5px; color: var(--text-subtle); }

/* Testimonials — CTA */
.testi-cta {
  background: var(--bg);
  padding: 96px 28px; text-align: center;
  position: relative; overflow: hidden;
}
.testi-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(94,106,210,0.08) 0%, transparent 60%);
}
.testi-cta .label { color: var(--accent-bright); border-color: rgba(113,112,255,0.25); background: rgba(94,106,210,0.08); }
.testi-cta h2 { position: relative; color: var(--text-primary); font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 14px; letter-spacing: -0.7px; }
.testi-cta p { position: relative; color: var(--text-muted); font-size: 16px; max-width: 480px; margin: 0 auto 32px; line-height: 1.75; }

/* ------------------------------------------------
   CONTACT PAGE
   ------------------------------------------------ */
.contact-section { background: var(--bg); }
.contact-grid {
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start;
}
.contact-info h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; letter-spacing: -0.6px; }
.contact-info > p { font-size: 15px; color: var(--text-muted); line-height: 1.85; margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.c-detail { display: flex; gap: 12px; align-items: flex-start; }
.c-detail-icon {
  width: 42px; height: 42px;
  background: rgba(94,106,210,0.1);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--accent-bright); flex-shrink: 0;
  transition: all var(--t);
}
.c-detail:hover .c-detail-icon { background: rgba(94,106,210,0.18); }
.c-detail-text strong { display: block; font-size: 12px; font-weight: 590; color: var(--text-muted); margin-bottom: 2px; letter-spacing: 0.04em; text-transform: uppercase; font-feature-settings: "cv01", "ss03"; }
.c-detail-text span { font-size: 14px; color: var(--text-secondary); }
.next-steps-box {
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-lg); padding: 24px;
  border: 1px solid var(--border);
}
.next-steps-box h4 {
  font-size: 10px; font-weight: 590; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-bright); margin-bottom: 16px;
  font-feature-settings: "cv01", "ss03";
}
.next-step-list { display: flex; flex-direction: column; gap: 12px; }
.n-step { display: flex; gap: 12px; align-items: flex-start; }
.n-num {
  width: 26px; height: 26px;
  background: rgba(94,106,210,0.12);
  border: 1px solid rgba(113,112,255,0.25);
  color: var(--accent-bright);
  border-radius: 50%; font-size: 12px; font-weight: 590;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-feature-settings: "cv01", "ss03";
}
.n-text { font-size: 13px; color: var(--text-muted); line-height: 1.65; padding-top: 4px; }

/* Contact Form Card */
.contact-form-card {
  background: rgba(255,255,255,0.02);
  border-radius: 16px; padding: 44px;
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}
.contact-form-card h3 { font-size: 20px; margin-bottom: 5px; letter-spacing: -0.3px; }
.contact-form-card > p { font-size: 13px; color: var(--text-subtle); margin-bottom: 28px; }

/* Form layout */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 510;
  color: var(--text-muted); margin-bottom: 6px;
  font-feature-settings: "cv01", "ss03";
}
.form-group.floating { position: relative; margin-bottom: 24px; }
.form-group.floating label {
  position: absolute; top: 13px; left: 14px;
  font-size: 14px; font-weight: 400; color: var(--text-subtle);
  transition: all 0.2s ease; pointer-events: none;
  background: transparent; margin-bottom: 0; padding: 0 4px;
}
.form-group.floating input:focus ~ label,
.form-group.floating input:not(:placeholder-shown) ~ label,
.form-group.floating select:focus ~ label,
.form-group.floating select:valid ~ label {
  top: -9px; left: 10px; font-size: 10.5px; font-weight: 590;
  color: var(--accent-bright); background: var(--bg-surface); padding: 0 4px;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px; font-family: 'Inter', sans-serif;
  font-feature-settings: "cv01", "ss03";
  color: var(--text-secondary); background: rgba(255,255,255,0.02);
  transition: all var(--t); outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-subtle); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(94,106,210,0.5);
  background: rgba(94,106,210,0.04);
  box-shadow: 0 0 0 3px rgba(94,106,210,0.1);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8f98' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-color: rgba(255,255,255,0.02);
  padding-right: 38px; cursor: pointer;
}
.form-group select option { background: var(--bg-surface); color: var(--text-secondary); }

.form-privacy { font-size: 11.5px; color: var(--text-subtle); margin-bottom: 18px; line-height: 1.65; }
.form-submit {
  width: 100%; padding: 13px;
  background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius);
  font-size: 14px; font-weight: 510;
  font-family: 'Inter', sans-serif;
  font-feature-settings: "cv01", "ss03";
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all var(--t);
}
.form-submit:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(94,106,210,0.35);
}

.form-success { display: none; text-align: center; padding: 40px 0; }
.form-success.visible { display: block; animation: fade-up 0.5s ease; }
.form-fields.hidden { display: none; }
.success-icon {
  width: 60px; height: 60px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 24px; color: var(--green);
}
.form-success h3 { font-size: 22px; margin-bottom: 10px; }
.form-success p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* Assurance bar */
.assurance-bar {
  background: var(--bg-panel);
  border-top: 1px solid var(--border-subtle);
  padding: 56px 28px;
}
.assurance-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.assurance-item { text-align: center; }
.assurance-item i { font-size: 24px; color: var(--accent-bright); margin-bottom: 12px; display: block; opacity: 0.8; }
.assurance-item h4 { font-size: 14px; margin-bottom: 6px; font-weight: 590; letter-spacing: -0.2px; }
.assurance-item p { font-size: 13px; color: var(--text-subtle); line-height: 1.65; }

/* ------------------------------------------------
   Scroll-reveal
   ------------------------------------------------ */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ------------------------------------------------
   Responsive
   ------------------------------------------------ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-text p { margin-inline: auto; }
  .hero-card { max-width: 460px; margin: 0 auto; }
  .pain-section .inner { grid-template-columns: 1fr; gap: 44px; }
  .about-preview .inner { grid-template-columns: 1fr; gap: 44px; }
  .about-img-block { max-width: 380px; }
  .about-badge { bottom: -14px; right: 0; }
  .featured-testi { grid-template-columns: 1fr; gap: 28px; }
  .featured-testi.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .trust-bar-inner { gap: 32px; }
  .services-grid-3 { grid-template-columns: 1fr; }
  .services-full-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .mini-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .assurance-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .testi-glass-wrap { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
  .process-steps { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: center; }
  .mini-grid { grid-template-columns: 1fr; }
}
