@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  color-scheme: light;
  /* Voltik Official Brand Colors */
  --aqua: #1EA885;
  --aqua-light: #4FCFB0;
  --sky: #2B8BE6;
  --sky-light: #7DB9EC;
  
  /* Apple / Sword Health Light MedTech Palette */
  --ink-primary: #0B2545;
  --ink-secondary: #3C5068;
  --ink-muted: #647A90;
  
  --bg-deep: #F4F8FA;
  --bg-surface: #FFFFFF;
  --bg-mist: #EEF4F7;
  
  --line-subtle: #DCE6EB;
  --line-accent: rgba(30, 168, 133, 0.35);

  --grad-voltik: linear-gradient(135deg, #1EA885 0%, #2B8BE6 100%);
  --grad-card: linear-gradient(135deg, #FFFFFF 0%, #F9FBFC 100%);
  --grad-glow: radial-gradient(ellipse at 50% -10%, rgba(79, 207, 176, 0.25) 0%, rgba(125, 185, 236, 0.16) 45%, rgba(244, 248, 250, 0) 75%);

  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-body: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;

  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 9999px;

  --shadow-soft: 0 4px 20px rgba(11, 37, 69, 0.04);
  --shadow-card: 0 14px 38px rgba(11, 37, 69, 0.06), 0 2px 6px rgba(11, 37, 69, 0.03);
  --shadow-card-hover: 0 20px 48px rgba(11, 37, 69, 0.1), 0 4px 10px rgba(11, 37, 69, 0.04);
  --shadow-glow: 0 8px 24px rgba(30, 168, 133, 0.28);
}

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

html, body {
  min-height: 100%;
}

body {
  background-color: var(--bg-deep);
  background-image: var(--grad-glow);
  background-attachment: fixed;
  color: var(--ink-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 18px 56px;
}

/* Ambient Subtle Glow */
.ambient-glow {
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 120vw);
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(79, 207, 176, 0.2) 0%, rgba(125, 185, 236, 0.12) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-subtle);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-soft);
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 3px 8px rgba(11, 37, 69, 0.1);
}

.brand-name {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #4FCFB0;
  background: var(--grad-voltik);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-env {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  -webkit-text-fill-color: var(--ink-secondary);
}

.badge-env {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.badge-env.prod {
  background: rgba(30, 168, 133, 0.08);
  color: var(--aqua);
  border: 1px solid rgba(30, 168, 133, 0.28);
}

.badge-env.staging {
  background: rgba(43, 139, 230, 0.08);
  color: var(--sky);
  border: 1px solid rgba(43, 139, 230, 0.28);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 6px currentColor;
  animation: pulse 2.2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

/* ===== Under Development Banner (Prod) ===== */
.dev-banner {
  background: linear-gradient(135deg, rgba(79, 207, 176, 0.12) 0%, rgba(125, 185, 236, 0.1) 100%);
  border: 1px solid var(--line-accent);
  border-radius: var(--r-lg);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.dev-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-voltik);
}

.dev-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(30, 168, 133, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(30, 168, 133, 0.15);
}

.dev-banner-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dev-banner-title {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 800;
  color: var(--aqua);
  letter-spacing: -0.2px;
}

.dev-banner-text {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.45;
}

/* ===== Hero Section ===== */
.hero-card {
  background: var(--grad-card);
  border: 1px solid var(--line-subtle);
  border-radius: var(--r-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-voltik);
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--aqua);
  background: rgba(30, 168, 133, 0.08);
  border: 1px solid rgba(30, 168, 133, 0.22);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  letter-spacing: 0.3px;
}

.tagline-logo {
  width: 17px;
  height: 17px;
  border-radius: 4px;
  object-fit: cover;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.8vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.8px;
  color: var(--ink-primary);
  max-width: 760px;
}

.hero-title span {
  display: inline-block;
  color: #4FCFB0;
  background: var(--grad-voltik);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(16px, 2.1vw, 18.5px);
  color: var(--ink-secondary);
  max-width: 680px;
  line-height: 1.6;
}

/* ===== Iris Showcase Card ===== */
.iris-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F9FC 100%);
  border: 1px solid rgba(30, 168, 133, 0.25);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  box-shadow: var(--shadow-card);
}

.iris-avatar-wrapper {
  position: relative;
  width: 76px;
  height: 76px;
}

.iris-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(30, 168, 133, 0.25);
  border: 3px solid #FFFFFF;
}

.iris-online-ping {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background-color: var(--aqua);
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 6px var(--aqua);
}

.iris-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.iris-badge {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.7px;
  color: var(--aqua);
  text-transform: uppercase;
}

.iris-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: var(--ink-primary);
  letter-spacing: -0.3px;
}

.iris-text {
  color: var(--ink-secondary);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ===== Solution Pillars Grid ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-subtle);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(30, 168, 133, 0.35);
}

.pillar-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(30, 168, 133, 0.08);
  border: 1px solid rgba(30, 168, 133, 0.18);
  color: var(--aqua);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: -0.2px;
}

.pillar-desc {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* ===== Staging Action Card ===== */
.staging-action-card {
  background: linear-gradient(135deg, rgba(79, 207, 176, 0.08) 0%, rgba(125, 185, 236, 0.1) 100%);
  border: 1px solid var(--line-accent);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-card);
}

.staging-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-primary);
}

.staging-subtitle {
  color: var(--ink-secondary);
  font-size: 15.5px;
  max-width: 580px;
  line-height: 1.5;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-voltik);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: var(--r-pill);
  text-decoration: none;
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(30, 168, 133, 0.42);
  opacity: 0.96;
}

.btn-primary:active {
  transform: translateY(0);
}

.api-endpoint-badge {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid var(--line-subtle);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  color: var(--aqua);
  box-shadow: 0 2px 6px rgba(11, 37, 69, 0.04);
}

/* ===== Contact Section ===== */
.contact-section {
  background: var(--bg-surface);
  border: 1px solid var(--line-subtle);
  border-radius: var(--r-lg);
  padding: 34px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-soft);
}

.contact-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--ink-primary);
}

.contact-text {
  color: var(--ink-secondary);
  font-size: 15.5px;
  max-width: 540px;
  line-height: 1.55;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--aqua);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 11px 24px;
  border: 1.5px solid rgba(30, 168, 133, 0.35);
  border-radius: var(--r-pill);
  background: rgba(30, 168, 133, 0.05);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-email:hover {
  background: rgba(30, 168, 133, 0.12);
  border-color: rgba(30, 168, 133, 0.6);
  transform: translateY(-1px);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink-muted);
  font-size: 13.5px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-primary);
}

.footer-founders {
  font-size: 14.5px;
  color: var(--ink-secondary);
  font-weight: 600;
}

/* ===== Mobile Adaptations ===== */
@media (max-width: 640px) {
  body {
    padding: 16px 12px 36px;
  }
  .navbar {
    padding: 10px 16px;
  }
  .brand-name {
    font-size: 18px;
  }
  .badge-env {
    font-size: 11px;
    padding: 4px 10px;
  }
  .hero-card {
    padding: 38px 20px;
    gap: 16px;
  }
  .dev-banner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 22px 18px;
  }
  .iris-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 26px 20px;
    gap: 18px;
  }
  .iris-avatar-wrapper {
    margin: 0 auto;
  }
  .iris-badge {
    align-self: center;
  }
  .staging-action-card {
    padding: 26px 18px;
  }
  .btn-primary {
    width: 100%;
    justify-content: center;
  }
  .contact-section {
    padding: 24px 18px;
  }
}

/* Explicit Dark Mode Legibility */
@media (prefers-color-scheme: dark) {
  .brand-name {
    color: #4FCFB0 !important;
    -webkit-text-fill-color: #4FCFB0 !important;
  }
  .hero-title span {
    color: #4FCFB0 !important;
    -webkit-text-fill-color: #4FCFB0 !important;
  }
}
