:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #e0e7ff;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --accent-purple: #8b5cf6;
  --dark-bg: #0b0f19;
  --dark-surface: #111827;
  --dark-card: rgba(17, 24, 39, 0.85);
  --dark-border: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --glow-cyan: rgba(6, 182, 212, 0.25);
  --glow-indigo: rgba(79, 70, 229, 0.35);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 15% 15%, rgba(79, 70, 229, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 85% 60%, rgba(6, 182, 212, 0.1) 0%, transparent 45%),
              var(--dark-bg);
  min-height: 100vh;
}

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

/* Glassmorphism Classes */
.glass-panel {
  background: var(--dark-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--dark-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-logo img.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

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

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--glow-indigo);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(79, 70, 229, 0.5);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-admin {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.btn-admin:hover {
  background: rgba(139, 92, 246, 0.28);
  color: #ffffff;
  border-color: rgba(139, 92, 246, 0.6);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 80px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #22d3ee;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22d3ee;
  box-shadow: 0 0 10px #22d3ee;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--dark-border);
}

.stat-item h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

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

/* Hero Visual / Card */
.hero-visual {
  position: relative;
}

.hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px var(--glow-indigo);
}

.hero-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.4) 60%, transparent 100%);
}

.hero-card-overlay h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-card-overlay p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.floating-pill {
  position: absolute;
  top: -15px;
  right: -15px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

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

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

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

/* Features Section */
.features-section {
  padding: 90px 0;
  background: rgba(17, 24, 39, 0.4);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

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

.feature-card {
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 25px var(--glow-indigo);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
  background: rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(79, 70, 229, 0.3);
  color: #818cf8;
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
  color: #22d3ee;
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.feature-card:nth-child(4) .feature-icon {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
  color: #c084fc;
}

.feature-card:nth-child(5) .feature-icon {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.feature-card:nth-child(6) .feature-icon {
  background: rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.3);
  color: #f472b6;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* About / Safety Showcase */
.about-section {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.about-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
}

.about-badge h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.about-badge p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.about-content h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.checklist {
  list-style: none;
  margin-bottom: 32px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.98rem;
  color: #e2e8f0;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Quick App Ecosystem Banner */
.app-ecosystem {
  padding: 40px 0 80px;
}

.ecosystem-banner {
  padding: 45px 50px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ecosystem-content h3 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.ecosystem-content p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.ecosystem-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* Contact Section */
.contact-section {
  padding: 90px 0;
  background: rgba(17, 24, 39, 0.4);
  border-top: 1px solid var(--dark-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--secondary);
}

.contact-item-text h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item-text p {
  font-size: 1rem;
  color: #fff;
  margin: 0;
  font-weight: 600;
}

.contact-form {
  padding: 36px;
  border-radius: var(--radius-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #cbd5e1;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--glow-indigo);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  display: none;
  font-weight: 600;
}

.form-status.success {
  display: block;
  color: #34d399;
}

.form-status.error {
  display: block;
  color: #f87171;
}

/* Modal for Terms & Privacy */
.policy-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.policy-modal.active {
  display: flex;
}

.policy-modal-card {
  max-width: 820px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.policy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--dark-border);
  background: rgba(15, 23, 42, 0.95);
}

.policy-modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.policy-modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.policy-modal-close:hover {
  color: #fff;
  transform: scale(1.1);
}

.policy-modal-body {
  padding: 28px;
  overflow-y: auto;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
}

.policy-modal-body h4 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 22px 0 8px;
}

.policy-modal-body h4:first-child {
  margin-top: 0;
}

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

.policy-modal-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

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

.policy-modal-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--dark-border);
  display: flex;
  justify-content: flex-end;
  background: rgba(15, 23, 42, 0.95);
}

/* Footer */
.site-footer {
  background: #070a12;
  border-top: 1px solid var(--dark-border);
  padding: 70px 0 30px;
}

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

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 14px;
  max-width: 320px;
  font-size: 0.95rem;
}

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

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

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

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

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

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

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .ecosystem-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #0f172a;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--dark-border);
    gap: 20px;
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .header-actions .btn-admin {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
