:root {
  --bg-0: #05070a;
  --bg-1: #090b10;
  --bg-2: #11151f;
  --card: rgba(17, 21, 31, 0.68);
  --card-border: rgba(255, 255, 255, 0.07);
  --text: #f5f7fa;
  --muted: rgba(245, 247, 250, 0.65);
  --accent: #42e8c9;
  --accent-rgb: 66, 232, 201;
  --accent-sec: #63a4ff;
  --accent-sec-rgb: 99, 164, 255;
  --warning: #ffb84d;
  --danger: #ff4d4f;
  --maxw: 1200px;
  --radius: 20px;
  --shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  --font-title: 'Outfit', 'Space Grotesk', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', 'Inter', sans-serif;
}

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

html,
body {
  background-color: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
}

/* Cinematic Background Texture & Glows */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 0.5px, transparent 0.5px);
  background-size: 8px 8px;
  z-index: 10;
}

.bg-glows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.12;
}

.glow-1 {
  top: -200px;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.glow-2 {
  top: 400px;
  right: 5%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-sec) 0%, transparent 70%);
}

.glow-3 {
  bottom: 10%;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

/* Header & Navigation */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(5, 7, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
}

.brand {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

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

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--text);
}

nav a:hover::after {
  width: 100%;
}

.header-action {
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-sec) 100%);
  color: #030a14;
  box-shadow: 0 8px 30px rgba(66, 232, 201, 0.25);
}

.btn.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn.primary:hover::before {
  left: 100%;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(66, 232, 201, 0.4);
}

.btn.ghost {
  color: var(--text);
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.btn:disabled:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--card-border);
  transform: none;
}

.btn.btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 13px;
}

/* Sections Base */
.section {
  width: min(var(--maxw), calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
  position: relative;
  z-index: 10;
}

.section-head {
  margin-bottom: 56px;
}

.section-head.text-center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  margin-top: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: var(--font-title);
}

.pulse-icon {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(66, 232, 201, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(66, 232, 201, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(66, 232, 201, 0);
  }
}

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--text) 30%, var(--accent-sec) 70%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Cards */
.glass {
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

/* Hero Section Layout */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 80px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy .lead {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 36px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

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

.meta-row li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.meta-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  flex-shrink: 0;
  fill: var(--accent);
}

/* Interactive HUD Simulator (Hero Visual) */
.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hud-simulator {
  width: 100%;
  max-width: 480px;
  background: #030508;
  border: 4px solid #1c2130;
  box-shadow: 0px 40px 80px rgba(0, 0, 0, 0.8), inset 0px 0px 30px rgba(66, 232, 201, 0.05);
  border-radius: 28px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.hud-simulator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
  border-radius: 24px;
}

.sim-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-title);
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}

.sim-ble-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sim-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
}

.sim-dot.active {
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: glow-pulse 1.5s infinite alternate;
}

@keyframes glow-pulse {
  0% { opacity: 0.5; }
  100% { opacity: 1; filter: drop-shadow(0 0 4px var(--accent)); }
}

.sim-dashboard {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.sim-gauge-container {
  position: relative;
  width: 200px;
  height: 200px;
}

.sim-gauge-svg {
  width: 200px;
  height: 200px;
}

.gauge-bg {
  stroke: rgba(255, 255, 255, 0.05);
}

.gauge-active {
  stroke: url(#gauge-grad);
  stroke-dasharray: 440;
  stroke-dashoffset: 220; /* Default position */
  transition: stroke-dashoffset 0.3s ease;
}

/* Speed display inside ring */
.sim-speed-center {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sim-speed-num {
  font-family: var(--font-title);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.sim-speed-unit {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  margin-top: 2px;
}

.sim-gear {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 12px;
}

.sim-gear span {
  color: rgba(255, 255, 255, 0.15);
}

.sim-gear span.active {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(66, 232, 201, 0.8);
}

/* Widgets Section */
.sim-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sim-widget-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.widget-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 8px;
}

.widget-value-group {
  margin-bottom: 8px;
}

.widget-val {
  font-size: 28px;
  font-weight: 700;
  font-family: var(--font-title);
}

.widget-unit {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 2px;
}

.widget-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  margin-bottom: 10px;
  overflow: hidden;
}

.widget-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-sec), var(--accent));
  border-radius: 2px;
}

.widget-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.widget-tires {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.car-skeleton {
  width: 32px;
  height: 52px;
  flex-shrink: 0;
}

.car-svg {
  width: 100%;
  height: 100%;
}

.tire-vals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 11px;
}

.t-val {
  color: var(--accent);
}

.t-unit {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.3);
  margin-left: 1px;
}

/* Pulsing Tires in simulator */
.pulsing-tire {
  animation: tire-glow 1.5s infinite alternate;
}

@keyframes tire-glow {
  0% { fill: var(--accent); }
  100% { fill: var(--accent-sec); filter: drop-shadow(0 0 2px var(--accent-sec)); }
}

/* Console Log panel */
.sim-log-panel {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: monospace;
}

.sim-log-title {
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.sim-log-lines {
  height: 48px;
  overflow: hidden;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

.sim-log-lines div {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Features Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  padding: 36px 30px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(66, 232, 201, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(66, 232, 201, 0.15);
}

.card-icon svg {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px;
  min-height: 24px;
  flex-shrink: 0;
  fill: var(--accent);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

/* Hover glowing border effect */
.glow-hover:hover {
  transform: translateY(-5px);
  border-color: rgba(66, 232, 201, 0.35);
  box-shadow: 0 20px 40px rgba(66, 232, 201, 0.08), inset 0 0 15px rgba(66, 232, 201, 0.03);
}

/* SVG gradient declaration injected on top body */
#svg-defs {
  position: absolute;
  width: 0;
  height: 0;
}

/* Showcase Section */
.showcase-layout {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.showcase-item.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.showcase-item.reverse .showcase-info {
  grid-column: 2;
}

.showcase-item.reverse .showcase-media {
  grid-column: 1;
  grid-row: 1;
}

.showcase-num {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-sec);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
}

.showcase-info h3 {
  font-size: 32px;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.showcase-info p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 24px;
}

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

.showcase-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.showcase-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

.showcase-media {
  border-radius: var(--radius);
  height: auto;
  aspect-ratio: 11 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.4) 100%);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.showcase-media:hover .showcase-img {
  transform: scale(1.12);
}

.showcase-media::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(66, 232, 201, 0.25) 20%, rgba(157, 230, 255, 0.9) 50%, rgba(66, 232, 201, 0.25) 80%, transparent 100%);
  box-shadow: 0 0 12px rgba(99, 164, 255, 0.7), 0 0 28px rgba(66, 232, 201, 0.35);
  animation: instrument-scan 7s ease-in-out infinite;
}

@keyframes instrument-scan {
  0%, 12% {
    opacity: 0;
    transform: translateY(-8px);
  }

  18% {
    opacity: 0.85;
  }

  46% {
    opacity: 0.25;
  }

  54%, 100% {
    opacity: 0;
    transform: translateY(328px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-media::after {
    animation: none;
  }

  .showcase-media:hover .showcase-img {
    transform: none;
  }
}

.showcase-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: -24px auto 0;
  padding: 20px 32px;
  text-align: center;
}

.showcase-more span {
  color: var(--accent-sec);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.showcase-more p {
  background: linear-gradient(90deg, var(--accent) 0%, #a8caff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
}

.showcase-more small {
  color: rgba(189, 223, 255, 0.72);
  font-size: 14px;
}

/* Co-create Section */
.co-create {
  padding-top: 24px;
}

.co-create-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 48px;
  overflow: hidden;
  position: relative;
  text-align: center;
  background:
    radial-gradient(circle at 18% 15%, rgba(66, 232, 201, 0.16), transparent 34%),
    radial-gradient(circle at 84% 88%, rgba(99, 164, 255, 0.16), transparent 38%),
    var(--card);
}

.co-create-card::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(66, 232, 201, 0.12);
  border-radius: 15px;
  pointer-events: none;
}

.co-create-card > * {
  position: relative;
}

.co-create-card h2 {
  max-width: 760px;
  margin: 12px 0 16px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.16;
}

.co-create-card h2 span {
  background: linear-gradient(90deg, var(--accent), var(--accent-sec));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.co-create-desc {
  max-width: 660px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.co-create-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

/* Scenes Section (Timeline) */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.timeline article {
  padding: 36px 30px;
  border: 1px solid var(--card-border);
  position: relative;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.timeline article:hover {
  border-color: rgba(99, 164, 255, 0.35);
  box-shadow: 0 20px 40px rgba(99, 164, 255, 0.06);
}

.scene-idx {
  font-family: var(--font-title);
  font-size: 11px;
  color: var(--accent-sec);
  letter-spacing: 2px;
  font-weight: 700;
  display: block;
  margin-bottom: 16px;
}

.timeline h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.timeline p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

/* Download Grid */
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.download-card {
  padding: 40px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dl-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(66, 232, 201, 0.1);
  color: var(--accent);
  border: 1px solid rgba(66, 232, 201, 0.3);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
}

.download-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.download-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.dl-info {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
}

.download-card .btn {
  width: 100%;
}

.fineprint {
  margin-top: 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  font-family: monospace;
}

/* FAQ Details Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-list details {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 18px 24px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-list details[open] {
  border-color: rgba(66, 232, 201, 0.25);
  box-shadow: 0 10px 25px rgba(66, 232, 201, 0.04);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

/* Hide default Chrome details arrow marker */
.faq-list summary::-webkit-details-marker {
  display: none !important;
}

/* Hide standard HTML5 details arrow marker */
.faq-list summary::marker {
  display: none !important;
  content: "" !important;
}

.faq-arrow {
  width: 20px;
  height: 20px;
  fill: var(--muted);
  transition: transform 0.3s ease, fill 0.3s ease;
}

.faq-list details[open] .faq-arrow {
  transform: rotate(180deg);
  fill: var(--accent);
}

.faq-list p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}

/* Footer Section */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 64px 40px 80px;
  text-align: center;
  background: #030508;
  position: relative;
  z-index: 10;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-desc {
  max-width: 500px;
  margin: 0 auto 24px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-disclaimer {
  max-width: 800px;
  margin: 0 auto;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1.7;
}

/* Reveal transition effects */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Contact Section */
.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 56px;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.contact-info h2 {
  font-size: 38px;
  font-family: var(--font-title);
  font-weight: 800;
  margin: 0;
  color: #fff;
}

.contact-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.contact-email {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}

.contact-email a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed var(--accent);
  transition: all 0.3s ease;
}

.contact-email a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.contact-subdesc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.contact-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.btn-email {
  background: #fff !important;
  color: #000 !important;
  border: none !important;
}

.btn-email:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-top {
  border: 1px solid var(--card-border) !important;
  background: transparent !important;
  color: #fff !important;
}

.btn-top:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.contact-qrs {
  display: flex;
  gap: 32px;
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 220px;
}

.qr-img {
  width: 220px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.qr-img:hover {
  transform: scale(1.03);
}

.qr-caption {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

/* Tablet Responsive Design */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
    padding-top: 40px;
  }

  .hero-copy {
    align-items: center;
  }

  .cta-row {
    justify-content: center;
  }

  .meta-row {
    align-items: center;
  }

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

  .showcase-item,
  .showcase-item.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase-item.reverse .showcase-info {
    grid-column: 1;
  }

  .showcase-item.reverse .showcase-media {
    grid-column: 1;
    grid-row: auto;
  }

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

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .topbar {
    padding: 16px 20px;
  }

  nav {
    display: none; /* Collapsed nav for simple mobile landing page */
  }

  .header-action {
    display: block;
  }

  .section {
    padding: 64px 0;
    width: min(var(--maxw), calc(100% - 32px));
  }

  .card-grid,
  .timeline,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 30px 24px;
  }

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

  .btn {
    width: 100%;
  }

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

  .contact-card {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 40px;
  }
  
  .contact-info {
    align-items: center;
    text-align: center;
  }
  
  .contact-qrs {
    justify-content: center;
    flex-wrap: wrap;
  }

  .contact-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .co-create-card {
    min-height: 360px;
    padding: 52px 24px;
  }

  .co-create-actions {
    flex-direction: column;
    width: 100%;
  }

  .co-create-actions .btn {
    width: 100%;
  }

  .contact-qrs {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .qr-item {
    width: 100%;
    max-width: 240px;
  }
  
  .contact-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .contact-actions .btn {
    width: 100%;
  }
}
