:root {
  --bg-main: #0f0f12;
  --bg-card: #1a1a20;
  --bg-card-hover: #22222a;
  --text-main: #f2f2f5;
  --text-muted: #9a9aab;
  --accent: #e63946;
  --accent-hover: #f25c67;
  --border: #2e2e38;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(15, 15, 18, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}
.brand img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}
.nav-links {
  display: none;
}
.nav-links a {
  margin-left: 24px;
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text-main);
}
.btn-download {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s;
}
.btn-download:hover {
  background-color: var(--accent-hover);
}
.menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 16px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 60px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.hero-content h1 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero-content p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 600px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.2s, transform 0.2s;
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}
.btn-secondary {
  display: inline-block;
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.2s;
}
.btn-secondary:hover {
  background-color: var(--bg-card-hover);
}
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-card);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  font-size: 18px;
  font-weight: 600;
}

/* Section Titles */
.section-title-wrap {
  margin-bottom: 40px;
}
.section-title {
  font-size: 28px;
  margin-bottom: 12px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

/* Categories */
.categories {
  padding: 60px 0;
  background-color: var(--bg-main);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.category-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  transition: background-color 0.2s, transform 0.2s;
}
.category-card:hover {
  background-color: var(--bg-card-hover);
  transform: translateY(-4px);
}
.category-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-main);
}
.category-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}
.category-num {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

/* Featured Section */
.featured {
  padding: 60px 0;
  background-color: #141418;
}
.featured-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
.featured-text p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 30px;
}
.featured-list {
  list-style: none;
}
.featured-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-muted);
}
.featured-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
}
.featured-list strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
}

/* Gallery */
.gallery {
  padding: 60px 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.gallery-item {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.gallery-text {
  padding: 24px;
}
.gallery-text h3 {
  font-size: 22px;
  margin-bottom: 16px;
}
.gallery-points {
  list-style: none;
}
.gallery-points li {
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
}
.gallery-points li span {
  color: var(--accent);
  font-weight: bold;
}

/* Observations */
.observations {
  padding: 60px 0;
  background-color: #141418;
}
.obs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.obs-card {
  background-color: var(--bg-main);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s;
}
.obs-card:hover {
  transform: translateY(-4px);
}
.obs-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.obs-content {
  padding: 24px;
}
.obs-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.obs-content p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Support Area */
.support {
  padding: 60px 0;
}
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.support-box {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border);
}
.support-box h3 {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.support-box details {
  margin-bottom: 16px;
}
.support-box summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 20px;
}
.support-box summary::-webkit-details-marker {
  display: none;
}
.support-box summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--text-muted);
}
.support-box details[open] summary::after {
  content: '-';
}
.support-box details p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Get App */
.download-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a20 0%, #0f0f12 100%);
  text-align: center;
}
.download-section h2 {
  font-size: 36px;
  margin-bottom: 16px;
}
.download-section > p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto 50px;
}
.step {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--bg-card);
  padding: 20px 30px;
  border-radius: var(--radius-md);
  text-align: left;
}
.step-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}
.step-text {
  font-size: 16px;
}
.download-btn-large {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  padding: 18px 48px;
  border-radius: 40px;
  font-size: 20px;
  font-weight: 700;
  transition: background-color 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}
.download-btn-large:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background-color: #0a0a0c;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h4 {
  color: var(--text-main);
  font-size: 18px;
  margin-bottom: 12px;
}
.footer-links h4 {
  color: var(--text-main);
  font-size: 16px;
  margin-bottom: 16px;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text-main);
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
}
.footer-bottom p {
  margin-bottom: 8px;
}
.about-details {
  margin: 20px 0;
  font-size: 12px;
}
.about-details summary {
  cursor: pointer;
  list-style: none;
  display: inline-block;
  margin-bottom: 10px;
}
.about-details summary::-webkit-details-marker {
  display: none;
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  opacity: 0.6;
}
.about-links a {
  color: var(--text-muted);
}
.about-links a:hover {
  color: var(--text-main);
}

/* Floating Action */
.floating-action {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 99;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(26, 26, 32, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 30px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.floating-action span {
  font-size: 14px;
  font-weight: 500;
}
.floating-action .btn-download {
  padding: 6px 16px;
  font-size: 14px;
}

/* Media Queries */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .featured-inner {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .obs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    flex-direction: row;
    justify-content: center;
  }
  .step {
    flex-direction: column;
    text-align: center;
    flex: 1;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .floating-action {
    left: auto;
    right: 30px;
    bottom: 30px;
    width: auto;
    gap: 20px;
    border-radius: 40px;
  }
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    padding: 80px 0;
  }
  .hero-content h1 {
    font-size: 48px;
  }
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .obs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .support-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}