/* FullScreenReminder — Shared Styles */

:root {
  --color-bg: #ffffff;
  --color-bg-secondary: #f5f5f7;
  --color-text: #1d1d1f;
  --color-text-secondary: #6e6e73;
  --color-accent: #0071e3;
  --color-accent-hover: #0077ed;
  --color-border: #d2d2d7;
  --color-card-bg: #ffffff;
  --color-card-shadow: rgba(0, 0, 0, 0.04);
  --color-code-bg: #f5f5f7;
  --max-width: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #000000;
    --color-bg-secondary: #1c1c1e;
    --color-text: #f5f5f7;
    --color-text-secondary: #a1a1a6;
    --color-accent: #2997ff;
    --color-accent-hover: #64b5ff;
    --color-border: #38383a;
    --color-card-bg: #1c1c1e;
    --color-card-shadow: rgba(0, 0, 0, 0.3);
    --color-code-bg: #2c2c2e;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */

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

/* Header */

.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: var(--color-bg);
  z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--color-bg) 80%, transparent);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo {
  font-size: 21px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-header nav a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  margin-left: 24px;
  transition: color 0.2s;
}

.site-header nav a:hover {
  color: var(--color-accent);
}

/* Hero */

.hero {
  text-align: center;
  padding: 80px 0 60px;
}

.hero .app-icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero .tagline {
  font-size: 21px;
  color: var(--color-text-secondary);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.app-store-badge {
  display: inline-block;
  transition: opacity 0.2s;
}

.app-store-badge:hover {
  opacity: 0.8;
}

.app-store-badge img {
  height: 54px;
}

/* Sections */

section {
  padding: 60px 0;
}

section + section {
  border-top: 1px solid var(--color-border);
}

h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

h3 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  color: var(--color-text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

/* Steps */

.steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: 20px;
}

.steps li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}

.steps li::before {
  content: counter(step);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
}

.steps li .step-content {
  flex: 1;
}

.steps li .step-title {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.steps li .step-desc {
  color: var(--color-text-secondary);
  font-size: 15px;
  margin-bottom: 0;
}

/* Plan comparison table */

.plan-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.plan-table th,
.plan-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}

.plan-table th {
  font-weight: 600;
  color: var(--color-text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plan-table td {
  color: var(--color-text-secondary);
}

.plan-table .check {
  color: #34c759;
  font-weight: 600;
}

.plan-upgrade {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--color-bg-secondary);
  border-radius: 12px;
  font-size: 15px;
  color: var(--color-text-secondary);
}

.plan-upgrade code {
  background: var(--color-code-bg);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--color-text);
}

/* FAQ */

.faq-item {
  padding: 24px 0;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--color-border);
}

.faq-item h3 {
  color: var(--color-text);
  font-size: 17px;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 15px;
}

.faq-item ul {
  margin: 8px 0 0 20px;
  color: var(--color-text-secondary);
  font-size: 15px;
}

.faq-item ul li {
  margin-bottom: 6px;
}

/* Troubleshooting */

.troubleshoot-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.troubleshoot-list li {
  padding: 16px 20px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-size: 15px;
  color: var(--color-text-secondary);
}

.troubleshoot-list li code {
  background: var(--color-code-bg);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--color-text);
}

/* Release notes */

.release {
  padding: 20px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}

.release-version {
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.release-date {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.release ul {
  margin-left: 20px;
  color: var(--color-text-secondary);
  font-size: 15px;
}

.release ul li {
  margin-bottom: 6px;
}

/* Feedback CTA */

.feedback-cta {
  text-align: center;
  padding: 48px 32px;
  background: var(--color-bg-secondary);
  border-radius: 20px;
}

.feedback-cta h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.feedback-cta p {
  font-size: 17px;
  margin-bottom: 0;
}

/* Footer */

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

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

.footer-links a {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

.site-footer .copyright {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* Privacy Policy page */

.page-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 60px 0 12px;
}

.page-subtitle {
  color: var(--color-text-secondary);
  margin-bottom: 48px;
  font-size: 15px;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.policy-section p {
  font-size: 16px;
  line-height: 1.7;
}

.policy-section ul {
  margin: 8px 0 16px 20px;
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.policy-section ul li {
  margin-bottom: 6px;
}

/* Language switch */

.lang-switch {
  font-weight: 500;
  padding: 4px 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 13px !important;
  transition: background 0.2s, color 0.2s;
}

.lang-switch:hover {
  background: var(--color-bg-secondary);
  color: var(--color-accent) !important;
}

/* Links */

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

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

