:root {
  --primary-color: #f43f5e;
  --secondary-color: #fb7185;
  --bg-dark: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.7);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-neon: #ff9999;
}

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

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Animation */
.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);
  overflow: hidden;
}

.bg-glow::before,
.bg-glow::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--primary-color);
  filter: blur(120px);
  opacity: 0.15;
  animation: float 20s infinite alternate;
}

.bg-glow::after {
  background: var(--secondary-color);
  right: -100px;
  bottom: -100px;
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(100px, 100px) scale(1.2);
  }
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Banner/Hero */
.banner {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  padding: 0;
}

.banner-content h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  background: linear-gradient(
    to right,
    #fff,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.app-logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin-bottom: 30px;
  box-shadow: 0 20px 40px rgba(244, 63, 94, 0.3);
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.banner-content p {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 100px 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

section:nth-child(1) {
  animation-delay: 0.1s;
}
section:nth-child(2) {
  animation-delay: 0.3s;
}
section:nth-child(3) {
  animation-delay: 0.5s;
}
section:nth-child(4) {
  animation-delay: 0.7s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(to bottom, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section (Introduction) */
.hero-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-card p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
}

.feature:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
}

.feature h2 {
  font-size: 1.5rem;
  text-align: left;
  margin-bottom: 15px;
  background: none;
  -webkit-text-fill-color: var(--text-main);
  color: var(--text-main);
}

.feature p {
  color: var(--text-muted);
}

/* Download Section */
.download {
  text-align: center;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.download-item {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.download-item:hover {
  transform: translateY(-10px);
  border-color: var(--accent-neon);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.15);
}

.qr-code {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  width: 200px;
}

.apple {
  background: #fff;
  color: #000;
}

.android {
  background: #3ddc84;
  color: #000;
}

.btn:hover {
  filter: brightness(0.9);
  transform: translateY(-2px);
}

/* Legal Pages Content */
.content {
  max-width: 800px;
  margin: 50px auto;
  padding: 40px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.content h2 {
  text-align: left;
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.content p,
.content ul {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.content ul {
  padding-left: 20px;
}

.content li {
  margin-bottom: 8px;
}

.content a {
  color: var(--primary-color);
  text-decoration: none;
}

/* Footer */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-links {
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 20px;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* Utilities */
.text-gradient {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Language Switcher */
.lang-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  gap: 10px;
}

.lang-btn {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.lang-btn:hover {
  border-color: var(--primary-color);
  background: rgba(168, 85, 247, 0.1);
}

.lang-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

@media (max-width: 768px) {
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
}
