@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    color-scheme: light dark;
    --bg: #ffffff;
    --bg-secondary: #f2f2f2;
    --bg-card: #ffffff;
    --bg-inverse: #1b1b1b;
    --text: #0a0a0a;
    --text-sec: #5d5d5d;
    --text-muted: #989898;
    --primary: #3478f0;
    --primary-h: #2568e0;
    --border: #e0e0e0;
    --nav-bg: rgba(255, 255, 255, 0.92);
    --r: 12px;
    --r-sm: 8px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-h: 0 4px 16px rgba(0, 0, 0, 0.12);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #1b1b1b;
        --bg-secondary: #252525;
        --bg-card: #222222;
        --bg-inverse: #0a0a0a;
        --text: #f0f0f0;
        --text-sec: #989898;
        --text-muted: #666666;
        --primary: #5a9cf5;
        --primary-h: #6aaaf8;
        --border: #333333;
        --nav-bg: rgba(27, 27, 27, 0.92);
    }
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

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

h1,
h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 64px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s;
    text-decoration: none;
    border: none;
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-h);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-ghost:hover {
    background: var(--bg-secondary);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 14px;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 32px;
}

.nav-logo img {
    display: block;
    height: 26px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0 auto;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-sec);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.hero {
    padding: 56px 0 48px;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 64px;
    align-items: center;
}


.hero h1 {
    font-size: clamp(44px, 5.5vw, 68px);
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: italic;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-sec);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 460px;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.screenshot-slideshow {
    width: 220px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    aspect-ratio: 9 / 19.5;
}

.screenshot-slideshow .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.screenshot-slideshow .slide.active {
    opacity: 1;
}

.section-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

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

.section-header h2 {
    font-size: clamp(30px, 3.8vw, 46px);
    margin-bottom: 14px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-sec);
    max-width: 540px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 28px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
    box-shadow: var(--shadow-h);
    transform: translateY(-2px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.65;
}

.security-section {
    background: var(--bg-inverse);
}

.security-section .section-tag {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(240, 240, 240, 0.7);
}

.security-section .section-header h2 {
    color: #f0f0f0;
}

.security-section .section-header p {
    color: rgba(240, 240, 240, 0.55);
}

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

.security-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--r);
    padding: 28px;
}

.security-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #f0f0f0;
}

.security-card-icon svg {
    width: 22px;
    height: 22px;
}

.security-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #f0f0f0;
    margin-bottom: 8px;
}

.security-card p {
    font-size: 14px;
    color: rgba(240, 240, 240, 0.55);
    line-height: 1.65;
}

.split-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.split-text h2 {
    font-size: clamp(28px, 3.2vw, 42px);
    margin-bottom: 18px;
}

.split-text p {
    font-size: 15px;
    color: var(--text-sec);
    line-height: 1.75;
    margin-bottom: 28px;
}

.notif-chips {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notif-chip {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 500;
}

.notif-chip-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-green {
    background: #27ae60;
}

.dot-amber {
    background: #e07a3a;
}

.dot-red {
    background: #e74c3c;
}

.notif-chip-meta {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
}

.pricing-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pricing-wrap {
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.pricing-table thead tr th {
    padding: 0;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}

.pricing-table thead tr th:first-child {
    width: 38%;
}

.pt-header {
    padding: 24px 20px 20px;
    text-align: left;
}

.pt-tier-name {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.pt-price {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 40px;
    line-height: 1;
    color: var(--text);
    margin-bottom: 4px;
}

.pt-period {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.pt-desc {
    font-size: 13px;
    color: var(--text-sec);
    margin-bottom: 20px;
}

.pt-cta {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.18s;
    font-family: inherit;
    border: 1.5px solid var(--border);
    color: var(--text);
    background: transparent;
}

.pt-cta:hover {
    background: var(--bg-secondary);
}

.pt-cta.primary {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.pt-cta.primary:hover {
    background: var(--primary-h);
}

.pt-col-popular {
    background: rgba(52, 120, 240, 0.04);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.pt-popular-badge {
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    padding: 6px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.pricing-table tbody tr td {
    padding: 13px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.pricing-table tbody tr td:first-child {
    color: var(--text-sec);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}


.cell-no {
    color: var(--text-muted);
    text-align: center;
}

.cell-val {
    font-weight: 600;
    color: var(--text);
    text-align: center;
    font-size: 13px;
}


.billing-toggle-wrap {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.billing-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-sec);
    font-family: inherit;
    transition: all 0.18s;
}

.billing-btn-active {
    background: var(--primary);
    color: #ffffff;
}

.billing-save-badge {
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.billing-btn-active .billing-save-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.pt-trial-badge {
    display: inline-block;
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.pricing-note {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

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

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
    box-shadow: var(--shadow-h);
    transform: translateY(-2px);
}

.blog-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-thumb svg {
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    opacity: 0.4;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-intro {
    padding-top: 32px;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.blog-tag {
    display: inline-block;
    padding: 2px 7px;
    background: var(--bg-secondary);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-lang {
    color: var(--text-sec);
}

.blog-card h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.blog-card p {
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.65;
    margin-bottom: 14px;
    flex: 1;
}

.blog-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: auto;
}

.blog-footer {
    text-align: center;
    margin-top: 40px;
}

.download-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.download-inner {
    text-align: center;
}

.download-inner h2 {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 14px;
}

.download-inner p {
    font-size: 17px;
    color: var(--text-sec);
    margin-bottom: 36px;
}

.store-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--bg-inverse);
    color: #f0f0f0;
    border-radius: var(--r-sm);
    text-decoration: none;
    transition: opacity 0.2s;
}

.store-btn:hover {
    opacity: 0.85;
}

.store-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.store-btn-text {
    text-align: left;
}

.store-btn-label {
    font-size: 11px;
    opacity: 0.65;
    display: block;
}

.store-btn-name {
    font-size: 16px;
    font-weight: 600;
    display: block;
}

.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 24px;
}

.footer-brand p {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.65;
    max-width: 220px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    text-decoration: none;
    font-size: 14px;
    color: var(--text-sec);
    transition: color 0.15s;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.post-wrap {
    padding: 48px 0 64px;
}

.post-back {
    display: inline-block;
    font-size: 14px;
    color: var(--text-sec);
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.15s;
}

.post-back:hover {
    color: var(--text);
}

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

.post-header {
    margin-bottom: 40px;
}

.post-header h1 {
    font-size: clamp(28px, 4vw, 44px);
    margin-top: 12px;
    margin-bottom: 16px;
}

.post-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.post-ad {
    margin: 32px 0;
}

.prose {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
}

.prose h1,
.prose h2,
.prose h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    letter-spacing: -0.02em;
    margin-top: 40px;
    margin-bottom: 16px;
}

.prose h1 { font-size: 32px; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 20px; }

.prose p {
    margin-bottom: 20px;
}

.prose a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--r-sm);
    margin: 24px 0;
}

.prose ul,
.prose ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.prose li {
    margin-bottom: 6px;
}

.prose blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 20px;
    margin: 24px 0;
    color: var(--text-sec);
    font-style: italic;
}

.prose code {
    font-family: monospace;
    font-size: 0.9em;
    background: var(--bg-secondary);
    padding: 2px 6px;
    border-radius: 4px;
}

.prose pre {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--r-sm);
    overflow-x: auto;
    margin-bottom: 20px;
}

.prose pre code {
    background: none;
    padding: 0;
}

.prose hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 40px 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    margin-bottom: 24px;
}

.prose th,
.prose td {
    padding: 10px 16px;
    text-align: left;
    border: 1px solid var(--border);
}

.prose th {
    background: var(--bg-secondary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-sec);
}

.blog-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 48px 0;
    font-size: 15px;
}

.page-narrow {
    max-width: 400px;
    width: 100%;
    margin: 30px auto 0;
    padding: 0 24px;
    box-sizing: border-box;
}

.page-narrow p + p {
    margin-top: 20px;
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-inner {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .section {
        padding: 48px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .security-cards {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

.legal-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 0 80px;
}

.legal-page h1 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--text);
}

.legal-page .legal-intro {
    font-size: 1.05rem;
    color: var(--text-sec);
    margin-bottom: 40px;
    border-left: 3px solid var(--primary);
    padding-left: 16px;
}

.legal-page h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 32px 0 10px;
    color: var(--text);
}

.legal-page p {
    color: var(--text-sec);
    line-height: 1.75;
}

.legal-page a {
    color: var(--primary);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}


