/* ============================================================
   Flora – Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500&display=swap');

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

:root {
  --bg:        #0b0b0b;
  --bg-card:   #141414;
  --bg-nav:    rgba(11,11,11,0.92);
  --border:    rgba(255,255,255,0.07);
  --text:      #e8e4dc;
  --text-muted:#8a8478;
  --accent:    #c8a96e;
  --accent-2:  #6b9e6b;
  --white:     #ffffff;
  --radius:    12px;
  --max-w:     760px;
  --nav-h:     64px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ──────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 100;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
}

.nav-brand span {
  color: var(--accent);
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}

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

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all .25s;
}

/* ── Page layout ─────────────────────────────────────────── */
main {
  padding-top: var(--nav-h);
}

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

/* ── Particle canvas ────────────────────────────────────── */
#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── Hero (Home page) ────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(200,169,110,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 70%, rgba(107,158,107,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 72px;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-left {
  flex: 1;
  min-width: 0;
}

.hero-right {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(200,169,110,0.35);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 8vw, 88px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 8px;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.hero-desc {
  max-width: 440px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 44px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--bg);
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity .2s, transform .2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-muted);
  padding: 13px 28px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }

/* App screenshot */
.hero-mockup {
  position: relative;
  display: inline-block;
}

.hero-mockup img {
  width: min(300px, 38vw);
  border-radius: 28px;
  display: block;
  filter: drop-shadow(0 48px 96px rgba(0,0,0,0.85));
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
  animation: fadeDown 2s infinite;
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 32px;
  background: var(--text-muted);
}
@keyframes fadeDown {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.7; transform: translateX(-50%) translateY(6px); }
}

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 0 auto 40px;
}

/* ── Section ─────────────────────────────────────────────── */
.section {
  padding: 100px 0;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  text-align: center;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 64px;
  line-height: 1.8;
}

/* ── Feature grid ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: none;
  transition: background .25s;
}

.feature-card:hover {
  background: #1a1a1a;
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 16px;
  display: block;
}

.feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.feature-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Daily flower strip ──────────────────────────────────── */
.daily-strip {
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.daily-strip-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.daily-strip h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}

.daily-strip p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Flower names ticker */
.flower-ticker {
  display: flex;
  gap: 32px;
  overflow: hidden;
  margin-top: 48px;
  --ticker-duration: 28s;
}

.flower-ticker-track {
  display: flex;
  gap: 32px;
  animation: ticker var(--ticker-duration) linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

.flower-ticker-track span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--text-muted);
  padding: 0 8px;
}

.flower-ticker-track span.highlight {
  color: var(--accent);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Privacy section (no data) ───────────────────────────── */
.privacy-banner {
  padding: 80px 24px;
  text-align: center;
}

.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(107,158,107,0.1);
  border: 1px solid rgba(107,158,107,0.25);
  color: var(--accent-2);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.privacy-banner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}

.privacy-banner p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── Page header (inner pages) ───────────────────────────── */
.page-header {
  padding: 80px 24px 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 7vw, 60px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.page-header .updated {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.page-header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 12px auto 0;
  line-height: 1.8;
}

/* ── Prose (privacy / terms) ─────────────────────────────── */
.prose {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.prose h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--white);
  margin: 52px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.prose h2:first-of-type {
  margin-top: 0;
}

.prose p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.85;
}

.prose ul {
  margin: 12px 0 20px 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 2;
}

.prose a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,169,110,0.3);
  transition: border-color .2s;
}
.prose a:hover { border-color: var(--accent); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.faq-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.faq-tab {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
  transition: all .2s;
}

.faq-tab.active,
.faq-tab:hover {
  background: var(--bg-card);
  border-color: rgba(255,255,255,0.15);
  color: var(--text);
}

.faq-group {
  display: none;
}
.faq-group.visible {
  display: block;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .2s;
}
.faq-question:hover { color: var(--accent); }

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .3s;
  opacity: 0.5;
}

.faq-item.open .faq-chevron {
  transform: rotate(-135deg) translateY(-3px);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease, padding .35s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
  padding-bottom: 22px;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.contact-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

.contact-reason {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-muted);
}

.contact-reason-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.contact-email-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  margin-bottom: 32px;
}

.contact-email-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.contact-email-box p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.email-link {
  display: inline-block;
  font-size: 16px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,169,110,0.3);
  padding-bottom: 2px;
  letter-spacing: 0.02em;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  transition: border-color .2s;
}
.email-link:hover { border-color: var(--accent); }

.contact-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.7;
  opacity: 0.7;
}

.contact-note a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.5;
  letter-spacing: 0.04em;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero {
    padding: 80px 32px 80px;
  }
  .hero-inner {
    flex-direction: column-reverse;
    gap: 44px;
    text-align: center;
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-mockup img {
    width: min(260px, 60vw);
  }
}

@media (max-width: 640px) {
  nav { padding: 0 20px; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px 20px 32px;
    gap: 20px;
  }

  .nav-links.open { display: flex; }

  .nav-links a { font-size: 15px; }

  .nav-toggle { display: flex; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 60px 20px 80px; }
  .hero-mockup img { width: min(240px, 65vw); }

  .container { padding: 0 16px; }
}
