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

:root {
  --color-bg: #0a0a0f;
  --color-surface: #111118;
  --color-surface-2: #18181f;
  --color-border: #1e1e28;
  --color-accent: #6c63ff;
  --color-accent-light: #8b84ff;
  --color-accent-glow: rgba(108, 99, 255, 0.15);
  --color-text: #e8e8f0;
  --color-text-muted: #8888a0;
  --color-text-subtle: #5555668;
  --color-white: #ffffff;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.6);
  --transition: 0.2s ease;
  --max-w: 1140px;
}

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

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ===========================
   UTILITIES
=========================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

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

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 12px;
}

.section-sub {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  margin-top: 12px;
  line-height: 1.7;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 24px rgba(108,99,255,0.3);
}
.btn-primary:hover {
  background: var(--color-accent-light);
  box-shadow: 0 0 36px rgba(108,99,255,0.5);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent-light);
  border: 1.5px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

.btn-full { width: 100%; }

/* ===========================
   NAVIGATION
=========================== */
.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav-wrapper.scrolled {
  border-bottom-color: var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
}
.logo span { color: var(--color-accent-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--color-text); }
.nav-links .btn { padding: 9px 20px; font-size: 0.875rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(108,99,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(108,99,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236c63ff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--color-accent-light);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===========================
   TRUST BAR
=========================== */
.trust-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-logos {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-logos span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  opacity: 0.7;
}

/* ===========================
   SERVICES
=========================== */
.services { background: var(--color-bg); }

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

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  border-color: rgba(108, 99, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(108,99,255,0.1);
}

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--color-accent-light);
  margin-bottom: 20px;
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}

.service-card > p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card ul { display: flex; flex-direction: column; gap: 8px; }

.service-card li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
}

.service-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.75rem;
  top: 2px;
}

/* ===========================
   PROCESS
=========================== */
.process {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

.process-step:last-child { border-bottom: none; }

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
  transition: color 0.3s;
}

.process-step:hover .step-number {
  color: var(--color-accent-glow);
  color: rgba(108,99,255,0.3);
}

.step-content h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 10px;
}

.step-content p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 620px;
}

/* ===========================
   ABOUT
=========================== */
.about { background: var(--color-bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text .section-eyebrow { text-align: left; }

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.about-text p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-text em { color: var(--color-accent-light); font-style: italic; }

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--color-border);
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.about-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
  position: sticky;
  top: 96px;
}

.about-card-icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent-light);
  margin-bottom: 20px;
}
.about-card-icon svg { width: 100%; height: 100%; }

.about-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
}

.values-list { display: flex; flex-direction: column; gap: 16px; }

.values-list li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.values-list strong {
  display: block;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 2px;
}

/* ===========================
   CONTACT
=========================== */
.contact {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

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

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238888a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

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

.form-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  opacity: 0.6;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 4px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

.contact-icon svg { width: 18px; height: 18px; }

.contact-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.contact-tagline {
  margin-top: 12px;
  padding: 24px;
  background: var(--color-accent-glow);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: var(--radius);
}

.contact-tagline p {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  font-style: italic;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}

.footer-brand .logo { display: inline-block; margin-bottom: 12px; }

.footer-brand p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h5 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-text); }

.footer-bottom {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  opacity: 0.5;
}

/* ===========================
   H2 GLOBAL
=========================== */
.section-header h2,
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

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

  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 0;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 12px 24px;
    width: 100%;
  }

  .nav-links .btn {
    margin: 8px 24px;
    width: calc(100% - 48px);
    text-align: center;
    justify-content: center;
  }

  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 100px 0 64px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; justify-content: center; }

  .trust-bar .container { flex-direction: column; align-items: flex-start; gap: 12px; }

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

  .process-step { flex-direction: column; gap: 16px; }
  .step-number { font-size: 2rem; width: auto; }

  .about-stats { flex-direction: column; gap: 20px; }

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

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }

/* ===========================
   FORM SUCCESS STATE
=========================== */
.form-success {
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.form-success h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}
