:root {
  --bg-dark: #080C14;
  --bg-card: rgba(14, 20, 32, 0.75);
  --bg-card-hover: rgba(20, 30, 48, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 242, 254, 0.4);
  
  --primary: #00F2FE;
  --primary-glow: rgba(0, 242, 254, 0.35);
  --accent: #10B981;
  --accent-glow: rgba(16, 185, 129, 0.35);
  
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

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

body.cyber-theme {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Ambient glow & cyber grid */
.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.bg-glow-1 {
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.3), transparent 70%);
}

.bg-glow-2 {
  bottom: 10%;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 70%);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  padding: 0.85rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.logo-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 16px var(--primary-glow);
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #FFF 40%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 6px;
  color: var(--primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: #FFF;
}

.lang-btn.active {
  background: var(--primary);
  color: #080C14;
  font-weight: 700;
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
}

.btn-xl {
  font-size: 1.1rem;
  padding: 1.1rem 2rem;
}

.btn-glow {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  color: #060910;
  font-weight: 700;
  box-shadow: 0 0 24px var(--primary-glow);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(0, 242, 254, 0.55);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFF;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 4rem;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #34D399;
  margin-bottom: 1.25rem;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #FFFFFF 50%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.meta-badge.highlight {
  border-color: rgba(0, 242, 254, 0.3);
  color: var(--primary);
  background: rgba(0, 242, 254, 0.05);
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* Device Preview Frame */
.hero-preview {
  display: flex;
  justify-content: center;
  position: relative;
}

.device-frame {
  position: relative;
  width: 320px;
  max-width: 100%;
  border-radius: 36px;
  background: #090B10;
  padding: 10px;
  box-shadow: 
    0 24px 64px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 242, 254, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.4s ease;
}

.device-frame:hover {
  transform: translateY(-6px);
}

.device-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 14px;
  background: #090B10;
  border-radius: 0 0 10px 10px;
  z-index: 10;
}

.device-screen-wrapper {
  overflow: hidden;
  border-radius: 26px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-screen {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.screen-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 46px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Features */
.features-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
  background: rgba(10, 15, 26, 0.4);
}

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

.section-header.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 242, 254, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.feature-card.highlight-card {
  border-color: rgba(0, 242, 254, 0.35);
  background: linear-gradient(145deg, rgba(14, 20, 32, 0.9), rgba(0, 242, 254, 0.05));
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon {
  font-size: 1.6rem;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #FFF;
}

.feature-desc {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* Download Showcase */
.download-section {
  padding: 5rem 0 6rem;
}

.download-card {
  background: linear-gradient(135deg, rgba(14, 20, 32, 0.9) 0%, rgba(10, 16, 28, 0.95) 100%);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 
    0 24px 64px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(0, 242, 254, 0.15);
  backdrop-filter: blur(16px);
}

.download-card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.card-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  border: 1px solid rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 20px var(--primary-glow);
}

.card-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.4rem;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

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

.card-version {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.card-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
  border-radius: 12px;
}

.spec-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.spec-val {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.spec-val.verified {
  color: #34D399;
}

.download-buttons-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

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

.btn-main-text {
  font-size: 1.05rem;
  font-weight: 800;
}

.btn-sub-text {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0;
  background: #05080E;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.footer-title {
  font-weight: 700;
  font-size: 1rem;
}

.footer-manifesto {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-meta {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-subtitle {
    margin: 0 auto 2rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .meta-badges {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .card-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .download-card {
    padding: 1.75rem;
  }
  
  .card-specs-grid {
    grid-template-columns: 1fr;
  }
  
  .download-buttons-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-xl {
    width: 100%;
  }
  
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}
