/* ========================================================
   HAYONCAMPUS — MODERN SAAS LANDING PAGE STYLESHEET
   Full-Bleed Vertical Gradient (#19A3E9 -> #8758F5 -> #D946A8)
   Glassmorphism (10-15% translucent white, blur, 26px radius)
   Space Grotesk + Inter Typography
   Fully Responsive Layout
   ======================================================== */

:root {
  --color-blue: #19A3E9;
  --color-purple: #8758F5;
  --color-pink: #D946A8;
  
  --text-white: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.82);
  --text-muted: rgba(255, 255, 255, 0.65);
  
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-bg-hover: rgba(255, 255, 255, 0.18);
  --glass-bg-subtle: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-border-hover: rgba(255, 255, 255, 0.45);
  --glass-radius: 26px;
  --glass-radius-sm: 16px;
  --glass-shadow: 0 20px 50px -10px rgba(10, 5, 30, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  --glass-shadow-hover: 0 28px 60px -12px rgba(10, 5, 30, 0.32), inset 0 1px 1.5px rgba(255, 255, 255, 0.4);

  --identity-bg: rgba(18, 10, 42, 0.48);
  --identity-border: rgba(255, 255, 255, 0.18);
  
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --max-content-width: 1280px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Full-Bleed Gradient */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  background: linear-gradient(180deg, #19A3E9 0%, #8758F5 48%, #D946A8 100%);
  background-repeat: no-repeat;
}

body {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--text-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Subtle Lighting Orbs (purely decorative, doesn't interfere with gradient) */
.ambient-glow {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.35;
}

.glow-top {
  width: 500px;
  height: 500px;
  top: -100px;
  left: 20%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
}

.glow-middle {
  width: 600px;
  height: 600px;
  top: 40%;
  right: -100px;
  background: radial-gradient(circle, rgba(217, 70, 168, 0.35) 0%, transparent 70%);
}

.glow-bottom {
  width: 700px;
  height: 700px;
  bottom: -200px;
  left: 10%;
  background: radial-gradient(circle, rgba(25, 163, 233, 0.3) 0%, transparent 70%);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-dim);
}

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

/* Layout Wrappers */
.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism Generic Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

/* ========================================================
   PILL BUTTONS (Strict adherence to requirement)
   ======================================================== */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  outline: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

/* Solid White Pill */
.pill-btn-white {
  background: #ffffff;
  color: #1a163a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.pill-btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  color: #0f0a28;
}

.pill-btn-white:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

/* Outlined Pill */
.pill-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pill-btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

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

.btn-arrow {
  transition: transform var(--transition-fast);
}

.pill-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ========================================================
   1. NAVIGATION BAR
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: 16px 24px;
}

.navbar {
  max-width: var(--max-content-width);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  padding: 8px 14px 8px 20px;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Brand Wordmark */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.brand-logo-icon {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast), transform var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background: #ffffff;
  transition: all var(--transition-fast);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 80%;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
}

.hamburger-line {
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========================================================
   2. HERO SECTION
   ======================================================== */
.hero-section {
  padding: 80px 0 50px;
  text-align: center;
}

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

/* Tagline Pill */
.tagline-pill-wrapper {
  margin-bottom: 24px;
}

.tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-fast);
}

.tagline-pill:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.tagline-sparkle {
  color: #ffd875;
  font-size: 0.85rem;
}

.tagline-text {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-transform: uppercase;
}

/* Headline */
.hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
  text-wrap: balance;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.highlight-text {
  background: linear-gradient(135deg, #ffffff 0%, #f1e9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.highlight-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
}

/* Supporting Paragraph */
.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  max-width: 780px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
}

.hero-description strong {
  color: #ffffff;
  font-weight: 600;
}

/* Two Buttons Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-primary-btn {
  padding: 15px 34px;
  font-size: 1.05rem;
}

.hero-secondary-btn {
  padding: 15px 32px;
  font-size: 1.05rem;
}

/* Ecosystem Live Indicator */
.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.12);
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

/* ========================================================
   3. FEATURE CHIPS SECTION (TAGS ROW)
   ======================================================== */
.feature-chips-section {
  padding: 30px 0 50px;
}

.chips-container {
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}

.chips-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chips-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* Small Rounded Pill Feature Chips */
.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-chip:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-chip.active {
  background: #ffffff;
  color: #1a163a;
  border-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.feature-chip.active .chip-icon {
  transform: scale(1.1);
}

.chip-icon {
  font-size: 1rem;
  transition: transform var(--transition-fast);
}

/* ========================================================
   4. TWO GLASS PRODUCT CARDS SIDE BY SIDE
   ======================================================== */
.products-section {
  padding: 40px 0 80px;
}

.products-container {
  width: 100%;
}

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

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Two Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;
}

.product-card {
  position: relative;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--glass-border-hover);
}

.card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* Card Header */
.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.product-badge-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  overflow: hidden;
}

.badge-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.app-subtag {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  display: block;
  margin-bottom: 2px;
}

.product-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.status-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}

.active-pill {
  color: #e2fbd7;
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.4);
}

/* One-line Description */
.product-description {
  font-size: 1.15rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 28px;
  line-height: 1.5;
}

/* 4-Item Feature Bullet List */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
  color: #ffffff;
}

.feature-check svg {
  width: 14px;
  height: 14px;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feature-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.feature-text span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

/* Know-how Micro Badge */
.card-project-preview {
  margin-bottom: 24px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.micro-stat-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
}

.micro-icon {
  font-size: 0.95rem;
}

/* Card Action Footer */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.card-link-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  transition: all var(--transition-fast);
}

.card-link-btn .arrow-symbol {
  transition: transform var(--transition-fast);
}

.card-link-btn:hover {
  color: #f1f5f9;
}

.card-link-btn:hover .arrow-symbol {
  transform: translateX(6px);
}

.interactive-pill-tag {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.interactive-pill-tag:hover {
  background: #ffffff;
  color: #1a163a;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ========================================================
   5. THREE-COLUMN STATS ROW
   ======================================================== */
.stats-section {
  padding: 20px 0 60px;
}

.stats-card {
  padding: 44px 32px;
  border-radius: var(--glass-radius);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.stat-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}

.stat-number-wrapper {
  margin-bottom: 4px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.stat-label-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}

.stat-divider-slash {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.stat-subdetail {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 260px;
}

.stat-vertical-line {
  width: 1px;
  height: 80px;
  background: rgba(255, 255, 255, 0.25);
}

/* ========================================================
   ECOSYSTEM INTERACTIVE SHOWCASE (Codebase features)
   ======================================================== */
.ecosystem-section {
  padding: 30px 0 60px;
}

.ecosystem-showcase-card {
  padding: 40px;
}

.ecosystem-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.badge-accent {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffd875;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.ecosystem-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
}

.tab-pill-switcher {
  display: inline-flex;
  padding: 4px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.tab-pill {
  padding: 8px 20px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-pill.active {
  background: #ffffff;
  color: #1a163a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.ecosystem-content-grid.hidden {
  display: none;
}

.flow-step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-fast);
}

.flow-step:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #1a163a;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.flow-step h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 16px;
  flex: 1;
}

.interactive-snippet {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.interactive-snippet code {
  color: #e2e8f0;
  font-family: monospace;
}

/* ========================================================
   6. DARKER TRANSLUCENT IDENTITY STRIP BANNER
   ======================================================== */
.identity-strip-section {
  padding: 30px 0 80px;
}

.identity-strip-card {
  background: var(--identity-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--identity-border);
  padding: 50px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.identity-content {
  max-width: 720px;
}

.identity-icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffd875;
  margin-bottom: 16px;
}

.identity-heading {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.identity-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.identity-action {
  flex-shrink: 0;
}

.identity-cta-btn {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ========================================================
   7. FOOTER
   ======================================================== */
.site-footer {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 36px 24px;
  margin-top: 40px;
}

.footer-container {
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.copyright-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links-side {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-dot {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

/* ========================================================
   MODALS & INTERACTIVE OVERLAYS
   ======================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 25, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-glass {
  background: rgba(24, 16, 50, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.simulator-glass {
  max-width: 780px;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffd875;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.modal-heading {
  font-size: 1.6rem;
  font-weight: 800;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal-intro {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

/* Launcher Cards */
.launcher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.launcher-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.launcher-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.launcher-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}

.launcher-header h4 {
  font-size: 1.15rem;
  font-weight: 700;
}

.launcher-tag {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.launcher-card p {
  font-size: 0.88rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

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

.launcher-btn {
  width: 100%;
  padding: 10px;
  font-size: 0.88rem;
}

.launcher-demo-link {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  text-align: center;
}

.launcher-demo-link:hover {
  color: #ffffff;
}

/* Glass Inputs & Forms */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.glass-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.glass-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  margin-top: 8px;
}

/* Auth Success State */
.auth-success-state {
  text-align: center;
  padding: 20px 0;
}

.auth-success-state.hidden {
  display: none;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.auth-success-state h4 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.auth-success-state p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.synced-apps-pill {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4ade80;
}

/* Modal text content */
.modal-text-body p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

.about-pillar {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 16px;
}

.about-pillar h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #ffd875;
}

.about-pillar p {
  font-size: 0.85rem;
  margin: 0;
}

/* Simulator Custom Styles */
.sim-interactive-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 24px;
  margin-top: 16px;
}

.sim-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.sim-metric-card {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.sim-metric-card .val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
}

.sim-metric-card .lbl {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

.sim-slider-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.sim-calc-result {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 600;
  text-align: center;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #dcfce7;
}

/* ========================================================
   RESPONSIVE DESIGN (Media Queries)
   ======================================================== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .ecosystem-content-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .stat-vertical-line {
    display: none;
  }

  .identity-strip-card {
    flex-direction: column;
    text-align: center;
    gap: 28px;
    padding: 36px 28px;
  }

  .identity-content {
    max-width: 100%;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 12px 16px;
  }

  .navbar {
    padding: 8px 16px;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    left: 16px;
    right: 16px;
    background: rgba(18, 10, 42, 0.94);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 24px;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: none;
  }

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

  .mobile-toggle {
    display: flex;
  }

  .hero-section {
    padding: 50px 0 30px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-primary-btn, .hero-secondary-btn {
    width: 100%;
  }

  .product-card {
    padding: 30px 24px;
  }

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

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

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .page-wrapper {
    padding: 0 14px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .hero-headline {
    font-size: 1.95rem;
    line-height: 1.15;
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .chips-row {
    gap: 8px;
  }

  .feature-chip {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .product-card {
    padding: 26px 16px;
  }

  .product-title {
    font-size: 1.55rem;
  }

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

  .identity-strip-card {
    padding: 30px 18px;
  }

  .identity-heading {
    font-size: 1.75rem;
  }

  .stats-card {
    padding: 32px 16px;
  }

  .modal-container {
    padding: 24px 18px;
  }
}
