/* ===========================
   MOODWISE — Global Styles
   =========================== */

:root {
  --pink:    #FF69B4;
  --orange:  #FF8C42;
  --yellow:  #FFD23F;
  --green:   #8CC84B;
  --teal:    #26C6DA;
  --blue:    #5B8DEF;
  --purple:  #B07FE0;
  --coral:   #FF6B6B;

  --bg:      #F7F7FA;
  --card-bg: #FFFFFF;
  --text:    #1A1A2E;
  --text-muted: #6B7280;
  --border:  rgba(0,0,0,0.07);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===========================
   LANGUAGE SWITCHER
   =========================== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(0,0,0,0.05);
  border-radius: 100px;
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
  transition: background 0.18s, color 0.18s;
  line-height: 1;
}
.lang-btn:hover { color: var(--text); }
.lang-btn--active {
  background: white;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247,247,250,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 36px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; color: #fff !important; }

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(176,127,224,0.15) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255,105,180,0.10) 0%, transparent 60%),
              radial-gradient(ellipse 50% 40% at 90% 70%, rgba(38,198,218,0.10) 0%, transparent 60%);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-blob-1 { width: 600px; height: 600px; background: var(--pink); top: -200px; left: -200px; animation-delay: 0s; }
.hero-blob-2 { width: 500px; height: 500px; background: var(--teal); bottom: -150px; right: -150px; animation-delay: -3s; }
.hero-blob-3 { width: 400px; height: 400px; background: var(--yellow); top: 40%; left: 50%; transform: translateX(-50%); animation-delay: -5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.04); }
}

.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }

.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.hero-icon {
  width: 88px;
  height: 88px;
  animation: spin-slow 20s linear infinite;
  filter: drop-shadow(0 8px 24px rgba(176,127,224,0.3));
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-wordmark { height: 56px; display: block; }

.hero-tagline {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--coral) 0%, var(--purple) 50%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
.btn:active { transform: translateY(0); }

.btn-store {
  background: #1A1A2E;
  color: #fff;
  min-width: 180px;
  opacity: 0.55;
  cursor: not-allowed;
  position: relative;
}
.btn-store:hover { transform: none; box-shadow: none; }

.btn-store .store-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.btn-store .store-badge .soon { font-size: 0.7rem; font-weight: 400; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.05em; }
.btn-store .store-badge .name { font-size: 1rem; font-weight: 700; }

.btn-store svg { flex-shrink: 0; }

.btn-patreon {
  background: linear-gradient(135deg, #FF424D, #FF7A00);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
  background: white;
}
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }

/* ===========================
   SECTION BASE
   =========================== */
section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ===========================
   FEATURES
   =========================== */
#features { background: var(--bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.feature-card[data-color="pink"]::before   { background: var(--pink); }
.feature-card[data-color="orange"]::before { background: var(--orange); }
.feature-card[data-color="yellow"]::before { background: var(--yellow); }
.feature-card[data-color="green"]::before  { background: var(--green); }
.feature-card[data-color="teal"]::before   { background: var(--teal); }
.feature-card[data-color="blue"]::before   { background: var(--blue); }
.feature-card[data-color="purple"]::before { background: var(--purple); }
.feature-card[data-color="coral"]::before  { background: var(--coral); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.feature-card[data-color="pink"]   .feature-icon { background: rgba(255,105,180,0.12); }
.feature-card[data-color="orange"] .feature-icon { background: rgba(255,140,66,0.12); }
.feature-card[data-color="yellow"] .feature-icon { background: rgba(255,210,63,0.15); }
.feature-card[data-color="green"]  .feature-icon { background: rgba(140,200,75,0.12); }
.feature-card[data-color="teal"]   .feature-icon { background: rgba(38,198,218,0.12); }
.feature-card[data-color="blue"]   .feature-icon { background: rgba(91,141,239,0.12); }
.feature-card[data-color="purple"] .feature-icon { background: rgba(176,127,224,0.12); }
.feature-card[data-color="coral"]  .feature-icon { background: rgba(255,107,107,0.12); }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===========================
   DOWNLOAD
   =========================== */
#download {
  background: linear-gradient(160deg, #1A1A2E 0%, #2D2B55 100%);
  color: #fff;
}

#download .section-sub { color: rgba(255,255,255,0.6); }

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 700px;
}

.store-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.store-card-logo {
  font-size: 2.5rem;
}

.store-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.store-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  flex: 1;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,210,63,0.2);
  color: var(--yellow);
  border: 1px solid rgba(255,210,63,0.3);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ===========================
   PATREON
   =========================== */
#patreon {
  background: var(--card-bg);
}

.patreon-card {
  background: linear-gradient(135deg, #FF424D 0%, #FF7A00 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  box-shadow: 0 16px 64px rgba(255,66,77,0.25);
}

.patreon-text { flex: 1; min-width: 260px; }
.patreon-text h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.75rem; }
.patreon-text p  { opacity: 0.85; font-size: 1rem; line-height: 1.7; }

.patreon-action { flex-shrink: 0; }

.btn-patreon-lg {
  background: white;
  color: #FF424D;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-patreon-lg:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }

/* ===========================
   FOOTER
   =========================== */
footer {
  background: #1A1A2E;
  color: rgba(255,255,255,0.55);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img { height: 32px; opacity: 0.85; }

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 1rem;
}

/* ===========================
   PRIVACY PAGE
   =========================== */
.page-header {
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  background: linear-gradient(160deg, #1A1A2E 0%, #2D2B55 100%);
  color: white;
}

.page-header .section-eyebrow { color: var(--purple); }
.page-header .section-title   { color: white; }
.page-header .section-sub     { color: rgba(255,255,255,0.6); margin: 0 auto; }

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.prose h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.prose h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.1em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--pink), var(--purple));
}

.prose h3 { font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: var(--text); }
.prose p  { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.prose ul { color: var(--text-muted); padding-left: 1.5rem; margin-bottom: 1rem; }
.prose ul li { line-height: 1.8; margin-bottom: 0.25rem; }
.prose a  { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }

.info-box {
  background: rgba(176,127,224,0.08);
  border: 1px solid rgba(176,127,224,0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.info-box strong { color: var(--purple); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .hero-logo-wrap { flex-direction: column; gap: 0.75rem; }
  .hero-icon { width: 72px; height: 72px; }
  .hero-wordmark { height: 40px; }

  .patreon-card { padding: 2rem 1.5rem; text-align: center; justify-content: center; }
  .patreon-text h2 { font-size: 1.4rem; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-store { width: 100%; max-width: 280px; justify-content: center; }
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate {
  animation: fade-up 0.6s ease both;
}
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
