﻿/* ============================================
   Memos Lite Landing Page �?Styles
   ============================================ */

/* --- Variables --- */
:root {
  --green:       #4CAF50;
  --green-light: #81C784;
  --green-dark:  #388E3C;
  --bg:          #F5F5F0;
  --bg-card:     #FFFFFF;
  --text:        #2D2D2D;
  --text-sub:    #6B6B6B;
  --text-light:  #9E9E9E;
  --accent:      #66BB6A;
  --shadow:      rgba(0,0,0,0.08);
  --radius:      16px;
  --radius-sm:   10px;

  /* tag colours */
  --tag-daily:   #4CAF50;
  --tag-work:    #2196F3;
  --tag-idea:    #9C27B0;
  --tag-life:    #FF9800;
  --tag-archive: #607D8B;

  --nav-h: 64px;
  --max-w: 1100px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Noto Sans SC', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(245,245,240,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-icon { font-size: 1.4rem; }
.logo-text { color: var(--green-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-sub);
  transition: color .2s;
}
.nav-links a:hover { color: var(--green); }

.btn-nav {
  background: var(--green) !important;
  color: #fff !important;
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 0.88rem !important;
  transition: background .2s !important;
}
.btn-nav:hover { background: var(--green-dark) !important; }

/* ============================================
   HERO
   ============================================ */
.hero {
  height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 30px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(129,199,132,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 20% 70%, rgba(76,175,80,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  flex: 0 0 460px;
  max-width: 460px;
  padding-right: 60px;
}

.hero-badge {
  display: inline-block;
  background: rgba(76,175,80,0.12);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: .03em;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.82rem;
  transition: background .25s, transform .2s;
  display: inline-flex;
  align-items: center;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-ghost {
  border: 1.5px solid rgba(0,0,0,0.18);
  color: var(--text);
  padding: 9px 22px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.88rem;
  transition: border-color .25s, background .25s;
}
.btn-ghost:hover { border-color: var(--green); background: rgba(76,175,80,0.06); }

/* --- Phone Visual --- */
.hero-visual {
  flex: 0 0 260px;
  display: flex;
  justify-content: center;
}

.phone-frame {
  background: #1a1a1a;
  border-radius: 28px;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 20px 60px rgba(0,0,0,0.35),
    0 4px 16px rgba(0,0,0,0.2);
  width: 230px;
}

.phone-screen {
  background: #FAFAFA;
  border-radius: 28px;
  overflow: hidden;
  padding-bottom: 16px;
}

.phone-statusbar {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px 4px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #555;
}

.phone-content { padding: 6px 14px; }

.phone-date {
  font-size: 0.68rem;
  color: #999;
  margin-bottom: 2px;
}

.phone-weather {
  font-size: 0.72rem;
  color: #555;
  margin-bottom: 10px;
}

.phone-card {
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 6px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.04);
}

.pc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.pc-tag {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--tag-daily);
  background: rgba(76,175,80,0.1);
  padding: 1px 6px;
  border-radius: 6px;
}

.pc-mood { font-size: 0.72rem; }

.pc-text {
  font-size: 0.68rem;
  color: #333;
  line-height: 1.55;
  margin-bottom: 6px;
}

.pc-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.56rem;
  color: #aaa;
}

.pc-temp { color: #aaa; }

/* ============================================
   FEATURES
   ============================================ */
.features {
  padding: 80px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-sub);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 12px var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform .25s, box-shadow .25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ============================================
   PREVIEW
   ============================================ */
.preview {
  background: #fff;
  padding: 80px 24px;
}

.preview .section-header { margin-bottom: 56px; }

.preview-phones {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
}

.preview-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pp-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 2px;
}

.pp-screen {
  width: 240px;
  border-radius: 28px;
  padding: 16px 14px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.06);
  overflow: hidden;
}

.pp-light {
  background: #FAFAFA;
  border: 1px solid rgba(0,0,0,0.06);
}

.pp-dark {
  background: #1C1C1E;
  border: 1px solid rgba(255,255,255,0.08);
}

/* shared inner elements */
.pps-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.pps-date { font-size: 0.68rem; font-weight: 700; color: #333; }
.pp-dark .pps-date { color: #E0E0E0; }

.pps-weather { font-size: 0.62rem; color: #888; }
.pp-dark .pps-weather { color: #888; }

.pps-filter {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.pps-filt {
  font-size: 0.56rem;
  padding: 2px 7px;
  border-radius: 10px;
  color: #777;
  background: rgba(0,0,0,0.04);
  cursor: pointer;
  transition: background .2s;
}

.pps-filt.active {
  background: var(--green);
  color: #fff;
}

.pp-dark .pps-filt { color: #888; background: rgba(255,255,255,0.06); }
.pp-dark .pps-filt.active { background: var(--green); }

/* cards inside preview phones */
.pps-card {
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 6px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.04);
}

.dark-card {
  background: #2C2C2E;
  border-color: rgba(255,255,255,0.06);
  box-shadow: none;
}

.ppsc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.ppsc-tag {
  font-size: 0.58rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 6px;
}
.ppsc-tag.green  { color: #4CAF50; background: rgba(76,175,80,0.12); }
.ppsc-tag.blue   { color: #2196F3; background: rgba(33,150,243,0.12); }
.ppsc-tag.purple { color: #9C27B0; background: rgba(156,39,176,0.12); }
.ppsc-tag.orange { color: #FF9800; background: rgba(255,152,0,0.12); }

.ppsc-mood { font-size: 0.72rem; }

.ppsc-text {
  font-size: 0.66rem;
  color: #333;
  line-height: 1.55;
  margin-bottom: 6px;
}
.dark-text { color: #E0E0E0; }

.ppsc-pics {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
}
.ppsc-pic {
  width: 60px;
  height: 40px;
  border-radius: 6px;
}

.ppsc-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.56rem;
  color: #aaa;
}
.dark-meta { color: #777; }

/* Profile / Calendar */
.pps-profile {
  text-align: center;
  margin-bottom: 16px;
}

.ppsp-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--green));
  margin: 0 auto 8px;
}

.ppsp-name { font-size: 0.8rem; font-weight: 700; color: #333; }

.ppsp-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  padding: 0 10px;
}

.ppsp-stat strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
}
.ppsp-stat span { font-size: 0.58rem; color: #999; }

.ppsp-calendar-title {
  font-size: 0.68rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
  text-align: center;
}

.ppsp-calendar { padding: 0 4px; }

.ppspc-row {
  display: flex;
  gap: 3px;
  margin-bottom: 3px;
  justify-content: center;
}

.ppspcd {
  width: 14px; height: 14px;
  border-radius: 3px;
  background: rgba(0,0,0,0.05);
}
.ppspcd.orange { background: rgba(255,152,0,0.55); }
.ppspcd.green  { background: rgba(76,175,80,0.7); }

/* ============================================
   DOWNLOAD / CTA
   ============================================ */
.download {
  padding: 80px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.download-badge {
  display: inline-block;
  background: rgba(76,175,80,0.12);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.download-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.download-desc {
  font-size: 1rem;
  color: var(--text-sub);
  margin-bottom: 36px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-download {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, transform .2s;
  min-width: 240px;
}
.btn-download:not(.disabled):hover {
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(76,175,80,0.2);
  transform: translateY(-2px);
}

.btn-download.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.db-icon { font-size: 1.8rem; }

.db-text { text-align: left; }
.db-label { display: block; font-size: 0.9rem; font-weight: 700; }
.db-sub   { display: block; font-size: 0.75rem; color: var(--text-sub); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 28px 24px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--green-dark);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }
  .hero-content {
    flex: none;
    padding-right: 0;
    max-width: 100%;
  }
  .hero-actions { justify-content: center; }
  .hero-visual  { margin-top: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.4rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .preview-phones { gap: 24px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .nav-links a:not(.btn-nav) { display: none; }
  .stats-inner, .testimonial-grid, .faq-list { padding: 0 16px; }
}

/* ============================================
   STATS
   ============================================ */
.stats {
  background: linear-gradient(135deg, rgba(76,175,80,0.08) 0%, rgba(129,199,132,0.05) 100%);
  padding: 60px 24px;
  border-top: 1px solid rgba(76,175,80,0.15);
  border-bottom: 1px solid rgba(76,175,80,0.15);
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 140px;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-sub);
  font-weight: 500;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 80px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 12px var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform .25s, box-shadow .25s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.tc-content {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.tc-content::before { content: '"'; }
.tc-content::after  { content: '"'; }

.tc-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tca-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green);
}

.tca-name { font-size: 0.88rem; font-weight: 700; }
.tca-label { font-size: 0.75rem; color: var(--text-sub); }

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: #fff;
  padding: 80px 24px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 20px 0;
}

.faq-item:first-child { border-top: 1px solid rgba(0,0,0,0.08); }

.faq-q {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.faq-a {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.7;
  padding-left: 20px;
}
