:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --dark-bg: #0b0f19;
  --card-bg: #111827;
  --surface-border: #1f2937;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --highlight-box: rgba(79, 70, 229, 0.08);
  --border-radius-lg: 18px;
  --border-radius-md: 12px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-main);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--surface-border);
  padding: 16px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

.brand-logo.small {
  height: 32px;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.brand-name span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.nav-links a:hover {
  color: #ffffff;
}

.btn-nav {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 450px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.28) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 10;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(79, 70, 229, 0.35);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  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.2rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #a5b4fc, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-store {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #000000;
  border: 1px solid #374151;
  padding: 10px 22px;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  color: #fff;
  transition: var(--transition);
}

.btn-store:hover {
  border-color: #6b7280;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.store-svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

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

.store-text .sub {
  font-size: 0.65rem;
  color: #9ca3af;
  letter-spacing: 0.5px;
}

.store-text .main {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
}

.btn-outline {
  display: inline-block;
  padding: 13px 24px;
  border: 1px solid var(--surface-border);
  border-radius: var(--border-radius-md);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #4b5563;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item strong {
  font-size: 1.4rem;
  color: #fff;
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--surface-border);
}

/* Mockup Card */
.phone-mockup-card {
  background: linear-gradient(160deg, #1f2937, #111827);
  border: 2px solid #374151;
  border-radius: 36px;
  padding: 30px 24px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(79, 70, 229, 0.2);
  text-align: center;
  position: relative;
}

.phone-header {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.notch {
  width: 70px;
  height: 8px;
  background: #374151;
  border-radius: 9999px;
}

.mockup-logo {
  height: 90px;
  margin-bottom: 15px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

.mockup-content h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.mockup-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.feature-tag-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #e5e7eb;
}

/* Sections */
.section {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--secondary);
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

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

/* Grids & Cards */
.grid {
  display: grid;
  gap: 24px;
}

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--surface-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  transition: var(--transition);
}

.card-hover:hover {
  transform: translateY(-4px);
  border-color: #4b5563;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

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

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

/* Legal Tabs */
.legal-section {
  background: #080c14;
}

.legal-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--surface-border);
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.legal-content-card {
  display: none;
  background: var(--card-bg);
  border: 1px solid var(--surface-border);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.legal-content-card.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.legal-header h2 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.effective-date {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
}

.legal-body {
  color: #d1d5db;
  font-size: 0.98rem;
  line-height: 1.75;
}

.legal-body h3 {
  color: #f9fafb;
  font-size: 1.25rem;
  margin: 26px 0 10px;
}

.legal-body h4 {
  color: #f3f4f6;
  margin-bottom: 8px;
}

.legal-body p {
  margin-bottom: 14px;
}

.legal-body ul, .legal-body ol {
  margin-left: 20px;
  margin-bottom: 18px;
}

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

.highlight-box {
  background: rgba(79, 70, 229, 0.08);
  border-left: 4px solid var(--primary);
  padding: 20px;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  margin: 18px 0;
}

.highlight-box a {
  color: #818cf8;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--surface-border);
  border-radius: var(--border-radius-md);
  padding: 28px;
  text-align: center;
}

.contact-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.contact-card p, .contact-card a {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--secondary);
}

/* Footer */
.footer {
  background: #060911;
  border-top: 1px solid var(--surface-border);
  padding: 60px 0 30px;
}

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

.footer-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: 14px;
  max-width: 380px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

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

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  text-align: center;
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 34px;
  }

  .hero-actions, .hero-stats {
    justify-content: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #0f172a;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--surface-border);
  }

  .nav-links.show {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .legal-content-card {
    padding: 24px 18px;
  }
}
