/* Alter Website Styles */
/* Brand Redesign: Sacred twilight atmosphere - warm but contemplative */
/* "The coral-to-magenta palette was fundamentally warm and human" */

:root {
  /* Core Color Palette - Twilight Hour */
  --bg-primary: #1E1428;        /* Deep Aubergine */
  --bg-secondary: #3D2847;      /* Twilight Plum */
  --bg-card: #2A1C33;           /* Card/elevated surfaces */

  /* Text Colors */
  --text-primary: #F5F0EB;      /* Ivory Warm - main text */
  --text-muted: #888899;        /* Muted text */
  --text-dim: #6B5A6E;          /* Very dim text */

  /* Accent Colors - The Yams Heritage */
  --coral: #E8654F;             /* Warm Coral - CTAs */
  --coral-light: #F07A66;       /* Lighter coral */
  --magenta: #C4A5AA;           /* Dusty Rose/Magenta */
  --magenta-light: #D4B8BC;     /* Lighter magenta */
  --amber: #E8A87C;             /* Soft Amber */
  --gold: #C9A962;              /* Muted Gold */

  /* Gradients - Core to the brand */
  --gradient-bg: linear-gradient(180deg, #1E1428 0%, #3D2847 100%);
  --gradient-cta: linear-gradient(135deg, #C4A5AA 0%, #E8654F 100%);  /* Magenta → Coral */
  --gradient-cta-hover: linear-gradient(135deg, #D4B8BC 0%, #F07A66 100%);
  --gradient-ambient: linear-gradient(180deg, rgba(232, 168, 124, 0.15) 0%, rgba(196, 165, 170, 0.15) 100%);
  --gradient-glow: radial-gradient(circle, rgba(232, 101, 79, 0.4) 0%, rgba(196, 165, 170, 0.2) 50%, transparent 70%);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Animation timings - contemplative */
  --timing-quick: 200ms;
  --timing-standard: 300ms;
  --timing-smooth: 400ms;
  --timing-contemplative: 500ms;
  --timing-breathing: 2.5s;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--gradient-bg);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  width: 100%;
}

/* ========================================
   HERO SECTION - Twilight atmosphere
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  background: var(--gradient-bg);
  overflow: hidden;
}

/* Ambient warm overlay - 15% opacity as per style guide */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-ambient);
  pointer-events: none;
  animation: ambientBreathing var(--timing-breathing) ease-in-out infinite;
}

/* Glowing orb effect - coral/magenta radial */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: var(--gradient-glow);
  pointer-events: none;
  animation: orbBreathing 4s ease-in-out infinite;
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  color: var(--magenta);
  margin-bottom: 3rem;
  animation: gentleGlow var(--timing-breathing) ease-in-out infinite;
}

.tagline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.description {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 3rem;
}

/* ========================================
   CTA BUTTONS - Coral to Magenta gradient
   ======================================== */

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  background: var(--gradient-cta);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--timing-smooth) ease;
  box-shadow:
    0 4px 20px rgba(232, 101, 79, 0.35),
    0 0 40px rgba(196, 165, 170, 0.15);
  position: relative;
  overflow: hidden;
}

/* Subtle shimmer effect on CTA */
.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.cta-button:hover {
  background: var(--gradient-cta-hover);
  transform: translateY(-2px);
  box-shadow:
    0 6px 30px rgba(232, 101, 79, 0.45),
    0 0 60px rgba(196, 165, 170, 0.2);
}

.cta-button:hover::before {
  left: 100%;
}

/* Secondary/Ghost CTA variant */
.cta-button.secondary {
  background: transparent;
  border: 1px solid var(--magenta);
  color: var(--magenta);
  box-shadow: none;
}

.cta-button.secondary:hover {
  background: rgba(196, 165, 170, 0.1);
  border-color: var(--magenta-light);
  color: var(--magenta-light);
  box-shadow: 0 0 30px rgba(196, 165, 170, 0.15);
}

/* ========================================
   CONCEPT SECTION
   ======================================== */

.concept {
  padding: 6rem 2rem;
  background-color: var(--bg-secondary);
  position: relative;
}

/* Ambient overlay for warmth */
.concept::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(232, 168, 124, 0.08) 0%, transparent 50%, rgba(196, 165, 170, 0.08) 100%);
  pointer-events: none;
}

.concept-content {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.concept-content p {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.concept-content p:last-child {
  margin-bottom: 0;
}

.concept-final {
  color: var(--text-primary) !important;
  font-style: italic;
}

/* ========================================
   HOW IT WORKS
   ======================================== */

.how-it-works {
  padding: 6rem 2rem;
  background-color: var(--bg-primary);
  position: relative;
}

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

.step {
  text-align: center;
  flex: 1;
  max-width: 200px;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  /* Gradient text for icons */
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gentleGlow var(--timing-breathing) ease-in-out infinite;
}

.step h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.step p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-muted);
}

/* ========================================
   NAV HOME (transparent on homepage)
   ======================================== */

.nav-home {
  background: transparent;
  border-bottom: none;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  padding: 4rem 2rem;
  border-top: 1px solid rgba(196, 165, 170, 0.1);
  background-color: var(--bg-primary);
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--magenta);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--timing-standard) ease;
}

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

.copyright {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .hero {
    padding: 4rem 1.5rem;
  }

  .hero::after {
    width: 400px;
    height: 400px;
  }

  .tagline {
    font-size: 2rem;
  }

  .description {
    font-size: 1rem;
  }

  .concept {
    padding: 4rem 1.5rem;
  }

  .concept-content p {
    font-size: 1.125rem;
  }

  .how-it-works {
    padding: 4rem 1.5rem;
  }

  .steps {
    flex-direction: column;
    gap: 3rem;
    align-items: center;
  }

  .step {
    max-width: 280px;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ========================================
   ANIMATIONS - Subtle, contemplative
   "Slow and intentional: 300-500ms easing"
   "Subtle breathing: Gentle pulsing (1-2%)"
   ======================================== */

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

@keyframes gentleGlow {
  0%, 100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

@keyframes ambientBreathing {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

@keyframes orbBreathing {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.02);
    opacity: 1;
  }
}

.hero-content {
  animation: fadeIn 0.8s ease-out;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
