/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background: linear-gradient(135deg, #ea58af 0%, #7c2ff7 30%);
  min-height: 100vh;
}

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

/* Header */
header {
  padding: 20px 0;
  position: relative;
  z-index: 100;
}

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

.logo {
  font-size: 32px;
  font-weight: 500;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px; /* keep same horizontal space as old icon+text */
}

.logo-icon {
  width: 24px;
  height: 24px;
  color: white;
}

/* Header logo image */
.logo-img {
  height: 22px;
  width: auto;
  display: block;
}

/* Header logo container with zoom and rounded corners */
.logo-img-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 6px;
  padding: 3px; /* equal padding on all sides */
  width: 32px; /* square container */
  height: 32px; /* square container */
  overflow: hidden;
}

.logo-img-wrap .logo-img {
  transform: scale(1.5);
  transform-origin: center;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a.active {
  color: white;
  text-decoration: underline;
  text-decoration-color: white;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.nav-links a:hover {
  color: white;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  padding: 80px 20px 20px;
}

.mobile-menu.show {
  display: block;
}

.mobile-menu-content {
  background: white;
  border-radius: 12px;
  padding: 30px;
  max-width: 300px;
  margin: 0 auto;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.mobile-menu-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-links li {
  margin-bottom: 20px;
}

.mobile-nav-links a {
  color: #2d3748;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
  transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
  color: #667eea;
}

/* Footer */
footer {
  background: #2d3748;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-text {
  margin: 0;
}

.social-media-icons {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
}

.social-icon img {
  height: 20px;
  width: auto;
  display: block;
  object-fit: contain;
  max-width: 100%;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1); /* Makes icons white */
}

/* Keep LinkedIn icon as is (already white) */
.social-icon img[alt="LinkedIn"] {
  filter: none;
}

/* Make YouTube icon visually larger */
.social-icon img[alt="YouTube"] {
  height: 24px;
}

.social-icon:hover img {
  transform: scale(1.1);
}

/* Firefox-specific fixes */
@-moz-document url-prefix() {
  .social-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .social-icon img {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
  }
}

/* Hero Section */
.hero {
  padding: 80px 0 120px;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button */
.cta-button {
  background: #f6ba09;
  color: white;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
}

/* CTA Sections (Final CTA and Waiting List) */
.final-cta,
.waiting-list {
  background: linear-gradient(135deg, #ea58af 0%, #7c2ff7 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

/* Extend waiting list background behind next section */
.waiting-list {
  padding-bottom: 104px; /* 80px + 24px extra */
  position: relative;
}

.final-cta h2,
.waiting-list h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.final-cta .cta-subheadline,
.waiting-list .cta-subheadline {
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: -10px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.final-cta p,
.waiting-list p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Disclaimer */
.disclaimer {
  font-style: italic;
  font-size: 0.75rem;
  line-height: 1.4;
  color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

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

  .hero .subtitle {
    font-size: 1.1rem;
  }

  .final-cta h2 {
    font-size: 2rem;
  }

  .waiting-list h2 {
    font-size: 2rem;
  }

  .social-media-icons {
    gap: 20px;
  }

  .social-icon {
    width: 35px;
    height: 35px;
  }

  .social-icon img {
    height: 18px;
    width: auto;
    object-fit: contain;
    max-width: 100%;
    filter: brightness(0) invert(1); /* Makes icons white */
  }

  /* Keep LinkedIn icon as is (already white) */
  .social-icon img[alt="LinkedIn"] {
    filter: none;
  }

  /* Make YouTube icon visually larger on mobile */
  .social-icon img[alt="YouTube"] {
    height: 22px;
  }
}

/* Cookie Modal Overlay */
.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Cookie Modal */
.cookie-banner {
  background: white;
  color: #2d3748;
  border-radius: 12px;
  padding: 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-overlay.show .cookie-banner {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cookie-text {
  font-size: 1rem;
  line-height: 1.6;
}

.cookie-text strong {
  font-size: 1.25rem;
  display: block;
  margin-bottom: 12px;
}

.cookie-text p {
  margin: 0;
}

.cookie-text a {
  color: #7c2ff7;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 24px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background: #7c2ff7;
  color: white;
  flex: 0 1 auto;
  min-width: auto;
}

.cookie-btn.accept:hover {
  background: #6d26e6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 47, 247, 0.3);
}

.cookie-btn.decline {
  background: transparent;
  color: #718096;
  border: none;
  text-decoration: underline;
  font-size: 0.875rem;
  padding: 12px 8px;
  align-self: center;
}

.cookie-btn.decline:hover {
  color: #4a5568;
}

.cookie-btn.settings {
  background: transparent;
  color: #90cdf4;
  border: 1px solid #90cdf4;
}

.cookie-btn.settings:hover {
  background: #90cdf4;
  color: #2d3748;
}

/* Cookie Modal Mobile Styles */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 24px;
    margin: 20px;
  }

  .cookie-text strong {
    font-size: 1.125rem;
  }

  .cookie-text {
    font-size: 0.95rem;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90vh;
  width: 100%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.modal-overlay.show .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2001;
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.2);
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: #666;
  border-radius: 1px;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-iframe,
.hs-form-frame {
  width: 100%;
  min-height: 80vh;
  border: none;
  border-radius: 12px;
  padding: 20px;
  overflow-y: auto;
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
  .modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }

  .modal-iframe,
  .hs-form-frame {
    min-height: 85vh;
    padding: 15px;
  }
}
