:root {
    --bg: #faf8f3;
    --card: #ffffff;
    --text: #1f2430;
    --sub: #5b6170;
    --gold: #d4a02a;
    --gold-dim: #b8861a;
    --border: #ece7db;
    --shadow: 0 4px 24px rgba(31, 36, 48, 0.06);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-dim); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Nav */
nav {
    background: rgba(250, 248, 243, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 10;
}
.nav-container {
    max-width: 820px; margin: 0 auto; padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; color: var(--text); }
.logo:hover { text-decoration: none; }
.crown-icon { fill: currentColor; display: inline-block; vertical-align: middle; }
.logo .crown-icon { width: 22px; height: 22px; color: var(--gold); margin-right: 2px; }
.badge .crown-icon { width: 60px; height: 60px; color: var(--gold); }
.nav-links { list-style: none; display: flex; gap: 22px; }
.nav-links a { color: var(--sub); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--gold-dim); text-decoration: none; }

/* Header */
.page-header {
    text-align: center; padding: 64px 24px 40px;
    max-width: 720px; margin: 0 auto;
}
.page-header h1 { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
.page-header p { color: var(--sub); margin-top: 12px; font-size: 17px; }

/* Content */
.content { max-width: 720px; margin: 0 auto; padding: 0 24px 80px; }
.last-updated {
    display: inline-block; color: var(--sub); font-size: 14px;
    background: var(--card); border: 1px solid var(--border);
    padding: 4px 12px; border-radius: 999px; margin-bottom: 28px;
}
.content section { margin-bottom: 32px; }
.content h2 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.content p { color: var(--sub); margin-bottom: 10px; }
.content ul { color: var(--sub); margin: 0 0 10px 22px; }
.content li { margin-bottom: 6px; }
.content strong { color: var(--text); }

/* Landing hero */
.hero { text-align: center; padding: 80px 24px 40px; max-width: 680px; margin: 0 auto; }
.hero .badge { line-height: 0; }
.hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin-top: 8px; }
.hero p { color: var(--sub); font-size: 18px; margin-top: 14px; }
.hero .links { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.btn {
    display: inline-block; padding: 12px 22px; border-radius: 12px;
    font-weight: 600; font-size: 15px;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-dim); text-decoration: none; }
.btn-ghost { background: var(--card); border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { text-decoration: none; border-color: var(--gold); }

/* Screenshots (landing) */
.shots {
    max-width: 980px; margin: 0 auto; padding: 8px 24px 72px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.shots img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); }
@media (max-width: 700px) {
    .shots { grid-template-columns: 1fr; max-width: 340px; gap: 28px; }
}

/* Contact cards (support) */
.contact-section {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px; margin-bottom: 48px;
}
.contact-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; padding: 24px; text-align: center; box-shadow: var(--shadow);
}
.contact-icon {
    width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center; background: var(--gold);
}
.contact-card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-card p { color: var(--sub); font-size: 14px; margin-bottom: 14px; }
.contact-card a { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* FAQ */
.section-title { text-align: center; font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-question {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 18px 20px; font-size: 16px; font-weight: 600; color: var(--text);
    font-family: inherit; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-question svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.2s; color: var(--sub); }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.active .faq-answer { max-height: 400px; }
.faq-answer-content { padding: 0 20px 18px; color: var(--sub); font-size: 15px; }

/* Troubleshooting */
.troubleshoot-section h2 { text-align: center; font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.troubleshoot-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.troubleshoot-item { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.troubleshoot-number {
    width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
}
.troubleshoot-text h4 { font-size: 15px; margin-bottom: 4px; }
.troubleshoot-text p { color: var(--sub); font-size: 14px; }

/* Footer */
footer { border-top: 1px solid var(--border); background: var(--card); }
.footer-container { max-width: 720px; margin: 0 auto; padding: 36px 24px; text-align: center; }
.footer-links { list-style: none; display: flex; gap: 20px; justify-content: center; margin: 18px 0; flex-wrap: wrap; }
.footer-links a { color: var(--sub); font-size: 14px; }
.footer-app-info { color: var(--sub); font-size: 13px; }
.footer-copyright { color: var(--sub); font-size: 13px; margin-top: 4px; }

@media (max-width: 600px) {
    .nav-links { gap: 14px; }
    .page-header h1 { font-size: 30px; }
    .hero h1 { font-size: 34px; }
}
