/* Daily Zen Wheel — Promo Website Styles */
/* Theme extracted from app: Deep blue/green/yellow palette */
/* Design: Modern Minimalist (Tailwind) + Generous spacing + Pill borders + Subtle animations */

:root {
  --color-primary: #4CAF50;
  --color-primary-dark: #2D8F4E;
  --color-accent: #F5C518;
  --color-bg-start: #0D1B2A;
  --color-bg-end: #1B2838;
  --color-surface: #152233;
  --color-card: linear-gradient(135deg, #2D8F4E 0%, #1a5c32 100%);
  --color-card-alt: rgba(45, 143, 78, 0.12);
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #81C784;
  --color-text-muted: #5a8a6a;
  --color-divider: rgba(45, 143, 78, 0.25);
  --border-radius: 28px;
  --border-radius-sm: 14px;
  --font-heading: 'Bowlby One SC', cursive;
  --font-body: 'Rubik', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background: linear-gradient(180deg, var(--color-bg-start) 0%, var(--color-bg-end) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============ NAVIGATION ============ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
  transition: background 0.3s ease;
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 640px) {
  .nav-hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 27, 42, 0.97);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-divider);
  }
  .nav-links.open { display: flex; }
}

/* ============ HERO ============ */
.hero {
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-text-primary);
}

.hero h1 .accent {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--color-text-secondary);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  text-align: center;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg-start);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* ============ SECTIONS ============ */
.section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ============ FEATURE CARDS ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--border-radius-sm);
  padding: 32px 28px;
  transition: transform 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(76, 175, 80, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--color-accent);
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  text-align: left;
  line-height: 1.6;
}

/* ============ HIGHLIGHTS ============ */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.highlight-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--color-surface);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-divider);
}

.highlight-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.highlight-label {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

/* ============ CTA SECTION ============ */
.cta-section {
  text-align: center;
  padding: 80px 24px;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245, 197, 24, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  font-size: 1rem;
}

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--color-divider);
  padding: 40px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

.footer-copy {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* ============ CONTENT PAGES (privacy, terms, contact) ============ */
.page-content {
  padding: 120px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.page-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 8px;
}

.page-date {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 40px;
}

.page-content h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-top: 36px;
  margin-bottom: 14px;
}

.page-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-top: 24px;
  margin-bottom: 10px;
}

.page-content p {
  color: var(--color-text-secondary);
  margin-bottom: 14px;
  text-align: left;
  line-height: 1.7;
}

.page-content ul, .page-content ol {
  color: var(--color-text-secondary);
  margin-bottom: 14px;
  padding-left: 24px;
  text-align: left;
}

.page-content li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.page-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(76, 175, 80, 0.4);
  transition: color 0.2s;
}

.page-content a:hover {
  color: var(--color-accent);
}

.page-content strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

/* ============ CONTACT FORM ============ */
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--border-radius-sm);
  padding: 40px 32px;
  margin-top: 32px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
  text-align: left;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-divider);
  border-radius: 12px;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group input[type="file"] {
  padding: 10px 14px;
  cursor: pointer;
}

.form-group input[type="file"]::file-selector-button {
  background: var(--color-primary-dark);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  margin-right: 10px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}

.form-success.show {
  display: block;
}

.form-success h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--color-text-secondary);
}

/* ============ PRIVACY ACCEPTANCE BUTTON ============ */
.privacy-accept-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 16px 24px 24px;
  background: linear-gradient(to top, var(--color-bg-start) 60%, transparent 100%);
  display: flex;
  justify-content: center;
}

.privacy-accept-btn.hidden {
  display: none;
}

.accept-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  padding: 16px 32px;
  background: var(--color-accent);
  color: var(--color-bg-start);
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 20px rgba(245, 197, 24, 0.3);
}

.accept-btn:active {
  opacity: 0.9;
}

/* ============ DISCLAIMER ============ */
.disclaimer {
  margin-top: 40px;
  padding: 20px 24px;
  background: rgba(76, 175, 80, 0.08);
  border: 1px solid var(--color-divider);
  border-radius: 12px;
  text-align: left;
}

.disclaimer p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ============ ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
/* Contact page: limit empty space */
.page-content {
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .hero { padding: 120px 20px 60px; }
  .section { padding: 56px 20px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .contact-card { padding: 28px 20px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
}
