/* Style variables matching Gravity Nova neon sci-fi theme */
:root {
  --bg-deep: #05050a;
  --bg-dark: #0c0c16;
  --bg-panel: rgba(13, 13, 26, 0.75);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 245, 212, 0.4);
  
  --neon-cyan: #00f5d4;
  --neon-pink: #ff007f;
  --neon-blue: #00b4d8;
  --neon-purple: #7b2cbf;
  --neon-yellow: #fee440;
  
  --text-primary: #f0f0f8;
  --text-secondary: #a0a0c0;
  --text-muted: #606080;
  
  --font-title: 'Orbitron', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  
  --shadow-glow-cyan: 0 0 15px rgba(0, 245, 212, 0.35);
  --shadow-glow-pink: 0 0 15px rgba(255, 0, 127, 0.35);
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background glows */
.bg-glows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  width: 50vmax;
  height: 50vmax;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  animation: floatGlow 20s infinite alternate ease-in-out;
}

.bg-blue {
  top: -10%;
  left: -10%;
  background: var(--neon-blue);
}

.bg-purple {
  bottom: 20%;
  right: -10%;
  background: var(--neon-purple);
  animation-duration: 25s;
  animation-direction: alternate-reverse;
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8%, 10%) scale(1.15); }
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 5, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-text {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--text-primary);
  background: linear-gradient(135deg, #fff, var(--neon-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--neon-cyan);
  transition: var(--transition-smooth);
  box-shadow: 0 0 8px var(--neon-cyan);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  color: #020205;
  box-shadow: var(--shadow-glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 245, 212, 0.6);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Sections General */
section {
  padding: 100px 24px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  padding-top: 160px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

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

.hero-tagline {
  font-family: var(--font-title);
  color: var(--neon-cyan);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: 4px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--neon-pink);
  text-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 35px;
  max-width: 500px;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border-light);
  padding-top: 25px;
}

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

.hero-stat-val {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrapper {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-smooth);
}

.hero-img-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
  border-color: var(--neon-cyan);
  box-shadow: 0 20px 50px rgba(0, 245, 212, 0.2);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(5, 5, 10, 0.8) 0%, transparent 50%);
  pointer-events: none;
}

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

.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 35px 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-cyan);
  box-shadow: 0 10px 30px rgba(0, 245, 212, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 245, 212, 0.06);
  border: 1px solid rgba(0, 245, 212, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--neon-cyan);
  margin-bottom: 8px;
  box-shadow: 0 0 10px rgba(0, 245, 212, 0.05);
}

.feature-icon.pink {
  background: rgba(255, 0, 127, 0.06);
  border-color: rgba(255, 0, 127, 0.2);
  color: var(--neon-pink);
}

.feature-icon.blue {
  background: rgba(0, 180, 216, 0.06);
  border-color: rgba(0, 180, 216, 0.2);
  color: var(--neon-blue);
}

.feature-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
}

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

/* Call to Action */
.cta {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.cta-box {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.cta-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 35px;
}

/* Legal Pages Styling (Privacy & Terms) */
.legal-page {
  padding-top: 150px;
  padding-bottom: 100px;
}

.legal-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 50px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.legal-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 25px;
  margin-bottom: 35px;
  text-align: left;
}

.legal-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  text-shadow: 0 0 15px rgba(0, 245, 212, 0.25);
  margin-bottom: 10px;
}

.legal-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.legal-content h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-top: 30px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-content h3::before {
  content: '//';
  color: var(--neon-pink);
  font-weight: 900;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-content ul {
  color: var(--text-secondary);
  margin-bottom: 20px;
  margin-left: 20px;
  font-size: 0.98rem;
}

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

/* Footer */
footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-light);
  padding: 60px 24px 30px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo-desc {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 350px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-nav-title {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-nav-links a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

/* Mobile responsive styling */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-desc {
    margin: 0 auto 35px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-img-wrapper {
    transform: none;
    margin: 0 auto;
  }
  
  .hero-img-wrapper:hover {
    transform: scale(1.02);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Can be enabled with mobile nav JS if needed */
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .legal-box {
    padding: 30px 20px;
  }
  
  .legal-title {
    font-size: 1.8rem;
  }
}
