:root {
  --bg-color: #050510;
  --surface-color: rgba(255, 255, 255, 0.03);
  --surface-border: rgba(255, 255, 255, 0.1);
  --primary-cyan: #00f3ff;
  --primary-violet: #bc13fe;
  --text-main: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.7);
  --gradient-main: linear-gradient(135deg, var(--primary-cyan), var(--primary-violet));
  --font-hero: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Background Blobs */
.background-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  filter: blur(80px);
  border-radius: 50%;
  opacity: 0.2;
  animation: blob-move 20s infinite alternate;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--primary-cyan);
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: var(--primary-violet);
  bottom: -150px;
  left: -150px;
  animation-delay: -5s;
}

@keyframes blob-move {
  from { transform: translate(0, 0); }
  to { transform: translate(50px, 100px); }
}

/* Navbar */
.navbar {
  padding: 2rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface-border);
}

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

.logo {
  font-family: var(--font-hero);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
}

.highlight {
  color: var(--primary-cyan);
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--text-main);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Buttons */
.btn {
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-family: var(--font-hero);
  font-weight: 600;
  transition: var(--transition-smooth);
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 8px 15px rgba(0, 243, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 243, 255, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary-cyan);
  color: var(--primary-cyan);
}

.btn-outline:hover {
  background: rgba(0, 243, 255, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
}

.btn-ghost:hover {
  color: white;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  color: white;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin-bottom: 10px;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-cyan);
}

.btn-small {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

/* Hero Section */
.hero-section {
  padding: 10rem 0 5rem;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

h1 {
  font-family: var(--font-hero);
  font-size: 4.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

/* Glassmorphism Cards */
.glass {
  background: var(--surface-color);
  backdrop-filter: blur(12px);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  transition: var(--transition-smooth);
}

.score-card {
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.score-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 243, 255, 0.1), transparent);
  pointer-events: none;
}

.score-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.status-badge {
  background: rgba(0, 243, 255, 0.1);
  color: var(--primary-cyan);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Gauge Animation */
.gauge-container {
  position: relative;
  width: 250px;
  margin: 0 auto 2rem;
}

.score-gauge {
  width: 100%;
}

.gauge-bg {
  stroke: rgba(255, 255, 255, 0.05);
}

.gauge-fill {
  stroke: var(--primary-cyan);
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px var(--primary-cyan));
  transition: stroke-dashoffset 2s ease-out;
}

.score-value {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#current-score {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-hero);
  line-height: 1;
}

.score-value small {
  color: var(--primary-cyan);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.score-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--surface-border);
  padding-top: 1.5rem;
}

.stat label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat span {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Features Section */
.section {
  padding: 8rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: 3rem;
  font-family: var(--font-hero);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-dim);
  font-size: 1.2rem;
}

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

.feature-card {
  padding: 3rem 2.5rem;
}

.feature-card:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
}

.icon-container {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

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

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

/* Footer */
.footer {
  padding: 6rem 0 3rem;
  border-top: 1px solid var(--surface-border);
  margin-top: 5rem;
  background: rgba(5, 5, 16, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-dim);
  margin-top: 1rem;
  max-width: 300px;
}

.footer-links-group h4 {
  margin-bottom: 1.5rem;
  font-family: var(--font-hero);
  color: white;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-dim);
  transition: var(--transition-smooth);
}

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

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

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

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

.social-links a:hover {
  color: white;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  z-index: 1000;
  display: none;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cookie-banner.active {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  font-size: 0.9rem;
  color: var(--text-dim);
}

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

.cookie-actions {
  display: flex;
  gap: 1rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  width: 100%;
  max-width: 450px;
  padding: 3rem;
  text-align: center;
  position: relative;
}

.modal-content h2 {
  margin-bottom: 1rem;
  font-family: var(--font-hero);
}

.modal-content p {
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.btn-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 2rem;
  cursor: pointer;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards ease-out;
}

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

.hero-content h1 { animation-delay: 0.2s; }
.hero-content p { animation-delay: 0.4s; }
.hero-actions { animation-delay: 0.6s; }
.hero-visual { animation-delay: 0.8s; }

/* Responsive */
@media (max-width: 992px) {
  .hero-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  h1 {
    font-size: 3rem;
  }
}
