@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --color-primary: #0d9488; 
  --color-primary-hover: #0f766e;
  --color-accent: #0284c7; 
  --color-success: #10b981; 
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --font-sans: 'Outfit', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--text-primary);
}

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

.nav-item a {
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-fast);
}

.nav-item a:hover::after,
.nav-item.active a::after {
  width: 100%;
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--color-primary);
}

.cta-btn {
  background-image: linear-gradient(135deg, #0d9488 0%, #0284c7 50%, #0d9488 100%);
  background-size: 200% auto;
  color: #fff !important;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.cta-btn::after {
  display: none !important;
}

.cta-btn:hover {
  background-position: right center;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.55), 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.cta-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cta-btn:hover i {
  transform: translateX(4px);
}

#menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
  z-index: 101;
  padding: 0.5rem;
}

.menu-btn i {
  font-size: 28px;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.menu-btn .close-icon {
  display: none;
}

.success-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1.5rem;
}

.success-modal:target {
  display: flex;
}

.modal-content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 450px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

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

.success-icon {
  width: 60px;
  height: 60px;
  background-color: #ecfdf5;
  color: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon i {
  font-size: 32px;
  color: var(--color-success);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.modal-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.modal-close {
  display: inline-block;
  background-color: var(--text-primary);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  transition: opacity var(--transition-fast);
}

.modal-close:hover {
  opacity: 0.9;
}

footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 1.5rem 2rem;
  width: 100%;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-section {
  position: relative;
  color: #ffffff;
  padding: 8rem 1.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 65, 114, 0.85) 0%, rgba(3, 41, 39, 0.514) 100%);
  z-index: 1;
}

.hero-grid-layout {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  text-align: left;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-right {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.hero-glass-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  text-align: left;
}

.hero-glass-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.hero-glass-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 1.75rem;
  color: #fff;
}

.glass-stat-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.85rem 0;
  color: #fff;
}

.glass-stat-row:last-of-type {
  border-bottom: none;
  margin-bottom: 1rem;
}

.glass-stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.glass-stat-value {
  font-weight: 700;
  color: #2dd4bf; 
}

.glass-note {
  font-size: 0.75rem !important;
  opacity: 0.65 !important;
  margin-bottom: 0 !important;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(45, 212, 191, 0.15);
  color: #2dd4bf;
  backdrop-filter: blur(4px);
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(45, 212, 191, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn-primary {
  background-image: linear-gradient(135deg, #10b981 0%, #059669 50%, #10b981 100%);
  background-size: 200% auto;
  color: #fff;
  padding: 1rem 2.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.15rem;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.hero-btn-primary:hover {
  background-position: right center;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6), 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero-btn-primary i {
  font-size: 1.15rem;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-btn-primary:hover i {
  transform: translateX(4px);
}

.hero-btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 1rem 2.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.15rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.hero-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.hero-btn-secondary i {
  font-size: 1.15rem;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-btn-secondary:hover i {
  transform: translateX(4px);
}

section {
  padding: 5rem 1.5rem;
  width: 100%;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.matrix-form {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

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

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  background-color: var(--bg-primary);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-primary);
  background-color: #fff;
}

.form-submit-btn {
  width: 100%;
  background-image: linear-gradient(135deg, #0d9488 0%, #0284c7 50%, #0d9488 100%);
  background-size: 200% auto;
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 9999px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-submit-btn:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.5), 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.form-submit-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-submit-btn:hover i {
  transform: translateX(4px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}

.feature-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
}

.image-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  width: 100%;
}

.matrix-img-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}

.matrix-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.matrix-img-wrapper:hover img {
  transform: scale(1.05);
}

.matrix-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
  color: #fff;
  font-weight: 500;
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw; 
    height: 100vh; 
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center; 
    padding: 6rem 1rem 2rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
  }

  .nav-menu .nav-item {
    width: 100%;
    text-align: center;
  }

  .nav-menu .nav-item a {
    font-size: 1.15rem;
    display: inline-flex;
    justify-content: center;
    width: auto;
  }

  #menu-toggle:checked ~ .nav-menu {
    transform: translateX(0);
  }

  #menu-toggle:checked ~ .menu-btn .hamburger-icon {
    display: none;
  }

  #menu-toggle:checked ~ .menu-btn .close-icon {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-grid-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-left {
    align-items: center;
  }

  .hero-right {
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .hero-btn-primary, .hero-btn-secondary {
    width: 100%;
    text-align: center;
  }
}

