/* Self-hosted Poppins font (weights: 400, 500, 700) */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700.woff2') format('woff2');
}

/* General Styles */
:root {
  --primary-color: #f7923a; /* Orange from logo ring/nose */
  --primary-dark: #e07d2a;
  --primary-light: #fab06b;
  --secondary-color: #3d5467; /* Dark blue-gray from glasses/mustache */
  --accent-color: #e2f0e0; /* Light mint from inner circle */
  --text-color: #333333;
  --light-color: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #cccccc;
  --animation-duration: 0.3s;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--light-color);
  position: relative;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--animation-duration) ease;
}

a:hover {
  color: var(--primary-dark);
}

h1,
h2,
h3 {
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--secondary-color);
}

h1 {
  font-size: 3.2rem;
}

h2 {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

section {
  padding: 5rem 2rem;
}

/* Bubble Animation */
.bubble-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.bubble {
  position: absolute;
  background-color: rgba(247, 146, 58, 0.1);
  border: 1px solid rgba(247, 146, 58, 0.3);
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
}

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

/* Header Styles */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--light-color);
  position: relative;
}

.header-nav {
  margin-top: 1.5rem;
}

.nav-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: var(--secondary-color);
  font-weight: 500;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  transition: all var(--animation-duration) ease;
}

.nav-link:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.logo-container {
  margin-bottom: 1rem;
  position: relative;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  transition: transform var(--animation-duration) ease;
}

.logo:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.tagline {
  font-size: 1.2rem;
  color: var(--secondary-color);
  max-width: 600px;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--primary-light) 50%,
    var(--primary-color) 100%
  );
  color: var(--secondary-color);
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
}

.hero-content {
  text-align: center;
  max-width: 600px;
  z-index: 1;
}

.hero h2 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  margin-top: 3rem;
}

.hero-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

/* Bubbles specifically in hero section */
.hero .bubble {
  position: absolute;
  z-index: 1;
}

.bubble-1 {
  width: 60px;
  height: 60px;
  top: -20px;
  right: -10px;
  animation-delay: 0s;
  animation-duration: 8s;
}

.bubble-2 {
  width: 40px;
  height: 40px;
  top: 50px;
  left: -20px;
  animation-delay: 2s;
  animation-duration: 10s;
}

.bubble-3 {
  width: 30px;
  height: 30px;
  bottom: 10px;
  right: 30px;
  animation-delay: 4s;
  animation-duration: 12s;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  transition: all var(--animation-duration) ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-button.primary {
  background-color: var(--secondary-color);
  color: var(--light-color);
  border: none;
  min-width: 200px;
}

.cta-button.primary:hover {
  background-color: #2d3e4d;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.cta-button.secondary {
  background-color: var(--light-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  min-width: 200px;
}

.cta-button.secondary:hover {
  background-color: var(--secondary-color);
  color: var(--light-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.coming-soon {
  position: relative;
}

.soon-badge {
  position: absolute;
  bottom: -10px;
  right: 10px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-size: 0.6rem;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  font-weight: bold;
  transform: rotate(-5deg);
}

/* Features Section */
.features {
  background-color: var(--accent-color);
}

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

.feature-card {
  background-color: var(--light-color);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition:
    transform var(--animation-duration) ease,
    box-shadow var(--animation-duration) ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Hiccup Demo Section */
.hiccup-demo {
  background-color: var(--light-color);
}

.hiccup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hiccup-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: 10px;
  background-color: var(--accent-color);
  border: 2px solid var(--primary-light);
  cursor: pointer;
  transition: all var(--animation-duration) ease;
  text-align: center;
  min-height: 120px;
  position: relative;
}

.hiccup-button:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-color);
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(247, 146, 58, 0.2);
}

.hiccup-button:active {
  transform: scale(0.98);
}

.hiccup-button.disabled {
  background-color: #e8e8e8;
  border-color: #d1d1d1;
  cursor: not-allowed;
  opacity: 0.7;
}

.hiccup-button.disabled:hover {
  background-color: #e8e8e8;
  border-color: #d1d1d1;
  transform: none;
  box-shadow: none;
}

.extension-note {
  position: absolute;
  bottom: -25px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.7rem;
  color: var(--secondary-color);
  opacity: 0.7;
  font-style: italic;
}

.hiccup-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.hiccup-desc {
  font-size: 0.9rem;
  color: var(--secondary-color);
  opacity: 0.8;
}

/* How To Use Section */
.how-to-use {
  background-color: var(--gray-light);
  text-align: center;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 200px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  background-color: var(--gray-light);
  padding: 5rem 2rem;
  text-align: center;
}

.accordion-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion {
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  background-color: var(--light-color);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  cursor: pointer;
  transition: background-color var(--animation-duration) ease;
  position: relative;
}

.accordion-header:hover {
  background-color: var(--primary-dark);
}

.accordion-header h3 {
  margin: 0;
  color: var(--secondary-color);
  font-weight: 600;
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform var(--animation-duration) ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.accordion.active .accordion-content {
  max-height: 500px;
}

.accordion.active .accordion-icon {
  transform: rotate(45deg);
}

.contact-container {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Brevo form styling to match website aesthetics */
.contact-container iframe {
  max-width: 100%;
  width: 100%;
  min-height: 305px;
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--animation-duration) ease;
}

.contact-container iframe:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-dark);
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--light-color);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

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

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

/* Audio Player */
.audio-player {
  display: none;
}

/* Media Queries */
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    padding: 5rem;
  }

  .hero-content {
    text-align: left;
    padding-right: 2rem;
  }

  .hero-image {
    margin-top: 0;
  }

  h2 {
    font-size: 2.8rem;
  }

  .steps {
    flex-wrap: nowrap;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-img {
    width: 200px;
    height: 200px;
  }
}
