/* ============ GLOBAL STYLES ============ */
:root {
  --bg: #020617;
  --bg-elevated: #020617;
  --bg-soft: rgba(15, 23, 42, 0.85);
  --primary: #38bdf8;
  --primary-soft: rgba(56, 189, 248, 0.12);
  --accent: #a855f7;
  --accent-soft: rgba(168, 85, 247, 0.16);
  --text-main: #e5e7eb;
  --text-soft: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --shadow-soft: 0 28px 60px rgba(15, 23, 42, 0.88);
  --radius-xl: 1.75rem;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;
  --nav-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0f172a 0, #020617 38%, #000000 90%);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
}

/* Background glow and grid overlay for visual richness */
.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: -40%;
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.32), transparent 58%),
    radial-gradient(circle at 90% 0%, rgba(168, 85, 247, 0.26), transparent 52%);
  opacity: 0.85;
  filter: blur(34px);
  z-index: -3;
}

.page-shell::after {
  opacity: 0.4;
  filter: blur(70px);
}

/* Subtle grid */
.bg-grid {
  position: fixed;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.16) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Layout Containers */
.nav-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 0;
}

.main-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 40px;
  flex: 1;
}

/* ============ NAVBAR ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.94),
    rgba(15, 23, 42, 0.7)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Brand (logo + text) */
.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  box-shadow: none;
  border: none;
  position: relative;
}

/* ensure no pseudo-element overlays the real logo */
.brand-logo::after {
  content: none !important;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.brand-text-main {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.brand-text-sub {
  font-size: 12px;
  color: var(--text-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  font-size: 14px;
  text-decoration: none;
  color: var(--text-soft);
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.15s ease;
}

.nav-links a:hover {
  color: #f9fafb;
  border-color: rgba(148, 163, 184, 0.4);
  background: radial-gradient(
    circle at top,
    rgba(30, 64, 175, 0.8),
    rgba(15, 23, 42, 0.95)
  );
  transform: translateY(-1px);
}

.nav-links a.nav-active {
  color: #f9fafb;
  border-color: rgba(56, 189, 248, 0.85);
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.1),
    rgba(56, 189, 248, 0.02)
  );
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.45);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.8);
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.12),
    rgba(15, 23, 42, 0.96)
  );
  color: #e0f2fe;
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.85);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.nav-cta span.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.26);
}

.nav-cta:hover {
  transform: translateY(-1px) translateX(0.5px);
  box-shadow: 0 22px 35px rgba(15, 23, 42, 0.95);
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.18),
    rgba(15, 23, 42, 0.98)
  );
}

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(
    circle at 30% 0,
    rgba(56, 189, 248, 0.28),
    rgba(15, 23, 42, 0.98)
  );
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  box-shadow: 0 6px 0 #e5e7eb, 0 -6px 0 #e5e7eb;
}

/* ============ HERO SECTION (HOME) ============ */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.8fr);
  gap: 32px;
  padding: 32px 0 18px;
}

.hero-left {
  padding-top: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(
    circle at left,
    rgba(56, 189, 248, 0.2),
    rgba(15, 23, 42, 0.98)
  );
  color: var(--text-soft);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  font-size: 10px;
  font-weight: 600;
  color: #0b1120;
}

.hero-title {
  margin-top: 16px;
  font-size: clamp(2.4rem, 3.1vw, 3rem);
  letter-spacing: -0.04em;
  font-weight: 720;
  color: #f9fafb;
}

.hero-highlight {
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 15px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.8);
  background:
    radial-gradient(circle at 0% 0%, rgba(248, 250, 252, 0.95), transparent 58%),
    linear-gradient(135deg, #0ea5e9, #0369a1);
  color: #020617;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 22px 40px rgba(8, 47, 73, 0.95);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.btn-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 28px 55px rgba(8, 47, 73, 1);
  background:
    radial-gradient(circle at 0% 0%, rgba(248, 250, 252, 0.9), transparent 62%),
    linear-gradient(135deg, #0284c7, #075985);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(
    circle at top,
    rgba(15, 23, 42, 0.2),
    rgba(15, 23, 42, 0.96)
  );
  color: var(--text-main);
  font-size: 13px;
  text-decoration: none;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}

.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, 1);
  background: radial-gradient(
    circle at top,
    rgba(15, 23, 42, 0.55),
    rgba(15, 23, 42, 0.98)
  );
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 22px;
  font-size: 11px;
  color: var(--text-soft);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-meta-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  color: rgba(148, 163, 184, 0.95);
}

.hero-meta-value {
  font-size: 12px;
}

/* Hero right visual card */
.hero-right {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-visual {
  width: 100%;
  max-width: 430px;
  border-radius: 32px;
  padding: 18px 18px 20px;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(circle at bottom, rgba(168, 85, 247, 0.24), transparent 65%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.45);
  position: relative;
  overflow: hidden;
}

.hero-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hero-visual-title {
  font-size: 12px;
  color: #e5e7eb;
}

.hero-visual-pill {
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.75);
  color: #e0f2fe;
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.25),
    rgba(15, 23, 42, 0.9)
  );
}

.hero-visual-grid {
  margin-top: 6px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
}

.hero-visual-panel {
  border-radius: 20px;
  padding: 12px;
  background: radial-gradient(
    circle at top,
    rgba(15, 23, 42, 0.75),
    rgba(15, 23, 42, 0.98)
  );
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-visual-metric-label {
  font-size: 11px;
  color: var(--text-soft);
}

.hero-visual-metric-value {
  font-size: 22px;
  font-weight: 650;
}

.hero-visual-metric-tag {
  font-size: 10px;
  color: #bbf7d0;
}

.hero-visual-bars {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  margin-top: 14px;
  height: 76px;
}

.hero-bar {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.9),
    rgba(56, 189, 248, 0.4)
  );
  position: relative;
  overflow: hidden;
}

.hero-bar:nth-child(2) {
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.9),
    rgba(34, 197, 94, 0.4)
  );
}

.hero-bar:nth-child(3) {
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.9),
    rgba(168, 85, 247, 0.4)
  );
}

.hero-bar-fill {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at top,
    rgba(248, 250, 252, 0.3),
    transparent 65%
  );
  opacity: 0.7;
}

.hero-bar:nth-child(1) .hero-bar-fill {
  height: 78%;
}
.hero-bar:nth-child(2) .hero-bar-fill {
  height: 94%;
}
.hero-bar:nth-child(3) .hero-bar-fill {
  height: 61%;
}

.hero-visual-footer {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-soft);
}

.hero-visual-chip {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  background: radial-gradient(
    circle at top,
    rgba(15, 23, 42, 0.2),
    rgba(15, 23, 42, 0.95)
  );
}

/* ============ CONTENT SECTIONS ============ */
.section {
  margin-top: 28px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(148, 163, 184, 0.95);
}

.section-title {
  font-size: 19px;
  font-weight: 600;
  color: #f9fafb;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-soft);
  max-width: 520px;
}

/* Card grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border-radius: var(--radius-lg);
  padding: 14px 14px 16px;
  background: radial-gradient(
    circle at top,
    rgba(15, 23, 42, 0.85),
    rgba(15, 23, 42, 0.98)
  );
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.9);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -45%;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.card-inner {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 26px 55px rgba(15, 23, 42, 1);
  background: radial-gradient(
    circle at top,
    rgba(15, 23, 42, 0.7),
    rgba(15, 23, 42, 0.98)
  );
}

.card:hover::before {
  opacity: 1;
}

.card-tag {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 10px;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 6px;
}

.card-body {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.card-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.card-list li {
  font-size: 12px;
  color: rgba(209, 213, 219, 0.96);
  padding-left: 14px;
  position: relative;
  margin-bottom: 3px;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #a855f7);
}

/* Two-column layout for about/services detail */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 24px;
  margin-top: 12px;
}

.prose {
  font-size: 14px;
  color: var(--text-soft);
}

.prose p {
  margin-top: 0;
  margin-bottom: 0.7em;
}

.prose strong {
  color: #e5e7eb;
}

/* List blocks */
.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 5px;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.9);
}

/* Industry grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.industry-card {
  border-radius: 18px;
  padding: 12px 12px 13px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(
    circle at top,
    rgba(15, 23, 42, 0.85),
    rgba(15, 23, 42, 0.98)
  );
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.9);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.industry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 1);
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.2),
    rgba(15, 23, 42, 0.98)
  );
}

.industry-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 3px;
}

.industry-text {
  font-size: 12px;
  color: var(--text-soft);
}

/* Contact layout */
.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 24px;
  margin-top: 16px;
}

.contact-card {
  border-radius: var(--radius-lg);
  padding: 18px 16px 18px;
  background: radial-gradient(
    circle at top,
    rgba(15, 23, 42, 0.82),
    rgba(15, 23, 42, 0.98)
  );
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.96);
}

.contact-form {
  display: grid;
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 12px;
  color: rgba(209, 213, 219, 0.96);
}

.field input,
.field textarea,
.field select {
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.95);
  padding: 8px 10px;
  color: var(--text-main);
  font-size: 13px;
  outline: none;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
  background: rgba(15, 23, 42, 0.98);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.btn-submit {
  margin-top: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.9);
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  color: #f9fafb;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(8, 47, 73, 0.95);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.btn-submit:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 26px 50px rgba(8, 47, 73, 1);
  background: linear-gradient(135deg, #0284c7, #075985);
}

/* Detail meta chips */
.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.meta-chip {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 11px;
  color: var(--text-soft);
}

/* ============ FOOTER ============ */
.site-footer {
  margin-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 16px 0 18px;
  font-size: 11px;
  color: var(--text-soft);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.footer-brand {
  font-size: 12px;
  color: #e5e7eb;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: #e5e7eb;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    order: -1;
  }

  .two-column,
  .contact-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav-inner {
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 14px 14px;
    margin-top: 10px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: radial-gradient(
      circle at top,
      rgba(15, 23, 42, 0.9),
      rgba(15, 23, 42, 0.96)
    );
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .industry-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Utility helpers */
.text-accent {
  color: #e0f2fe;
}
