@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(to bottom, #f0f9ff 0%, #e0f2fe 50%, #fef3c7 100%);
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

.main-wrapper {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

/* Header Styles */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #0ea5e9;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #0ea5e9;
  z-index: 51;
}

.menu-toggle.active span {
  display: block;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation */
nav {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-weight: 600;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

nav a {
  color: #0ea5e9;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

nav a:hover {
  background-color: #e0f2fe;
}

/* Hero Section */
.hero {
  padding: 3rem 1.25rem 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.free-badge {
  display: inline-block;
  background: #fbbf24;
  color: #78350f;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

/* Button Styles */
.btn-primary {
  background: white;
  color: #0ea5e9;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Section Styles */
.section {
  padding: 3rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.section-subtitle {
  color: #64748b;
  font-size: 1.05rem;
}

/* Tool Categories */
.category-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.category-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.15);
  border-color: #0ea5e9;
}

.category-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.category-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.tool-list {
  display: grid;
  gap: 0.75rem;
}

.tool-item {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 12px;
  border-left: 3px solid #0ea5e9;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.tool-item:hover {
  background: #e0f2fe;
  transform: translateX(5px);
}

.tool-emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tool-text {
  flex: 1;
}

.tool-name {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.tool-desc {
  font-size: 0.85rem;
  color: #64748b;
}

.tool-item.hidden {
  display: none;
}

/* Education Cards */
.education-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.education-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 3px solid #0ea5e9;
  text-align: center;
  transition: all 0.3s ease;
}

.education-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.2);
}

.education-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.education-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}

.education-features {
  text-align: left;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #475569;
}

.feature-check {
  width: 24px;
  height: 24px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Articles Section */
.articles-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.article-card {
  background: white;
  border-radius: 15px;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 1rem;
  align-items: start;
  transition: all 0.3s ease;
}

.article-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.article-emoji {
  font-size: 2rem;
  flex-shrink: 0;
}

.article-content {
  flex: 1;
}

.article-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.article-desc {
  color: #64748b;
  font-size: 0.9rem;
}

/* Features Section */
.features-grid {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
}

.feature-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.feature-text {
  color: #64748b;
  font-size: 0.9rem;
}

/* View More Link */
.view-more {
  text-align: center;
  margin-top: 2rem;
}

.view-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0ea5e9;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.view-more-link:hover {
  gap: 0.75rem;
  color: #0284c7;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0c4a6e 0%, #075985 100%);
  color: white;
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-text {
  color: #bae6fd;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-link {
  color: #bae6fd;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #fbbf24;
}

.copyright {
  color: #7dd3fc;
  font-size: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(186, 230, 253, 0.2);
}

/* Info Banner */
.info-banner {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  padding: 1rem 1.25rem;
  overflow: hidden;
}

.info-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  align-items: center;
  animation: scroll 20s linear infinite;
  white-space: nowrap;
}

.info-banner span {
  color: #78350f;
}

.info-banner strong {
  font-weight: 600;
  font-size: 0.95rem;
}

.info-banner-dot {
  color: #78350f;
  margin: 0 0.5rem;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive */
@media (min-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .education-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .menu-toggle span {
    width: 25px;
    height: 3px;
    background: #0ea5e9;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
  }

  nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    display: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #0ea5e9;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 1rem 1.25rem;
    border-radius: 0;
    width: 100%;
    text-align: left;
  }

  .header-content {
    flex-wrap: nowrap;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .section {
    padding: 2rem 1.25rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .tool-item {
    padding: 0.75rem;
    gap: 0.5rem;
  }

  .tool-emoji {
    font-size: 1.25rem;
  }

  .tool-name {
    font-size: 0.9rem;
  }

  .tool-desc {
    font-size: 0.75rem;
  }

  .view-more-link {
    font-size: 0.95rem;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .section {
    padding: 4rem 2rem;
  }

  .section-title {
    font-size: 2.5rem;
  }
}
