/* Theme Variables */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  
  /* Day Theme (Light) */
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-translucent: rgba(255, 255, 255, 0.85);
  --bg-muted: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #f97316;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  
  --accent-jovian: #ea580c;
  --accent-amber: #d97706;
  --accent-gold: #b45309;
  --accent-cyan: #0284c7;
  --accent-emerald: #059669;
  
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.12);
  --shadow-jovian: 0 10px 25px rgba(234, 88, 12, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-card: 16px;
  --radius-full: 9999px;
  
  --container-max: 1200px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Night Theme (Dark) */
[data-theme="dark"] {
  --bg-base: #070913;
  --bg-surface: #0f1629;
  --bg-surface-elevated: #162038;
  --bg-surface-translucent: rgba(15, 22, 41, 0.85);
  --bg-muted: #1e293b;
  --border-color: rgba(245, 158, 11, 0.18);
  --border-focus: #fb923c;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  
  --accent-jovian: #f97316;
  --accent-amber: #f59e0b;
  --accent-gold: #fbbf24;
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.65);
  --shadow-jovian: 0 10px 30px rgba(249, 115, 22, 0.35);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  background-image: 
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(249, 115, 22, 0.12), transparent),
    radial-gradient(ellipse 40% 30% at 85% 60%, rgba(56, 189, 248, 0.08), transparent);
  background-attachment: fixed;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-surface-translucent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: border-color var(--transition-normal), background-color var(--transition-normal);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-jovian), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent-jovian);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.theme-toggle:hover {
  border-color: var(--accent-amber);
  transform: rotate(15deg);
}

.theme-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-sun {
  display: none;
}

.icon-moon {
  display: block;
}

[data-theme="dark"] .icon-sun {
  display: block;
}

[data-theme="dark"] .icon-moon {
  display: none;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-jovian), var(--accent-amber));
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-jovian);
}

.mobile-menu-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-main);
}

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.9rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.status-dot-active {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.pill-sep {
  color: var(--border-color);
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-title-highlight {
  background: linear-gradient(135deg, var(--accent-jovian) 20%, var(--accent-gold) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 38rem;
}

/* Universal Button */
.universal-download-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0.5rem;
}

.universal-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 1.75rem;
  background: linear-gradient(135deg, var(--accent-jovian) 0%, var(--accent-amber) 60%, var(--accent-gold) 100%);
  color: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-jovian);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
  cursor: pointer;
}

.universal-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 16px 36px rgba(234, 88, 12, 0.4);
}

.btn-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-icon-android {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.btn-subtitle {
  font-size: 0.8125rem;
  opacity: 0.92;
  font-weight: 500;
}

.btn-meta-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  background: rgba(0, 0, 0, 0.22);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.btn-version {
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.btn-size {
  font-size: 0.6875rem;
  opacity: 0.85;
}

.universal-helper-text {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.split-link {
  color: var(--accent-jovian);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.75rem;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-planet-img {
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0 20px 40px rgba(234, 88, 12, 0.25));
  animation: floatPlanet 10s ease-in-out infinite alternate;
}

@keyframes floatPlanet {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
  100% { transform: translateY(4px) rotate(-1deg); }
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-tag {
  display: inline-block;
  align-self: center;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg-muted);
  color: var(--accent-jovian);
  border: 1px solid var(--border-color);
}

.section-title {
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

/* Download Hub */
.download-section {
  padding: 4.5rem 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-normal);
  overflow: hidden;
  width: 100%;
}

.download-cards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  width: 100%;
  max-width: 100%;
}

.download-card {
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

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

.card-featured {
  border-color: var(--accent-jovian);
  position: relative;
  box-shadow: var(--shadow-jovian);
  background: linear-gradient(180deg, var(--bg-surface-elevated) 0%, var(--bg-base) 100%);
}

.featured-pill {
  position: absolute;
  top: -0.75rem;
  right: 1.25rem;
  background: var(--accent-jovian);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  max-width: calc(100% - 2.5rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.card-top {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
}

.card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  word-break: break-word;
}

.card-title {
  font-size: 1.375rem;
  font-weight: 800;
  word-break: break-word;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  width: 100%;
  max-width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 700;
  box-sizing: border-box;
  word-break: break-word;
  white-space: normal;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-jovian), var(--accent-amber));
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: var(--bg-muted);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--accent-jovian);
  color: var(--accent-jovian);
}

.card-checksum-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: var(--bg-muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.checksum-content {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.checksum-label {
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

.checksum-hash {
  word-break: break-all;
  overflow-wrap: anywhere;
  font-size: 0.6875rem;
  line-height: 1.3;
  color: var(--text-subtle);
  min-width: 0;
}

.copy-hash-btn {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent-jovian);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
  background: rgba(234, 88, 12, 0.1);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.copy-hash-btn:hover {
  background: var(--accent-jovian);
  color: #ffffff;
}

/* Install Steps */
.install-guide {
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 2rem;
}

.guide-title {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-item {
  display: flex;
  gap: 1rem;
}

.step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  color: var(--accent-jovian);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Showcase Section */
.showcase-section {
  padding: 5rem 0;
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 3rem;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--accent-jovian);
  color: var(--text-main);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--accent-jovian), var(--accent-amber));
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-jovian);
}

.showcase-display {
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: center;
  gap: 3.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

/* Smartphone Mockup */
.phone-mockup-frame {
  position: relative;
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  aspect-ratio: 390 / 800;
  background: #111827;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.6),
    inset 0 0 0 2px #374151,
    inset 0 0 0 6px #1f2937;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: #000000;
  border-radius: 12px;
  z-index: 20;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #000000;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

/* Feature Details Pane */
.showcase-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  color: var(--accent-jovian);
  font-size: 0.8125rem;
  font-weight: 700;
  width: fit-content;
}

.feature-detail-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}

.feature-detail-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.feature-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  list-style: none;
}

.feature-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.benefit-bullet {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(234, 88, 12, 0.15);
  color: var(--accent-jovian);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.feature-micro-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent-jovian);
  color: #ffffff;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
  width: fit-content;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.feature-micro-cta:hover {
  transform: translateY(-1px);
}

/* Features Grid */
.features-section {
  padding: 5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-jovian);
}

.feature-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.feature-card-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* iOS Banner */
.ios-banner-section {
  padding: 4.5rem 0;
}

.ios-card {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(249, 115, 22, 0.08));
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2.5rem;
  box-shadow: var(--shadow-md);
}

.ios-card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ios-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.15);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.ios-title {
  font-size: 1.875rem;
  font-weight: 800;
}

.ios-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 42rem;
}

.ios-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  background: #0284c7;
  color: #ffffff;
  border-radius: var(--radius-card);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
  white-space: nowrap;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.ios-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Universities */
.universities-section {
  padding: 3rem 0 4.5rem;
  text-align: center;
}

.uni-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  max-width: 52rem;
  margin: 1.5rem auto 0;
}

.uni-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

/* Developer & Sources Section */
.dev-section {
  padding: 4.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.dev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.dev-box {
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dev-box-title {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Text links without buttons as required */
.source-links-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.source-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-color);
}

.source-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.source-role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-jovian);
}

.source-anchor {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent-cyan);
  word-break: break-all;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.source-anchor:hover {
  color: var(--accent-jovian);
}

.source-note {
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

/* Terminal Clone Box */
.terminal-box {
  background: #030712;
  border: 1px solid #1f2937;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.terminal-cmd {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: #38bdf8;
  word-break: break-all;
}

.copy-cmd-btn {
  background: #1f2937;
  color: #f8fafc;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.copy-cmd-btn:hover {
  background: var(--accent-jovian);
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background: var(--bg-base);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 24rem;
}

.footer-col-title {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  color: var(--text-main);
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

/* Tally Feedback Widget */
.tally-feedback-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 18px;
  background: #6200EE;
  background: linear-gradient(135deg, #7c3aed, #6200EE);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(98, 0, 238, 0.4), 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tally-feedback-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 22px rgba(98, 0, 238, 0.55), 0 4px 10px rgba(0, 0, 0, 0.3);
  filter: brightness(1.08);
}

.tally-feedback-btn:active {
  transform: translateY(0) scale(0.98);
}

.tally-btn-icon {
  font-size: 1rem;
  line-height: 1;
}

.tally-btn-label {
  line-height: 1;
  white-space: nowrap;
}

/* Responsive Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    gap: 2.5rem;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-desc {
    margin: 0 auto;
  }
  
  .universal-btn {
    width: 100%;
    max-width: 28rem;
  }
  
  .trust-badges {
    justify-content: center;
  }
  
  .download-cards-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  
  .showcase-display {
    grid-template-columns: minmax(0, 1fr);
    padding: 2rem 1.5rem;
    gap: 2.5rem;
  }
  
  .phone-mockup-frame {
    max-width: 280px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .ios-card {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
  
  .ios-badge {
    margin: 0 auto;
  }
  
  .ios-desc {
    margin: 0 auto;
  }
  
  .ios-btn {
    justify-content: center;
  }
  
  .dev-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-links {
    display: none;
  }
  
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 4.5rem;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.125rem;
  }

  .download-section {
    padding: 3rem 0;
  }

  .download-card {
    padding: 1.35rem 1rem;
    gap: 1.25rem;
  }

  .featured-pill {
    top: -0.65rem;
    right: 0.85rem;
    font-size: 0.625rem;
    padding: 0.2rem 0.55rem;
  }
  
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .universal-btn {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .btn-left {
    justify-content: flex-start;
  }

  .btn-meta-badge {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
  }

  .universal-helper-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .terminal-box {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }

  .hero {
    padding: 2.75rem 0 1.75rem;
  }

  .hero-title {
    font-size: 1.625rem;
    line-height: 1.2;
  }
  
  .section-title {
    font-size: 1.375rem;
    line-height: 1.25;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .download-section {
    padding: 2.5rem 0;
  }

  .download-card {
    padding: 1.15rem 0.85rem;
  }

  .card-title {
    font-size: 1.1875rem;
  }

  .card-btn {
    padding: 0.75rem 0.85rem;
    font-size: 0.875rem;
  }

  .card-checksum-wrap {
    padding: 0.45rem 0.6rem;
    font-size: 0.6875rem;
  }

  .checksum-hash {
    font-size: 0.625rem;
  }

  .showcase-tabs {
    gap: 0.4rem;
    margin-bottom: 1.75rem;
  }

  .tab-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
  }

  .showcase-display {
    padding: 1.25rem 0.75rem;
    border-radius: 18px;
  }

  .phone-mockup-frame {
    max-width: 250px;
    border-radius: 36px;
    padding: 8px;
  }

  .phone-screen {
    border-radius: 28px;
  }

  .feature-detail-title {
    font-size: 1.375rem;
  }

  .ios-card {
    padding: 1.5rem 1rem;
    border-radius: 18px;
  }

  .ios-title {
    font-size: 1.35rem;
  }

  .dev-box {
    padding: 1.25rem 0.85rem;
    border-radius: 14px;
  }

  .tally-feedback-btn {
    bottom: 16px;
    right: 16px;
    padding: 9px 13px;
    font-size: 0.75rem;
    gap: 0.35rem;
  }
}
