:root {
  --bg-dark: #0f1117;
  --bg-card: rgba(22, 26, 37, 0.7);
  --primary: #00ff88;
  --primary-dim: rgba(0, 255, 136, 0.1);
  --orange: #ff6b2b;
  --blue: #4d9fff;
  --text-main: #e8ecf0;
  --text-muted: #8a94a6;
  --border-color: rgba(0, 255, 136, 0.15);
  --container-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 16px; }

/* Header */
header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgba(15, 17, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
header.scrolled {
  border-bottom: 1px solid var(--primary-dim);
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: bold; font-size: 1.2rem; }
.logo img { height: 32px; width: auto; }
.nav-links { display: none; gap: 24px; font-size: 0.9rem; color: var(--text-muted); }
.nav-links a:hover { color: var(--primary); }
.btn-primary {
  background: linear-gradient(90deg, #00ff88, #00cc66);
  color: #000; padding: 10px 24px; border-radius: 50px;
  font-weight: bold; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4); }

/* Sections Common */
section { padding: 64px 0; border-bottom: 1px solid var(--primary-dim); }
.section-title { font-size: 2rem; margin-bottom: 32px; display: flex; align-items: center; gap: 16px; }
.section-title::before { content: ""; display: block; width: 4px; height: 24px; background: var(--primary); }
.badge { background: var(--primary-dim); color: var(--primary); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; border: 1px solid rgba(0, 255, 136, 0.3); }

/* Hero */
.hero { padding-top: 120px; min-height: 85vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.hero-text h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 24px; color: var(--primary); text-shadow: 0 0 20px rgba(0, 255, 136, 0.3); }
.hero-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 32px; }
.data-bar { display: flex; gap: 24px; margin-bottom: 32px; font-size: 0.9rem; color: var(--blue); }
.hero-card {
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px;
  padding: 32px; position: relative; overflow: hidden;
}
.hero-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.hero-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--orange); }
.hero-card p { font-size: 1.1rem; margin-bottom: 24px; line-height: 1.5; }

/* Grid Layouts */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; transition: transform 0.3s; }
.card:hover { transform: translateY(-5px); border-color: rgba(0, 255, 136, 0.4); box-shadow: 0 8px 30px rgba(0,0,0,0.5); }
.card-img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.card-content { padding: 16px; }
.card-title { font-size: 1.1rem; margin-bottom: 8px; }
.card-meta { font-size: 0.85rem; color: var(--text-muted); display: flex; justify-content: space-between; }

/* Download Section */
.download-section { background: linear-gradient(180deg, var(--bg-dark), #0a0c10); }
.download-panel {
  background: var(--bg-card); border: 1px solid var(--primary); border-radius: 16px;
  padding: 32px; display: flex; flex-direction: column; gap: 24px; box-shadow: 0 0 30px rgba(0, 255, 136, 0.05);
}
.dp-top { display: flex; align-items: center; gap: 16px; }
.dp-icon { font-size: 2rem; color: var(--primary); }
.dp-text h3 { font-size: 1.4rem; margin-bottom: 4px; }
.dp-text p { font-size: 0.9rem; color: var(--text-muted); }
.dp-buttons { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); padding: 12px; border-radius: 50px; text-align: center; transition: all 0.3s; }
.btn-outline:hover { background: var(--primary-dim); }
.dp-footer { font-size: 0.8rem; color: var(--text-muted); margin-top: 16px; }

/* Footer */
footer { padding: 48px 0 24px; background: #0a0c10; border-top: 1px solid var(--primary-dim); font-size: 0.9rem; color: var(--text-muted); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
.footer-col h4 { color: var(--text-main); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #1a1e29; padding-top: 24px; text-align: center; font-size: 0.8rem; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary); }
details { margin-top: 16px; }
details summary { cursor: pointer; font-size: 0.85rem; color: var(--text-muted); list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary:hover { color: var(--primary); }
:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
.about-content { font-size: 0.8rem; color: var(--text-muted); margin-top: 12px; line-height: 1.8; }
.about-content a { margin-right: 12px; display: inline-block; }

@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: flex; }
  .download-panel { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .dp-buttons { flex-direction: row; width: auto; }
  .dp-buttons a { padding: 12px 32px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom { text-align: left; display: flex; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .hero-text h1 { font-size: 4rem; }
  section { padding: 96px 0; }
  .hero { padding-top: 160px; }
}