/* ==========================================================================
   ODINOTE — PREMIUM LANDING PAGE STYLESHEET
   Design Theme: White, Gray, Green, and Red (Cyber-Minimalist / Liftoff Aesthetic)
   Inspired by Arknights panels, Gemini concentric orbits, and modern typography
   ========================================================================== */

:root {
  /* Chromatic Palette */
  --brand-white: #FFFFFF;
  --brand-bg-light: #FBFBFC;
  --brand-gray-light: #F4F4F6;
  --brand-gray-medium: #595459;
  --brand-gray-dark: #121214;
  --brand-green: #90B968; /* Organic Olive Green */
  --brand-green-hover: #A3CE7A;
  --brand-green-light: #F0F6EA;
  --brand-red: #E6544F; /* Crimson Accent */
  --brand-red-hover: #EE635D;
  --brand-red-light: #FCECEB;
  
  /* Borders and Lines */
  --line-solid: 1.5px solid var(--brand-gray-dark);
  --line-soft: 1.5px solid var(--brand-gray-light);
  --line-green: 1.5px solid var(--brand-green);
  --line-red: 1.5px solid var(--brand-red);
  
  /* Typography */
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows */
  --shadow-flat: 0px 0px 0px 0px var(--brand-gray-dark);
  --shadow-sm: 3px 3px 0px 0px var(--brand-gray-dark);
  --shadow-md: 6px 6px 0px 0px var(--brand-gray-dark);
  --shadow-lg: 10px 10px 0px 0px var(--brand-gray-dark);
  --shadow-green: 6px 6px 0px 0px var(--brand-green);
  --shadow-red: 6px 6px 0px 0px var(--brand-red);

  /* Easing */
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Cursors (White arrow with green outline for default, green fill on hover) */
body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 3v15.2l3.8-3.8 2.2 4.9 2.5-1.1-2.2-4.9h5.7L4.5 3z' fill='white' stroke='%2390B968' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"), default;
}
a, button, select, input[type="submit"], .panel-action, .kofi-btn-link {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 3v15.2l3.8-3.8 2.2 4.9 2.5-1.1-2.2-4.9h5.7L4.5 3z' fill='%23E6544F' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"), pointer !important;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--brand-bg-light);
  color: var(--brand-gray-dark);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

code, pre {
  font-family: var(--font-mono);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 120ms var(--e-out);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  transition: transform 120ms var(--e-out), box-shadow 120ms var(--e-out), background 120ms;
  border: var(--line-solid);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  color: var(--brand-white);
}

.btn-red {
  background: var(--brand-red);
}
.btn-red:hover {
  background: var(--brand-red-hover);
  transform: translate(-1.5px, -2px);
  box-shadow: var(--shadow-md);
}

.btn-green {
  background: var(--brand-green);
}
.btn-green:hover {
  background: var(--brand-green-hover);
  transform: translate(-1.5px, -2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--brand-white);
  color: var(--brand-gray-dark);
}

.btn-outline {
  border: var(--line-solid);
}
.btn-outline:hover {
  background: var(--brand-green-light);
  border-color: var(--brand-green);
  color: var(--brand-gray-dark);
  transform: translate(-1.5px, -2px);
  box-shadow: var(--shadow-green);
}

.btn-large {
  padding: 14px 32px;
  font-size: 16px;
}

/* ==========================================================================
   CYBERNETIC BACKGROUNDS & PARTICLES (Image 3/4 Concentric Orbits)
   ========================================================================== */
.vector-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 900px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Fine Grid overlay */
.vector-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(144, 185, 104, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(144, 185, 104, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 75% 45%, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at 75% 45%, black 40%, transparent 90%);
}

/* Concentric orbits container aligned to the Hero Showcase */
.orbit-center {
  position: absolute;
  top: 45%;
  left: 75%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-sphere-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 84, 79, 0.12) 0%, transparent 70%);
}

.coordinate-axis {
  position: absolute;
  background: rgba(144, 185, 104, 0.15);
}
.axis-x {
  width: 100%;
  height: 1px;
}
.axis-y {
  width: 1px;
  height: 100%;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(144, 185, 104, 0.22);
}
.ring-1 {
  width: 320px; height: 320px;
  animation: rotate-orbit-cw 30s linear infinite;
}
.ring-2 {
  width: 500px; height: 500px;
  border-color: rgba(230, 84, 79, 0.15);
  border-style: dotted;
  animation: rotate-orbit-ccw 45s linear infinite;
}
.ring-3 {
  width: 680px; height: 680px;
  animation: rotate-orbit-cw 60s linear infinite;
}

@keyframes rotate-orbit-cw {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes rotate-orbit-ccw {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* ==========================================================================
   HEADER / STICKY NAV (Image 2 style)
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(251, 251, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 18, 20, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--brand-gray-dark);
}

.brand-logo {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-white);
  box-shadow: 0 0 12px rgba(144, 185, 104, 0.25);
  border: 1px solid rgba(144, 185, 104, 0.2);
  display: grid;
  place-items: center;
  padding: 4px;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.nav-link {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--brand-gray-medium);
}
.nav-link:hover {
  color: var(--brand-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-download-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-gray-dark);
  color: var(--brand-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0px 3px 8px rgba(18, 18, 20, 0.15);
  transition: transform 120ms var(--e-out), background 120ms;
}
.btn-download-top:hover {
  transform: translateY(-1.5px);
  background: var(--brand-red);
}
.btn-download-top .material-symbols-rounded {
  font-size: 15px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 2;
  padding: 80px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--brand-green-light);
  border: 1px solid rgba(144, 185, 104, 0.2);
  color: var(--brand-gray-dark);
  font-weight: 700;
  font-size: 12.5px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--brand-gray-dark);
  margin-bottom: 20px;
}

.highlight-green {
  background: linear-gradient(180deg, transparent 70%, var(--brand-green-light) 70%);
  padding: 0 4px;
  color: var(--brand-green);
  font-weight: 800;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--brand-gray-medium);
  margin-bottom: 36px;
}

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

/* Hero Showcase Frame (Image 4/5 Tech Interface Mockup) */
.hero-showcase {
  position: relative;
  width: 100%;
  perspective: 1000px;
}

.cyber-window {
  background: var(--brand-white);
  border: var(--line-solid);
  box-shadow: var(--shadow-lg);
  border-radius: 4px;
  overflow: hidden;
  height: 380px;
  display: flex;
  flex-direction: column;
  transform: rotateY(-3deg) rotateX(1deg);
  transition: transform 300ms var(--e-out);
}
.cyber-window:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--brand-gray-light);
  border-bottom: var(--line-solid);
}

.window-dots {
  display: flex;
  gap: 6px;
}
.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--brand-gray-dark);
}
.dot-red { background: var(--brand-red); }
.dot-gray { background: var(--brand-white); }
.dot-green { background: var(--brand-green); }

.window-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-gray-medium);
  letter-spacing: 0.05em;
}

.window-metric {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--brand-green);
  font-weight: 600;
}

.window-body {
  position: relative;
  flex: 1;
  background: #FDFDFE;
  overflow: hidden;
  padding: 20px;
}

.mock-node {
  position: absolute;
  background: var(--brand-white);
  border: var(--line-solid);
  border-radius: 4px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.node-main {
  top: 30px;
  left: 140px;
  width: 180px;
  z-index: 5;
}
.node-nested-1 {
  top: 190px;
  left: 20px;
  width: 160px;
}
.node-nested-2 {
  top: 150px;
  left: 230px;
  width: 150px;
}

.node-badge {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-gray-medium);
  letter-spacing: 0.05em;
}

.node-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13.5px;
}

.node-desc {
  font-size: 10px;
  color: var(--brand-gray-medium);
  line-height: 1.4;
}

.node-tags {
  display: flex;
  gap: 4px;
}
.tag {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
  border: 1px solid var(--brand-gray-dark);
}
.tag-red {
  background: var(--brand-red-light);
  color: var(--brand-red);
}
.tag-green {
  background: var(--brand-green-light);
  color: var(--brand-green);
}

.showcase-connectors {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ==========================================================================
   FEATURE PANELS SECTION (Image 5/Arknights Grid Style)
   ========================================================================== */
.features-section {
  padding: 90px 0;
  background: var(--brand-white);
  border-top: var(--line-solid);
  border-bottom: var(--line-solid);
}

.section-header {
  margin-bottom: 50px;
  max-width: 600px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--brand-red);
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-card {
  position: relative;
  background: var(--brand-bg-light);
  border: var(--line-solid);
  border-radius: 4px;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 140ms var(--e-out), box-shadow 140ms var(--e-out);
  text-decoration: none;
  color: inherit;
}
@media (min-width: 768px) {
  .feature-card {
    grid-template-columns: 1fr 1.4fr;
    gap: 56px;
    align-items: center;
    padding: 48px 56px;
  }
  .panel-tag {
    font-size: 11px;
  }
  .panel-title {
    font-size: 28px;
  }
  .panel-desc {
    font-size: 16px;
    line-height: 1.65;
  }
  .panel-action {
    font-size: 14px;
  }
}
.feature-card:hover {
  transform: translate(-2px, -3px);
  box-shadow: var(--shadow-md);
}

.panel-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-border-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Diagonal panel accent shapes (Arknights Panel style) */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, transparent 50%, var(--brand-gray-dark) 50%);
  opacity: 0.05;
}

/* Panel type accent colors */
.panel-green {
  border-left: 6px solid var(--brand-green);
}
.panel-green:hover {
  box-shadow: var(--shadow-green);
}

.panel-gray {
  border-left: 6px solid var(--brand-gray-medium);
}

.panel-red {
  border-left: 6px solid var(--brand-red);
}
.panel-red:hover {
  box-shadow: var(--shadow-red);
}

.panel-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-gray-medium);
}

.panel-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  color: var(--brand-gray-dark);
}

.panel-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--brand-gray-medium);
  flex: 1;
}

.panel-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  color: var(--brand-gray-dark);
  margin-top: 12px;
  transition: transform 120ms;
}
.feature-card:hover .panel-action {
  transform: translateX(4px);
  color: var(--brand-green);
}
.panel-red:hover .panel-action {
  color: var(--brand-red);
}

.panel-action .material-symbols-rounded {
  font-size: 16px;
}

/* Feature card video preview (discreet autoplay, muted, rounded) */
.panel-video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1.5px solid var(--brand-gray-dark);
  aspect-ratio: 16 / 9;
  background: var(--brand-gray-dark);
}
.panel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   SANDBOX SECTION (DEMO LINK)
   ========================================================================== */
.sandbox-section {
  padding: 80px 0;
  background: var(--brand-bg-light);
}

.sandbox-box {
  background: var(--brand-white);
  border: var(--line-solid);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  padding: 56px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.sandbox-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(144, 185, 104, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(144, 185, 104, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.header-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-green);
  margin-bottom: 16px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 8px var(--brand-green);
  animation: pulse-dot 1.5s infinite;
}

.sandbox-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  margin-bottom: 12px;
}

.sandbox-desc {
  font-size: 15px;
  color: var(--brand-gray-medium);
  max-width: 540px;
  margin: 0 auto 30px;
}

.sandbox-actions {
  display: flex;
  justify-content: center;
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
  border-radius: 4px;
}

/* ==========================================================================
   SUPPORT / KO-FI DONATION SECTION (Image 3 statue concentric circle style)
   ========================================================================== */
.support-section {
  padding: 90px 0;
  background: var(--brand-white);
  border-top: var(--line-solid);
  border-bottom: var(--line-solid);
  position: relative;
  overflow: hidden;
}

/* Large abstract circular background (Image 3 style) */
.support-section::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 84, 79, 0.03) 0%, transparent 75%);
  pointer-events: none;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.support-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--brand-red);
  margin-bottom: 8px;
  display: block;
}

.support-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.support-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--brand-gray-medium);
  margin-bottom: 30px;
}

.support-widgets-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.kofi-btn-link {
  display: inline-block;
  transition: transform 120ms var(--e-out);
}
.kofi-btn-link:hover {
  transform: translateY(-1.5px) scale(1.02);
}

.kofi-img-badge {
  height: 38px;
  border: 0;
}

/* Showcase card with scaled support iframe */
.support-showcase {
  display: flex;
  justify-content: center;
}

.support-card-wrapper {
  background: var(--brand-white);
  border: var(--line-solid);
  box-shadow: var(--shadow-md);
  border-radius: 4px;
  width: 100%;
  max-width: 320px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.support-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--brand-gray-light);
  border-bottom: var(--line-solid);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--brand-red);
}

.heart-icon {
  font-size: 16px;
  animation: heart-pulse 1.6s ease-in-out infinite;
}

@keyframes heart-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Scaled Iframe technique to avoid scrollbars AND empty gray space */
.iframe-scaler-container {
  position: relative;
  width: 100%;
  height: 425px; /* Visual height occupied */
  overflow: hidden;
  background: #f9f9f9;
}

#kofiframe-web {
  border: none;
  width: 147.05%; /* Compensate scale (100% / 0.68) */
  height: 625px; /* Internal viewport height */
  transform: scale(0.68);
  transform-origin: top left;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

/* ==========================================================================
   DOWNLOAD / EXE PACKAGING SECTION
   ========================================================================== */
.download-section {
  padding: 100px 0;
  background: var(--brand-bg-light);
}

.download-card {
  background: var(--brand-white);
  border: var(--line-solid);
  box-shadow: var(--shadow-lg);
  border-radius: 4px;
  overflow: hidden;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.download-info {
  padding: 60px 48px;
  border-right: var(--line-solid);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.download-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--brand-red);
  margin-bottom: 8px;
  display: block;
}

.download-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.download-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--brand-gray-medium);
  margin-bottom: 36px;
}

.download-actions-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-secondary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.download-subtext {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--brand-gray-medium);
}

/* Compilation steps on the right */
.download-research {
  padding: 60px 48px;
  background: #FAF9FB;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.research-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 14px;
}

.research-desc {
  font-size: 13.5px;
  color: var(--brand-gray-medium);
  line-height: 1.5;
  margin-bottom: 24px;
}

.research-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--brand-red);
  background: var(--brand-red-light);
  border: 1px solid rgba(230, 84, 79, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.step-item h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 4px;
}

.step-item p {
  font-size: 12.5px;
  color: var(--brand-gray-medium);
  line-height: 1.45;
}

.code-mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 5px;
  background: var(--brand-gray-light);
  border: 1px solid #dcdce1;
  border-radius: 3px;
  color: var(--brand-gray-dark);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: var(--brand-gray-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0;
  border-top: var(--line-solid);
  margin-top: auto;
  font-size: 13.5px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--brand-white);
  margin-bottom: 8px;
}
.footer-brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-left p {
  color: rgba(255, 255, 255, 0.5);
}

.footer-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-right p:last-child {
  color: var(--brand-green);
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-showcase {
    order: -1;
  }
  
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .support-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .download-grid {
    grid-template-columns: 1fr;
  }
  
  .download-info {
    border-right: none;
    border-bottom: var(--line-solid);
  }
  
  .main-header {
    padding: 10px 0;
  }
  
  .header-nav {
    display: none; /* Mobile simplicity */
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-right {
    text-align: center;
  }
}

@media (max-width: 600px) {
  /* Compact Header on small phones */
  .btn-download-top span[data-i18n="header-dl"] {
    display: none;
  }
  .btn-download-top {
    padding: 8px;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    justify-content: center;
  }
  .btn-download-top .material-symbols-rounded {
    font-size: 18px;
  }

  /* Padding adjustments to maximize screen space */
  .container {
    padding: 0 16px;
  }

  .sandbox-box {
    padding: 36px 20px;
  }

  .download-info,
  .download-research {
    padding: 36px 20px;
  }

  /* Grid auto-fit adjustment to prevent side overflow */
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .support-card-wrapper {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .download-secondary-row {
    grid-template-columns: 1fr !important;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}

/* Central Floating Logo (Image 2 style) */
.orbit-logo-center {
  position: absolute;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--brand-white);
  border: var(--line-solid);
  box-shadow: var(--shadow-sm);
  padding: 16px 24px;
  border-radius: 4px;
  animation: logo-float 4s ease-in-out infinite;
}

.center-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.center-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--brand-gray-dark);
  letter-spacing: -0.02em;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Reveal animations on scroll */
.reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.reveal-left {
  transform: translateX(-35px);
}
.reveal.reveal-right {
  transform: translateX(35px);
}
.reveal.reveal-up {
  transform: translateY(35px);
}
.reveal.reveal-scale {
  transform: scale(0.96);
}
.reveal.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Staggered delays */
.reveal-delay-1 { transition-delay: 120ms !important; }
.reveal-delay-2 { transition-delay: 240ms !important; }
.reveal-delay-3 { transition-delay: 360ms !important; }

/* Brand mini triangles styling */
.brand-triangles {
  display: inline-flex;
  gap: 6px;
  margin-top: 10px;
  align-items: center;
}
.mini-triangle {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid var(--color);
  display: inline-block;
  opacity: 0;
  transform: scale(0) rotate(-45deg);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active .mini-triangle {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
/* Stagger the triangles */
.reveal.active .mini-triangle:nth-child(1) { transition-delay: 200ms; }
.reveal.active .mini-triangle:nth-child(2) { transition-delay: 350ms; }
.reveal.active .mini-triangle:nth-child(3) { transition-delay: 500ms; }

.mini-triangle.tri-green { --color: var(--brand-green); }
.mini-triangle.tri-gray { --color: var(--brand-gray-dark); }
.mini-triangle.tri-red { --color: var(--brand-red); }
