:root {
  --primary: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.4);
  --primary-hover: #059669;
  --secondary: #6366f1;
  --accent: #f59e0b;
  --bg-dark: #0b1120;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-card-border: rgba(255, 255, 255, 0.1);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --nav-bg: rgba(11, 17, 32, 0.85);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #1e293b 0%, #0b1120 70%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bg-card-border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--primary-glow);
  object-fit: cover;
}

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

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

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.btn-contact-nav {
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary) !important;
  border: 1px solid var(--primary);
  padding: 8px 18px;
  border-radius: 9999px;
  font-weight: 600 !important;
  transition: all 0.3s ease;
}

.btn-contact-nav:hover {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 0 16px var(--primary-glow);
}

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

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

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

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

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1e293b;
  border: 1px solid var(--bg-card-border);
  padding: 12px 24px;
  border-radius: 14px;
  color: #fff;
  transition: all 0.25s ease;
  min-width: 190px;
  text-align: left;
}

.btn-store:hover {
  transform: translateY(-2px);
  background: #334155;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-store svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.btn-store-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-store-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}

/* Hero Visual Box */
.hero-visual {
  max-width: 840px;
  margin: 0 auto;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid var(--bg-card-border);
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.hero-visual-icon {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.hero-visual-text {
  text-align: left;
}

.hero-visual-text h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #fff;
}

.hero-visual-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.tag-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 6px;
  color: #cbd5e1;
}

/* Features */
.section {
  padding: 90px 0;
}

.section-alt {
  background: rgba(15, 23, 42, 0.5);
  border-top: 1px solid var(--bg-card-border);
  border-bottom: 1px solid var(--bg-card-border);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 56px;
}

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #fff;
}

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

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

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

/* About & Company */
.about-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.company-info-item {
  margin-bottom: 16px;
}

.company-info-item strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.company-info-item span {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
}

/* Legal Content Pages */
.legal-page {
  padding: 60px 0 100px;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-card h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: #fff;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--bg-card-border);
  padding-bottom: 20px;
}

.legal-card h2 {
  font-size: 1.35rem;
  color: #fff;
  margin: 32px 0 14px;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}

.legal-card h3 {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin: 20px 0 10px;
}

.legal-card p,
.legal-card ul {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-card ul {
  padding-left: 24px;
}

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

.legal-highlight {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
}

/* Footer */
.footer {
  margin-top: auto;
  background: #060913;
  border-top: 1px solid var(--bg-card-border);
  padding: 56px 0 32px;
}

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

.footer-brand h4 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 360px;
  line-height: 1.6;
}

.footer-col h5 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

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

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

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

.footer-bottom {
  border-top: 1px solid var(--bg-card-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .nav-links {
    display: none;
  }
  .hero-visual {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .hero-visual-text {
    text-align: center;
  }
  .about-box {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-card {
    padding: 28px 20px;
  }
}
