:root {
  --bg: #f9f9f9;
  --fg: #1a1a1a;
  --card: #fff;
  --accent: #3b82f6;
}
body.dark {
  --bg: #121212;
  --fg: #eee;
  --card: #1f1f1f;
  --accent: #6366f1;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

/* Dark toggle */
#dark-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--card);
  color: var(--fg);
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  z-index: 10;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 1rem;
  background: var(--card);
  margin-bottom: 2rem;
}
.hero h1 {
  margin-bottom: .5rem;
  font-size: 2.5rem;
}
.hero p {
  margin-bottom: 1.5rem;
  color: #555;
}
.cta-form input {
  padding: .8rem;
  font-size:1rem;
  border:1px solid #ccc;
  border-radius:4px;
  width:60%;
  max-width:360px;
  margin-right:.5rem;
}
.cta-form button {
  padding:.8rem 1.2rem;
  background: var(--accent);
  color:#fff;
  border:none;
  border-radius:4px;
  cursor: pointer;
}

/* Highlights */
.highlights {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:1rem;
  padding:2rem 1rem;
}
.card {
  flex:1 1 250px;
  background:var(--card);
  padding:1.5rem;
  border-radius:8px;
  box-shadow:0 4px 12px rgba(0,0,0,.05);
  text-align:center;
}
.card h3 {
  margin-bottom:.5rem;
  color:var(--accent);
}

/* About Me */
.about {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.about h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.about-content {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.about-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.about-content p {
  margin-bottom: 1rem;
  color: var(--fg);
  max-width: 600px;
}
.about-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.about-links a img {
  width: 32px;
  height: 32px;
  transition: transform 0.2s ease;
}
.about-links a:hover img {
  transform: scale(1.15);
}

/* Updates */
.updates {
  padding:2rem 1rem;
}
.updates h2 {
  text-align:center;
  margin-bottom:1rem;
}
.updates ul {
  list-style:none;
  padding:0;
  max-width:600px;
  margin:0 auto;
}
.updates li {
  display:flex;
  justify-content:space-between;
  padding:.5rem 0;
  border-bottom:1px solid #ddd;
}
.updates a {
  color: var(--accent);
  text-decoration:none;
}
.view-all {
  display:block;
  text-align:center;
  margin-top:1rem;
  color:var(--accent);
}

/* Floating chatbot button */
#chatbot-button {
  position: fixed;
  bottom:20px;
  right:20px;
  background: var(--accent);
  color:#fff;
  border:none;
  border-radius:50%;
  width:60px;
  height:60px;
  font-size:1.5rem;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(0,0,0,.2);
  z-index:5;
}

/* Footer */
footer {
  text-align:center;
  padding:2rem 1rem;
  background:var(--card);
  margin-top:2rem;
  font-size:.9rem;
}

/* Responsive */
@media(max-width:600px){
  .cta-form input {
    width:100%;
    margin-bottom:.8rem;
  }
  .card {
    flex:1 1 100%;
  }
}
