/* ═══════════════════════════════════════════════════════════
   ZeniClock — shared site styles
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --bg:        #0a1220;
  --card:      #0f1a2b;
  --border:    #1a2a42;
  --accent:    #5a8fd4;
  --accent-dim:#3d6db0;
  --text:      #d8e2f0;
  --muted:     #7a8da6;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: rgba(10,18,32,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 700; color: var(--accent); letter-spacing: 0.03em; text-decoration: none; }
.nav-logo img { width: 30px; height: 30px; border-radius: 7px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent); color: #0a1220;
  padding: 8px 20px; border-radius: 999px;
  font-size: 0.875rem; font-weight: 700;
  text-decoration: none; transition: background .2s;
}
.nav-cta:hover { background: var(--accent-dim); }

/* ── SHARED SECTION HEADINGS ── */
.section-label {
  text-align: center;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700;
  margin-bottom: 48px;
}

/* ── SHARED BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #0a1220;
  padding: 14px 28px; border-radius: 14px;
  font-size: 1rem; font-weight: 700; text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--accent-dim); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--card); color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 28px; border-radius: 14px;
  font-size: 1rem; font-weight: 600; text-decoration: none;
  transition: border-color .2s, transform .15s;
}
.btn-secondary:hover { border-color: var(--accent); transform: translateY(-1px); }

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

/* ═══════════════════════════════════════════════════════════
   INDEX PAGE
   ═══════════════════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 96px 24px 80px;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(90,143,212,0.12) 0%, transparent 70%);
}
.hero-icon { width: 110px; height: 110px; border-radius: 24px; box-shadow: 0 12px 40px rgba(0,0,0,0.5); margin-bottom: 28px; }
.hero-badge {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.15rem; color: var(--muted);
  max-width: 560px; margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-sub { margin-top: 16px; font-size: 0.8rem; color: var(--muted); }

/* ── FEATURES ── */
.features { padding: 80px 24px; max-width: 1100px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 24px;
  transition: border-color .2s;
}
.feature-card:hover { border-color: var(--accent); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }
.feature-card--screenshot { padding: 0; overflow: hidden; }
.feature-card--screenshot img { width: 100%; display: block; }
.feature-card--screenshot .feature-card-body { padding: 20px 22px 22px; }
.feature-card--screenshot .feature-card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.feature-card--screenshot .feature-card-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }
.feature-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: #000; }
.feature-shots.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-shots.cols-1 { grid-template-columns: 1fr; justify-items: center; }
.feature-shots.cols-1 img { max-width: 50%; }
.feature-shots img { width: 100%; display: block; }
.feature-card--screenshot .feature-card-body ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.feature-card--screenshot .feature-card-body ul li { font-size: 0.82rem; color: var(--muted); line-height: 1.5; padding-left: 14px; position: relative; }
.feature-card--screenshot .feature-card-body ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 80px 24px;
  background: linear-gradient(180deg, transparent, rgba(90,143,212,0.04) 50%, transparent);
}
.steps { display: flex; flex-direction: column; gap: 0; max-width: 640px; margin: 48px auto 0; }
.steps .step {
  display: flex; gap: 24px; align-items: flex-start;
  padding-bottom: 36px; position: relative;
  background: transparent; border: none; border-radius: 0;
}
.steps .step:not(:last-child)::after {
  content: '';
  position: absolute; left: 19px; top: 44px; bottom: 0;
  width: 2px; background: var(--border);
}
.steps .step-num {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #0a1220;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem;
}
.steps .step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.steps .step p { font-size: 0.9rem; color: var(--muted); }

/* ── KEY HIGHLIGHTS ── */
.highlights { padding: 80px 24px; max-width: 900px; margin: 0 auto; }
.highlights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 48px; }
.highlight-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color .2s;
}
.highlight-card:hover { border-color: var(--accent); }
.highlight-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.highlight-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.highlight-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

/* ── PRICING ── */
.pricing { padding: 80px 24px; max-width: 900px; margin: 0 auto; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px; margin-top: 48px;
}
.plan-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 32px 28px;
}
.plan-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 32px rgba(90,143,212,0.15);
}
.plan-badge {
  display: inline-block;
  background: var(--accent); color: #0a1220;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 16px;
}
.plan-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.plan-price { font-size: 2.2rem; font-weight: 800; color: var(--accent); }
.plan-price span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan-price-note { font-size: 0.8rem; color: var(--muted); margin-bottom: 24px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plan-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem;
}
.plan-features li::before { content: '\2713'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.plan-features li.disabled { color: var(--muted); }
.plan-features li.disabled::before { content: '\2013'; color: var(--border); }

/* ── PRIVACY POLICY ── */
.privacy { padding: 80px 24px; max-width: 800px; margin: 0 auto; }
.privacy-content {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 40px 36px; margin-top: 48px;
}
.privacy-content h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--accent);
  margin: 28px 0 8px;
}
.privacy-content h3:first-child { margin-top: 0; }
.privacy-content p, .privacy-content ul {
  font-size: 0.9rem; color: var(--muted); line-height: 1.75;
}
.privacy-content ul { padding-left: 20px; }
.privacy-content ul li { margin-bottom: 6px; }
.privacy-effective { font-size: 0.8rem; color: var(--muted); margin-bottom: 24px; }

/* ── MORE APPS ── */
.more-apps { padding: 80px 24px; max-width: 700px; margin: 0 auto; }
.more-apps-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 48px 36px; text-align: center; overflow: hidden;
}
.more-apps-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(90,143,212,0.12); border: 1px solid rgba(90,143,212,0.35);
  border-radius: 14px; color: var(--accent); margin-bottom: 20px;
  overflow: hidden;
}
.more-apps-icon svg { width: 28px; height: 28px; flex-shrink: 0; }
.more-apps-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.more-apps-card > p { font-size: 0.9rem; color: var(--muted); line-height: 1.75; max-width: 480px; margin: 0 auto 28px; }

/* ── SUPPORT ── */
.support { padding: 80px 24px; max-width: 700px; margin: 0 auto; }
.support-content {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 48px 36px; text-align: center;
}
.support-content h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.support-content > p { font-size: 0.9rem; color: var(--muted); line-height: 1.75; max-width: 480px; margin: 0 auto 28px; }
.support-email {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(90,143,212,0.10); border: 1px solid rgba(90,143,212,0.35);
  padding: 14px 28px; border-radius: 14px;
  color: var(--accent); font-size: 1rem; font-weight: 700;
  text-decoration: none; transition: background .2s, transform .15s;
}
.support-email:hover { background: rgba(90,143,212,0.18); transform: translateY(-1px); }
.support-email svg { flex-shrink: 0; }

/* ── TERMS & CONDITIONS ── */
.terms { padding: 80px 24px; max-width: 800px; margin: 0 auto; }
.terms-content {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 40px 36px; margin-top: 48px;
}
.terms-content p {
  font-size: 0.9rem; color: var(--muted); line-height: 1.75;
}
.terms-content ul { padding-left: 20px; margin: 16px 0; }
.terms-content ul li { margin-bottom: 10px; font-size: 0.9rem; }
.terms-content a { color: var(--accent); text-decoration: none; transition: color .2s; }
.terms-content a:hover { color: var(--accent-dim); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
}
.footer-logo { font-size: 1rem; font-weight: 700; color: var(--accent); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.78rem; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (min-width: 768px) {
  .features { max-width: 1280px; }
  .features-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-card--screenshot { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: stretch; }
  .feature-card--screenshot .feature-shots { height: 100%; align-content: start; }
  .feature-card--screenshot .feature-card-body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
  .feature-card--screenshot .feature-card-body h3 { font-size: 1.5rem; margin-bottom: 12px; }
  .feature-card--screenshot .feature-card-body p { font-size: 1rem; }
  .feature-card--screenshot .feature-card-body ul { margin-top: 18px; gap: 10px; }
  .feature-card--screenshot .feature-card-body ul li { font-size: 0.95rem; padding-left: 18px; }
  .feature-card--screenshot .feature-card-body ul li::before { top: 10px; }
}

@media (max-width: 600px) {
  nav { padding: 12px 16px; }
  .nav-links { display: none; }
  .privacy-content { padding: 28px 20px; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }
}
