/* ══════════════════════════════════════════
   SOFT TECH — Shared Styles
   Brand: AI education for creative women 45-60
   ══════════════════════════════════════════ */

:root {
  --st-plum: #4A2040;
  --st-cream: #F5EDE3;
  --st-gold: #C9A96E;
  --st-espresso: #3E2723;
  --st-white: #FFFFFF;
  --st-plum-light: rgba(74, 32, 64, 0.06);
  --st-plum-fade: rgba(74, 32, 64, 0.03);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--st-cream);
  color: var(--st-espresso);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── UTILITIES ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--st-gold);
  outline-offset: 2px;
}

.section-padding { padding: 80px 48px; }

.script-label {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--st-gold);
  margin-bottom: 12px;
  font-weight: 500;
}

/* ── ANIMATIONS ── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-animate .reveal {
  opacity: 0;
  transform: translateY(24px);
}
.js-animate .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .js-animate .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── NAV ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: var(--st-cream);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--st-plum-light);
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--st-espresso);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--st-plum); }
.nav-links a.active { color: var(--st-plum); }

.nav-cta {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--st-espresso) !important;
  background: var(--st-gold);
  padding: 10px 24px;
  border-radius: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--st-plum);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── BUTTONS ── */
.btn-primary {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--st-white);
  background: var(--st-plum);
  padding: 16px 36px;
  border-radius: 10px;
  letter-spacing: 0.03em;
  display: inline-block;
  text-decoration: none;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 32, 64, 0.18);
}

.btn-secondary {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--st-plum);
  padding: 16px 36px;
  border-radius: 10px;
  border: 1.5px solid var(--st-plum);
  display: inline-block;
  text-decoration: none;
  background: transparent;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 32, 64, 0.08);
}

.btn-gold {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--st-espresso);
  background: var(--st-gold);
  padding: 16px 36px;
  border-radius: 10px;
  letter-spacing: 0.03em;
  display: inline-block;
  text-decoration: none;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.3);
}

/* ── PAGE HERO (reusable for inner pages) ── */
.page-hero {
  background: var(--st-plum);
  padding: 80px 48px;
  text-align: center;
}
.page-hero .script-label { color: var(--st-gold); }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--st-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.page-hero h1 em { font-weight: 400; color: var(--st-gold); }
.page-hero p {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ── WAVE DIVIDER ── */
.wave-divider { width: 100%; height: 48px; position: relative; }
.wave-divider svg { width: 100%; height: 100%; display: block; }

/* ── SECTION HEADINGS ── */
.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--st-plum);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

/* ── CARDS ── */
.card {
  background: var(--st-white);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 2px 16px rgba(74, 32, 64, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(74, 32, 64, 0.08);
}

/* ── SIGNUP SECTION (DARK) ── */
.signup-section {
  background: var(--st-plum);
  padding: 80px 48px;
  text-align: center;
}
.signup-inner { max-width: 640px; margin: 0 auto; }
.signup-section .script-label { font-size: 24px; }
.signup-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--st-white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.signup-section > .signup-inner > p {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 24px;
}
.signup-benefits {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-bottom: 32px;
}
.signup-benefits li {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 6px;
}
.signup-benefits li::before { content: '\2713'; color: var(--st-gold); font-weight: 700; }

.signup-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.signup-form input {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  padding: 16px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--st-white);
  flex: 1;
  min-width: 180px;
  outline: none;
  transition: border-color 0.2s;
}
.signup-form input:focus { border-color: var(--st-gold); }
.signup-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.signup-form button {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--st-espresso);
  background: var(--st-gold);
  padding: 16px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.signup-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.3);
}
.signup-note {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
}
.form-success { display: none; font-size: 16px; color: var(--st-white); padding: 20px; text-align: center; }
.form-success.show { display: block; }
.form-error { display: none; font-size: 14px; color: #e8a0a0; margin-top: 12px; text-align: center; }
.form-error.show { display: block; }

/* ── FOOTER ── */
footer {
  background: var(--st-plum);
  padding: 40px 48px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.footer-tagline {
  font-family: 'Caveat', cursive;
  font-size: 18px;
  color: var(--st-gold);
  opacity: 0.6;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  list-style: none;
  margin-bottom: 20px;
}
.footer-links a {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--st-white); }
.footer-copy { font-family: 'Manrope', sans-serif; font-size: 12px; color: rgba(255,255,255,0.25); }

/* ── FOOTER SOCIAL ── */
.footer-social { display: flex; gap: 14px; justify-content: center; margin-bottom: 20px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.2s, border-color 0.2s;
}
.footer-social a:hover { color: var(--st-gold); border-color: var(--st-gold); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* ── STICKY CTA ── */
.sticky-cta {
  position: fixed; bottom: -80px; left: 0; right: 0;
  background: var(--st-espresso); padding: 14px 48px;
  display: flex; align-items: center; justify-content: center; gap: 20px;
  z-index: 200; box-shadow: 0 -4px 24px rgba(0,0,0,0.2); transition: bottom 0.35s ease;
}
.sticky-cta.visible { bottom: 0; }
.sticky-cta-text { font-family: 'Manrope', sans-serif; font-size: 14px; color: rgba(255,255,255,0.7); }
.sticky-cta-btn {
  font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--st-espresso); background: var(--st-gold); padding: 12px 24px;
  border-radius: 10px; text-decoration: none; white-space: nowrap;
  letter-spacing: 0.03em; transition: transform 0.2s, box-shadow 0.2s;
}
.sticky-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,169,110,0.4); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--st-cream);
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
    border-bottom: 1px solid var(--st-plum-light);
    box-shadow: 0 8px 24px rgba(74, 32, 64, 0.08);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .section-padding { padding: 60px 24px; }
  .page-hero { padding: 60px 24px; }
  .page-hero h1 { font-size: 36px; }
  .section-heading { font-size: 32px; }
  .signup-section { padding: 60px 24px; }
  footer { padding: 32px 24px; }
  .sticky-cta { padding: 12px 20px; }
  .sticky-cta-text { display: none; }
}

/* ── LOGO IMAGES ── */
.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  margin-bottom: 8px;
}
