/* =========================================
   Dashboard Hub - Glassmorphism Styles
========================================= */

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #e2e8f0;
  color: #1e293b;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}

/* =========================================
   Fancy Animated Background
========================================= */
.fancy-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: #f8fafc;
}
.tech-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}
.shape-1 {
  width: 600px;
  height: 600px;
  background: #00a2ff;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}
.shape-2 {
  width: 700px;
  height: 700px;
  background: #0033cc;
  bottom: -200px;
  right: -150px;
  animation-delay: -5s;
}
.shape-3 {
  width: 400px;
  height: 400px;
  background: #7dd3fc;
  top: 30%;
  left: 30%;
  animation-delay: -10s;
}
.shape-4 {
  width: 500px;
  height: 500px;
  background: #10b981;
  bottom: 10%;
  left: 10%;
  opacity: 0.3;
  animation-delay: -15s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, 30px) scale(1.05);
  }
  100% {
    transform: translate(-30px, 60px) scale(0.95);
  }
}

/* =========================================
   Glassmorphism Reusables
========================================= */
.glass-panel {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 32px 0 rgba(0, 85, 255, 0.05);
}
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

/* =========================================
   Header & Navbar
========================================= */
.main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}
.nav-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-logo .logo-icon {
  width: 36px;
  height: 36px;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: #475569;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #0055ff;
}

.github-btn {
  background: #0f172a;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.github-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(15, 23, 42, 0.2);
}

/* =========================================
   Hero Section
========================================= */
.hero-section {
  width: 90%;
  max-width: 1000px;
  margin: 120px auto 40px auto;
  text-align: center;
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-badge {
  background: rgba(0, 85, 255, 0.1);
  color: #0055ff;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 85, 255, 0.2);
  margin-bottom: 1.5rem;
  display: inline-block;
}
.hero-title {
  font-size: 4rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem 0;
}
.text-gradient {
  background: linear-gradient(135deg, #0055ff, #00a2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}
.btn-primary {
  background: #0055ff;
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition:
    background 0.2s,
    transform 0.2s;
  box-shadow: 0 8px 20px rgba(0, 85, 255, 0.3);
}
.btn-primary:hover {
  background: #0033cc;
  transform: translateY(-3px);
}

/* =========================================
   Dashboard Grid
========================================= */
.dashboard-wrapper {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 20px 0 100px 0;
}

.category-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  scroll-margin-top: 100px;
}
.category-title {
  margin: 0;
  font-size: 1.5rem;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 0.75rem;
}
.category-title i {
  color: #0055ff;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tool-card {
  padding: 2rem 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.tool-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(0, 85, 255, 0.12);
  border-color: #0055ff;
}

.icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: #f0f4ff;
  color: #0055ff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  transition:
    background 0.3s,
    color 0.3s;
}
.tool-card:hover .icon-wrapper {
  background: #0055ff;
  color: #ffffff;
}

.tool-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  color: #0f172a;
  font-weight: 700;
}
.tool-card p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =========================================
   Footer
========================================= */
.main-footer {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto 40px auto;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  padding: 3rem;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  max-width: 300px;
}
.footer-brand .logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  vertical-align: middle;
}

.footer-brand .brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  vertical-align: middle;
}
.footer-brand p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 1rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}
.footer-column h4 {
  margin: 0 0 1rem 0;
  color: #0f172a;
  font-size: 1rem;
}
.footer-column a {
  display: block;
  color: #475569;
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-column a:hover {
  color: #0055ff;
}

.footer-bottom {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 3rem;
  }
  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .dashboard-wrapper {
    width: 95%;
  }
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .main-footer {
    width: 95%;
    padding: 2rem;
  }
}

/* =========================================
   Value Prop & FAQ Sections
========================================= */
.value-prop-section,
.faq-section {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 1rem auto;
}

.value-header {
  text-align: center;
  margin-bottom: 3rem;
}
.value-header h2 {
  font-size: 2.5rem;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.value-header p {
  color: #475569;
  font-size: 1.1rem;
  margin: 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.value-card {
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.value-card i {
  font-size: 3rem;
  color: #0055ff;
  margin-bottom: 1.5rem;
  background: rgba(0, 85, 255, 0.1);
  padding: 1rem;
  border-radius: 20px;
}
.value-card h4 {
  font-size: 1.25rem;
  color: #0f172a;
  margin: 0 0 1rem 0;
  font-weight: 700;
}
.value-card p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #0f172a;
  margin: 0 0 3rem 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.faq-item {
  padding: 2rem;
}
.faq-item h4 {
  font-size: 1.1rem;
  color: #0f172a;
  margin: 0 0 1rem 0;
  font-weight: 700;
}
.faq-item p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .value-header h2,
  .faq-section h2 {
    font-size: 2rem;
  }
}
