:root {
  --bg: #0d0d0d;
  --text: #ffffff;
  --primary: #00d1ff;
  --accent: #ffb800;
  --card: #1a1a1a;
}

body.light {
  --bg: #ffffff;
  --text: #0d0d0d;
  --primary: #0050ff;
  --accent: #ff3c00;
  --card: #f0f0f0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  margin: 0;
  transition: background 0.3s ease;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--card);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--primary);
}

.logo span {
  color: var(--accent);
}

nav a {
  color: var(--text);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: bold;
}

nav a.active {
  border-bottom: 2px solid var(--primary);
}

.hero {
  height: 90vh;
  background: url('https://images.unsplash.com/photo-1531983412531-1cde6e668a91?auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
}

.hero .highlight {
  color: var(--primary);
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 0.8rem 1.5rem;
  margin-top: 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta:hover {
  background: var(--primary);
}

.quotes-section {
  padding: 3rem 1rem;
  text-align: center;
  background: var(--card);
}

.quote-box {
  background: var(--bg);
  padding: 2rem;
  margin-top: 1rem;
  border-radius: 15px;
  max-width: 600px;
  margin: 1rem auto;
  border: 2px solid var(--primary);
}

.quote-box button {
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

footer {
  text-align: center;
  padding: 1rem;
  background: var(--card);
  color: var(--text);
}

.tracker-section {
  padding: 3rem 1rem;
  text-align: center;
}

.task-form {
  margin-top: 2rem;
}

.task-form input {
  padding: 0.7rem;
  width: 60%;
  max-width: 400px;
  border: 2px solid var(--primary);
  border-radius: 10px;
  font-size: 1rem;
}

.task-form button {
  padding: 0.7rem 1.2rem;
  background: var(--accent);
  border: none;
  margin-left: 1rem;
  color: var(--bg);
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
}

.task-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.task-list li {
  background: var(--card);
  margin: 0.5rem 0;
  padding: 1rem;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 5px solid var(--primary);
}

.task-list li.completed {
  text-decoration: line-through;
  opacity: 0.7;
  border-left: 5px solid var(--accent);
}

.task-list button {
  background: transparent;
  border: none;
  color: var(--accent);
  font-weight: bold;
  cursor: pointer;
}

.streak-counter {
  margin-top: 2rem;
  font-size: 1.3rem;
  color: var(--primary);
}