:root {
    --blue-main: #4361EE;
    --blue-dark: #3A0CA3;
    --blue-light: #1f95b8;
    --purple: #7209B7;
    --pink: #F72585;
    --green: #4ADE80;
    --gray-900: #1E293B;
    --gray-600: #64748B;
    --gray-100: #F1F5F9;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

.hidden {
    display: none !important;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f8fafc;
    color: var(--gray-900);
    line-height: 1.6;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--blue-dark);
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
    background: #fff;
    padding: 4px;
}

.btn {
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 18px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background: var(--blue-main);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--purple);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(67, 97, 238, 0.4);
    color: var(--blue-main);
}

.btn-text {
    background: none;
    color: var(--blue-main);
    border: none;
    font-weight: 600;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.link {
    color: var(--blue-main);
    text-decoration: none;
    font-size: 0.85rem;
    justify-self: flex-end;
}

.btn.w-100 {
    width: 100%;
}

.auth-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    min-height: 100vh;
    align-items: stretch;
}

.auth-card {
    padding: 72px 80px 64px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.auth-card > *:not(:first-child) {
    margin-top: 24px;
}

.auth-card > h2 {
    margin: 0;
}

.auth-card > .subtitle {
    margin: 8px 0 0;
}

.brand {
    display: flex;
    gap: 16px;
    align-items: center;
}

.logo-circle {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background: var(--blue-light);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-title {
    margin: 0;
    font-weight: 600;
}

.brand-subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.auth-illustration {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.35), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(244, 63, 94, 0.3), transparent 45%),
        linear-gradient(135deg, #0f172a, #1d4ed8 50%, #4c1d95);
    color: #fff;
    padding: 72px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    height: 100%;
    align-self: stretch;
}

.auth-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.25), transparent 60%);
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-gradient-logo {
    max-width: 320px;
    width: 50%;
    min-width: 160px;
    pointer-events: none;
}

.auth-gradient-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(15, 23, 42, 0.5));
    opacity: 0.9;
}

.auth-copy {
    position: relative;
    max-width: 440px;
}

.subtitle {
    color: var(--gray-600);
    margin-top: 0;
    margin-bottom: 24px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    color: var(--blue-light);
    margin-bottom: 12px;
}

.cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

form.form-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.branding-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.branding-preview img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: contain;
    background: #f0f4ff;
    padding: 4px;
}

label span {
    font-size: 0.875rem;
    color: var(--gray-600);
}

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

.gap-8 {
    gap: 8px;
}

.full-width {
    width: 100%;
}

.inline-control {
    display: flex;
    gap: 8px;
    align-items: center;
}

.inline-control input {
    flex: 1;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.chip-muted {
    background: rgba(100, 116, 139, 0.12);
    color: var(--gray-600);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    display: inline-block;
}

.status-dot.online {
    background: #22c55e;
}

.status-dot.offline {
    background: #9ca3af;
}

.guides {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.guide-card {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--radius-lg);
    padding: 16px;
    background: #fdfdff;
}

.guide-card h3 {
    margin-top: 0;
}

.guide-card ol {
    padding-left: 20px;
    margin: 0 0 12px;
}

.guide-card ul {
    margin: 6px 0 12px;
    padding-left: 18px;
}

.format-overview {
    margin-top: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px dashed rgba(67, 97, 238, 0.3);
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    background: rgba(67, 97, 238, 0.03);
}

.placeholder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.placeholder-tags .chip {
    background: rgba(67, 97, 238, 0.1);
    color: var(--blue-dark);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    font-size: 1rem;
    resize: vertical;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.phone-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.phone-input-group select {
    max-width: 180px;
}

.help-textarea {
    min-height: 160px;
    line-height: 1.5;
}

.auth-switch {
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.card-stack {
    display: grid;
    gap: 24px;
}

.card {
    padding: 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.table-card {
    padding: 32px 32px 28px;
}

.table-card .table-responsive {
    margin-top: 12px;
}

.table-card .pager {
    margin-top: 20px;
}

.order-card {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card .config-form {
    margin: 0;
}

.order-card #product-summary {
    margin-top: -4px;
}

.price-list-page {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.price-hero-card {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.price-hero-card .seo-snippet {
    margin-top: 8px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: rgba(67, 97, 238, 0.08);
}

.price-filter-card {
    margin-bottom: 0;
    padding: 32px;
}

.price-category-card {
    padding: 32px 34px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-category-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.price-operator-block {
    border-top: 1px dashed #e2e8f0;
    padding-top: 16px;
    margin-top: 16px;
}

.price-operator-block:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.price-operator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.responsive-table-wrapper {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th,
.price-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    font-size: 0.95rem;
}

.price-table th.text-right,
.price-table td.text-right {
    text-align: right;
}

.price-empty-card {
    padding: 32px;
}

.price-pager {
    margin-top: -8px;
}

.seo-highlight {
    padding: 32px;
    background: rgba(67, 97, 238, 0.08);
}

.seo-highlight ul {
    margin-top: 12px;
    padding-left: 20px;
}

.help-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.help-page .section {
    padding: 48px 0;
}

.help-hero-card {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.help-hero-card .help-search form {
    margin: 0;
    max-width: 100%;
}

.help-hero-card .help-topics {
    display: flex;
    gap: 32px;
    justify-content: space-between;
    align-items: flex-start;
}

.help-hero-card .help-topic-grid {
    margin: 0;
    justify-content: center;
}

.help-support-card {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.help-support-card .card-header {
    align-items: flex-start;
}

.help-support-grid {
    margin: 0;
}

.support-contact-card {
    padding: 28px;
}

.help-support-card .caption {
    color: var(--gray-600);
}


.card h3 {
    margin-top: 0;
}

.caption {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.muted {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.otp-form {
    margin-top: 16px;
}

.otp-inputs input {
    font-size: 2rem;
    text-align: center;
    padding: 12px;
    letter-spacing: 16px;
}

.alert {
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.alert-danger {
    background: rgba(247, 37, 133, 0.1);
    color: var(--pink);
}

.alert-success {
    background: rgba(74, 222, 128, 0.1);
    color: var(--green);
}

.alert-info {
    background: rgba(76, 201, 240, 0.1);
    color: var(--blue-main);
}

.password-meter {
    margin-top: 8px;
    background: #e2e8f0;
    border-radius: 9999px;
    height: 6px;
    position: relative;
}

.password-meter .meter-bar {
    position: absolute;
    inset: 0;
    width: 0;
    border-radius: 9999px;
    background: var(--pink);
    transition: width 0.3s ease;
}

.password-meter + [data-meter-label] {
    display: block;
    margin-top: 4px;
    color: var(--gray-600);
}

.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.08);
}

.app-nav a {
    margin-right: 16px;
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
}

.app-main {
    flex: 1;
    padding: 48px clamp(32px, 4vw, 72px) 64px;
    width: min(1280px, 100%);
    margin: 0 auto;
}

.filter-card {
    margin-bottom: 32px;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.filter-bar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filter-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.filter-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.filter-bar label {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.filter-bar select,
.filter-bar input[type="text"] {
    margin-top: 6px;
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.15);
    padding: 10px 12px;
}

.grid-4,
.grid-3 {
    display: grid;
    gap: 24px;
}

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

.dashboard-section:last-of-type {
    margin-bottom: 0;
}

.dashboard-section.card {
    padding: 40px;
}

.dashboard-section.card .dashboard-header {
    margin-bottom: 28px;
}

.user-dashboard-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: start;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.08), rgba(114, 9, 183, 0.08));
    border: none;
}

.hero-welcome h2 {
    margin-top: 8px;
    margin-bottom: 12px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    min-width: 0;
}

.hero-metric-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

/* Dashboard metrics use .metric-card in the view */
.metric-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    min-width: 0;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 6px;
    overflow-wrap: anywhere;
}

.metric-value {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    overflow-wrap: anywhere;
}

.dashboard-metrics .stat-card {
    min-height: 170px;
}

.empty-state {
    padding: 32px;
    text-align: center;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(148, 163, 184, 0.6);
    color: var(--gray-600);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.full-width {
    grid-column: 1 / -1;
}

.settings-form label span {
    display: block;
    margin-bottom: 6px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.stat-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card {
    background: #fff;
    color: var(--gray-900);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.page-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tab-button {
    border: 1px solid rgba(67, 97, 238, 0.3);
    background: transparent;
    color: var(--blue-main);
    border-radius: 999px;
    padding: 6px 16px;
    cursor: pointer;
    font-weight: 500;
}

.tab-button.active {
    background: var(--blue-main);
    color: #fff;
}
.operator-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.filters-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.operator-tabs.hidden {
    display: none;
}
.operator-button {
    border: 1px solid rgba(67, 97, 238, 0.2);
    background: rgba(67, 97, 238, 0.05);
    color: var(--blue-dark);
    border-radius: 999px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 0.85rem;
}
.operator-button.active {
    background: var(--purple);
    color: #fff;
    border-color: transparent;
}

.product-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.product-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--blue-main);
    letter-spacing: 0.2em;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
}

.product-actions {
    margin-top: 16px;
}

.manual-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(114, 9, 183, 0.15);
    color: #581c87;
}

.manual-note {
    margin-top: 6px;
    border-left: 3px solid rgba(114, 9, 183, 0.4);
    padding-left: 10px;
}

.checkout-flow {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.progress-card {
    background: linear-gradient(90deg, rgba(67, 97, 238, 0.12), rgba(114, 9, 183, 0.12));
}

.progress-steps {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 16px;
    margin: 16px 0 0;
}

.progress-steps li {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.progress-steps .done {
    background: rgba(74, 222, 128, 0.2);
    color: var(--green);
}

.progress-steps .active {
    border: 1px solid var(--blue-main);
}

.summary-card .summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 8px;
    font-size: 0.95rem;
}

.total-box {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-card ul {
    margin: 0;
    padding-left: 18px;
}

.note-box {
    margin-top: 16px;
    background: var(--gray-100);
    padding: 16px;
    border-radius: var(--radius-md);
}

.product-summary {
    margin: 8px 0 16px;
    font-size: 0.9rem;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: var(--gray-100);
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.product-summary .summary-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray-600);
    margin-bottom: 2px;
}

.cards-stack {
    align-items: stretch;
}

.card:hover,
.stat-card:hover,
.product-card:hover,
.template-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.15);
}

.gradient-card {
    background: linear-gradient(135deg, var(--blue-dark), var(--pink));
    color: #fff;
}

@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 16px 12px;
        gap: 12px;
    }

    .app-nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .app-nav a {
        margin-right: 0;
        padding: 6px 10px;
        border-radius: 999px;
        background: #f1f5f9;
        font-size: 0.85rem;
    }

    /* Dashboard mobile tweaks */
    .dashboard-section {
        margin-bottom: 24px;
    }

    .dashboard-section.card {
        padding: 18px;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .user-dashboard-hero {
        gap: 18px;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metric-card {
        padding: 14px;
        min-height: 0;
    }

    .metric-label {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }

    .metric-value {
        font-size: 1.15rem;
        line-height: 1.2;
        word-break: break-word;
    }

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

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

    .category-tabs,
    .operator-tabs {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .category-tabs::-webkit-scrollbar,
    .operator-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-button,
    .operator-button {
        white-space: nowrap;
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .tab-button {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .landing-home .landing-header {
        gap: 12px;
    }

    .landing-menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        position: fixed;
        top: 12px;
        right: 16px;
        z-index: 50;
    }

    .landing-home .landing-header .landing-nav {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.82);
        backdrop-filter: blur(10px);
        padding: 72px 24px 24px;
        flex-direction: column;
        gap: 12px;
        z-index: 40;
        overflow-y: auto;
    }

    .landing-nav-toggle:checked + .landing-menu-toggle + .landing-nav {
        display: flex !important;
    }

    .landing-menu-close {
        display: inline-flex;
        justify-content: flex-end;
        color: #e2e8f0;
        font-weight: 600;
        margin-bottom: 8px;
        cursor: pointer;
    }

    .landing-home .landing-nav a {
        padding: 10px 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(148, 163, 184, 0.35);
        font-size: 0.95rem;
        color: #0f172a;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    }

    .landing-home .landing-nav .cta-group {
        width: 100%;
        gap: 8px;
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-top: 4px;
    }

    .landing-nav a,
    .landing-nav .cta-group a {
        width: 100%;
        text-align: center;
    }

    .app-main {
        padding: 24px 16px 48px;
        width: 100%;
        margin: 0;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-card {
        padding: 24px;
    }

    .price-hero-card,
    .price-filter-card,
    .price-category-card,
    .seo-highlight,
    .help-hero-card,
    .help-support-card,
    .support-contact-card {
        padding: 24px;
    }

    .help-hero-card .help-topics {
        flex-direction: column;
    }

    .status-page .status-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .status-metrics {
        flex-direction: column;
        width: 100%;
    }

    .floating-nav {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        bottom: 12px;
        width: calc(100% - 24px);
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .floating-nav a {
        color: #0f172a;
        border-radius: 14px;
        padding: 8px 12px 8px 26px;
        border: 1px solid rgba(148, 163, 184, 0.3);
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
    }

    .floating-nav a::after {
        display: none;
    }
}

@media (min-width: 769px) {
    .floating-nav {
        bottom: 22px;
        width: min(720px, calc(100% - 80px));
        gap: 10px;
    }

    .floating-nav a {
        color: #f8fafc;
        border: 1px solid rgba(255, 255, 255, 0.3);
        background: rgba(15, 23, 42, 0.28);
        backdrop-filter: blur(16px);
        box-shadow: 0 15px 30px rgba(15, 23, 42, 0.18);
    }

    .floating-nav a::after {
        display: block;
    }
}

.form-card {
    background: #fff;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-success {
    background: rgba(74, 222, 128, 0.15);
    color: var(--green);
}

.status-pending,
.status-processing {
    background: rgba(249, 210, 117, 0.2);
    color: #b45309;
}

.status-manual {
    background: rgba(59, 130, 246, 0.18);
    color: #1d4ed8;
}

.status-failed {
    background: rgba(247, 37, 133, 0.15);
    color: var(--pink);
}

.landing {
    min-height: 100vh;
    padding: 24px 48px 48px;
    position: relative;
    overflow: hidden;
}

.landing-home {
    overflow: visible;
}

.landing::before,
.landing::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.2), transparent 70%);
    z-index: 0;
}

.landing::before {
    top: 10%;
    right: 5%;
}

.landing::after {
    bottom: 15%;
    left: 0;
}

.landing-home {
    padding: 40px clamp(28px, 6vw, 104px) 96px;
}

.landing-home .landing-header {
    padding-bottom: 36px;
    gap: 28px;
}

.landing-home .landing-header nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.landing-home .landing-header nav a {
    margin-right: 0;
    font-weight: 600;
    color: var(--gray-600);
}

.landing-home .landing-header .cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 8px;
}

.landing-home .landing-header .cta-group .btn-ghost {
    background: transparent;
    border: 1px solid rgba(67, 97, 238, 0.35);
    color: #1e2a5a;
    box-shadow: none;
}

.landing-home .landing-header .cta-group .btn-primary {
    background: linear-gradient(135deg, #4f46e5, #4361ee);
    color: #fff;
    box-shadow: 0 14px 28px rgba(79, 70, 229, 0.22);
}

.landing-home .section {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding: 68px 0;
}

.landing-home .section + .section {
    margin-top: 32px;
}

.landing-home .landing-hero {
    gap: 56px;
    padding: 84px 0 72px;
}

.landing-home .landing-hero > *:first-child {
    margin-right: 80px;
}

.landing-home .feature-grid {
    margin-top: 44px;
}

.landing-home .feature-card,
.landing-home .floating-card,
.landing-home .workflow,
.landing-home .trust,
.landing-home .testimonials .testimonial-card,
.landing-home .cta-final {
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.landing-home .feature-card {
    padding: 28px;
    background: #fff;
}

.landing-home .workflow {
    padding: 64px 72px;
    margin-top: 32px;
}

.landing-home .trust {
    padding: 52px;
}

.landing-home .cta-final {
    text-align: center;
    padding: 64px;
}

.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
}

.landing-nav-toggle {
    display: none;
}

.landing-menu-toggle {
    display: none;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #fff;
    color: var(--gray-700);
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.landing-menu-close {
    display: none;
}

.landing-header nav a {
    margin-right: 16px;
    text-decoration: none;
    color: var(--gray-600);
}

.help-hero {
    padding-bottom: 32px;
}

.help-search form {
    background: #fff;
    border-radius: 999px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    max-width: 720px;
    margin: 0 auto 32px;
}

.help-search input {
    border: none;
    flex: 1;
    font-size: 1rem;
    outline: none;
}

.help-topics h2 {
    margin-top: 4px;
    margin-bottom: 6px;
}

.help-topic-grid {
    margin: 24px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.topic-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    align-items: center;
    max-width: 320px;
    margin: 0 auto;
}

.topic-icon {
    font-size: 0;
}

.topic-card h3 {
    margin: 0;
}

.topic-link {
    color: var(--blue-main);
    font-weight: 600;
    text-decoration: none;
    align-self: center;
}

.status-page .status-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
}

.status-metrics {
    display: flex;
    gap: 24px;
}

.status-metrics h3 {
    margin: 0;
    font-size: 1.25rem;
}

.status-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.status-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.status-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-chip.status-operational {
    background: #ecfdf5;
    color: #047857;
}

.status-chip.status-degraded {
    background: #fff7ed;
    color: #c2410c;
}

.status-chip.status-maintenance {
    background: #fef3c7;
    color: #b45309;
}

.status-bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(4px, 1fr));
    gap: 4px;
    align-items: flex-end;
    min-height: 50px;
}

.status-bar .bar {
    display: block;
    width: 100%;
    border-radius: 3px 3px 0 0;
}

.status-bar .bar-perfect {
    background: #16a34a;
}

.status-bar .bar-healthy {
    background: #4ade80;
}

.status-bar .bar-degraded {
    background: #f97316;
}

.status-bar .bar-outage {
    background: #ef4444;
}

.status-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #475467;
}

.status-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.status-legend .legend-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 12px 20px;
    border-radius: 999px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.05);
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
}

.status-legend .bar {
    width: 22px;
    height: 14px;
    border-radius: 4px;
    box-shadow: inset 0 0 6px rgba(15, 23, 42, 0.15);
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
    gap: 40px;
    padding: 64px 0;
    position: relative;
    z-index: 1;
}

.landing-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    padding: 64px 0;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.75rem;
    margin-bottom: 16px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.hero-stats h3 {
    margin: 4px 0 0;
    font-size: 1.5rem;
}

.hero-visual {
    display: grid;
    gap: 16px;
}

.hero-media {
    display: grid;
    gap: 24px;
}

.floating-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.floating-card.delay {
    animation-delay: 2s;
}

.floating-card h4 {
    margin: 4px 0;
}

.floating-card .caption {
    margin-top: 4px;
}

.floating-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    color: #fff;
}

.floating-icon-wa {
    background: #22c55e;
}

.floating-icon-pay {
    background: #f97316;
}

.floating-icon-prod {
    background: #3b82f6;
}

.feature-grid {
    margin-top: 32px;
}

.feature-card {
    padding: 24px;
    background: rgba(67, 97, 238, 0.08);
    border-radius: var(--radius-lg);
}

.section {
    padding: 64px 0;
}
.price-list .section {
    padding: 40px 0;
}
.price-hero {
    padding-bottom: 32px;
    max-width: 900px;
    margin: 0 auto 32px;
}
.price-hero h1 {
    font-size: 2rem;
    margin: 8px 0 16px;
}
.price-hero p {
    max-width: 760px;
    margin: 0;
}
.price-hero .seo-snippet {
    margin-top: 24px;
    padding: 20px;
    background: rgba(67, 97, 238, 0.08);
    border-radius: var(--radius-lg);
}
.price-hero .seo-snippet h2 {
    margin-bottom: 12px;
}
.price-hero .seo-snippet ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.workflow {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 64px;
    box-shadow: var(--shadow-md);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.timeline-item {
    background: var(--gray-100);
    padding: 24px;
    border-radius: var(--radius-md);
    position: relative;
}

.timeline-item span {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--blue-main);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 600;
}

.trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.partner-logos div {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px;
    text-align: center;
    border-radius: var(--radius-md);
    background: rgba(67, 97, 238, 0.1);
    font-weight: 600;
}

.partner-chip {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: var(--blue-dark);
}

.testimonials .grid-3 {
    margin-top: 32px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-rotator {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.testimonial-author {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.faq .accordion {
    max-width: 720px;
    margin: 32px auto 0;
}

.accordion-item {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-item input {
    display: none;
}

.accordion-item label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    font-weight: 600;
    cursor: pointer;
}

.accordion-item p {
    padding: 0 20px 16px;
    margin: 0;
    display: none;
}

.accordion-item input:checked ~ p {
    display: block;
}

.footer-seo {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.faq-article {
    margin-bottom: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(241, 245, 249, 0.8);
}

.faq-article h3 {
    margin-top: 0;
}

.faq-article ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.cta-final {
    text-align: center;
    background: linear-gradient(135deg, var(--blue-main), var(--purple));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
}

.cta-group.inverted {
    justify-content: center;
}

.cta-group.inverted .btn-outline {
    background: #fff;
    color: var(--blue-dark);
    border: none;
    box-shadow: none;
}

.btn-light {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.landing-footer {
    margin-top: 48px;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding: 40px 0 24px;
    text-align: center;
    color: var(--gray-600);
    }

    .landing-home .landing-footer {
        margin-top: 64px;
    }

.floating-nav {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 18px;
    z-index: 30;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: min(640px, calc(100% - 32px));
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.floating-nav a {
    position: relative;
    padding: 10px 14px 10px 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    text-decoration: none;
    color: #f8fafc;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    background: rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
    text-align: left;
}

.floating-nav a::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #60a5fa;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.6);
}

.floating-nav a:hover {
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.6);
    background: rgba(15, 23, 42, 0.42);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-bottom: 16px;
}

.footer-columns a {
    display: block;
    margin-top: 6px;
    color: var(--gray-600);
}

.glass-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(67, 97, 238, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    font-weight: 600;
}

.landing-footer p {
    margin: 0;
    color: var(--gray-500);
}

.auth-footer {
    margin-top: 0;
}

.steps {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 24px;
    counter-reset: step;
}

.steps li {
    flex: 1;
    background: var(--gray-100);
    padding: 16px;
    border-radius: var(--radius-md);
    font-weight: 500;
    position: relative;
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -12px;
    left: -12px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--blue-main);
    color: #fff;
    display: grid;
    place-items: center;
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--blue-dark);
    color: #fff;
    padding: 32px;
}

.admin-sidebar .logo {
    color: #fff;
}

.admin-sidebar .logo img {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.admin-nav {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admin-nav-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-nav-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.admin-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 500;
    transition: background 0.2s ease, transform 0.2s ease;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateX(4px);
}

.menu-badge {
    min-width: 28px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.5);
    font-size: 0.75rem;
    text-align: center;
    font-weight: 600;
}

.badge-warning {
    background: rgba(249, 168, 38, 0.9);
    color: #1f2937;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.badge-online {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
}

.badge-manual {
    background: rgba(37, 99, 235, 0.18);
    color: #1d4ed8;
}

.admin-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    background: linear-gradient(120deg, rgba(67, 97, 238, 0.12), rgba(249, 168, 212, 0.2));
}

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

.btn-small {
    padding: 8px 14px;
    font-size: 0.85rem;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.admin-stat-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.admin-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.admin-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.deposit-card {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.15), rgba(76, 201, 240, 0.25));
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.status-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(241, 245, 249, 0.8);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.status-list span {
    color: var(--gray-600);
}

.report-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.admin-table {
    margin-bottom: 32px;
}

.admin-table table {
    min-width: 600px;
}

.settings-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    background: linear-gradient(120deg, rgba(67, 97, 238, 0.12), rgba(76, 201, 240, 0.2));
}

.integration-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.settings-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.integration-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.integration-card header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.integration-card label span {
    display: block;
    margin-bottom: 6px;
    color: var(--gray-600);
    font-size: 0.85rem;
}

.config-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fields-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.field-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 16px;
    background: rgba(248, 250, 252, 0.9);
}

.field-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.field-options.hidden {
    display: none;
}

.field-options {
    border-top: 1px dashed rgba(15, 23, 42, 0.1);
    margin-top: 12px;
    padding-top: 12px;
}

.field-options-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-item {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    align-items: center;
}

.option-item .checkbox.small span {
    font-size: 0.85rem;
}

.integration-card label {
    display: block;
    margin-bottom: 16px;
}

.settings-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.search-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.search-form input {
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.whatsapp-templates {
    margin-top: 32px;
    background: #fff;
}

.products-filter {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.products-filter select {
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.product-admin-card {
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.product-admin-card ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.product-admin-card li {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.product-badge {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--blue-main);
    text-transform: uppercase;
}
.pager {
    margin-top: 16px;
}
.pager nav ul {
    list-style: none;
    display: inline-flex;
    gap: 8px;
    padding: 0;
}
.pager nav ul li a,
.pager nav ul li span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.5);
    text-decoration: none;
    color: var(--gray-600);
    font-size: 0.9rem;
}
.pager nav ul li.active span {
    background: var(--blue-main);
    color: #fff;
    border-color: var(--blue-main);
}
.pagination-meta {
    margin-top: 12px;
}
.pager-center {
    text-align: center;
}
.pager nav ul li.disabled span {
    opacity: 0.5;
}

.floating-toast-container {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: min(260px, 70vw);
    z-index: 999;
    pointer-events: none;
}

.floating-toast {
    background: #fff;
    border-left: 4px solid var(--green);
    padding: 12px 14px;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
    font-size: 0.8rem;
    line-height: 1.4;
    animation: fadeToast 0.3s ease;
}

.floating-toast.hide {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes fadeToast {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.markup-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

.markup-form label {
    flex: 1 1 220px;
}

.markup-form label span {
    display: block;
    margin-bottom: 6px;
    color: var(--gray-600);
    font-size: 0.85rem;
}

.input-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    padding: 0 12px;
    border-radius: var(--radius-md);
}

.input-inline input {
    border: none;
    background: transparent;
    width: 100%;
    padding: 10px 0;
}

.template-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.template-card {
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: var(--radius-lg);
    padding: 20px;
    background: linear-gradient(180deg, rgba(67, 97, 238, 0.08), #fff);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.template-card.expanded .template-message {
    max-height: none;
}

.template-card-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.template-card-header h3 {
    margin: 4px 0 0;
}

.template-message {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 16px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    max-height: 170px;
    overflow: auto;
}

.template-meta {
    display: flex;
    justify-content: flex-end;
}

.template-card .btn-copy {
    white-space: nowrap;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

.admin-content {
    background: #f8fafc;
}

.admin-header {
    display: flex;
    justify-content: flex-end;
    padding: 24px 32px;
    background: #fff;
}

.admin-content main {
    padding: 32px;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .auth-card {
        padding: 32px 24px 48px;
    }

    .auth-card > *:not(:first-child) {
        margin-top: 20px;
    }

    .auth-illustration {
        display: none;
    }

    .app-header,
    .app-main,
    .landing {
        padding: 24px;
    }

    .landing-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .landing-menu-toggle {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        position: fixed;
        top: 14px;
        right: 16px;
        padding: 10px 14px;
        border-radius: 12px;
        border: 1px solid rgba(148, 163, 184, 0.35);
        background: rgba(15, 23, 42, 0.9);
        color: #f8fafc;
        font-weight: 700;
        z-index: 50;
    }

    .landing-header nav {
        display: none !important;
    }

    .landing-home .landing-header .landing-nav {
        display: none !important;
    }

    .landing-nav-toggle:checked + .landing-menu-toggle + .landing-nav {
        display: flex !important;
    }

    .landing-header nav a {
        margin-right: 0;
        padding: 6px 10px;
        background: rgba(67, 97, 238, 0.08);
        border-radius: var(--radius-md);
    }

    .landing-header .cta-group {
        width: 100%;
        justify-content: flex-start;
    }

    .cta-group .btn {
        flex: 1 1 140px;
    }

    .landing-hero {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        grid-row: 2;
    }

    .cta-group.inverted {
        flex-direction: column;
    }

    .admin-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-hero-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-grid-2 {
        grid-template-columns: 1fr;
    }

    .admin-table table {
        min-width: 100%;
    }

    .settings-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
.help-topic-modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.help-topic-modal .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
}

.help-topic-modal .modal-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
    width: min(720px, 90vw);
    max-height: 80vh;
    overflow-y: auto;
    padding: 24px;
}

.help-topic-modal header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.help-topic-modal header button {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
}

.landing-sticky {
    overflow: visible;
}

:root {
    --lp-primary: #2563eb;
    --lp-text: #111827;
    --lp-text-soft: #374151;
    --lp-line: #e5e7eb;
    --lp-shadow: 0 20px 40px rgba(17, 24, 39, 0.08);
    --lp-radius-md: 12px;
    --lp-transition: 240ms ease-in-out;
}

.lp-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.lp-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: 72px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.lp-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--lp-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.lp-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.lp-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
}

.lp-nav a {
    color: var(--lp-text-soft);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--lp-transition);
}

.lp-nav a:hover {
    color: var(--lp-primary);
}

.lp-header__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.lp-btn {
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--lp-radius-md);
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 600;
    transition: transform var(--lp-transition), box-shadow var(--lp-transition), background var(--lp-transition), border-color var(--lp-transition), color var(--lp-transition);
}

.lp-btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.lp-btn--primary {
    background: var(--lp-primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.lp-btn--primary:hover {
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.28);
}

.lp-btn--ghost {
    background: #fff;
    color: var(--lp-text);
    border-color: var(--lp-line);
}

.lp-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--lp-line);
    border-radius: 12px;
    background: #fff;
    padding: 0;
    cursor: pointer;
}

.lp-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--lp-text);
    margin: 4px auto;
    border-radius: 999px;
}

@media (max-width: 640px) {
    .lp-container {
        width: min(1200px, calc(100% - 20px));
    }

    .lp-header__inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .lp-menu-button {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .lp-nav,
    .lp-header__actions {
        position: absolute;
        left: 10px;
        right: 10px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--lp-line);
        border-radius: 16px;
        box-shadow: var(--lp-shadow);
        padding: 16px;
        display: none;
    }

    .lp-nav {
        top: 78px;
        flex-direction: column;
        gap: 14px;
    }

    .lp-header__actions {
        top: 336px;
        flex-direction: column;
    }

    .lp-header.is-open .lp-nav,
    .lp-header.is-open .lp-header__actions {
        display: flex;
    }

    .lp-btn {
        width: 100%;
    }
}

.auth-body {
    background: #f5f6fb;
    color: #0f172a;
}

.auth-body .auth-layout {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 48px 20px 64px;
}

.auth-body .auth-card {
    width: min(980px, 100%);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    display: flex;
    overflow: hidden;
    padding: 0;
    height: min(720px, 92vh);
    min-height: 620px;
}

.auth-aside {
    background: #ef4444;
    color: #fff;
    padding: 44px 36px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    flex: 0 0 56%;
}

.auth-aside__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-aside__logo {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.auth-aside__logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
}

.auth-aside__title {
    margin: 0;
    font-weight: 700;
}

.auth-aside__subtitle {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
}

.auth-aside__hero {
    text-align: center;
    display: grid;
    gap: 16px;
}

.auth-aside__hero-figure {
    width: 220px;
    height: 220px;
    margin: 0 auto;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
}

.auth-aside__hero-figure img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.auth-aside__hero h2 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    line-height: 1.25;
}

.auth-aside__hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.auth-main {
    padding: 32px 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    flex: 0 0 44%;
}

.auth-main__head {
    display: flex;
    justify-content: flex-end;
}

.auth-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    font-size: 1.25rem;
}

.auth-close:hover {
    color: #0f172a;
}

.auth-header {
    margin-top: 12px;
}

.auth-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0 10px;
}

.auth-title {
    font-size: clamp(1.6rem, 2.6vw, 2rem);
    margin: 0 0 8px;
    color: #0f172a;
}

.auth-subtitle {
    margin: 0;
    color: #64748b;
}

.auth-panel {
    margin-top: 8px;
    padding: 0;
    background: transparent;
    border: none;
}

.auth-form {
    display: grid;
    gap: 14px;
}

.auth-form--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
}

.auth-form .form-col--full {
    grid-column: 1 / -1;
}

.auth-panel__head h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    color: #0f172a;
}

.auth-body .caption,
.auth-panel .caption {
    color: #64748b;
}

.auth-body label span {
    color: #1f2937;
}

.auth-body .form-grid input,
.auth-body .form-grid select,
.auth-body .form-grid textarea {
    background: #fff;
    border: 1px solid #dbe4f2;
    color: #0f172a;
    border-radius: 10px;
    padding: 14px 14px;
    height: 48px;
}

.auth-body .form-grid input:focus,
.auth-body .form-grid select:focus,
.auth-body .form-grid textarea:focus {
    outline: none;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

.auth-body .form-grid label span {
    font-weight: 600;
    margin-bottom: 6px;
}

.auth-body .form-grid .link {
    margin-top: 2px;
}

.auth-body .checkbox {
    margin-top: 4px;
}

.auth-body .btn-primary {
    background: #ef4444;
    border: none;
    height: 50px;
    font-size: 1rem;
    border-radius: 10px;
}

.auth-meta {
    margin-top: 20px;
}

.auth-switch a {
    color: #ef4444;
    font-weight: 600;
}

.auth-body .link {
    color: #ef4444;
}

.auth-body .checkbox span {
    color: #475569;
}

.auth-body .password-meter {
    margin-top: 10px;
}

.auth-body .auth-footer {
    background: transparent;
    border-top: none;
    color: #94a3b8;
}

.auth-body .auth-footer a {
    color: #94a3b8;
}

.auth-body .auth-footer a:hover {
    color: #ef4444;
}

@media (max-width: 960px) {
    .auth-body .auth-layout {
        padding: 32px 16px 48px;
    }

    .auth-body .auth-card {
        flex-direction: column;
        height: auto;
    }

    .auth-aside {
        padding: 32px 24px 36px;
    }

    .auth-aside__hero-figure {
        width: 170px;
        height: 170px;
    }

    .auth-main {
        padding: 32px 24px 28px;
        overflow: visible;
    }

    .auth-form--grid {
        grid-template-columns: 1fr;
    }
}
