/* ====================== RESET & BASICS ====================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1e293b;
  line-height: 1.6;
  background-color: #f8fafc;
}

/* ====================== HEADER & NAVIGATION ====================== */

header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  padding: 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
}

.logo {
  color: white;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #fff 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo::before {
  content: "✨";
  font-size: 2rem;
  background: none;
  -webkit-text-fill-color: unset;
  color: #fbbf24;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  transition: all 0.4s ease;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  position: relative;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.nav-menu a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

.nav-menu a:hover::after {
  width: 80%;
}

.nav-menu a.active {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.2);
}

.nav-menu a.active::after {
  width: 80%;
}

.btn-download {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  transition: all 0.4s ease;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.btn-download:hover {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.6);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 7px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: white;
  transition: all 0.4s ease;
  border-radius: 3px;
}

.nav-menu.active ~ .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
  background: #fbbf24;
}

.nav-menu.active ~ .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-menu.active ~ .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(9px, -9px);
  background: #fbbf24;
}

/* ====================== MAIN CONTENT ====================== */

main {
  min-height: calc(100vh - 200px);
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ====================== HERO SECTION ====================== */

.hero {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  border-radius: 12px;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.25rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
}

/* ====================== PAGE HEADER ====================== */

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-radius: 12px;
  border-left: 4px solid #2563eb;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.page-header p {
  font-size: 1.1rem;
  color: #64748b;
}

/* ====================== SECTIONS ====================== */

.content-section {
  margin-bottom: 3rem;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0f172a;
  border-bottom: 3px solid #2563eb;
  padding-bottom: 0.5rem;
}

.content-section h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.5rem 0;
  color: #1e293b;
}

.content-section p {
  margin-bottom: 1rem;
  color: #475569;
}

.content-section ul,
.content-section ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.8rem;
  color: #475569;
}

a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1e40af;
  text-decoration: underline;
}

/* ====================== FEATURE GRID ====================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid #2563eb;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  color: #1e40af;
}

.feature-card p {
  color: #475569;
  margin: 0;
}

/* ====================== BUTTONS ====================== */

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: white;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.btn-secondary:hover {
  background: #f0f9ff;
}

.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  padding: 3rem;
  border-radius: 12px;
  margin: 3rem 0;
}

.cta-section h2 {
  color: white;
  border: none;
  margin-bottom: 1.5rem;
}

/* ====================== TECH GRID ====================== */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tech-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.tech-card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.tech-card h3 {
  color: #2563eb;
  margin-bottom: 1rem;
}

.tech-card ul {
  list-style: none;
  margin-left: 0;
}

.tech-card li {
  padding: 0.5rem 0;
}

.tech-card li:before {
  content: "✓ ";
  color: #10b981;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ====================== TEAM GRID ====================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  border-color: #2563eb;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.1);
}

.member-avatar {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.team-member h3 {
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.team-member p {
  color: #64748b;
  margin: 0;
}

/* ====================== VALUES LIST ====================== */

.values-list {
  list-style: none;
  margin-left: 0;
}

.values-list li {
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f1f5f9;
  border-radius: 8px;
  border-left: 4px solid #2563eb;
}

.values-list strong {
  color: #2563eb;
}

/* ====================== FEATURE LIST ====================== */

.feature-list {
  list-style: none;
  margin-left: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
}

.feature-list li:before {
  content: "★";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
}

/* ====================== LEARNING GOALS ====================== */

.learning-goals {
  counter-reset: item;
  list-style: none;
  margin-left: 0;
}

.learning-goals li {
  counter-increment: item;
  margin-bottom: 1rem;
  padding-left: 2.5rem;
  position: relative;
}

.learning-goals li:before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  background: #2563eb;
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ====================== CONTACT PAGE ====================== */

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
}

.info-item {
  margin-bottom: 2rem;
}

.info-item h3 {
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.info-item p {
  color: #475569;
}

/* ====================== CONTACT FORM ====================== */

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1e293b;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group.checkbox input {
  width: auto;
}

.form-group.checkbox label {
  margin: 0;
}

.error-message {
  display: block;
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 1.25rem;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #dc2626;
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 6px;
  display: none;
  text-align: center;
  font-weight: 600;
}

.form-message.success {
  display: block;
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #10b981;
}

.form-message.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* ====================== LEGAL CONTENT ====================== */

.legal-content {
  margin-top: 1.5rem;
}

.legal-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #2563eb;
}

.legal-content p {
  margin-bottom: 1rem;
  text-align: justify;
}

.legal-content ul {
  margin-bottom: 1rem;
}

/* ====================== FOOTER ====================== */

footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #cbd5e1;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section a {
  color: #93c5fd;
}

.footer-section a:hover {
  color: white;
}

.footer-section ul {
  list-style: none;
  margin-left: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

/* ====================== MEDIA QUERIES ====================== */

@media (max-width: 768px) {
  .nav-menu {
    gap: 0;
  }

  .nav-menu a {
    padding: 1rem;
    font-size: 1rem;
    border-radius: 0;
    width: 100%;
    display: block;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu a::after {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

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

  .button-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .feature-grid,
  .tech-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hamburger {
    display: flex;
  }

  .logo {
    font-size: 1.3rem;
    gap: 0.5rem;
  }

  .logo::before {
    font-size: 1.5rem;
  }

  .nav-container {
    padding: 1rem 1.5rem;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 75px;
    flex-direction: column;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    width: 100%;
    text-align: center;
    transition: 0.5s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    gap: 0;
    z-index: 999;
  }

  .nav-menu li {
    padding: 0;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu.active {
    left: 0;
  }

  .btn-download {
    margin: 1rem;
    width: calc(100% - 2rem);
  }
}

@media (max-width: 480px) {
  main {
    padding: 1.5rem 1rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .page-header {
    padding: 1.5rem 1rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .content-section {
    padding: 1.5rem 1rem;
  }

  .nav-container {
    padding: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
  }
}

/* ====================== ANIMATIONS ====================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section {
  animation: fadeIn 0.5s ease-out;
}

/* ====================== GALLERY ====================== */

.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.galerie img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.galerie img:hover {
  transform: scale(1.05);
}