:root {
    --background: 0 0% 100%;
    --foreground: 240 10% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 240 10% 3.9%;
    --muted: 240 4.8% 95.9%;
    --muted-foreground: 240 3.8% 46.1%;
    --border: 240 5.9% 90%;
    --primary: 240 5.9% 10%;
    --primary-foreground: 0 0% 98%;
    --secondary: 240 4.8% 95.9%;
    --secondary-foreground: 240 5.9% 10%;
    --accent: 240 4.8% 95.9%;
    --accent-foreground: 240 5.9% 10%;
    --ring: 240 5.9% 10%;
    --radius: 0.5rem;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: hsl(var(--foreground));
    background: hsl(var(--background));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: hsla(0, 0%, 100%, .8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border));
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 64px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.02em;
    text-decoration: none;
    color: hsl(var(--foreground));
}

.logo span {
    opacity: .45;
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: .875rem;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color .15s;
}

.nav-links a:hover {
    color: hsl(var(--foreground));
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .875rem;
    font-weight: 500;
    padding: .625rem 1.25rem;
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background .15s, box-shadow .15s;
}

.btn-primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
    opacity: .9;
}

.btn-outline {
    background: transparent;
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
}

.btn-outline:hover {
    background: hsl(var(--accent));
}

.btn-lg {
    padding: .75rem 2rem;
    font-size: 1rem;
}

.btn-ghost {
    background: transparent;
    color: hsl(var(--muted-foreground));
}

.btn-ghost:hover {
    background: hsl(var(--accent));
    color: hsl(var(--foreground));
}

/* ---- BADGE ---- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-size: .75rem;
    font-weight: 500;
    padding: .25rem .75rem;
    border-radius: 9999px;
    border: 1px solid hsl(var(--border));
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

.badge-soon {
    background: #facc15;
    color: #000;
}

/* ---- SECTIONS ---- */
section {
    padding: 5rem 1.5rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* ---- HERO ---- */
.hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 540px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- ADMIN SECTION ---- */
.admin-shot {
    text-align: center;
    margin-top: 4rem;
}

.admin-shot + .admin-shot {
    margin-top: 6rem;
}

.admin-shot h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -.01em;
    margin-bottom: .5rem;
}

.admin-shot > p {
    font-size: .9375rem;
    color: hsl(var(--muted-foreground));
    max-width: 540px;
    margin: 0 auto;
}

/* ---- SECTION SCREENSHOT ---- */
.section-screenshot {
    margin: 2.5rem auto 0;
}

.section-screenshot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
    background: hsl(var(--card));
}

/* ---- STATS BAR ---- */
.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 3rem 1.5rem;
    border-top: 1px solid hsl(var(--border));
    border-bottom: 1px solid hsl(var(--border));
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.stat-label {
    font-size: .8125rem;
    color: hsl(var(--muted-foreground));
    margin-top: .25rem;
}

/* ---- FEATURES ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: box-shadow .2s;
}

.feature-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: hsl(var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.feature-card p {
    font-size: .875rem;
    color: hsl(var(--muted-foreground));
}

/* ---- SECTION HEADERS ---- */
.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.section-header p {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
    max-width: 540px;
    margin: .75rem auto 0;
}

/* ---- HOW IT WORKS ---- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .375rem;
}

.step p {
    font-size: .875rem;
    color: hsl(var(--muted-foreground));
}

/* ---- PRICING ---- */
.pricing-section {
    background: hsl(var(--muted));
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.price-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-color: hsl(var(--primary));
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.price-card.featured::before {
    content: 'Most popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-size: .6875rem;
    font-weight: 600;
    padding: .2rem .75rem;
    border-radius: 9999px;
}

.price-card h3 {
    font-size: 1rem;
    font-weight: 600;
}

.price-card .price {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: .75rem 0 .25rem;
}

.price-card .price span {
    font-size: .875rem;
    font-weight: 400;
    color: hsl(var(--muted-foreground));
}

.price-card .desc {
    font-size: .8125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.price-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.price-card li {
    font-size: .8125rem;
    padding: .4rem 0;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}

.price-card li::before {
    content: '✓';
    color: #22c55e;
    font-weight: 700;
    flex-shrink: 0;
}

.price-card .btn {
    width: 100%;
}

/* ---- BLOG LIST ---- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, transform .2s;
}

.blog-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
    transform: translateY(-2px);
}

.blog-card .blog-meta {
    font-size: .75rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: .75rem;
    display: flex;
    gap: .5rem;
    align-items: center;
}

.blog-card .blog-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: hsl(var(--muted-foreground));
    opacity: .5;
}

.blog-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.35;
    margin-bottom: .5rem;
}

.blog-card p {
    font-size: .875rem;
    color: hsl(var(--muted-foreground));
    flex-grow: 1;
}

.blog-card .read-more {
    font-size: .8125rem;
    font-weight: 500;
    margin-top: 1rem;
    color: hsl(var(--foreground));
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.testimonial {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.75rem;
}

.testimonial .stars {
    color: #facc15;
    font-size: .875rem;
    margin-bottom: .75rem;
}

.testimonial p {
    font-size: .875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial .author {
    font-size: .8125rem;
    font-weight: 600;
}

.testimonial .role {
    font-size: .75rem;
    color: hsl(var(--muted-foreground));
}

/* ---- CTA ---- */
.cta-section {
    text-align: center;
}

.cta-box {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-radius: calc(var(--radius) * 2);
    padding: 4rem 2rem;
    max-width: 720px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: .75rem;
}

.cta-box p {
    font-size: 1rem;
    opacity: .7;
    margin-bottom: 2rem;
}

.cta-box .btn {
    background: hsl(var(--background));
    color: hsl(var(--foreground));
}

.cta-box .btn:hover {
    opacity: .9;
}

/* ---- ARTICLE ---- */
.article-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 8rem 1.5rem 4rem;
}

.article-meta {
    font-size: .8125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
    display: flex;
    gap: .75rem;
    align-items: center;
    flex-wrap: wrap;
}

.article-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: hsl(var(--muted-foreground));
    opacity: .5;
}

.article h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.article .lead {
    font-size: 1.1875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2.5rem;
    line-height: 1.55;
}

.article h2 {
    font-size: 1.625rem;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 3rem 0 1rem;
    line-height: 1.3;
}

.article h3 {
    font-size: 1.1875rem;
    font-weight: 600;
    letter-spacing: -.01em;
    margin: 2rem 0 .75rem;
}

.article p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
}

.article a {
    color: hsl(var(--foreground));
    text-decoration: underline;
    text-decoration-color: hsl(var(--border));
    text-underline-offset: 3px;
    transition: text-decoration-color .15s;
}

.article a:hover {
    text-decoration-color: hsl(var(--foreground));
}

.article strong {
    font-weight: 600;
    color: hsl(var(--foreground));
}

.article ol,
.article ul {
    margin: 0 0 1.5rem 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

.article li {
    margin-bottom: .25rem;
}

.article code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .875em;
    background: hsl(var(--muted));
    padding: .125rem .375rem;
    border-radius: 4px;
}

/* ---- CALLOUT (Key Takeaways / inline CTA) ---- */
.callout {
    background: hsl(var(--muted));
    border-left: 3px solid hsl(var(--primary));
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
    font-size: .9375rem;
}

.callout strong {
    display: block;
    margin-bottom: .5rem;
    font-size: 1rem;
}

.callout ul {
    margin: .5rem 0 0 1.25rem;
}

.callout li {
    margin-bottom: .5rem;
    line-height: 1.6;
}

.callout p {
    margin-bottom: 0;
}

.cta-inline {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-radius: var(--radius);
    padding: 1.75rem 1.75rem;
    margin: 2.5rem 0;
    border-left: none;
}

.cta-inline a {
    color: hsl(var(--primary-foreground));
    text-decoration: underline;
    text-decoration-color: hsla(0, 0%, 100%, .35);
}

.cta-inline a:hover {
    text-decoration-color: hsl(var(--primary-foreground));
}

.cta-inline strong {
    color: hsl(var(--primary-foreground));
}

/* ---- TABLES ---- */
.table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
}

.article table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9375rem;
}

.article th,
.article td {
    text-align: left;
    padding: .75rem 1rem;
    border-bottom: 1px solid hsl(var(--border));
    vertical-align: top;
}

.article th {
    background: hsl(var(--muted));
    font-weight: 600;
    font-size: .875rem;
}

.article tr:last-child td {
    border-bottom: none;
}

/* ---- FAQ ---- */
.faq h3 {
    font-size: 1.0625rem;
    margin-top: 1.75rem;
    margin-bottom: .5rem;
}

.faq p {
    margin-bottom: 0;
}

hr {
    border: none;
    border-top: 1px solid hsl(var(--border));
    margin: 3rem 0;
}

/* ---- BACK LINK ---- */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-size: .8125rem;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.back-link:hover {
    color: hsl(var(--foreground));
}

/* ---- ARTICLE CTA ---- */
.article-cta {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-radius: calc(var(--radius) * 2);
    padding: 3rem 2rem;
    text-align: center;
    margin: 3rem 0 0;
}

.article-cta h2 {
    margin: 0 0 .5rem;
    font-size: 1.5rem;
    color: hsl(var(--primary-foreground));
}

.article-cta p {
    margin: 0 0 1.5rem;
    opacity: .75;
    font-size: .9375rem;
}

.article-cta .btn {
    background: hsl(var(--background));
    color: hsl(var(--foreground));
}

/* ---- FOOTER ---- */
footer {
    border-top: 1px solid hsl(var(--border));
    padding: 3rem 1.5rem;
    font-size: .8125rem;
    color: hsl(var(--muted-foreground));
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
    .stats {
        gap: 2rem;
    }

    .nav-links a:not(.btn) {
        display: none;
    }

    .hero {
        padding-top: 8rem;
    }

    .article-wrap {
        padding-top: 6rem;
    }

    .article h1 {
        font-size: 1.875rem;
    }
}
