:root {
  --bg-primary: #090e0b;
  --bg-secondary: #0f1814;
  --bg-card: #13221b;
  --bg-card-hover: #182c23;
  --text-main: #f3fbf7;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-light: #34d198;
  --accent: #6ee7b7;
  --border: rgba(52, 211, 153, 0.18);
  --border-light: rgba(255, 255, 255, 0.08);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --glow: 0 0 35px rgba(16, 185, 129, 0.25);
  --radius: 14px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 14, 11, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
}

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

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.35);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--primary-light);
}

nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

nav a:hover, nav a.active {
  color: var(--primary-light);
}

.btn-header-cta {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--glow);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 900px;
  margin: 0 auto 20px;
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 span {
  background: linear-gradient(135deg, #34d198 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
}

.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.55);
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(52, 211, 153, 0.1);
  border-color: var(--primary-light);
  text-decoration: none;
}

/* Feature Graphic Showcase */
.showcase-banner {
  max-width: 960px;
  margin: 0 auto 80px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(16, 185, 129, 0.2);
  border: 1px solid var(--border);
}

.showcase-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Key Features Grid */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  background: var(--bg-card-hover);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

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

/* Privacy Guarantee Box */
.privacy-highlight {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(15, 24, 20, 0.9) 100%);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 18px;
  padding: 44px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  gap: 36px;
  box-shadow: var(--glow);
}

.privacy-highlight-icon {
  font-size: 4rem;
  flex-shrink: 0;
}

.privacy-highlight-content h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
}

.privacy-highlight-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Download APK Card */
.download-card {
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 720px;
  margin: 30px auto;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.download-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.meta-item {
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.meta-item strong {
  color: var(--text-main);
}

.hash-box {
  background: #060907;
  padding: 10px 14px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--accent);
  word-break: break-all;
  margin: 16px 0 24px;
  border: 1px solid rgba(52, 211, 153, 0.2);
}

/* Legal Pages Styling */
.legal-content {
  padding: 60px 0 80px;
}

.legal-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
  margin-bottom: 36px;
}

.legal-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.legal-header .meta {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.legal-body {
  max-width: 860px;
  line-height: 1.75;
}

.legal-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--text-main);
  border-bottom: 1px solid rgba(52, 211, 153, 0.15);
  padding-bottom: 8px;
}

.legal-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--primary-light);
}

.legal-body p, .legal-body ul, .legal-body ol {
  color: #cbd5e1;
  margin-bottom: 16px;
  font-size: 1rem;
}

.legal-body ul, .legal-body ol {
  padding-left: 24px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.legal-body th, .legal-body td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}

.legal-body th {
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-light);
  font-weight: 600;
}

.info-banner {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}

/* Footer */
footer {
  background: #050806;
  border-top: 1px solid var(--border-light);
  padding: 50px 0 30px;
  margin-top: 80px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 420px;
}

.footer-col h5 {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.footer-company-details {
  line-height: 1.5;
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .nav-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .privacy-highlight {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}
