/* —— Variables & Design Tokens —— */
:root {
  /* Colors */
  --color-bg-dark: #151230;
  --color-bg-mid: #ae1fca;
  --color-text-primary: #e3e5ff;
  --color-text-secondary: #63f7f9;
  --color-nav-bg: #191724;
  --accent-gradient: linear-gradient(135deg, #78ffff 0%, #ff77c6 100%);
  --hero-text-gradient-start: #c0d8ff;
  --hero-text-gradient-end: #d18eff;

  /* Typography */
  --font-main: 'Inter', sans-serif;
  --font-base: 16px;

  /* Spacing & Rounding */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --radius-md: 16px;
  --radius-lg: 30px;

  /* Shadows & Effects */
  --shadow-card: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-hover: 0 6px 30px rgba(0,0,0,0.5);
}

/* —— Global Styles —— */
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font: var(--font-base) var(--font-main);
  background: linear-gradient(135deg, var(--color-bg-dark), var(--color-bg-mid));
  color: var(--color-text-primary);
  line-height:1.6;
  padding-top:80px;
}
a { color: inherit; text-decoration:none; }

.container { max-width:1200px; margin:0 auto; padding:0 var(--space-md); }

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 22, 37, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(120, 255, 255, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #78ffff 0%, #ff77c6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  background-clip: text;
  background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(120, 255, 255, 0.3);
}

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

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #78ffff;
  text-shadow: 0 0 15px rgba(120, 255, 255, 0.5);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(135deg, #78ffff 0%, #ff77c6 100%);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.theme-toggle {
  background: none;
  border: 2px solid rgba(120, 255, 255, 0.2);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.theme-toggle:hover {
  border-color: #78ffff;
  background: rgba(120, 255, 255, 0.1);
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
}
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #78ffff 0%, #ff77c6 100%);
  color: #1a1625;
  padding: 18px 40px;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 30px rgba(120, 255, 255, 0.3);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(120, 255, 255, 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: #78ffff;
  border: 2px solid #78ffff;
  box-shadow: 0 0 20px rgba(120, 255, 255, 0.2);
}

.cta-button.secondary:hover {
  background: rgba(120, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(120, 255, 255, 0.4);
}

.cta-button .alt {
  background: transparent;
  color: #78ffff;
  border: 2px solid #78ffff;
  box-shadow: 0 0 20px rgba(120, 255, 255, 0.2);
}

.cta-button .alt:hover {
  background: rgba(120, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(120, 255, 255, 0.4);
}

.cta-banner {
  background: rgba(26, 22, 37, 0.9);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  margin: 20px auto;
  max-width: 800px;
  box-shadow: 0 0 30px rgba(120, 255, 255, 0.2);
}

/* —— Hero Section —— */
.hero {
  text-align: center;
  padding: 80px 40px;
  background: rgba(26, 22, 37, 0.8);
  border-radius: 24px;
  margin: 20px auto;
  max-width: 1000px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(120, 255, 255, 0.1);
  box-shadow: 
      0 0 40px rgba(120, 255, 255, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #78ffff 0%, #ff77c6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(120, 255, 255, 0.3);
  line-height: 1.2;
}

.btn-primary {
  display:inline-block;
  background: var(--accent-gradient);
  color: var(--color-bg-dark);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  font-size:1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-card);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* —— About Card —— */
.about, .tool-highlight, .roadmap {
  text-align: center;
  padding: 60px 40px;
  margin: 40px auto;
  max-width: 1000px;
  background: rgba(26, 22, 37, 0.8);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(120, 255, 255, 0.1);
  box-shadow: 
      0 0 40px rgba(120, 255, 255, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.about h2, .tool-highlight h2, .roadmap h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 700;
  background: linear-gradient(135deg, #78ffff 0%, #ff77c6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(120, 255, 255, 0.3);
}

.about p, .roadmap p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
}

ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 30px auto;
}

ul li {
  margin-bottom: 20px;
  font-size: 1.2rem;
  padding: 15px 20px;
  background: rgba(26, 22, 37, 0.6);
  border-radius: 12px;
  border-left: 4px solid #78ffff;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(120, 255, 255, 0.1);
}

ul li:hover {
  background: rgba(26, 22, 37, 0.8);
  transform: translateX(10px);
  border-color: rgba(120, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(120, 255, 255, 0.1);
}
/* —— Responsive —— */
@media(max-width:768px) {
  .nav-links { display:none; }
  .hero h1 { font-size:3rem; }
  .about-card { margin:-4rem 1rem 0; padding: var(--space-md); }
}
/* —— Featured Section —— */
.featured-section {
  padding: var(--space-lg) var(--space-md);
  background: rgba(25, 23, 36, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin: var(--space-lg) auto;
  max-width: 700px;
  text-align: center;
}

.featured-section h2 {
  font-size: 2.25rem;
  margin-bottom: var(--space-md);
  background: linear-gradient(
    90deg,
    var(--hero-text-gradient-start),
    var(--hero-text-gradient-end)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.featured-section .features-list {
  list-style: none;
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.featured-section .features-list li {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
}

.featured-section .btn-secondary {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--color-text-secondary);
  border-radius: var(--radius-lg);
  color: var(--color-text-secondary);
  transition: background 0.3s ease, color 0.3s ease;
}

.featured-section .btn-secondary:hover {
  background: var(--color-text-secondary);
  color: var(--color-bg-dark);
}

/* Calculator Grid */
.calculator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.calc-card {
  background: rgba(26, 22, 37, 0.8);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(120, 255, 255, 0.15);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.calc-card:hover {
  transform: translateY(-5px);
  border-color: rgba(120, 255, 255, 0.3);
  box-shadow: 0 0 30px rgba(120, 255, 255, 0.2);
}

.calc-card h3 {
  color: #78ffff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  text-shadow: 0 0 15px rgba(120, 255, 255, 0.3);
}

.calc-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Footer */
footer {
  background: rgba(26, 22, 37, 0.95);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(120, 255, 255, 0.1);
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #78ffff;
  text-shadow: 0 0 10px rgba(120, 255, 255, 0.5);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 20px;
}

.social-links a {
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px rgba(120, 255, 255, 0.5));
}


