:root {
  --color-bg: #ffffff;
  --color-surface: #f5f5f5;
  --color-surface-alt: #e8e8e8;
  --color-primary: #d9faff;
  --color-secondary: #ffe9e3;
  --color-text: #000000;
  --color-text-muted: #4a4a4a;
  --header-height: 64px;
  --container-width: 1120px;
  --transition-fast: 0.2s ease;
  --transition-med: 0.4s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Raleway", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: #4f4f4f;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.1rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width var(--transition-fast);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #000000;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Hero */

.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  color: var(--color-text);
  overflow: hidden;
  background: #ffffff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #ffffff 0%, #f5f5f5 50%, #e8e8e8 100%);
  opacity: 0.5;
  transition: opacity 1s ease;
  z-index: 0;
}

.hero-bg.content-loaded {
  opacity: 1;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.hero-bg-image--low {
  filter: blur(4px);
}

.hero-bg-image.is-visible {
  opacity: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 600px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 2;
}

.hero-video.is-loaded {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(245, 245, 245, 0.9));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 2rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 40px;
}


.hero-logo {
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.hero-logo img,
.hero-logo svg {
  display: block;
  max-width: 250px;
  height: auto;
}

.hero-title {
  font-family: "Oooh Baby", cursive;
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
  font-weight: 400;
  color: #000000;
  bottom: 75px;
  position: relative;
  right: 90px;
}

.hero-subtitle {
  font-family: "Oooh Baby", cursive;
  font-size: 1.5rem;
  margin: 0 0 2.5rem;
  font-weight: 400;
  color: #000000;
  position: relative;
  bottom: 82px;
  left: 27.4px;
}

.hero-text-narrow {
  max-width: 50%;
  width: 50%;
  font-size: 1.05rem;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 80%;
  width: 80%;
  font-size: 1.05rem;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero-text--light {
  color: #4a4a4a;
  font-weight: 300;
}

.hero-text--secondary {
  color: #000000;
  font-weight: 800;
}

/* Subhero */

.subhero {
  background: #ffffff;
  padding: 4rem 0;
}

.subhero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              box-shadow var(--transition-fast),
              transform var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #000000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--color-text);
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(0, 0, 0, 0.05);
}

.btn-secondary {
  background: var(--color-surface-alt);
  color: var(--color-text);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--color-surface);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-toggle {
  background: #ffffff;
  color: var(--color-text);
  border: 2px solid rgba(0, 0, 0, 0.1);
  margin: 0.5rem;
}

.btn-toggle:hover,
.btn-toggle:focus-visible {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, rgba(233, 201, 255, 0.2), rgba(156, 204, 255, 0.2));
}

.btn-toggle.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #000000;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Pricing Toggle Button */
.pricing-toggle {
  display: block;
  margin: 1.5rem auto;
}

/* Toggle Content */

.content-toggle-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.toggle-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(20px);
}

.toggle-content.active {
  max-height: 5000px; /* Large enough to accommodate any content */
  opacity: 1;
  transform: translateY(0);
}

/* Fade in animation for content elements */
.toggle-content.active > * {
  animation: fadeInContent 0.6s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.toggle-content.active > *:nth-child(2) {
  animation-delay: 0.25s;
}

.toggle-content.active > *:nth-child(3) {
  animation-delay: 0.3s;
}

.toggle-content.active > *:nth-child(4) {
  animation-delay: 0.35s;
}

.toggle-content.active > *:nth-child(5) {
  animation-delay: 0.4s;
}

.toggle-content.active > *:nth-child(n+6) {
  animation-delay: 0.45s;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */

.section {
  padding: 4.5rem 0;
  background: var(--color-surface);
  transition: background-color 0.6s ease;
}

.section-alt {
  background: var(--color-surface-alt);
}

/* Section 2 background color transitions */
#section-2 {
  background: var(--color-surface);
}

#section-2.bg-pink {
  background: #ffffff; /* Super light pink */
}

#section-2.bg-blue {
  background: #dff0ff; /* Super light blue */
}

#section-2.bg-purple {
  background: #fff8fa; /* Super light purple */
}

#section-3 {
  background: #e2ded7; /* Super light purple */
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section h2 {
  font-size: 1.7rem;
  margin: 0 0 0.75rem;
}

.section p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

/* Center section-2 content */
#section-2 .section-inner {
  align-items: center;
}

#section-2 .section-text {
  max-width: 900px;
  margin: 0 auto;
}

#section-2 h2 {
  text-align: center;
}

.section-contact {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}

.contact-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 2;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(245, 245, 245, 0));
  z-index: 3;
}

.section-contact .section-inner {
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 4;
}

.section-contact h2 {
  text-align: center;
}

.section-contact p {
  text-align: center;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

/* Footer */

.site-footer {
  padding: 1.5rem 0 2rem;
  background: #e8e8e8;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
  text-align: center;
}

.footer-note {
  opacity: 0.8;
}

/* Animations and scroll reveal */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-med), transform var(--transition-med);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-med);
  }

  .site-nav.is-open {
    max-height: 220px;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 0.75rem 1.5rem 1.1rem;
    gap: 0.75rem;
  }

  .hero {
    height: 500px;
  }

  .hero-content {
    padding-top: 2rem;
  }

  .hero-title {
    font-size: 1.75rem;
    right: 50px;
    bottom: 60px;
  }

  .hero-subtitle {
    font-size: 1.75rem;
    left: 30px;
    bottom: 78px;
  }

  .subhero {
    padding: 3rem 0;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-text-narrow {
    max-width: 100%;
    width: 100%;
  }

  .contact-actions {
  flex-direction: column;
  align-items: center;
  }
}

/* Section with image layout */
.section-with-image {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.section-image {
  flex-shrink: 0;
}

.section-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) {
  .section-inner {
    flex-direction: row;
  }

  .section-text {
    max-width: 640px;
  }

  .section-with-image {
    flex-direction: row;
    align-items: flex-start;
  }

  .section-with-image .section-image {
    flex: 0 0 420px;
  }

  .section-with-image .section-text {
    flex: 1;
    max-width: none;
  }
}

/* About Me section with image */
#section-3 .section-text {
  max-width: none;
  width: 100%;
}

.about-me-with-image {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.about-me-text {
  width: 100%;
}

.about-me-image {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.about-me-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) {
  .about-me-with-image {
    flex-direction: row;
    gap: 2.5rem;
    align-items: flex-start;
  }

  .about-me-image {
    flex: 0 0 300px;
    order: 2;
  }
  
  .about-me-text {
    flex: 1;
    order: 1;
    max-width: none;
  }
}
