:root {
  --bg-color: #0f172a;
  --bg-color-alt: #1e293b;
  --text-color: #f8fafc;
  --text-muted: #94a3b8;
  --accent-primary: #8b5cf6;
  --accent-secondary: #6366f1;
  --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.05);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  transition: padding 0.3s ease;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-color);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  transition: 0.3s ease;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-bg-triptych {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  display: flex;
  overflow: hidden;
}

.bg-panel {
  flex: 1;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
}

.bg-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: inset 0 0 50px rgba(15, 23, 42, 0.8);
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, var(--bg-color) 100%);
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(40px);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out forwards;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.8), 0 0 10px rgba(255,255,255,0.2);
}

.hero h1 .text-gradient {
  filter: brightness(1.3) contrast(1.1);
  text-shadow: none;
}

.hero p {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 10px 20px -10px var(--accent-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -10px var(--accent-primary);
}

.btn-app-store {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  gap: 16px;
  border-radius: 16px;
  padding: 1.25rem 2.5rem;
  transform: scale(1.1);
}

.btn-app-store:hover {
  background: #111;
  border-color: rgba(255,255,255,0.4);
  transform: scale(1.15) translateY(-2px);
}

.btn-app-store svg {
  width: 40px;
  height: 40px;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background-color: transparent;
}

.features-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
}

.feature-card {
  flex: 1;
  min-width: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.2);
  background: rgba(15, 23, 42, 0.95);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

/* Page Content (About, Privacy, Terms) */
.page-header {
  padding: 120px 0 60px;
  text-align: center;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.page-content {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.content-block, .page-content section {
  margin-bottom: 2.5rem;
}

.page-content h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.content-block h2, .page-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.content-block h3, .page-content h3, .page-content .sub-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  display: block;
  font-weight: 600;
}

.content-block p, .page-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.content-block ul, .page-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.content-block li, .page-content li {
  margin-bottom: 0.5rem;
}

.effective-date {
  font-size: 1rem;
  color: var(--accent-primary);
  margin-bottom: 2rem;
  font-weight: 600;
}

/* Contact Form */
.contact-section {
  padding: 6rem 0;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 3rem;
  border-radius: 20px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--text-color);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(0,0,0,0.4);
}

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

.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  display: none;
  text-align: center;
  font-weight: 500;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer */
footer {
  background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.95) 40%, rgba(15, 23, 42, 1) 100%);
  padding: 6rem 0 2rem;
  border-top: none;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

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

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-color);
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    transition: 0.3s ease;
    border-top: 1px solid var(--card-border);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-container {
    padding: 2rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .features-grid {
    gap: 0.5rem;
  }
  
  .feature-card {
    padding: 1rem;
  }
  
  .feature-card h3 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }
  
  .feature-card p {
    font-size: 0.7rem;
    line-height: 1.4;
  }
  
  .feature-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 1rem;
  }
  
  .feature-icon svg {
    width: 18px;
    height: 18px;
  }
}
