/* style.css */

:root {
    --primary: #f97316;
    --primary-hover: #ea580c;
    --primary-soft: #fff7ed;
    --primary-border: #fed7aa;
    --dark: #111827;
    --ink: #1f2937;
    --slate: #64748b;
    --muted: #94a3b8;
    --line: #e2e8f0;
    --light: #f8fafc;
    --white: #ffffff;
    --danger: #dc2626;
    --success: #059669;
    --warn: #d97706;
    --font-main: "Inter", Arial, sans-serif;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-main);
    color: var(--dark);
    background: var(--light);
    line-height: 1.5;
}
body.auth-page, body.form-page, body.status-page {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 48%, #f8fafc 100%);
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.site-logo-img {
    display: block;
    width: auto;
    height: 32px;
    max-width: 180px;
    object-fit: contain;
}
.logo, .lp-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 800;
}

.btn, .submit-btn, .lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 0.92rem;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}
.btn:hover, .submit-btn:hover:not(:disabled), .lp-btn:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn:disabled, .submit-btn:disabled, .lp-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.lp-btn-primary { background: var(--primary); color: var(--white); }
.lp-btn-dark { background: var(--dark); color: var(--white); }
.lp-btn-dark:hover { background: #020617; }
.lp-btn-ghost {
    background: var(--white);
    color: var(--dark);
    border-color: var(--line);
}
.lp-btn-ghost:hover { background: var(--light); }

input[type="text"], input[type="email"], input[type="password"], textarea, select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--dark);
    padding: 11px 13px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.msg {
    display: none;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-top: 12px;
}
.msg.error { display: block; background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.msg.success { display: block; background: #ecfdf5; color: var(--success); border: 1px solid #bbf7d0; }
.hidden, .hide { display: none !important; }

.language-switcher {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 60;
}
.language-switcher .lp-language-select { min-width: 160px; }
.link-muted {
    color: var(--slate);
    font-size: 0.86rem;
    font-weight: 700;
}
.link-muted:hover { color: var(--primary); }
.full-width { width: 100%; }
.form-stack { display: grid; gap: 16px; margin-top: 22px; text-align: left; }
.form-footer { margin-top: 16px; text-align: center; }
.button-icon { margin-left: 8px; }
.btn-dark { background: var(--dark); }
.btn-dark:hover { background: #020617; }
.page-card-header {
    display: grid;
    gap: 10px;
    justify-items: center;
    margin-bottom: 24px;
    text-align: center;
}
.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 800;
}
.brand-mark svg { width: 32px; height: 32px; }
.page-card-title {
    margin: 0;
    color: #0f172a;
    font-size: 1.55rem;
    line-height: 1.15;
}
.page-card-desc {
    margin: 0;
    color: var(--slate);
    font-size: 0.92rem;
}

/* Landing */
.landing-page { background: #ffffff; }
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 72px;
    padding: 0 6%;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}
.lp-nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}
.lp-nav-link {
    color: var(--ink);
    font-weight: 700;
    font-size: 0.92rem;
    white-space: nowrap;
}
.lp-language-select {
    width: auto;
    min-width: 170px;
    height: 42px;
    padding: 0 34px 0 12px;
    color: var(--ink);
}

.lp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
    gap: 56px;
    align-items: center;
    padding: 58px 6% 50px;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 62%);
}
.lp-hero-copy { max-width: 680px; }
.lp-eyebrow {
    margin: 0 0 10px;
    color: var(--primary-hover);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.lp-hero h1 {
    margin: 0;
    max-width: 720px;
    color: #0f172a;
    font-size: 3.9rem;
    line-height: 1;
    letter-spacing: 0;
}
.lp-hero h1 span { display: block; }
.lp-hero-desc {
    margin: 20px 0 26px;
    max-width: 590px;
    color: #475569;
    font-size: 1.08rem;
}
.lp-hero-actions, .try-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.lp-preview { display: flex; justify-content: center; }
.lp-preview-shell {
    width: min(480px, 100%);
    overflow: visible;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}
.lp-preview-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.lp-section {
    padding: 58px 6%;
}
.lp-section-head {
    max-width: 760px;
    margin: 0 auto 26px;
    text-align: center;
}
.lp-section-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: 2rem;
    line-height: 1.15;
}
.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 1080px;
    margin: 0 auto;
}
.lp-feature-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.lp-feature-card h3 { margin: 0 0 8px; font-size: 1rem; }
.lp-feature-card p { margin: 0; color: var(--slate); font-size: 0.92rem; }

.try-section { padding-top: 20px; padding-bottom: 20px; background: #f8fafc; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.try-simple {
    display: grid;
    justify-items: center;
    gap: 16px;
    max-width: 560px;
    margin: 0 auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    text-align: center;
}
.try-simple h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.45rem;
    line-height: 1.18;
}
.try-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: 26px;
    max-width: 1180px;
    margin: 0 auto;
}
.try-copy {
    align-self: start;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}
.try-copy h2 { margin: 0 0 10px; font-size: 1.72rem; line-height: 1.18; }
.try-copy p { color: var(--slate); }
.try-form {
    display: grid;
    justify-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 0;
}
.try-upload-button {
    justify-self: center;
    justify-content: center;
    min-width: 220px;
    cursor: pointer;
}
.try-upload-button input { display: none; }
.try-upload-button.dragging,
.try-upload-button.is-working {
    filter: brightness(0.96);
}
.try-dropzone {
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1.5px dashed #cbd5e1;
    border-radius: 8px;
    background: #fff;
}
.try-dropzone input { display: none; }
.try-drop-title { color: var(--dark); font-weight: 800; }
.try-drop-desc { color: var(--slate); font-size: 0.85rem; }
.try-status, .try-quota {
    width: 100%;
    min-height: 20px;
    margin: 0;
    color: var(--slate);
    font-size: 0.88rem;
    text-align: center;
}
.try-status.success { color: var(--success); }
.try-status.error { color: var(--danger); }
.try-controls[hidden] { display: none !important; }
.try-result-panel {
    display: grid;
    justify-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 6px;
    text-align: center;
}
.try-result-panel[hidden] { display: none !important; }
.try-result-panel h3 {
    margin: 0;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 800;
}
.try-result-panel img {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f1f5f9;
}
.try-result-panel img[hidden] { display: none !important; }
.try-actions {
    display: flex;
    justify-content: center;
    width: 100%;
}
.try-actions[hidden] { display: none !important; }
.try-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.try-preview-card, .try-text-panel {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
}
.try-preview-card figcaption, .try-text-panel h3 {
    margin: 0;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 800;
}
.try-image-box {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 360px;
    background: #f1f5f9;
}
.try-image-box img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: contain;
}
.try-image-box img[hidden] { display: none !important; }
.try-image-box span { color: var(--muted); font-size: 0.9rem; }
.try-text-panel {
    grid-column: 1 / -1;
}
.try-text-list { display: grid; gap: 8px; padding: 14px; }
.try-text-row {
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--slate);
    font-size: 0.85rem;
}
.try-text-row strong { color: var(--dark); font-size: 0.92rem; }
.try-text-empty { color: var(--muted); font-size: 0.88rem; }

.lp-pricing { background: #ffffff; }
.lp-period-toggle {
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: 0 auto 22px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f8fafc;
}
.lp-period-toggle-btn {
    min-width: 104px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--slate);
    padding: 8px 12px;
    font-weight: 800;
}
.lp-period-toggle-btn.active {
    background: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}
.lp-price-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 14px;
    max-width: 1180px;
    margin: 0 auto;
}
.lp-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 360px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.lp-plan.popular-v2 {
    border-color: var(--primary);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.12);
}
.lp-plan.current-plan { border-color: var(--success); }
.lp-plan-title {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 1.08rem;
    font-weight: 800;
}
.lp-plan-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.68rem;
    font-weight: 800;
}
.badge-popular { background: var(--primary-soft); color: var(--primary-hover); }
.badge-heavy { background: #fef3c7; color: #92400e; }
.badge-current { background: #ecfdf5; color: var(--success); }
.lp-free-price, .lp-price-main {
    color: #0f172a;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
}
.lp-price-unit { color: var(--slate); font-size: 0.86rem; font-weight: 700; }
.lp-price-note {
    min-height: 24px;
    margin: 4px 0 14px;
    color: var(--slate);
    font-size: 0.86rem;
}
.lp-save-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: #ecfdf5;
    color: var(--success);
    font-size: 0.68rem;
    font-weight: 800;
}
.lp-plan-feature-list {
    display: grid;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    color: #475569;
    font-size: 0.84rem;
}
.lp-plan-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.lp-plan-feature-list li::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    margin-top: 8px;
    border-radius: 999px;
    background: var(--primary);
}
.lp-free-options {
    display: grid;
    margin-bottom: 18px;
}
.lp-free-option-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: lowercase;
}
.lp-free-option-divider::before,
.lp-free-option-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}
.lp-free-option {
    padding: 0;
    background: var(--white);
}
.lp-free-option-optional {
    margin-top: 0;
}
.lp-free-option-title {
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 800;
}
.lp-free-option .lp-plan-feature-list {
    gap: 6px;
    margin: 8px 0 0;
}
.lp-plan-cta {
    width: 100%;
    margin-top: auto;
    padding: 11px 12px;
    border: 0;
    border-radius: 10px;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    text-align: center;
}
.lp-plan > [id^="cta-"] {
    width: 100%;
    margin-top: auto;
}
.lp-plan > [id^="cta-"] .lp-plan-cta {
    display: block;
}
.lp-plan-cta:hover:not(:disabled) { background: var(--primary-hover); }
.lp-cta-free { background: #475569; }
.lp-cta-current { background: #ecfdf5; color: var(--success); }
.lp-cta-blocked { background: #f1f5f9; color: var(--muted); }

.lp-qa {
    border-top: 1px solid var(--line);
    background: #f8fafc;
}
.lp-qa-list {
    display: grid;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
}
.lp-qa-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.lp-qa-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 62px;
    padding: 18px 20px;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
}
.lp-qa-item summary::-webkit-details-marker { display: none; }
.lp-qa-icon {
    position: relative;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}
.lp-qa-icon::before,
.lp-qa-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, opacity 0.18s ease;
}
.lp-qa-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.lp-qa-item[open] .lp-qa-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
}
.lp-qa-answer {
    padding: 0 20px 20px;
    color: var(--slate);
    font-size: 0.94rem;
}
.lp-qa-answer p {
    margin: 10px 0 0;
}
.lp-qa-answer a {
    color: var(--primary-hover);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lp-footer {
    display: grid;
    gap: 12px;
    justify-items: center;
    padding: 34px 6%;
    border-top: 1px solid var(--line);
    color: var(--slate);
    font-size: 0.88rem;
}
.lp-footer p { margin: 0; }
.lp-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.lp-footer-links button {
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
}
.lp-footer-links a:hover, .lp-footer-links button:hover { color: var(--primary); }
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    padding: 24px;
    background: rgba(15, 23, 42, 0.62);
}
.modal.is-open { display: grid; place-items: center; }
.modal-content {
    position: relative;
    width: min(760px, 100%);
    max-height: 82vh;
    overflow: auto;
    padding: 30px;
    border-radius: 8px;
    background: var(--white);
}
.close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    border: 0;
    background: transparent;
    color: var(--slate);
    font-size: 1.8rem;
    line-height: 1;
}

/* Auth and account pages */
.auth-container {
    width: min(430px, calc(100% - 32px));
    margin: auto;
    padding: 24px 0;
}
.auth-container.flush { padding: 0; }
.auth-container .card, .auth-container > .card, .auth-container > div:not(.hide) {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}
.auth-container .card { padding: 34px; text-align: center; }
.auth-container .btn, .auth-container .submit-btn { width: 100%; }
.auth-container .logo { margin-bottom: 26px; }
.auth-container .site-logo-img { height: 40px; margin: 0 auto; }
.subtitle { color: var(--slate); font-size: 0.92rem; }
.form-group, .field-group { margin-bottom: 14px; text-align: left; }
label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 0.86rem; font-weight: 700; }
.btn-google {
    width: 100%;
    background: var(--white);
    color: var(--dark);
    border-color: var(--line);
}
.btn-google:hover { background: var(--light); }
.btn-google svg { width: 20px; height: 20px; margin-right: 10px; }
.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
    color: var(--muted);
    font-size: 0.84rem;
}
.divider::before, .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}
.toggle-text { margin-top: 18px; color: var(--slate); font-size: 0.9rem; }
.toggle-link, .btn-text { color: var(--primary); font-weight: 800; }
.toggle-link { cursor: pointer; }
.success-view { display: none; }
.success-icon, .icon-box {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #ecfdf5;
    color: var(--success);
}
.success-copy {
    margin: 0 0 14px;
    color: var(--slate);
    font-size: 0.92rem;
}
.input-wrapper { position: relative; }
.toggle-pw {
    position: absolute;
    top: 50%;
    right: 10px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--slate);
}
.toggle-pw:hover { background: var(--light); color: var(--dark); }
.toggle-pw svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reset-state {
    display: grid;
    gap: 10px;
    justify-items: center;
    padding: 18px 0;
    text-align: center;
}
.reset-state .spinner { width: 24px; height: 24px; margin: 0; border-top-color: var(--primary); border-color: rgba(249, 115, 22, 0.24); border-top-color: var(--primary); }
.result-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ecfdf5;
    color: var(--success);
}
.result-icon svg { width: 30px; height: 30px; }
.result-title { margin: 0; color: var(--dark); font-size: 1.15rem; }
.result-desc { margin: 0; color: var(--slate); font-size: 0.9rem; }
.icon-box.warn { background: #fffbeb; color: var(--warn); }

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 70px;
    padding: 0 6%;
    border-bottom: 1px solid var(--line);
    background: var(--white);
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.account-container {
    width: min(880px, calc(100% - 32px));
    margin: 36px auto;
}
.page-title { margin: 0 0 22px; font-size: 1.8rem; }
.card {
    width: 100%;
    margin: 18px 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.section-header { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-title { color: var(--dark); font-size: 1.05rem; font-weight: 800; }
.section-desc { color: var(--slate); font-size: 0.9rem; }
.info-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid #f1f5f9;
}
.info-label { width: 120px; color: var(--slate); font-size: 0.9rem; }
.info-value { flex: 1; color: var(--dark); font-weight: 700; }
.btn-outline {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    padding: 8px 13px;
    font-weight: 800;
}
.btn-text {
    border: 0;
    background: transparent;
    padding: 0;
}
.sync-card {
    display: none;
    padding: 18px;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    background: #f0f9ff;
}
.sync-content { display: flex; align-items: center; gap: 14px; }
.sync-icon { flex: 0 0 auto; color: #0284c7; }
.sync-title { margin: 0 0 2px; color: #0c4a6e; font-size: 1rem; font-weight: 800; }
.sync-desc { margin: 0; color: #0369a1; font-size: 0.9rem; }
.account-billing-copy {
    margin: 0 0 18px;
    color: var(--slate);
    font-size: 0.94rem;
}
.nav-email {
    color: var(--slate);
    font-size: 0.88rem;
    font-weight: 700;
}

/* Status pages */
.status-container, .container {
    width: min(560px, calc(100% - 32px));
    margin: auto;
    padding: 44px 28px;
    text-align: center;
}
.status-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}
.status-card h1 { margin: 0 0 10px; font-size: 1.75rem; }
.status-card p { margin: 0 0 20px; color: var(--slate); }

/* Support and feedback pages */
.support-shell, .feedback-container {
    width: min(520px, calc(100% - 32px));
    margin: auto;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}
.support-shell, .feedback-container { text-align: center; }
.support-shell form, .feedback-container form { text-align: left; }
.debug-box {
    display: grid;
    gap: 8px;
    margin: 20px 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--light);
    text-align: left;
    font-size: 0.78rem;
}
.debug-box p { margin: 0; overflow-wrap: anywhere; }
.debug-info-label { color: var(--slate); font-weight: 800; }
.debug-info-value { color: var(--dark); }
.support-status, .success-msg, .error-msg {
    display: none;
    margin-top: 12px;
    text-align: center;
    font-size: 0.88rem;
}
.support-status.success, .success-msg { color: var(--success); }
.support-status.error, .error-msg { color: var(--danger); }
.radio-group { display: grid; gap: 8px; margin: 18px 0; }
.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
}
.radio-label input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--primary);
}
.textarea-box { min-height: 120px; }
.feedback-title {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 1.55rem;
    line-height: 1.16;
}
.feedback-desc {
    margin: 0 0 20px;
    color: var(--slate);
    font-size: 0.92rem;
}

@media (max-width: 1050px) {
    .lp-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-hero { grid-template-columns: 1fr; gap: 34px; }
    .lp-preview { justify-content: flex-start; }
}
@media (max-width: 760px) {
    .lp-nav { align-items: center; flex-wrap: wrap; min-height: auto; padding: 12px 5%; }
    .lp-nav-actions { flex: 1 1 220px; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
    .lp-nav-language { min-width: 140px; max-width: 150px; height: 38px; }
    .lp-nav .lp-btn { min-height: 38px; padding: 9px 12px; font-size: 0.84rem; }
    .lp-nav-link { font-size: 0.86rem; }
    .lp-hero { padding: 40px 5%; }
    .lp-hero h1 { font-size: 2.6rem; }
    .lp-section { padding: 20px 5%; }
    .lp-feature-grid, .try-layout, .try-preview-grid, .lp-price-grid { grid-template-columns: 1fr; }
    .try-image-box { min-height: 260px; }
    .lp-period-toggle { width: 100%; }
    .lp-period-toggle-btn { min-width: 0; flex: 1; }
    .navbar { flex-direction: column; align-items: flex-start; padding: 14px 5%; }
    .nav-right { flex-wrap: wrap; }
    .info-row { align-items: flex-start; flex-direction: column; gap: 6px; }
    .info-label { width: auto; }
    .language-switcher {
        position: static;
        align-self: flex-end;
        margin-bottom: 12px;
    }
    body.auth-page, body.form-page, body.status-page {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px;
    }
}
