/* =========================================================
   Viralizei.cloud - Main Stylesheet
   Mobile-first, clean, conversion-focused
   ========================================================= */

/* --------------------------------------------------------
   Reset & Base
   -------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a2e;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

button {
    appearance: none;
    -webkit-appearance: none;
}

/* --------------------------------------------------------
   Brand Colors
   -------------------------------------------------------- */
:root {
    --brand: #4F46E5;          /* Indigo — primary */
    --brand-light: #818CF8;    /* Light indigo */
    --brand-dark: #3730A3;     /* Dark indigo */
    --text: #1a1a2e;
    --text-light: #6B7280;
    --bg: #ffffff;
    --bg-light: #F9FAFB;
    --bg-gray: #F3F4F6;
    --border: #E5E7EB;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --max-width: 640px;
    --transition: 0.2s ease;
}

/* --------------------------------------------------------
   Container
   -------------------------------------------------------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --------------------------------------------------------
   Header
   -------------------------------------------------------- */
.header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
}

.header-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: -0.02em;
}

.header-whatsapp {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition);
}

.header-whatsapp:hover {
    color: var(--brand);
}

/* --------------------------------------------------------
   Hero / Service Header
   -------------------------------------------------------- */
.hero {
    padding: 40px 20px 32px;
    text-align: center;
}

.hero h1 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--text);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 480px;
    margin: 0 auto 8px;
    line-height: 1.5;
}

.hero-delivery {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 12px;
}

.hero-delivery strong {
    color: var(--text);
}

/* --------------------------------------------------------
   Packages
   -------------------------------------------------------- */
.packages-section {
    padding: 0 20px 24px;
}

.packages-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text);
}

.packages-grid {
    display: grid;
    gap: 12px;
}

.package-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.package-card:hover {
    border-color: var(--brand-light);
    box-shadow: var(--shadow-md);
}

.package-card.selected {
    border-color: var(--brand);
    background: linear-gradient(135deg, rgba(79,70,229,0.03), rgba(79,70,229,0.06));
    box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}

.package-card.selected .package-check {
    opacity: 1;
}

.package-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.package-quantity {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.package-name {
    font-size: 0.85rem;
    color: var(--text-light);
}

.package-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand);
    white-space: nowrap;
}

.package-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 20px;
    background: var(--brand);
    color: #fff;
    margin-top: 4px;
}

.package-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.package-check svg {
    width: 12px;
    height: 12px;
    fill: #fff;
}

/* --------------------------------------------------------
   Fixed CTA Bar (bottom)
   -------------------------------------------------------- */
.cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 12px 20px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 200;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cta-bar.visible {
    transform: translateY(0);
}

.cta-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cta-bar-info {
    font-size: 0.9rem;
    color: var(--text);
}

.cta-bar-info strong {
    color: var(--brand);
}

.cta-bar-btn {
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
}

.cta-bar-btn:hover {
    background: var(--brand-dark);
}

/* --------------------------------------------------------
   Profile Step
   -------------------------------------------------------- */
.profile-section {
    padding: 32px 20px;
    display: none;
}

.profile-section.active {
    display: block;
}

.profile-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.profile-section .subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color var(--transition);
    background: var(--bg);
}

.input-group input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

.input-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 6px;
}

.btn-primary {
    width: 100%;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition);
    margin-top: 8px;
}

.btn-primary:hover {
    background: var(--brand-dark);
}

.btn-primary:disabled {
    background: var(--border);
    cursor: not-allowed;
}

.btn-secondary {
    width: 100%;
    background: var(--bg-light);
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 12px;
}

.btn-secondary:hover {
    background: var(--bg-gray);
    border-color: var(--text-light);
}

/* --------------------------------------------------------
   Confirmation Step
   -------------------------------------------------------- */
.confirm-section {
    padding: 32px 20px;
    display: none;
}

.confirm-section.active {
    display: block;
}

.confirm-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.confirm-card .profile-url {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand);
    margin: 8px 0 16px;
}

.confirm-card .check-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.confirm-card .check-link:hover {
    color: var(--brand);
}

.confirm-options {
    text-align: center;
}

.confirm-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    cursor: pointer;
}

.confirm-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--brand);
}

.confirm-checkbox span {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.4;
}

/* --------------------------------------------------------
   Order Tracking
   -------------------------------------------------------- */
.track-section {
    padding: 40px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.track-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
}

.track-card h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.track-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 12px 0 20px;
}

.track-status.paid {
    background: #D1FAE5;
    color: #065F46;
}

.track-status.processing {
    background: #FEF3C7;
    color: #92400E;
}

.track-status.completed {
    background: #DBEAFE;
    color: #1E40AF;
}

.track-status.problem {
    background: #FEE2E2;
    color: #991B1B;
}

.track-info {
    text-align: left;
    margin: 20px 0;
}

.track-info dt {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 12px;
}

.track-info dd {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 2px;
}

.track-timeline {
    text-align: left;
    margin: 24px 0;
    padding-left: 20px;
    border-left: 2px solid var(--border);
}

.track-timeline-item {
    position: relative;
    padding: 8px 0 8px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.track-timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
}

.track-timeline-item.active {
    color: var(--text);
    font-weight: 600;
}

.track-timeline-item.active::before {
    background: var(--brand);
}

.track-timeline-item.done::before {
    background: var(--success);
}

.track-notice {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 20px;
    line-height: 1.5;
}

/* --------------------------------------------------------
   FAQ
   -------------------------------------------------------- */
.faq-section {
    padding: 32px 20px 40px;
    border-top: 1px solid var(--border);
}

.faq-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.faq-question {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--text-light);
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-top: 12px;
}

/* --------------------------------------------------------
   WhatsApp Float Button
   -------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37,211,102,0.4);
    z-index: 150;
    transition: transform var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* --------------------------------------------------------
   Home Page
   -------------------------------------------------------- */
.home-hero {
    padding: 60px 20px 40px;
    text-align: center;
}

.home-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.home-hero p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

.home-sections {
    padding: 0 20px 48px;
}

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

.home-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
}

.platform-grid {
    display: grid;
    gap: 12px;
}

.platform-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.platform-card:hover {
    border-color: var(--brand-light);
    box-shadow: var(--shadow-md);
}

.platform-card .icon {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.platform-card .info h3 {
    font-size: 1rem;
    font-weight: 700;
}

.platform-card .info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.how-it-works {
    max-width: 480px;
    margin: 0 auto;
}

.how-step {
    display: flex;
    gap: 16px;
    padding: 16px 0;
}

.how-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.how-step-text {
    font-size: 0.95rem;
    padding-top: 6px;
}

/* --------------------------------------------------------
   Category Hub
   -------------------------------------------------------- */
.category-hero {
    padding: 48px 20px 32px;
    text-align: center;
}

.category-hero h1 {
    font-size: 1.8rem;
    font-weight: 800;
}

.category-hero p {
    color: var(--text-light);
    margin-top: 8px;
}

.services-list {
    padding: 0 20px 48px;
}

.service-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    transition: all var(--transition);
}

.service-link:hover {
    border-color: var(--brand-light);
    box-shadow: var(--shadow-md);
}

.service-link .name {
    font-weight: 700;
    font-size: 1rem;
}

.service-link .arrow {
    color: var(--text-light);
    font-size: 1.2rem;
}

/* --------------------------------------------------------
   Home Footer
   -------------------------------------------------------- */
.site-footer {
    padding: 32px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --------------------------------------------------------
   Admin Styles
   -------------------------------------------------------- */
.admin-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.admin-login-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.admin-login-card h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.admin-login-card p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.btn-github {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #24292f;
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}

.btn-github:hover {
    background: #000;
}

.btn-github svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* Admin Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 240px;
    background: var(--text);
    color: #fff;
    padding: 24px 0;
    flex-shrink: 0;
}

.admin-sidebar-brand {
    padding: 0 20px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar nav a {
    display: block;
    padding: 12px 20px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.admin-main {
    flex: 1;
    background: var(--bg-light);
    padding: 32px;
    overflow-x: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.admin-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.stat-card .label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-card .value {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 4px;
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.admin-table th {
    background: var(--bg-light);
    padding: 12px 16px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
}

.admin-table td {
    padding: 12px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

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

/* Status Badges */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-active { background: #D1FAE5; color: #065F46; }
.badge-inactive { background: #FEE2E2; color: #991B1B; }
.badge-pending { background: #FEF3C7; color: #92400E; }
.badge-paid { background: #D1FAE5; color: #065F46; }
.badge-cancelled { background: #FEE2E2; color: #991B1B; }
.badge-processing { background: #DBEAFE; color: #1E40AF; }
.badge-completed { background: #D1FAE5; color: #065F46; }
.badge-problem { background: #FEE2E2; color: #991B1B; }

/* Admin Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background: var(--bg);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-save {
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}

.btn-save:hover {
    background: var(--brand-dark);
}

.btn-cancel {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-cancel:hover {
    background: var(--bg-gray);
}

/* SEO Score */
.seo-score {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.seo-score-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.seo-score-circle.good { background: #D1FAE5; color: #065F46; }
.seo-score-circle.medium { background: #FEF3C7; color: #92400E; }
.seo-score-circle.bad { background: #FEE2E2; color: #991B1B; }

.seo-checks {
    list-style: none;
}

.seo-checks li {
    font-size: 0.85rem;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.seo-checks li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

.seo-checks li.missing::before {
    content: '✗';
    color: var(--error);
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--bg);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    color: var(--text-light);
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

/* Admin flash messages */
.flash-message {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.flash-message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.flash-message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* --------------------------------------------------------
   404 Page
   -------------------------------------------------------- */
.page-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 40px 20px;
}

.page-404 h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--border);
}

.page-404 p {
    color: var(--text-light);
    margin: 12px 0 24px;
}

/* --------------------------------------------------------
   Loading spinner
   -------------------------------------------------------- */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------
   Cloud decoration (subtle)
   -------------------------------------------------------- */
.cloud-bg {
    position: relative;
    overflow: hidden;
}

.cloud-bg::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(79,70,229,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cloud-bg::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(129,140,248,0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* --------------------------------------------------------
   Responsive — Tablet & Desktop
   -------------------------------------------------------- */
@media (min-width: 768px) {
    :root {
        --max-width: 680px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .home-hero h1 {
        font-size: 2.5rem;
    }

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

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

    .admin-sidebar {
        display: block;
    }

    .admin-layout {
        display: flex;
    }
}

/* Admin responsive */
@media (max-width: 767px) {
    .admin-sidebar {
        display: none;
    }

    .admin-layout {
        display: block;
    }

    .admin-main {
        padding: 16px;
    }

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

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

    .admin-table {
        font-size: 0.8rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 8px 10px;
    }
}

/* Small mobile */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.4rem;
    }

    .package-card {
        padding: 16px;
    }

    .cta-bar-info {
        font-size: 0.8rem;
    }

    .cta-bar-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

/* =========================================================
   Landing — Conversion-focused Single Page
   ========================================================= */

/* Main */
.landing-main {
    padding: 28px 20px 0;
    background:
        radial-gradient(circle at top left, rgba(79,70,229,0.10), transparent 34%),
        linear-gradient(180deg, #F8FAFC 0%, #ffffff 42%);
}

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

/* Hero */
.landing-hero {
    text-align: center;
    margin-bottom: 22px;
}

.landing-trust-strip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.landing-trust-strip span {
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.86);
    color: #374151;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.72rem;
    font-weight: 750;
    box-shadow: var(--shadow);
}

.landing-hero h1 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 10px;
    color: var(--text);
}

.landing-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto;
}

.landing-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--text);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: var(--shadow-md);
}

/* Social Proof */
.landing-proof {
    margin: 0 0 26px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255,255,255,0.92);
    box-shadow: var(--shadow-md);
}

.proof-copy {
    text-align: center;
    margin-bottom: 14px;
}

.proof-kicker,
.section-eyebrow {
    display: block;
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.proof-copy h2 {
    margin-top: 6px;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 850;
}

.proof-media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.proof-video-card,
.proof-chat-card {
    min-width: 0;
}

.proof-video-card video,
.proof-chat-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
}

.proof-video-card video {
    object-fit: cover;
}

.proof-chat-card img {
    object-fit: contain;
}

.proof-video-card figcaption,
.proof-chat-card figcaption {
    margin-top: 6px;
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 650;
    text-align: center;
}

/* Packages */
.landing-packages {
    margin-bottom: 24px;
    text-align: center;
}

.landing-packages h2 {
    margin-top: 4px;
    margin-bottom: 6px;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: none;
}

.landing-bonus-note {
    max-width: 440px;
    margin: 0 auto 14px;
    color: var(--text-light);
    font-size: 0.86rem;
    line-height: 1.45;
}

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

.package-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 10px 14px;
    border: 2px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-height: 108px;
    -webkit-tap-highlight-color: transparent;
}

.package-card:hover {
    border-color: var(--brand-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.package-card:active {
    transform: scale(0.97);
}

.package-card.selected {
    border-color: var(--brand);
    background: linear-gradient(135deg, rgba(79,70,229,0.04), rgba(79,70,229,0.08));
    box-shadow: 0 0 0 3px rgba(79,70,229,0.15), 0 4px 12px rgba(79,70,229,0.1);
    transform: translateY(-2px);
}

.package-card.featured {
    border-color: var(--brand-light);
    background: linear-gradient(135deg, rgba(79,70,229,0.02), rgba(79,70,229,0.04));
}

.package-card.featured.selected {
    border-color: var(--brand);
    background: linear-gradient(135deg, rgba(79,70,229,0.05), rgba(79,70,229,0.10));
    box-shadow: 0 0 0 3px rgba(79,70,229,0.18), 0 6px 16px rgba(79,70,229,0.12);
}

.package-qty {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

.package-card.selected .package-qty {
    color: var(--brand-dark);
}

.package-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand);
    margin-top: 3px;
}

.package-benefit {
    margin-top: 4px;
    color: var(--text-light);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
}

.package-card.selected .package-benefit {
    color: var(--brand-dark);
}

.package-card.selected .package-price {
    color: var(--brand-dark);
}

.package-tag {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(79,70,229,0.2);
}

/* Profile Input */
.landing-profile {
    margin-bottom: 14px;
}

.landing-profile label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
    text-align: center;
}

.profile-input-wrap {
    position: relative;
}

.profile-input-wrap input {
    width: 100%;
    padding: 18px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.2s ease;
    background: var(--bg);
    font-weight: 500;
}

.profile-input-wrap input::placeholder {
    color: #B0B0C0;
    font-weight: 400;
}

.profile-input-wrap input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.12), 0 2px 8px rgba(79,70,229,0.06);
}

.profile-preview {
    display: none;
    text-align: center;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.profile-preview.visible {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.preview-url {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--brand);
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(79,70,229,0.06);
    border-radius: 20px;
}

.preview-arrow {
    font-size: 0.75rem;
}

/* Confirmation */
.landing-confirm {
    display: none;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.landing-confirm:hover {
    border-color: var(--brand-light);
}

.landing-confirm.visible {
    display: flex;
}

.landing-confirm input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: var(--brand);
    border-radius: 4px;
}

.landing-confirm span {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.4;
    font-weight: 500;
}

/* CTA Button — Impact & Urgency */
.landing-cta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 20px 24px;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(79,70,229,0.35);
    -webkit-tap-highlight-color: transparent;
}

.landing-cta:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(79,70,229,0.45);
}

.landing-cta:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(79,70,229,0.3);
}

.landing-cta:disabled {
    background: var(--border);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    color: #999;
}

@keyframes ctaPulse {
    0% { box-shadow: 0 4px 16px rgba(79,70,229,0.30); }
    50% { box-shadow: 0 6px 28px rgba(79,70,229,0.50); }
    100% { box-shadow: 0 4px 16px rgba(79,70,229,0.30); }
}

@keyframes ctaSlide {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}

.landing-cta:not(:disabled) {
    animation: ctaPulse 3s ease-in-out infinite, ctaSlide 0.3s ease-out;
}

.landing-cta:not(:disabled):hover {
    animation: none;
}

/* Entry animations */
.landing-hero {
    animation: fadeIn 0.4s ease-out;
}

.landing-packages {
    animation: fadeIn 0.5s ease-out;
}

.landing-profile {
    animation: fadeIn 0.6s ease-out;
}

.landing-confirm.visible {
    animation: fadeIn 0.2s ease-out;
}

.cta-text {
    white-space: nowrap;
}

.cta-price {
    font-weight: 900;
    font-size: 1.15rem;
}

/* Delivery Info */
.landing-delivery {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.6;
    padding-bottom: 16px;
    margin-top: 4px;
}

.landing-safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-bottom: 38px;
}

.landing-safety-grid div {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 10px;
    background: var(--bg-light);
    text-align: center;
}

.landing-safety-grid strong {
    display: block;
    color: var(--text);
    font-size: 0.76rem;
    line-height: 1.25;
}

.landing-safety-grid span {
    display: block;
    margin-top: 4px;
    color: var(--text-light);
    font-size: 0.7rem;
    line-height: 1.3;
}

.landing-delivery span {
    display: block;
}

.delivery-gradual {
    margin-top: 4px;
    opacity: 0.8;
}

/* How it Works */
.landing-how {
    padding: 40px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-light);
}

.landing-how h2 {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text);
}

.how-steps {
    max-width: 400px;
    margin: 0 auto;
}

.how-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.how-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.how-text {
    font-size: 0.95rem;
    color: var(--text);
}

.whatsapp-buy-section {
    padding: 36px 20px;
    background: #F0FDF4;
    border-top: 1px solid #BBF7D0;
    text-align: center;
}

.whatsapp-buy-section h2 {
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 900;
}

.whatsapp-buy-section p {
    max-width: 420px;
    margin: 8px auto 16px;
    color: #166534;
    font-size: 0.92rem;
}

.whatsapp-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: #16A34A;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 850;
    box-shadow: 0 6px 18px rgba(22,163,74,0.22);
}

/* =========================================================
   Landing — Responsive
   ========================================================= */

/* Tablets */
@media (max-width: 640px) {
    .landing-hero h1 {
        font-size: 1.6rem;
    }

    .landing-main {
        padding: 28px 16px 0;
    }

    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .package-card {
        padding: 16px 8px 12px;
        min-height: 104px;
        border-radius: 12px;
    }

    .package-qty {
        font-size: 1rem;
    }

    .package-price {
        font-size: 0.8rem;
    }

    .package-tag {
        font-size: 0.5rem;
        padding: 2px 7px;
    }

    .landing-cta {
        padding: 18px 20px;
        font-size: 1.1rem;
    }

    .landing-safety-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* Small mobile */
@media (max-width: 420px) {
    .landing-hero h1 {
        font-size: 1.4rem;
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .package-card {
        padding: 16px 10px 14px;
    }

    .proof-media-grid {
        grid-template-columns: 1fr;
    }

    .package-qty {
        font-size: 1.05rem;
    }

    .package-price {
        font-size: 0.85rem;
    }

    .landing-cta {
        padding: 16px 20px;
        font-size: 1.05rem;
    }

    .cta-price {
        font-size: 1.05rem;
    }

    .profile-input-wrap input {
        padding: 16px;
        font-size: 1.05rem;
    }
}

/* Very small mobile */
@media (max-width: 360px) {
    .landing-hero h1 {
        font-size: 1.25rem;
    }

    .landing-hero {
        margin-bottom: 28px;
    }

    .packages-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .package-card {
        padding: 14px 8px 12px;
    }

    .package-qty {
        font-size: 0.95rem;
    }

    .package-price {
        font-size: 0.8rem;
    }

    .landing-cta {
        border-radius: 12px;
        padding: 16px 18px;
    }
}

/* =========================================================
   Public Redesign - Viralizei.cloud
   ========================================================= */

:root {
    --brand: #2454E6;
    --brand-dark: #173AA7;
    --brand-soft: #EEF3FF;
    --ink: #101114;
    --text: #101114;
    --text-light: #5F6673;
    --muted: #7A8291;
    --bg: #FFFFFF;
    --bg-light: #F7F8FA;
    --bg-gray: #EEF0F3;
    --border: #DDE1E7;
    --border-strong: #BFC7D4;
    --success: #128C4A;
    --whatsapp: #1FAF5B;
    --error: #B42318;
    --radius: 8px;
    --radius-sm: 6px;
    --shadow: 0 1px 2px rgba(16, 17, 20, 0.06);
    --shadow-md: 0 8px 24px rgba(16, 17, 20, 0.08);
    --shadow-lg: 0 18px 60px rgba(16, 17, 20, 0.12);
    --max-width: 1160px;
    --transition: 160ms ease;
}

body.public-page {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
    letter-spacing: 0;
}

.public-page :focus-visible {
    outline: 3px solid rgba(36, 84, 230, 0.34);
    outline-offset: 3px;
}

.wide-shell,
.section-shell,
.checkout-shell,
.faq-shell,
.support-box {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
}

.public-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 0 max(16px, calc((100vw - var(--max-width)) / 2));
    border-bottom: 1px solid rgba(221, 225, 231, 0.85);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.public-brand {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
}

.public-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.public-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 650;
}

.public-nav-link:hover {
    color: var(--ink);
    border-color: var(--border);
    background: var(--bg-light);
}

.eyebrow,
.section-kicker {
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.platform-svg {
    width: 24px;
    height: 24px;
    display: block;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: #fff;
    color: var(--muted);
}

/* Home */
.home-intent {
    min-height: calc(100vh - 64px);
    padding: clamp(40px, 7vw, 88px) 0 72px;
    background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
}

.home-intro {
    max-width: 680px;
    margin-bottom: 32px;
}

.home-intro h1 {
    margin: 8px 0 10px;
    color: var(--ink);
    font-size: clamp(2.4rem, 7vw, 5.8rem);
    font-weight: 800;
    line-height: 0.98;
}

.home-intro p:last-child {
    color: var(--text-light);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.45;
}

.platform-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.platform-choice-card,
.service-choice-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 104px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.platform-choice-card:hover,
.service-choice-card:hover {
    border-color: color-mix(in srgb, var(--platform-accent, var(--brand)) 42%, var(--border));
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.platform-choice-icon,
.service-choice-icon,
.hub-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid color-mix(in srgb, var(--platform-accent, var(--brand)) 28%, var(--border));
    border-radius: 8px;
    color: var(--platform-accent, var(--brand));
    background: color-mix(in srgb, var(--platform-accent, var(--brand)) 7%, white);
}

.platform-choice-copy,
.service-choice-copy {
    min-width: 0;
}

.platform-choice-copy strong,
.service-choice-copy strong {
    display: block;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
}

.platform-choice-copy span,
.service-choice-copy span {
    display: block;
    margin-top: 4px;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.35;
}

.choice-arrow,
.service-choice-action {
    color: var(--text-light);
    font-size: 0.92rem;
    font-weight: 750;
    white-space: nowrap;
}

.empty-state {
    max-width: 620px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}

.empty-state h2 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.empty-state p {
    margin-bottom: 18px;
    color: var(--text-light);
}

/* Platform Hub */
.platform-hub {
    min-height: calc(100vh - 64px);
    padding: clamp(34px, 7vw, 76px) 0 72px;
    background: #fff;
}

.hub-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
}

.hub-heading h1 {
    margin-top: 4px;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1;
}

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

.service-choice-card {
    grid-template-columns: auto 1fr;
    min-height: 126px;
    align-items: start;
    position: relative;
}

.service-choice-action {
    grid-column: 2;
    align-self: end;
    margin-top: 16px;
    color: var(--brand);
}

.platform-safety {
    margin-top: clamp(28px, 5vw, 52px);
    padding-top: clamp(22px, 4vw, 34px);
    border-top: 1px solid var(--border);
}

.platform-safety .section-copy h2 {
    max-width: 820px;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.platform-safety-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}

.platform-safety-grid div {
    min-height: 138px;
    padding: 18px;
    border-right: 1px solid var(--border);
}

.platform-safety-grid div:last-child {
    border-right: 0;
}

.platform-safety-grid strong {
    display: block;
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.25;
}

.platform-safety-grid span {
    display: block;
    margin-top: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.45;
}

/* Service purchase */
.purchase-first {
    padding: clamp(18px, 4vw, 46px) 0 clamp(34px, 6vw, 72px);
    background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
}

.checkout-shell {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1fr);
    gap: clamp(20px, 5vw, 56px);
    align-items: start;
}

.purchase-copy {
    padding-top: clamp(8px, 4vw, 40px);
}

.purchase-platform {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--platform-accent, var(--brand));
    font-size: 0.9rem;
    font-weight: 800;
}

.purchase-platform span {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
}

.purchase-copy h1 {
    max-width: 560px;
    color: var(--ink);
    font-size: clamp(2rem, 5vw, 4.3rem);
    font-weight: 800;
    line-height: 1;
}

.purchase-copy p {
    max-width: 500px;
    margin-top: 14px;
    color: var(--text-light);
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    line-height: 1.45;
}

.purchase-panel {
    padding: clamp(16px, 2.8vw, 24px);
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.buy-step + .buy-step {
    margin-top: 18px;
}

.step-label {
    display: block;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 800;
}

.compact-packages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.package-card {
    display: flex;
    min-width: 0;
    min-height: 118px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 12px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    text-align: left;
    box-shadow: none;
}

.package-card:hover {
    border-color: var(--border-strong);
    box-shadow: none;
}

.package-card.selected {
    border-color: var(--brand);
    background: var(--brand-soft);
    box-shadow: inset 0 0 0 1px var(--brand);
}

.package-card.featured:not(.selected) {
    border-color: color-mix(in srgb, var(--brand) 50%, var(--border));
}

.package-tag-slot {
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-height: 21px;
    margin-bottom: auto;
}

.package-tag {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    max-width: 100%;
    margin: 0;
    padding: 3px 6px;
    border-radius: 6px;
    background: var(--ink);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1.15;
    text-transform: none;
    letter-spacing: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: none;
}

.package-qty {
    color: var(--ink);
    font-size: clamp(1.05rem, 2.2vw, 1.45rem);
    font-weight: 800;
    line-height: 1;
}

.package-unit {
    overflow: hidden;
    width: 100%;
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 650;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.package-price {
    color: var(--brand);
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 800;
    line-height: 1.2;
}

.profile-field {
    width: 100%;
    min-height: 54px;
    padding: 0 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 650;
}

.profile-field:focus {
    border-color: var(--brand);
    outline: none;
    box-shadow: 0 0 0 4px rgba(36, 84, 230, 0.12);
}

.field-help {
    margin-top: 7px;
    color: var(--text-light);
    font-size: 0.82rem;
    line-height: 1.4;
}

.profile-preview {
    display: none;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-light);
}

.profile-preview.visible {
    display: block;
}

.profile-preview .preview-caption {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: none;
}

.profile-preview a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    overflow-wrap: anywhere;
    margin-top: 4px;
    color: var(--brand);
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.profile-preview a::after {
    content: "↗";
    flex: 0 0 auto;
    font-size: 0.8rem;
    text-decoration: none;
}

.profile-preview a:hover {
    color: var(--brand-dark);
}

.profile-preview a span {
    display: inline;
    min-width: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    overflow-wrap: anywhere;
    text-transform: none;
}

#preview-url-text {
    display: inline;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-transform: none;
}

.landing-confirm {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-light);
    font-size: 0.9rem;
    cursor: pointer;
}

.landing-confirm input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--brand);
    flex: 0 0 auto;
}

.form-error {
    margin-top: 14px;
    padding: 11px 12px;
    border: 1px solid #F2B8B5;
    border-radius: 8px;
    background: #FFF4F2;
    color: var(--error);
    font-size: 0.9rem;
    font-weight: 650;
}

.landing-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 58px;
    margin-top: 16px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.15;
    cursor: pointer;
    transition: background var(--transition), opacity var(--transition), transform var(--transition);
}

.landing-cta:hover:not(:disabled) {
    background: var(--brand);
    transform: translateY(-1px);
}

.landing-cta:disabled {
    background: #B9C0CC;
    cursor: not-allowed;
}

.landing-cta.is-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: vz-spin 800ms linear infinite;
}

@keyframes vz-spin {
    to { transform: rotate(360deg); }
}

.checkout-microcopy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    margin-top: 14px;
    color: var(--text-light);
    font-size: 0.78rem;
    line-height: 1.25;
}

.checkout-microcopy span::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--success);
    vertical-align: 1px;
}

.checkout-unavailable {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-light);
}

.checkout-unavailable strong,
.checkout-unavailable span {
    display: block;
}

.checkout-unavailable span {
    margin-top: 4px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Proof, how, FAQ, support */
.proof-section,
.how-section,
.faq-section,
.support-section {
    padding: clamp(42px, 7vw, 86px) 0;
    border-top: 1px solid var(--border);
}

.proof-section,
.faq-section {
    background: #fff;
}

.how-section,
.support-section {
    background: var(--bg-light);
}

.proof-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: clamp(22px, 5vw, 52px);
    align-items: center;
}

.section-copy h2 {
    margin-top: 7px;
    color: var(--ink);
    font-size: clamp(1.7rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
}

.section-copy p {
    margin-top: 12px;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.55;
}

.section-copy.compact {
    max-width: 660px;
    margin-bottom: 24px;
}

.proof-carousel {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 8px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.proof-track {
    display: flex;
    width: max-content;
    gap: 14px;
    align-items: center;
    animation: proof-marquee 26s linear infinite;
}

.proof-carousel:hover .proof-track,
.proof-carousel:focus-within .proof-track {
    animation-play-state: paused;
}

.proof-slide {
    flex: 0 0 clamp(240px, 28vw, 360px);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.proof-slide video,
.proof-slide img {
    width: 100%;
    height: clamp(300px, 42vw, 500px);
    display: block;
    object-fit: contain;
    background: #f7f8fa;
}

.proof-video video {
    background: #111;
}

.proof-slide figcaption {
    padding: 10px 12px;
    color: var(--text-light);
    font-size: 0.82rem;
    font-weight: 650;
}

@keyframes proof-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 7px));
    }
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    list-style: none;
    counter-reset: process;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}

.process-list li {
    counter-increment: process;
    min-height: 150px;
    padding: 20px;
    border-right: 1px solid var(--border);
}

.process-list li:last-child {
    border-right: 0;
}

.process-list li::before {
    content: counter(process);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
}

.process-list strong,
.process-list span {
    display: block;
}

.process-list strong {
    color: var(--ink);
    font-size: 1rem;
}

.process-list span {
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.45;
}

.faq-shell {
    max-width: 840px;
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-item {
    padding: 0;
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    padding: 19px 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.faq-question::after {
    content: "+";
    float: right;
    color: var(--muted);
    font-size: 1.35rem;
    line-height: 1;
    transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.65;
    transition: max-height 220ms ease, padding-bottom 220ms ease;
}

.faq-answer p {
    padding-right: 34px;
}

.faq-item.open .faq-answer {
    max-height: 360px;
    padding-bottom: 19px;
}

.support-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 920px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid #BFE8CF;
    border-radius: 8px;
    background: #fff;
}

.support-box h2 {
    margin-top: 6px;
    color: var(--ink);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.1;
}

.support-box p {
    margin-top: 8px;
    color: var(--text-light);
}

.support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 8px;
    background: var(--whatsapp);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
}

.support-button:hover {
    background: #168E49;
}

.whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    background: var(--whatsapp);
    box-shadow: 0 8px 24px rgba(31, 175, 91, 0.28);
}

.whatsapp-float svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

@media (max-width: 1024px) {
    .checkout-shell,
    .proof-layout {
        grid-template-columns: 1fr;
    }

    .purchase-copy {
        padding-top: 0;
    }

    .purchase-copy h1,
    .purchase-copy p {
        max-width: 760px;
    }

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

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

    .platform-safety-grid div:nth-child(2) {
        border-right: 0;
    }

    .platform-safety-grid div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .process-list li:nth-child(2) {
        border-right: 0;
    }

    .process-list li:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 768px) {
    .public-header {
        min-height: 58px;
    }

    .home-intent,
    .platform-hub {
        min-height: auto;
        padding-top: 32px;
    }

    .platform-choice-grid,
    .service-choice-grid {
        grid-template-columns: 1fr;
    }

    .proof-slide {
        flex-basis: min(78vw, 320px);
    }

    .proof-slide video,
    .proof-slide img {
        height: min(68vh, 430px);
    }

    .support-box {
        display: block;
    }

    .support-button {
        margin-top: 18px;
        width: 100%;
    }
}

@media (max-width: 520px) {
    .wide-shell,
    .section-shell,
    .checkout-shell,
    .faq-shell,
    .support-box {
        width: min(100% - 24px, var(--max-width));
    }

    .public-nav-link {
        min-height: 34px;
        padding: 0 9px;
        font-size: 0.84rem;
    }

    .home-intro {
        margin-bottom: 22px;
    }

    .platform-choice-card,
    .service-choice-card {
        min-height: 96px;
        padding: 14px;
    }

    .checkout-shell {
        width: min(100% - 20px, var(--max-width));
        gap: 14px;
    }

    .purchase-first {
        padding-top: 14px;
    }

    .purchase-copy h1 {
        font-size: clamp(1.65rem, 9vw, 2.35rem);
    }

    .purchase-copy p {
        margin-top: 8px;
        font-size: 0.96rem;
    }

    .purchase-panel {
        padding: 12px;
    }

    .compact-packages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .package-card {
        min-height: 104px;
        padding: 10px;
    }

    .package-tag {
        font-size: 0.6rem;
        padding: 2px 5px;
    }

    .profile-field {
        min-height: 50px;
        font-size: 1rem;
    }

    .landing-cta {
        min-height: 56px;
        font-size: 1rem;
    }

    .checkout-microcopy {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .process-list {
        grid-template-columns: 1fr;
    }

    .platform-safety-grid {
        grid-template-columns: 1fr;
    }

    .platform-safety-grid div,
    .platform-safety-grid div:nth-child(2) {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .platform-safety-grid div:last-child {
        border-bottom: 0;
    }

    .process-list li,
    .process-list li:nth-child(2) {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .process-list li:last-child {
        border-bottom: 0;
    }

    .faq-question {
        padding: 17px 0;
        font-size: 0.96rem;
    }
}

@media (min-width: 390px) and (max-width: 620px) {
    .compact-packages {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Admin redesign */
.admin-shell {
    background: #F6F7F9;
    color: #111318;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.admin-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    background: #F6F7F9;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 18px 14px;
    border-right: 1px solid #E2E5EA;
    background: #fff;
    color: #111318;
}

.admin-sidebar-brand {
    display: flex;
    align-items: center;
    height: 42px;
    padding: 0 10px;
    color: #111318;
    font-weight: 800;
    letter-spacing: 0;
}

.admin-sidebar nav {
    display: grid;
    gap: 4px;
    margin-top: 18px;
}

.admin-sidebar nav a,
.admin-sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    color: #555E6D;
    font-size: 0.92rem;
    font-weight: 650;
}

.admin-sidebar nav a:hover,
.admin-sidebar-footer a:hover {
    background: #F2F4F7;
    color: #111318;
}

.admin-sidebar nav a.active {
    background: #EEF2FF;
    color: #2742D4;
}

.admin-nav-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
}

.admin-nav-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-platform-icon {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    vertical-align: -4px;
}

.admin-sidebar-footer {
    position: absolute;
    right: 14px;
    bottom: 18px;
    left: 14px;
}

.admin-main {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 24px 28px 56px;
}

.admin-topbar,
.admin-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 0;
    border-bottom: 0;
}

.admin-title-block h1,
.admin-header h1 {
    margin: 0;
    color: #111318;
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1.08;
}

.admin-title-block p {
    max-width: 680px;
    margin-top: 7px;
    color: #697283;
    font-size: 0.96rem;
    line-height: 1.45;
}

.admin-breadcrumb {
    display: flex;
    gap: 7px;
    margin-bottom: 7px;
    color: #8A93A3;
    font-size: 0.78rem;
    font-weight: 650;
}

.admin-breadcrumb a {
    color: #5661D9;
}

.admin-topbar-actions,
.admin-actions,
.row-actions,
.form-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-env,
.admin-user {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #E2E5EA;
    border-radius: 999px;
    background: #fff;
    color: #697283;
    font-size: 0.78rem;
    font-weight: 700;
}

.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-danger,
.btn-save,
.btn-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 750;
    margin-top: 0;
    cursor: pointer;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.btn-primary,
.btn-save {
    background: #2947E8;
    color: #fff;
}

.btn-primary:hover,
.btn-save:hover {
    background: #1F35B8;
}

.btn-secondary {
    border-color: #D8DDE6;
    background: #fff;
    color: #111318;
}

.btn-ghost,
.btn-cancel {
    border-color: #E2E5EA;
    background: #fff;
    color: #4D5666;
}

.btn-ghost:hover,
.btn-cancel:hover,
.btn-secondary:hover {
    border-color: #C8CED9;
    background: #F7F8FA;
}

.btn-danger {
    border-color: #F4C7C7;
    background: #fff;
    color: #B42318;
}

.btn-danger:hover {
    background: #FFF1F1;
}

.small {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.78rem;
}

.icon-btn {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
}

.icon-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-card,
.form-section,
.seo-score {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #E2E5EA;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

.admin-grid {
    display: grid;
    gap: 18px;
}

.admin-grid.two {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

.admin-metrics,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.admin-metric,
.stat-card {
    min-height: 108px;
    padding: 16px;
    border: 1px solid #E2E5EA;
    border-radius: 10px;
    background: #fff;
}

.admin-metric span,
.stat-card .label,
.eyebrow {
    display: block;
    color: #697283;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.admin-metric strong,
.stat-card .value {
    display: block;
    margin-top: 12px;
    color: #111318;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 850;
    line-height: 1;
}

.admin-metric.danger strong {
    color: #B42318;
}

.admin-metric.muted strong {
    color: #555E6D;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.section-heading h2,
.detail-card h2 {
    margin: 3px 0 0;
    color: #111318;
    font-size: 1.05rem;
    font-weight: 800;
}

.attention-list,
.quick-actions {
    display: grid;
    gap: 8px;
}

.attention-item,
.quick-actions a {
    display: block;
    padding: 13px 14px;
    border: 1px solid #E2E5EA;
    border-radius: 8px;
    background: #FBFCFE;
    color: #111318;
}

.attention-item strong {
    display: block;
    font-size: 0.92rem;
}

.attention-item span {
    display: block;
    margin-top: 3px;
    color: #697283;
    font-size: 0.84rem;
    line-height: 1.35;
}

.attention-item.warning {
    border-color: #F6DFA7;
    background: #FFFBF0;
}

.attention-item.problem {
    border-color: #F3C5C5;
    background: #FFF6F6;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid #E2E5EA;
    border-radius: 10px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.admin-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 10px 12px;
    border-bottom: 1px solid #E2E5EA;
    background: #FAFBFC;
    color: #697283;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-table td {
    padding: 12px;
    border-bottom: 1px solid #EEF0F3;
    color: #27303F;
    font-size: 0.88rem;
    vertical-align: middle;
}

.admin-table th:last-child,
.admin-table td:last-child {
    width: 1%;
    white-space: nowrap;
}

.admin-table tr:hover td {
    background: #FAFBFF;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.numeric {
    text-align: right;
    white-space: nowrap;
}

.table-link,
.admin-table a {
    color: #2947E8;
    font-weight: 700;
}

.muted-line,
.helper-text {
    display: block;
    color: #697283;
    font-size: 0.8rem;
    line-height: 1.45;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    white-space: nowrap;
}

.badge-active,
.badge-paid,
.badge-completed,
.badge-cakto-ok {
    border-color: #BFE8CF;
    background: #F0FBF4;
    color: #146C37;
}

.badge-pending,
.badge-warning,
.badge-cakto-warning {
    border-color: #F6DFA7;
    background: #FFFBF0;
    color: #8A5A00;
}

.badge-processing {
    border-color: #BFD0FF;
    background: #F2F5FF;
    color: #2742D4;
}

.badge-problem,
.badge-cakto-problem {
    border-color: #F3C5C5;
    background: #FFF1F1;
    color: #B42318;
}

.badge-inactive,
.badge-cancelled,
.badge-neutral {
    border-color: #D8DDE6;
    background: #F7F8FA;
    color: #555E6D;
}

.seo-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 850;
}

.seo-pill.good { background: #F0FBF4; color: #146C37; }
.seo-pill.medium { background: #FFFBF0; color: #8A5A00; }
.seo-pill.bad { background: #FFF1F1; color: #B42318; }

.filter-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid #E2E5EA;
    border-radius: 999px;
    background: #fff;
    color: #555E6D;
    font-size: 0.83rem;
    font-weight: 750;
}

.filter-tab.active {
    border-color: #2947E8;
    background: #EEF2FF;
    color: #2742D4;
}

.admin-filters,
.form-row,
.form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.admin-filters.compact,
.form-grid.two,
.form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-filters.compact {
    display: flex;
    align-items: end;
    gap: 12px;
}

.admin-filters.compact .form-group {
    flex: 0 1 280px;
    max-width: 320px;
}

.admin-filters.compact .filter-actions {
    flex: 0 0 auto;
}

.filter-card,
.admin-card:has(> .admin-filters.compact) {
    padding: 12px 14px;
}

.filter-card .admin-filters.compact {
    width: fit-content;
    max-width: 100%;
}

.admin-filters.compact label {
    margin-bottom: 5px;
    font-size: 0.76rem;
}

.admin-filters.compact input,
.admin-filters.compact select {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 0.88rem;
}

.admin-filters.compact .btn-primary,
.admin-filters.compact .btn-ghost {
    min-height: 36px;
    min-width: 86px;
    padding: 0 14px;
    font-size: 0.82rem;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #27303F;
    font-size: 0.82rem;
    font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea,
.admin-filters input,
.admin-filters select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #D8DDE6;
    border-radius: 8px;
    background: #fff;
    color: #111318;
    font: inherit;
}

.form-group textarea {
    min-height: 96px;
    resize: vertical;
}

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

.admin-filters > .filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
}

.filter-actions .btn-primary {
    min-width: 128px;
}

.filter-actions .btn-ghost {
    min-width: 92px;
}

.admin-empty {
    padding: 34px 18px;
    text-align: center;
}

.admin-empty.compact {
    padding: 16px;
    border: 1px dashed #D8DDE6;
    border-radius: 8px;
}

.admin-empty h2 {
    margin: 0;
    color: #111318;
    font-size: 1rem;
    font-weight: 800;
}

.admin-empty p {
    max-width: 480px;
    margin: 8px auto 0;
    color: #697283;
    line-height: 1.45;
}

.pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
    color: #697283;
}

.pagination a {
    color: #2947E8;
    font-weight: 800;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.detail-card {
    padding: 18px;
    border: 1px solid #E2E5EA;
    border-radius: 10px;
    background: #fff;
}

.detail-list,
.detail-list.standalone {
    display: grid;
    grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
    gap: 9px 14px;
    margin-top: 14px;
}

.detail-list dt {
    color: #697283;
    font-size: 0.78rem;
    font-weight: 800;
}

.detail-list dd {
    min-width: 0;
    color: #111318;
    font-size: 0.9rem;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.positive {
    color: #146C37 !important;
}

.order-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.order-status-line {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.danger-zone {
    border-color: #F3C5C5;
}

.settings-stack {
    display: grid;
    gap: 18px;
}

.read-only-field {
    min-height: 72px;
    padding: 12px;
    border: 1px solid #E2E5EA;
    border-radius: 8px;
    background: #FAFBFC;
}

.read-only-field span {
    display: block;
    color: #697283;
    font-size: 0.78rem;
    font-weight: 800;
}

.read-only-field strong {
    display: block;
    margin-top: 8px;
    color: #111318;
}

.inline-link-button {
    border: 0;
    background: transparent;
    color: #2947E8;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
}

.admin-inline-result {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #D8DDE6;
    border-radius: 8px;
    background: #FAFBFC;
    color: #27303F;
    font-size: 0.88rem;
}

.admin-inline-result.success {
    border-color: #BFE8CF;
    background: #F0FBF4;
    color: #146C37;
}

.admin-inline-result.error {
    border-color: #F3C5C5;
    background: #FFF1F1;
    color: #B42318;
}

.faq-admin-list {
    display: grid;
    gap: 12px;
}

.faq-admin-row {
    padding: 12px;
    border: 1px solid #E2E5EA;
    border-radius: 8px;
    background: #FAFBFC;
}

.admin-image-preview {
    width: min(100%, 320px);
    margin-top: 10px;
    overflow: hidden;
    border: 1px solid #E2E5EA;
    border-radius: 8px;
    background: #F7F8FA;
}

.admin-image-preview img {
    width: 100%;
    display: block;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.admin-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(17, 19, 24, 0.42);
}

.admin-modal-backdrop[hidden] {
    display: none;
}

.admin-modal {
    width: min(100%, 440px);
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(16, 24, 40, 0.22);
}

.admin-modal h2 {
    margin: 0;
    color: #111318;
    font-size: 1.1rem;
}

.admin-modal p {
    margin: 10px 0 0;
    color: #555E6D;
    line-height: 1.5;
}

.admin-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 18px;
}

:focus-visible {
    outline: 3px solid rgba(41, 71, 232, 0.28);
    outline-offset: 2px;
}

@media (max-width: 1100px) {
    .admin-metrics,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-grid.two,
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
        padding: 12px;
        border-right: 0;
        border-bottom: 1px solid #E2E5EA;
    }

    .admin-sidebar nav {
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        overflow-x: auto;
        margin-top: 10px;
        padding-bottom: 2px;
    }

    .admin-sidebar-footer {
        display: none;
    }

    .admin-main {
        padding: 18px 12px 42px;
    }

    .admin-topbar,
    .admin-header,
    .section-heading,
    .order-hero {
        display: block;
    }

    .admin-topbar-actions,
    .admin-actions {
        margin-top: 12px;
    }

    .admin-filters,
    .admin-filters.compact,
    .form-grid,
    .form-grid.two,
    .form-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-filters.compact .form-group,
    .admin-filters.compact .filter-actions {
        flex: none;
        max-width: none;
    }

    .admin-table.mobile-cards,
    .admin-table.mobile-cards thead,
    .admin-table.mobile-cards tbody,
    .admin-table.mobile-cards tr,
    .admin-table.mobile-cards td {
        display: block;
        width: 100%;
    }

    .admin-table.mobile-cards thead {
        display: none;
    }

    .admin-table.mobile-cards tr {
        padding: 12px;
        border-bottom: 1px solid #E2E5EA;
    }

    .admin-table.mobile-cards td {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
        gap: 10px;
        padding: 7px 0;
        border-bottom: 0;
        text-align: left;
    }

    .admin-table.mobile-cards td::before {
        content: attr(data-label);
        color: #697283;
        font-size: 0.75rem;
        font-weight: 850;
        text-transform: uppercase;
    }

    .numeric {
        text-align: left;
    }

    .detail-list,
    .detail-list.standalone {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}

@media (max-width: 430px) {
    .admin-metrics,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-card,
    .detail-card,
    .form-section,
    .seo-score {
        padding: 14px;
    }

    .row-actions,
.row-actions.large,
.form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .row-actions > *,
    .row-actions form,
    .row-actions button,
    .row-actions a,
    .form-actions > * {
        width: 100%;
    }
}

.admin-table .row-actions {
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.admin-table .row-actions form {
    margin: 0;
}
