/* ============================================================
   TRANSFORMATION BY TOSKA — Clean White Brand Design
   Colors: #1A1A1A · #00A3DA · #D0D0D0 · #FFFFFF
   ============================================================ */

/* --- DESIGN TOKENS --- */
:root {
  --charcoal: #1A1A1A;
  --blue: #00A3DA;
  --blue-light: #00A3DA22;
  --blue-hover: #008bbf;
  --silver: #D0D0D0;
  --white: #FFFFFF;
  --off-white: #FFFFFF;
  --gray-text: #6B7280;
  --gray-light: #F3F4F6;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1100px;
  --section-pad: 100px;
  --section-pad-mobile: 60px;
}

/* --- RESET --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-hover); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--charcoal);
}

.nav-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo-img {
  width: 32px;
  height: 32px;
}

.nav-brand span {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 120px 24px 60px;
  overflow: hidden;
  text-align: center;
}

.hero-butterfly-bg {
  position: absolute;
  right: 5%;
  bottom: 10%;
  width: 400px;
  height: 400px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.hero-butterfly-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(-15deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.butterfly-emoji {
  display: inline-block;
  font-size: 0.8em;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--gray-text);
  margin-bottom: 36px;
  font-weight: 300;
}

/* --- WAITLIST FORM --- */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form input[type="email"],
.waitlist-form .instagram-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid var(--silver);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.waitlist-form input[type="email"] {
  border-radius: 10px 10px 0 0;
  border-bottom: none;
}

.waitlist-form .instagram-input {
  border-radius: 0;
}

.waitlist-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
  z-index: 1;
  position: relative;
}

.waitlist-form input::placeholder {
  color: var(--silver);
  font-weight: 300;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 20px;
  font-size: 12px;
  color: var(--gray-text);
  background: var(--gray-light);
  border: 1.5px solid var(--silver);
  border-top: none;
  border-bottom: none;
  line-height: 1.4;
}

.consent-label a {
  color: var(--blue);
  text-decoration: underline;
}

.consent-check {
  margin-top: 2px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.waitlist-form button {
  width: 100%;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.03em;
  color: var(--white);
  background: var(--blue);
  border: none;
  border-radius: 0 0 10px 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.waitlist-form button:hover {
  background: var(--blue-hover);
}

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

/* Loading state */
.waitlist-form button.loading span {
  visibility: hidden;
}

.waitlist-form button.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
}

.waitlist-form button {
  position: relative;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
  background: var(--gray-light);
  border-radius: 10px;
  border: 1.5px solid var(--silver);
}

.form-success.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

.success-butterfly {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-success p {
  color: var(--gray-text);
  font-size: 14px;
}

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

/* --- SOCIAL PROOF --- */
.social-proof {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 8px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* --- SECTION COMMON --- */
.section {
  padding: var(--section-pad) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-header h2,
.about-text h2,
.final-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-divider {
  width: 48px;
  height: 2px;
  background: var(--blue);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-header p {
  color: var(--gray-text);
  font-size: 16px;
  line-height: 1.7;
}

/* --- PILLARS --- */
.pillars {
  background: var(--off-white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 36px 30px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.pillar-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 16px;
}

.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.pillar-card p {
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.7;
}

/* --- ABOUT --- */
.about {
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.about-visual {
  position: sticky;
  top: 100px;
}

.about-image-frame {
  background: linear-gradient(135deg, var(--charcoal), #2a2a2a);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 48px 32px;
}

.about-image-inner {
  text-align: center;
}

.large-butterfly {
  font-size: 80px;
  display: block;
  margin-bottom: 20px;
  filter: brightness(1.2);
}

.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.about-text .section-label {
  margin-bottom: 10px;
}

.about-text p {
  color: var(--gray-text);
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.8;
}

.about-text em {
  color: var(--charcoal);
  font-style: italic;
}

.about-text blockquote {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--charcoal);
  border-left: 3px solid var(--blue);
  padding-left: 20px;
  margin: 28px 0;
  line-height: 1.5;
}

/* --- TESTIMONIALS --- */
.community {
  background: var(--off-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.5;
}

.testimonial-card p {
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  font-size: 20px;
}

.testimonial-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
}

/* --- FINAL CTA --- */
.final-cta {
  background: var(--white);
  text-align: center;
}

.final-cta > .container > div {
  max-width: 520px;
  margin: 0 auto;
}

.final-cta .section-label {
  margin-bottom: 14px;
}

.final-cta h2 {
  margin-bottom: 16px;
}

.final-cta .section-divider {
  margin-bottom: 16px;
}

.final-cta > .container > div > p {
  color: var(--gray-text);
  font-size: 15px;
  margin-bottom: 32px;
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--silver);
  margin-top: 20px;
}

.privacy-note svg {
  width: 14px;
  height: 14px;
  stroke: var(--silver);
}

/* --- FOOTER --- */
.footer {
  background: var(--white);
  color: var(--gray-text);
  padding: 48px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.footer-brand-link {
  color: var(--charcoal) !important;
}

/* footer logo uses .footer-logo-img defined above */

.footer-brand-link span {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--charcoal);
}

/* --- FOOTER ICONS ROW --- */
.footer-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
}

.footer-icon:hover {
  transform: scale(1.15);
  opacity: 0.85;
}

.footer-icon svg {
  width: 28px;
  height: 28px;
}

/* Instagram brand gradient */
.footer-icon-instagram {
  color: #E1306C;
}

/* Spotify brand green */
.footer-icon-spotify {
  color: #1DB954;
}

/* Apple Podcasts brand purple */
.footer-icon-apple {
  color: #9933CC;
}

.footer-copy {
  font-size: 12px;
  color: var(--silver);
  line-height: 1.8;
}

.footer-privacy-link {
  color: var(--silver) !important;
  text-decoration: underline;
}

.footer-privacy-link:hover {
  color: var(--blue) !important;
}

/* --- FLOATING BUTTERFLIES --- */
.butterfly-float {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  animation: floatUp linear forwards;
}

.butterfly-float svg {
  width: 100%;
  height: 100%;
  animation: wingFlap 0.8s ease-in-out infinite alternate;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-110vh) translateX(60px) rotate(15deg);
    opacity: 0;
  }
}

@keyframes wingFlap {
  from { transform: scaleX(1); }
  to { transform: scaleX(0.6); }
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 100svh;
    min-height: 100vh; /* fallback */
    padding: 76px 20px 24px;
    justify-content: center;
  }

  .hero h1 {
    font-size: 60px;
    margin-bottom: 12px;
  }

  .hero-butterfly-bg {
    right: -20%;
    bottom: 0;
    width: 300px;
    height: 300px;
    opacity: 0.06;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .social-proof {
    gap: 24px;
    margin-top: 4px;
  }

  .stat-number {
    font-size: 22px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pillar-card {
    padding: 28px 24px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    position: static;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .final-cta > .container > div {
    max-width: 100%;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 60px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .waitlist-form input[type="email"],
  .waitlist-form .instagram-input {
    padding: 14px 16px;
    font-size: 14px;
  }

  .waitlist-form button {
    padding: 14px 24px;
    font-size: 14px;
  }

  .social-proof {
    gap: 20px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-label {
    font-size: 10px;
    letter-spacing: 1px;
  }
}
