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

:root {
  --primary-color: #0f172a;
  --secondary-color: #1e293b;
  --accent-color: #3b82f6;
  --accent-light: #60a5fa;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --error-color: #ef4444;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.5;
  color: var(--text-dark);
  font-size: 14px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header-unique {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  padding: 12px 0;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--bg-white);
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-menu a {
  color: var(--bg-white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav-menu a:hover {
  opacity: 0.8;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--bg-white);
  font-size: 22px;
  cursor: pointer;
}

.hero-mega {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 50%,
    #334155 100%
  );
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(59, 130, 246, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(96, 165, 250, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--bg-white);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  color: var(--accent-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content .highlight {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content > p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 12px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: var(--bg-white);
  padding: 50px 0;
  text-align: center;
}

.hero-section h1 {
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 700;
}

.hero-section p {
  font-size: 15px;
  margin-bottom: 20px;
  opacity: 0.95;
}

.cta-btn {
  display: inline-block;
  background: var(--bg-white);
  color: var(--primary-color);
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.features-section,
.about-section,
.topics-section,
.stats-section,
.cta-section,
.testimonials-section,
.newsletter-section,
.content-section,
.funding-section,
.growth-section,
.resources-section,
.posts-section,
.products-section,
.categories-section,
.contact-section,
.map-section,
.policy-section,
.innovation-section,
.tech-focus-section,
.community-section,
.learning-paths-section {
  padding: 50px 0;
}

.features-section h2,
.about-section h2,
.topics-section h2,
.stats-section h2,
.cta-section h2,
.testimonials-section h2,
.newsletter-section h2,
.content-section h2,
.funding-section h2,
.growth-section h2,
.resources-section h2,
.posts-section h2,
.products-section h2,
.categories-section h2,
.contact-section h2,
.map-section h2,
.policy-section h2,
.innovation-section h2,
.tech-focus-section h2,
.community-section h2,
.learning-paths-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--text-dark);
  text-align: center;
}

.innovation-section {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  color: var(--bg-white);
  text-align: center;
  border-radius: 0;
}

.innovation-section h2 {
  color: var(--bg-white);
  font-size: 26px;
  margin-bottom: 15px;
}

.innovation-section p {
  font-size: 15px;
  margin-bottom: 25px;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.innovation-grid,
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.innovation-card,
.tech-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}

.innovation-card:hover,
.tech-card:hover {
  transform: translateY(-5px);
}

.innovation-icon {
  font-size: 36px;
  margin-bottom: 15px;
}

.innovation-card h3,
.tech-card h3 {
  font-size: 17px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.innovation-card p,
.tech-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.community-section {
  background: var(--bg-light);
}

.community-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}

.community-text h2 {
  text-align: left;
  font-size: 28px;
  margin-bottom: 20px;
}

.community-text p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 15px;
}

.community-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-intro {
  text-align: center;
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.path-card {
  background: var(--bg-white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--accent-color);
}

.path-level {
  display: inline-block;
  background: var(--accent-color);
  color: var(--bg-white);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
}

.path-card h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.path-card ul {
  list-style: none;
  padding: 0;
}

.path-card li {
  font-size: 13px;
  color: var(--text-light);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 20px;
}

.path-card li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
}

.path-card li:last-child {
  border-bottom: none;
}

.features-grid,
.topics-grid,
.stats-grid,
.testimonials-grid,
.content-grid,
.funding-grid,
.resources-grid,
.posts-grid,
.products-grid,
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.feature-card,
.topic-item,
.stat-card,
.testimonial-card,
.content-card,
.funding-card,
.resource-item,
.post-card,
.product-card,
.category-item {
  background: var(--bg-white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover,
.topic-item:hover,
.stat-card:hover,
.testimonial-card:hover,
.content-card:hover,
.funding-card:hover,
.resource-item:hover,
.post-card:hover,
.product-card:hover,
.category-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.feature-card h3,
.topic-item h3,
.content-card h3,
.funding-card h3,
.resource-item h3,
.product-card h3,
.category-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.feature-card p,
.topic-item p,
.content-card p,
.funding-card p,
.resource-item p,
.product-card p,
.category-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.about-section {
  background: var(--bg-light);
}

.about-section p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 12px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-light);
}

.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: var(--bg-white);
  text-align: center;
  border-radius: 0;
  margin: 0;
}

.cta-section h2 {
  color: var(--bg-white);
}

.cta-section p {
  font-size: 14px;
  margin-bottom: 20px;
  opacity: 0.95;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 12px;
  font-size: 13px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 12px;
}

.page-hero {
  background: var(--bg-light);
  padding: 40px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-hero p {
  font-size: 14px;
  color: var(--text-light);
}

.content-section p,
.funding-section p,
.growth-section p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 15px;
}

.resource-link,
.read-more,
.product-btn {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: color 0.3s;
}

.resource-link:hover,
.read-more:hover,
.product-btn:hover {
  color: var(--secondary-color);
}

.post-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.post-content h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.post-date {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 12px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 25px;
}

.contact-info,
.contact-form-wrapper {
  background: var(--bg-white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.info-item {
  margin-bottom: 20px;
}

.info-item h3 {
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.info-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-form-wrapper h2 {
  text-align: left;
  font-size: 20px;
  margin-bottom: 10px;
}

.contact-form-wrapper p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 400;
}

.checkbox-group input[type='checkbox'] {
  width: auto;
  margin-top: 3px;
}

.checkbox-group span {
  font-size: 12px;
}

.checkbox-group a {
  color: var(--primary-color);
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  color: var(--bg-white);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: var(--secondary-color);
}

.map-wrapper {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.thankyou-page,
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
}

.thankyou-container,
.error-container {
  text-align: center;
  color: var(--bg-white);
  padding: 20px;
}

.thankyou-content h1,
.error-content h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.error-content h1 {
  font-size: 72px;
}

.error-content h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.thankyou-content p,
.error-content p {
  font-size: 15px;
  margin-bottom: 20px;
  opacity: 0.95;
}

.thankyou-icon {
  font-size: 64px;
  margin: 20px 0;
}

.error-links {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-links a {
  color: var(--bg-white);
  text-decoration: none;
  font-size: 13px;
  padding: 8px 16px;
  border: 1px solid var(--bg-white);
  border-radius: 6px;
  transition: background 0.3s;
}

.error-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.policy-section {
  background: var(--bg-white);
}

.policy-section .container {
  max-width: 900px;
}

.policy-section h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.update-date {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 25px;
}

.policy-section h2 {
  font-size: 18px;
  margin-top: 25px;
  margin-bottom: 12px;
  color: var(--text-dark);
  text-align: left;
}

.policy-section h3 {
  font-size: 15px;
  margin-top: 15px;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.policy-section p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 12px;
}

.footer {
  background: var(--text-dark);
  color: var(--bg-white);
  padding: 35px 0 15px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-bottom: 25px;
}

.footer-col h4 {
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--bg-white);
}

.footer-col p,
.footer-col a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}

.footer-col a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: var(--bg-white);
  padding: 15px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.cookie-popup.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-content p {
  font-size: 12px;
  margin: 0;
  flex: 1;
  min-width: 250px;
}

.cookie-content a {
  color: var(--accent-color);
}

.cookie-content button {
  padding: 8px 20px;
  background: var(--primary-color);
  color: var(--bg-white);
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.cookie-content button:hover {
  background: var(--secondary-color);
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    flex-direction: column;
    padding: 15px;
    gap: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-mega {
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content > p {
    font-size: 14px;
  }

  .hero-stats {
    gap: 25px;
  }

  .stat-value {
    font-size: 24px;
  }

  .hero-section h1 {
    font-size: 24px;
  }

  .hero-section p {
    font-size: 14px;
  }

  .features-grid,
  .topics-grid,
  .stats-grid,
  .testimonials-grid,
  .content-grid,
  .funding-grid,
  .resources-grid,
  .posts-grid,
  .products-grid,
  .categories-grid,
  .innovation-grid,
  .tech-grid,
  .paths-grid {
    grid-template-columns: 1fr;
  }

  .community-content {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  .container {
    padding: 0 12px;
  }

  .logo {
    font-size: 16px;
  }

  .hero-mega {
    min-height: 65vh;
    padding: 20px 0;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content > p {
    font-size: 13px;
  }

  .hero-badge {
    font-size: 10px;
    padding: 5px 12px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 13px;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-value {
    font-size: 22px;
  }

  .stat-label {
    font-size: 11px;
  }

  .hero-section {
    padding: 35px 0;
  }

  .hero-section h1 {
    font-size: 22px;
  }

  .features-section h2,
  .about-section h2,
  .topics-section h2,
  .stats-section h2,
  .cta-section h2,
  .testimonials-section h2,
  .newsletter-section h2,
  .content-section h2,
  .funding-section h2,
  .growth-section h2,
  .resources-section h2,
  .posts-section h2,
  .products-section h2,
  .categories-section h2,
  .contact-section h2,
  .map-section h2,
  .innovation-section h2,
  .tech-focus-section h2,
  .community-section h2,
  .learning-paths-section h2 {
    font-size: 20px;
  }

  .page-hero h1 {
    font-size: 24px;
  }

  .stat-number {
    font-size: 28px;
  }

  .innovation-icon {
    font-size: 28px;
  }

  .community-text h2 {
    font-size: 22px;
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .container {
    padding: 0 10px;
  }

  .hero-content h1 {
    font-size: 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }
}
