:root {
  --bg: #03060b;
  --surface: #0a0f1a;
  --surface-2: #0e1525;
  --text: #ffffff;
  --muted: #b0c4de;
  --border: rgba(255, 255, 255, 0.12);
  --border-light: rgba(255, 255, 255, 0.25);
  --primary: #00d4ff; /* Tech Cyan */
  --primary-glow: rgba(0, 212, 255, 0.3);
  --accent: #7000ff; /* Fintech Purple */
  --accent-glow: rgba(112, 0, 255, 0.2);
  --success: #00ffaa;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1160px;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
}

/* Global Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 15% 15%, var(--primary-glow) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, var(--accent-glow) 0%, transparent 40%),
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  animation: gridMove 30s linear infinite;
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--primary-glow);
  color: #fff;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: 20px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--bg);
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  transform: translateY(-200%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 6, 11, 0.7);
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}

.brand-name span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

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

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav a[aria-current="page"] {
  color: var(--primary);
  background: rgba(0, 212, 255, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.menu-toggle {
  display: none;
}

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
  box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text);
  transform: translateY(-2px);
}

.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: radial-gradient(circle at 50% -10%, var(--primary-glow), transparent 60%);
  z-index: -1;
  pointer-events: none;
  animation: glowPulse 10s ease-in-out infinite;
}

.hero-content > * {
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content .pill { animation-delay: 0.1s; }
.hero-content h1 { animation-delay: 0.3s; }
.hero-content p { animation-delay: 0.5s; }
.hero-content .hero-cta { animation-delay: 0.7s; }

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid var(--primary-glow);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 auto 24px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px transparent;
}

.pill:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-2px);
}

.hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -3px;
  margin: 0 0 24px;
  background: linear-gradient(to bottom right, #fff 40%, var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 20px;
  line-height: 1.6;
  color: #ccd6e0;
  max-width: 600px;
  margin: 0 0 40px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.hero-panel-section {
  padding-bottom: 100px;
}

.hero-panel {
  background: rgba(10, 15, 26, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow);
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-panel h2 {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 32px;
  text-align: center;
}

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

.metric {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  border: none;
  text-align: left;
}

.metric .icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.metric strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.metric span {
  font-size: 14px;
  color: #aeb9c7;
  line-height: 1.5;
}

.section {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.section-title p {
  font-size: 18px;
  color: #ccd6e0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.card p {
  font-size: 16px;
  color: #aeb9c7;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-features {
  margin: 0 0 24px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.card-features li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-features li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.card-link {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.card-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.card-link:hover .icon {
  transform: translateX(4px);
}

/* Job Tags */
.job-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.job-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.job-tag.is-primary {
  color: var(--primary);
  border-color: var(--primary-glow);
  background: rgba(0, 212, 255, 0.05);
}

.page-hero {
  padding: 160px 0 100px;
  background: radial-gradient(circle at 100% 100%, var(--accent-glow), transparent 40%),
              radial-gradient(circle at 0% 0%, var(--primary-glow), transparent 40%),
              var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-hero h1 {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -4px;
  margin-bottom: 24px;
  color: #fff;
}

.page-hero p {
  font-size: 20px;
  line-height: 1.6;
  color: #aeb9c7;
  max-width: 600px;
}

.section {
  padding: 120px 0;
}

.prose {
  font-size: 18px;
  line-height: 1.8;
  color: #ccd6e0;
  max-width: 850px;
  margin-bottom: 80px;
  position: relative;
  padding-left: 0;
  background: none;
  border: none;
}

.prose::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary);
  margin-bottom: 40px;
}

.prose p:first-of-type {
  font-size: 24px;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 32px;
  font-weight: 500;
}

/* Detail Page Layouts */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin: 60px 0;
}

.detail-block {
  padding: 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s ease;
}

.detail-block:hover {
  border-color: var(--primary-glow);
}

.detail-block h3 {
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.detail-block p {
  font-size: 15px;
  color: #aeb9c7;
  line-height: 1.6;
  margin: 0;
}

.step-section {
  counter-reset: step;
  display: grid;
  gap: 40px;
  margin: 80px 0;
}

.step-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.step-number {
  counter-increment: step;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--surface-2);
  border: 1px solid var(--primary-glow);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 600;
  border-radius: 50%;
  font-size: 18px;
}

.step-number::before {
  content: counter(step, decimal-leading-zero);
}

.step-content h3 {
  font-size: 20px;
  margin: 0 0 12px 0;
  color: #fff;
}

.step-content p {
  color: #ccd6e0;
  max-width: 600px;
  margin: 0;
}

@media (max-width: 920px) {
  .step-item {
    flex-direction: column;
    gap: 16px;
  }
}

.prose p {
  margin-bottom: 24px;
}

.prose h2, .prose h3 {
  color: var(--text);
  margin: 48px 0 24px;
}

.prose ul, .prose ol {
  margin-bottom: 24px;
  padding-left: 20px;
}

.prose li {
  margin-bottom: 12px;
}

.cta {
  padding: 120px 0;
}

.cta-panel {
  background: linear-gradient(135deg, var(--surface), var(--bg));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  z-index: 0;
}

.cta-panel > div {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  max-width: 600px;
}

.cta-panel p {
  font-size: 18px;
  color: var(--muted);
  max-width: 500px;
}

.site-footer {
  background: var(--bg);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-meta .brand {
  margin-bottom: 24px;
}

.footer-meta p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 20px;
}

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

.footer-links h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 24px;
}

.footer-links a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

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

.copyright {
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: all 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.field textarea {
  min-height: 160px;
}

.status {
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid var(--primary-glow);
  background: rgba(0, 212, 255, 0.05);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 14px;
}

.status.is-hidden {
  display: none;
}

@media (max-width: 920px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .brand {
    min-width: auto;
    order: 1;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
  }

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

  .hero h1 {
    letter-spacing: -1px;
  }

  .metrics {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-panel {
    padding: 32px 24px;
  }

  .cta-panel {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

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

  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    flex-direction: row;
    display: flex;
    box-shadow: none;
    width: 100%;
    justify-content: center;
    order: 3;
  }

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

  .nav-links {
    flex-direction: row;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav a {
    width: auto;
    text-align: center;
    padding: 10px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
