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

/* ========= Base ========= */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
}

a { color: #38bdf8; text-decoration: none; transition: .2s ease; }
a:hover { text-decoration: underline; }

/* ========= Header / Navbar ========= */
.header {
  background: #1e293b;
  padding: 16px 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 4px 10px #00000022;
}
.logo { display: flex; align-items: center; }
.logo img {
  height: 70px; width: 70px; object-fit: cover; border-radius: 50%;
  border: 2px solid #38bdf8; box-shadow: 0 0 8px #00eaff55;
}
.navbar { display: flex; align-items: center; gap: 16px; }

/* CTA-Button */
.cta-button {
  display: inline-block;
  background: #38bdf8;
  color: #0f172a !important;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  transition: background-color .2s ease, transform .05s ease;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
}
.cta-button:visited,
.cta-button:hover,
.cta-button:active,
.cta-button:focus { color: #0f172a !important; }
.cta-button:hover { background: #0ea5e9; }
.cta-button:active { transform: translateY(1px); }
.cta-button.wide { width: 100%; text-align: center; margin-top: 8px; }

/* User-Circle & Dropdown */
.user-circle {
  background: #38bdf8; color: #0f172a;
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 24px; cursor: pointer;
  box-shadow: 0 0 10px #38bdf855;
}
.dropdown {
  position: absolute; right: 24px; top: 84px; z-index: 1000;
  background: #1e293b; padding: 10px; border-radius: 8px; box-shadow: 0 0 10px #00000055;
}
.dropdown a { display: block; padding: 6px 10px; color: #e2e8f0; }
.dropdown a:hover { background: #334155; }
.hidden { display: none; }

/* ========= Hero Toggle & Links ========= */
.hero-toggle {
  position: absolute;
  top: 120px; left: 20px;
  z-index: 9999;
  background: #38bdf8; color: #0f172a; border: none;
  padding: 10px 14px; font-size: 22px; border-radius: 6px; cursor: pointer;
  box-shadow: 0 0 10px #38bdf855; transition: background-color .2s ease;
}
.hero-toggle:hover { background: #0ea5e9; }

.hero-links {
  position: absolute;
  top: 180px; left: 20px;
  background: #1e293b; padding: 20px; border-radius: 12px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 0 12px #38bdf866; z-index: 9998; transition: all .3s ease;
}
.hero-links a {
  color: #38bdf8; font-weight: 700; font-size: 18px;
  padding: 10px 20px; border-radius: 6px; background: transparent;
  box-shadow: 0 0 10px #38bdf822; transition: .2s ease;
}
.hero-links a:hover {
  background: #1e293b; color: #fff; box-shadow: 0 0 16px #38bdf866; transform: scale(1.05);
}
.hero-links.hidden { display: none; }

/* ========= Content ========= */
.content {
  max-width: 1100px; margin: 40px auto; padding: 24px;
}
.content h1 {
  text-align: center; margin-bottom: 12px;
  color: #38bdf8; text-shadow: 0 0 8px #38bdf866;
}
.intro { text-align: center; color: #94a3b8; margin-bottom: 22px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: #0f172a;
  border: 1px solid #1f2a44;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.card h3 {
  color: #60cdf6;
  margin-bottom: 12px;
}
.card p {
  color: #cbd5e1;
}

/* ========= Footer ========= */
.footer {
  text-align: center; padding: 30px 20px; background: #1e293b; color: #64748b;
  margin-top: 40px; border-top: 2px solid #334155;
}
.footer-links {
  margin-top: 12px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.footer-links a {
  color: #38bdf8; font-weight: 500; padding: 6px 12px; border-radius: 6px; transition: .2s ease;
}
.footer-links a:hover { background: #334155; color: #fff; box-shadow: 0 0 12px #38bdf855; transform: scale(1.04); }

/* ========= Responsive ========= */
@media (max-width: 960px) {
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header { flex-direction: column; align-items: flex-start; }
  .navbar { margin-top: 10px; }
  .navbar a { display: inline-block; margin: 4px 6px 0 0; }

  .content { padding: 16px; margin: 20px auto; }
  .content h1 { font-size: 1.8rem; }
  .intro { font-size: 1rem; }

  .hero-toggle {
    position: fixed; top: auto;
    left: 16px; bottom: calc(24px + env(safe-area-inset-bottom));
    font-size: 20px; padding: 8px 12px; border-radius: 8px;
  }
  .hero-links {
    position: fixed; left: 16px; right: 16px;
    bottom: calc(80px + env(safe-area-inset-bottom));
    flex-direction: row; flex-wrap: wrap; justify-content: center;
    padding: 14px; border-radius: 12px;
  }
  .hero-links a { font-size: 16px; padding: 8px 12px; }
}
