:root {
  --navy-950: #060d1b;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --blue-600: #0284c7;
  --blue-500: #0ea5e9;
  --cyan-400: #22d3ee;
  --accent-gradient: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #22d3ee 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px rgba(6, 13, 27, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--navy-800);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--navy-900);
  line-height: 1.18;
}

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: box-shadow 0.25s ease;
}

.navbar.scrolled {
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.07);
}

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

.nav-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

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

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate-700);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--blue-600);
}

.nav-links .nav-cta {
  background: var(--navy-900);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-links .nav-cta:hover {
  background: var(--blue-600);
  color: var(--white);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 88px 0 104px;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 75%);
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(2, 132, 199, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2, 132, 199, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 35%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 35%, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}

.hero-glow-1 {
  width: 420px;
  height: 420px;
  background: #38bdf8;
  top: -120px;
  right: -80px;
}

.hero-glow-2 {
  width: 340px;
  height: 340px;
  background: #0284c7;
  bottom: -100px;
  left: -100px;
  opacity: 0.2;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #bae6fd;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-600);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
}

.hero-title {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

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

.hero-subtitle {
  font-size: 17.5px;
  color: var(--slate-600);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.36);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy-900);
  border: 1px solid var(--slate-300);
}

.btn-secondary:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-value {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-900);
}

.trust-label {
  font-size: 12.5px;
  color: var(--slate-500);
}

.trust-divider {
  width: 1px;
  height: 34px;
  background: var(--slate-300);
}

/* System Visual Card */
.system-card {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--slate-200);
}

.system-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(6, 13, 27, 0.75);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #22c55e; }

.system-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: var(--slate-400);
}

.status-pill {
  font-size: 11px;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 10px;
  border-radius: 999px;
}

.system-card-body {
  padding: 24px;
}

.code-line {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.85;
  color: #e2e8f0;
}

.c-muted { color: #64748b; margin-right: 10px; }
.c-key { color: #38bdf8; }
.c-var { color: #f8fafc; }
.c-fn { color: #22d3ee; }
.c-str { color: #a5f3fc; }

.system-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.metric-box {
  background: rgba(255, 255, 255, 0.04);
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.metric-title {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 4px;
}

.metric-val {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.metric-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 999px;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-600);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 16.5px;
  color: var(--slate-600);
}

/* Services Grid */
.services-section {
  background: var(--white);
}

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

.service-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background: var(--white);
  border-color: #7dd3fc;
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(34, 211, 238, 0.18));
  color: var(--blue-600);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--slate-600);
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.service-tags li {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-600);
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Solutions Tabs */
.solutions-section {
  background: var(--navy-900);
  color: var(--white);
}

.solutions-section .section-title {
  color: var(--white);
}

.solutions-section .section-subtitle {
  color: #94a3b8;
}

.solutions-section .section-eyebrow {
  color: var(--cyan-400);
}

.solutions-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 12px 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.tab-btn.active {
  background: var(--accent-gradient);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.solutions-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-lg);
  padding: 42px;
}

.tab-content {
  display: none;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.tab-content.active {
  display: grid;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.solution-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan-400);
  margin-bottom: 10px;
}

.solution-info h3 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 14px;
}

.solution-info p {
  color: #cbd5e1;
  margin-bottom: 22px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: #e2e8f0;
  font-size: 14.5px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan-400);
  font-weight: 700;
}

.solution-highlight-box {
  display: grid;
  gap: 18px;
}

.highlight-stat {
  background: rgba(6, 13, 27, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-md);
  padding: 24px;
}

.stat-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--cyan-400);
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 13.5px;
  color: #cbd5e1;
}

/* Process Section */
.process-section {
  background: var(--slate-50);
}

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

.process-step {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
}

.step-num {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #bae6fd;
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--slate-600);
}

/* About Section */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.about-logo-card {
  background: linear-gradient(145deg, #f8fafc 0%, #f0f9ff 100%);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.about-full-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-content .section-title {
  text-align: left;
}

.about-content p {
  color: var(--slate-600);
  margin-bottom: 16px;
}

.about-content code {
  background: var(--slate-100);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 13.5px;
  color: var(--navy-900);
  font-weight: 600;
}

.about-details {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--slate-200);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.detail-item strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-600);
}

.detail-item span {
  font-size: 15px;
  color: var(--navy-900);
  font-weight: 500;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.contact-info .section-title {
  text-align: left;
}

.contact-lead {
  color: var(--slate-600);
  margin-bottom: 30px;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #e0f2fe;
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card strong {
  display: block;
  font-size: 13px;
  color: var(--slate-500);
  margin-bottom: 2px;
}

.contact-card span,
.contact-card a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-900);
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--blue-600);
}

.contact-form-wrapper {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 22px;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--navy-900);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
}

.form-feedback {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
}

.form-feedback.success {
  color: #059669;
}

.form-feedback.error {
  color: #dc2626;
}

/* Footer */
.footer {
  background: var(--navy-950);
  color: #94a3b8;
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-logo-wrap {
  display: inline-block;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.footer-logo {
  height: 38px;
  width: auto;
}

.footer-brand p {
  font-size: 14.5px;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.footer-brand .footer-meta {
  font-size: 13px;
  color: #64748b;
}

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

.footer-links h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 6px;
}

.footer-links a {
  font-size: 14px;
  color: #94a3b8;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
}

.footer-bottom a:hover {
  color: var(--cyan-400);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .tab-content.active {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
    display: none;
  }

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

  .services-grid,
  .process-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .solutions-panel {
    padding: 26px 20px;
  }
}
