/* VUNA Calculator Landing Page */

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

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

body.dark-mode {
  --text: #f1f5f9;
  --text-light: #94a3b8;
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --border: #334155;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  z-index: 100;
}

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

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--blue);
}

.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.nav-cta:hover {
  background: var(--blue-dark) !important;
}

.nav-menu button {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 8rem 1.5rem 5rem;
  background: var(--bg-alt);
}

.hero-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.badge {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
}

.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.btn-primary:hover {
  background: var(--blue-dark);
}

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

.hero-checks span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Calculator Mockup */
.calc-mockup {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  width: 280px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.mockup-header {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.mockup-display {
  background: var(--bg-alt);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: right;
}

.mockup-input {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.mockup-result {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue);
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.key {
  background: var(--bg-alt);
  border-radius: 8px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
}

.key.ac {
  background: #fee2e2;
  color: #dc2626;
}

.key.op {
  background: #dbeafe;
  color: var(--blue);
}

.key.eq {
  background: var(--blue);
  color: #fff;
}

.key.zero {
  grid-column: span 2;
}

/* Features */
.features {
  padding: 5rem 1.5rem;
  background: var(--bg);
}

.features-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.features-sub {
  color: var(--text-light);
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature {
  padding: 1.5rem;
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Stats */
.stats {
  padding: 4rem 1.5rem;
  background: var(--blue);
}

.stats-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

/* CTA */
.cta {
  padding: 5rem 1.5rem;
  text-align: center;
  background: var(--bg-alt);
}

.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.btn-cta {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.btn-cta:hover {
  background: var(--blue-dark);
}

/* Footer */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-brand p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

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

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

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

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero p {
    max-width: 100%;
  }

  .hero-checks {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-container {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .stat {
    width: 50%;
  }

  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }
}
