@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --primary-card: #152238;
  --accent-emerald: #059669;
  --accent-teal: #0d9488;
  --accent-cyan: #0284c7;
  --accent-gold: #d97706;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-dark: #334155;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --container-max: 1240px;
  --transition: all 0.25s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 80px;
  padding-bottom: 50px;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #e0f2fe;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-tag.tag-emerald {
  background-color: #d1fae5;
  color: var(--accent-emerald);
}

.section-tag.tag-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.08rem;
  color: var(--text-muted);
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.brand-logo i {
  font-size: 1.35rem;
  color: var(--accent-emerald);
  background: #ecfdf5;
  padding: 10px;
  border-radius: var(--radius-md);
}

.brand-logo span {
  color: var(--accent-cyan);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-cyan);
  border-radius: var(--radius-full);
}

.nav-cta {
  background-color: var(--primary);
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
}

.nav-cta:hover {
  background-color: #1e293b;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 50%;
  min-width: 280px;
  max-width: 400px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1200;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px 20px;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.mobile-close-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  padding: 8px 16px;
  width: 100%;
  border-radius: var(--radius-sm);
}

.mobile-nav-link.active, .mobile-nav-link:hover {
  background-color: #f1f5f9;
  color: var(--accent-cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-emerald);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #047857;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

.btn-dark {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-dark:hover {
  background-color: #1e293b;
}

.btn-outline-light {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 60px 0 60px 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 19, 43, 0.95) 0%, rgba(15, 23, 42, 0.9) 55%, rgba(30, 41, 59, 0.92) 100%);
  z-index: 1;
}

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

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(5, 150, 105, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-paragraph {
  font-size: 1.12rem;
  color: #cbd5e1;
  line-height: 1.68;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-metrics-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
}

.hero-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.hero-strip-item i {
  color: #38bdf8;
  font-size: 1rem;
}

.hero-console-scene {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.hero-console-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.console-core-card {
  background-color: #0d1527;
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 35px rgba(13, 148, 136, 0.15);
  position: relative;
  z-index: 2;
}

.console-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.console-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #34d399;
  background: rgba(16, 185, 129, 0.2);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.console-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.console-main-metric {
  margin-bottom: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.console-metric-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cbd5e1;
  margin-bottom: 8px;
  display: block;
}

.console-metric-val {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.console-metric-val span {
  font-size: 0.95rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.console-meters-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.console-meter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.console-meter-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.console-meter-head span:last-child {
  color: #38bdf8;
  font-weight: 700;
}

.console-meter-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.console-meter-fill {
  height: 100%;
  border-radius: var(--radius-full);
}

.console-sat-card {
  position: relative;
  background-color: #131f33;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}

.console-sat-card.sat-top-right {
  border-color: rgba(56, 189, 248, 0.45);
}

.console-sat-card.sat-bottom-left {
  border-color: rgba(52, 211, 153, 0.45);
}

.console-sat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.sat-bottom-left .console-sat-icon {
  background: rgba(52, 211, 153, 0.18);
  color: #34d399;
}

.console-sat-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.console-sat-text span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
}

.console-perspective-base {
  display: none;
}

.lab-stations-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.lab-station-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.lab-station-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.lab-station-card.card-featured {
  grid-column: span 7;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-color: #334155;
}

.lab-station-card.card-featured h3,
.lab-station-card.card-featured p {
  color: #f8fafc;
}

.lab-station-card.card-featured p {
  color: #94a3b8;
}

.lab-station-card.card-standard {
  grid-column: span 5;
}

.lab-station-card.card-third {
  grid-column: span 4;
}

.station-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 20px auto;
  background-color: #f0fdf4;
  color: var(--accent-emerald);
}

.card-featured .station-icon-wrap {
  background-color: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.station-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.station-desc {
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.station-link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.card-featured .station-link {
  color: #38bdf8;
}

.flow-map-container {
  background-color: var(--primary);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
}

.flow-map-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px auto;
}

.flow-map-header h3 {
  font-size: 1.85rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.flow-map-header p {
  color: #94a3b8;
  font-size: 0.95rem;
}

.flow-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 40px 0;
  gap: 12px;
}

.flow-node {
  flex: 1;
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.flow-node:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
}

.flow-node-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px auto;
  border-radius: 50%;
  background-color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #38bdf8;
  border: 2px solid #334155;
}

.flow-node.node-income .flow-node-icon {
  color: #34d399;
  border-color: #059669;
}

.flow-node.node-savings .flow-node-icon {
  color: #fbbf24;
  border-color: #d97706;
}

.flow-node h4 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.flow-node p {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.4;
}

.flow-connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1.1rem;
}

.flow-map-footer {
  margin-top: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.flow-footer-text {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.scenario-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.scenario-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 16px;
  width: 100%;
}

.scenario-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background-color: #e0f2fe;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto;
}

.scenario-title {
  font-size: 1.25rem;
}

.scenario-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.scenario-considerations {
  background-color: var(--bg-surface-alt);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  width: 100%;
  text-align: left;
}

.scenario-considerations h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  margin-bottom: 10px;
  text-align: center;
}

.scenario-considerations ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scenario-considerations li {
  font-size: 0.85rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.scenario-considerations li i {
  color: var(--accent-emerald);
  font-size: 0.8rem;
  margin-top: 4px;
}

.scenario-card .btn {
  margin-top: auto;
  width: 100%;
}

.patterns-wrapper {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.patterns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.pattern-bar-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pattern-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pattern-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pattern-name i {
  color: var(--accent-cyan);
}

.pattern-ratio {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.meter-track {
  height: 12px;
  background-color: var(--bg-surface-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.meter-fill {
  height: 100%;
  border-radius: var(--radius-full);
}

.fill-essentials { width: 50%; background-color: var(--accent-cyan); }
.fill-lifestyle { width: 30%; background-color: #8b5cf6; }
.fill-savings { width: 20%; background-color: var(--accent-emerald); }
.fill-goals { width: 15%; background-color: #f59e0b; }
.fill-unexpected { width: 10%; background-color: #ef4444; }

.pattern-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  margin-top: 40px;
}

.pathway-step {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pathway-step:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  position: absolute;
  top: -12px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  font-size: 1.4rem;
  color: var(--accent-emerald);
  margin-top: 8px;
  margin-bottom: 12px;
}

.step-name {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.experiments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.experiment-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.experiment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald));
}

.experiment-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.experiment-badge {
  align-self: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-teal);
  background-color: #ccfbf1;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.experiment-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.experiment-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.experiment-focus {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  font-size: 0.8rem;
  color: #475569;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.experiment-focus i {
  color: var(--accent-emerald);
}

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.toolkit-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.toolkit-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 16px;
  width: 100%;
}

.toolkit-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: #f1f5f9;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto;
}

.toolkit-title {
  font-size: 1.15rem;
}

.toolkit-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.toolkit-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  width: 100%;
  text-align: left;
}

.toolkit-features li {
  font-size: 0.85rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toolkit-features li i {
  color: var(--accent-cyan);
  font-size: 0.75rem;
}

.photo-wall-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 20px;
}

.photo-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-item:hover img {
  transform: scale(1.04);
}

.photo-overlay-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.photo-item.span-6-2 {
  grid-column: span 6;
  grid-row: span 2;
}

.photo-item.span-3-1 {
  grid-column: span 3;
  grid-row: span 1;
}

.photo-item.span-3-2 {
  grid-column: span 3;
  grid-row: span 2;
}

.photo-item.span-6-1 {
  grid-column: span 6;
  grid-row: span 1;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.knowledge-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.knowledge-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.knowledge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: #e0f2fe;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto;
  flex-shrink: 0;
}

.knowledge-body h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.knowledge-body p {
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.knowledge-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.scorecard-container {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.scorecard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.scorecard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.scorecard-item {
  background-color: var(--bg-surface-alt);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.scorecard-icon {
  color: var(--accent-emerald);
  font-size: 1.3rem;
  margin: 0 auto;
}

.scorecard-info h5 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.scorecard-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 680px;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  background-color: #ffffff;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-feedback {
  display: none;
  background-color: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 16px;
  border-radius: var(--radius-md);
  margin-top: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.form-feedback.active {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.newsletter-box {
  background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.newsletter-box h3 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.newsletter-box p {
  color: #cbd5e1;
  max-width: 550px;
  margin: 0 auto 28px auto;
  font-size: 1rem;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 12px;
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.newsletter-form .form-control::placeholder {
  color: #94a3b8;
}

.newsletter-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #38bdf8;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question i {
  color: var(--accent-cyan);
  transition: transform 0.25s ease;
  font-size: 0.9rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.cta-banner {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.cta-banner h2 {
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #e6fffa;
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 30px auto;
}

.cta-banner .btn {
  background-color: #ffffff;
  color: #065f46;
  font-weight: 700;
}

.cta-banner .btn:hover {
  background-color: #f8fafc;
}

.page-hero {
  background-color: var(--primary);
  color: #ffffff;
  padding: 80px 0 50px 0;
  position: relative;
  overflow: hidden;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.page-hero-content h1 {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.page-hero-content p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 28px;
  line-height: 1.65;
}

.page-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  height: 320px;
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}

.content-split.reverse {
  direction: rtl;
}

.content-split.reverse > * {
  direction: ltr;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 380px;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text h3 {
  font-size: 1.85rem;
  margin-bottom: 16px;
}

.split-text p {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.65;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-checklist li {
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-checklist li i {
  color: var(--accent-emerald);
  font-size: 1rem;
  margin-top: 3px;
}

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

.info-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: #f1f5f9;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 18px auto;
}

.info-card h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.info-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

.cycle-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.cycle-step {
  flex: 1;
  min-width: 140px;
  background-color: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cycle-step i {
  font-size: 1.4rem;
  color: var(--accent-teal);
  margin-bottom: 10px;
}

.cycle-step strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.cycle-step span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.roadmap-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.roadmap-badge {
  background-color: #e0f2fe;
  color: var(--accent-cyan);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.roadmap-body h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.roadmap-body p {
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info-panel {
  background-color: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-info-panel h3 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.contact-info-panel p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.channel-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #38bdf8;
  flex-shrink: 0;
}

.channel-text strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.channel-text span, .channel-text a {
  font-size: 0.9rem;
  color: #94a3b8;
}

.channel-text a:hover {
  color: #ffffff;
}

.contact-image-wrap {
  margin-top: 30px;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 180px;
}

.contact-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  background-color: #0b132b;
  color: #cbd5e1;
  padding: 70px 0 30px 0;
  margin-top: auto;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .brand-logo {
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-support p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  color: #38bdf8;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-email-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background-color: var(--accent-cyan);
  color: #ffffff;
  border-color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #64748b;
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.7rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-content {
    max-width: 100%;
  }
  .lab-station-card.card-featured,
  .lab-station-card.card-standard,
  .lab-station-card.card-third {
    grid-column: span 6;
  }
  .pathway-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .hamburger-btn {
    display: block;
  }
  .hero-section {
    padding: 45px 0 45px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  .hero-badge {
    margin: 0 auto 22px auto;
  }
  .hero-title {
    font-size: 2.2rem;
    text-align: center;
  }
  .hero-paragraph {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
    width: 100%;
  }
  .hero-metrics-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
  }
  .hero-strip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    width: 100%;
  }
  .hero-strip-item:last-child:nth-child(odd) {
    grid-column: span 2;
  }
  .hero-console-scene {
    padding: 10px 0;
  }
  .hero-console-wrapper {
    max-width: 100%;
  }
  .flow-track {
    flex-direction: column;
  }
  .flow-connector {
    transform: rotate(90deg);
    margin: 8px 0;
  }
  .flow-node {
    width: 100%;
  }
  .pathway-grid {
    grid-template-columns: 1fr;
  }
  .lab-station-card.card-featured,
  .lab-station-card.card-standard,
  .lab-station-card.card-third {
    grid-column: span 12;
  }
  .photo-wall-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .photo-item.span-6-2,
  .photo-item.span-3-1,
  .photo-item.span-3-2,
  .photo-item.span-6-1 {
    grid-column: span 1;
    grid-row: span 1;
  }
  .page-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .page-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .page-hero-content .section-tag {
    margin: 0 auto 16px auto;
  }
  .page-hero-content h1 {
    text-align: center;
  }
  .page-hero-content p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .page-hero-content > div {
    justify-content: center;
    width: 100%;
  }
  .content-split {
    grid-template-columns: 1fr;
  }
  .split-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .split-text .section-tag {
    margin: 0 auto 16px auto;
  }
  .split-text h3 {
    text-align: center;
  }
  .split-text p {
    text-align: center;
  }
  .split-text .feature-checklist {
    text-align: left;
    align-self: stretch;
    width: 100%;
  }
  .cards-grid-3 {
    grid-template-columns: 1fr;
  }
  .cycle-flow {
    flex-direction: column;
  }
  .cycle-step {
    width: 100%;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .patterns-wrapper,
  .scorecard-container,
  .form-card,
  .flow-map-container,
  .cta-banner,
  .newsletter-box {
    padding: 24px 18px;
  }
  .scorecard-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 16px;
  }
  .scorecard-header > div {
    text-align: center;
  }
  .scorecard-header h3 {
    text-align: center;
  }
  .scorecard-header p {
    text-align: center;
  }
  .scorecard-header .section-tag {
    margin: 0 auto;
  }
  .cta-banner h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .cta-banner h2 {
    font-size: 1.45rem;
  }
  .btn {
    width: 100%;
  }
  .hero-actions {
    flex-direction: column;
  }
}
