* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #08090c;
    color: #f5f5f5;
    line-height: 1.6;
}

/* =========================================================
   ANIMATIONS & KEYFRAMES
   ========================================================= */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes heroBackgroundShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes statusPulse {
    0%, 100% {
        background-color: #fff;
    }
    50% {
        background-color: #ccc;
    }
}

@keyframes buttonHoverPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* =========================================================
   REDUCED MOTION SUPPORT
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:focus-visible {
    outline: 2px solid #f5f5f5;
    outline-offset: 4px;
}

.navbar {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    border-bottom: 1px solid #1a1c22;

    background: rgba(8, 9, 12, 0.85);

    position: sticky;
    top: 0;
    z-index: 100;

    backdrop-filter: blur(18px);
    
    animation: fadeInDown 0.6s ease;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.mobile-menu-toggle .menu-icon,
.mobile-menu-toggle .menu-icon::before,
.mobile-menu-toggle .menu-icon::after {
    display: block;
    width: 24px;
    height: 2px;
    background: #f5f5f5;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle .menu-icon::before,
.mobile-menu-toggle .menu-icon::after {
    content: '';
}

.mobile-menu-toggle.open .menu-icon {
    background: transparent;
}

.mobile-menu-toggle.open .menu-icon::before {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.open .menu-icon::after {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(8, 9, 12, 0.95);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid #1a1c22;
    padding: 20px;
    flex-direction: column;
    gap: 12px;
    animation: fadeIn 0.3s ease;
    z-index: 100;
}

.mobile-menu a {
    padding: 12px 16px;
    color: #999da8;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.mobile-menu a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-download {
    background: white;
    color: #08090c;
    font-weight: 700;
}

.mobile-menu-download:hover {
    background: #e0e0e0;
    color: #08090c;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 19px;
    font-weight: 700;
}

img.brand-icon,
img.mini-logo {
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

img.brand-icon {
    width: 34px;
    height: 34px;
}

img.mini-logo {
    width: 25px;
    height: 25px;
}

.nav-links {
    display: flex;
    gap: 34px;

    color: #999da8;
    font-size: 14px;
}

.nav-links a:hover {
    color: white;
}

.nav-download {
    padding: 10px 18px;

    background: white;
    color: #08090c;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;
    
    transition: all 0.3s ease;
}

.nav-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.nav-download:active {
    transform: translateY(0);
}

.hero {
    min-height: calc(100vh - 72px);

    padding: 100px 6% 80px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 20%,
            #20242e 0,
            #08090c 45%
        );
    
    background-size: 200% 200%;
    animation: heroBackgroundShift 8s ease-in-out infinite;
}

.nav-account {
    display: inline-block;
    max-width: 190px;
    overflow: hidden;
    color: #f5f5f5;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-account:hover {
    color: #a8d5ba;
}

.hero-content {
    max-width: 850px;
}

.badge,
.section-label {
    color: #8f95a3;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
    
    animation: fadeInUp 0.6s ease 0.1s both;
}

.badge {
    display: inline-block;

    padding: 7px 12px;

    border: 1px solid #292d36;
    border-radius: 999px;

    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1.02;
    letter-spacing: -4px;
    
    animation: fadeInUp 0.7s ease 0.2s both;
}

.hero h1 span,
.section-heading h2 span {
    display: block;
    color: #737987;
}

.hero-description {
    max-width: 650px;

    margin: 28px auto;

    color: #a2a6b1;

    font-size: 18px;
    
    animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-tagline {
    margin-top: 18px;

    color: #8f95a3;

    font-size: 15px;

    font-weight: 500;

    animation: fadeInUp 0.7s ease 0.25s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;

    margin-top: 30px;
    
    animation: fadeInUp 0.7s ease 0.4s both;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 48px;

    padding: 0 22px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 700;

    border: 1px solid transparent;

    cursor: pointer;
    
    transition: all 0.3s ease;
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.button.primary {
    background: white;
    color: #08090c;
}

.button.primary:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.2);
}

.button.primary:active:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.15);
}

.button.secondary {
    background: #111319;
    border-color: #292d36;
    color: white;
}

.button.secondary:hover:not(:disabled) {
    background: #1a1d26;
    border-color: #3d414e;
}

.button.secondary:active:not(:disabled) {
    background: #0d0f14;
}

.button.full {
    width: 100%;
}

.button.large {
    min-height: 54px;
    padding: 0 28px;
}

.button span {
    transition: transform 0.3s ease;
}

.button:hover span {
    transform: translateX(4px);
}

.hero-note,
.download-note {
    margin-top: 16px;

    color: #686d79;

    font-size: 12px;
    
    animation: fadeInUp 0.7s ease 0.5s both;
}

.app-preview {
    width: min(1000px, 94vw);

    margin-top: 75px;

    overflow: hidden;

    border: 1px solid #292d36;
    border-radius: 14px;

    background: #0e1015;

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45);
    
    animation: fadeInUp 0.8s ease 0.5s both;
    
    transition: all 0.4s ease;
}

.app-preview:hover {
    border-color: #3d414e;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    transform: translateY(-4px);
}

.preview-shot img {
    display: block;
    width: 100%;
    height: auto;
}

.window-bar {
    height: 48px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 18px;

    border-bottom: 1px solid #22252d;

    color: #888d99;

    font-size: 13px;
}

.window-brand {
    display: flex;
    align-items: center;
    gap: 9px;
}

.window-controls {
    letter-spacing: 8px;
}

.preview-body {
    display: flex;
    min-height: 450px;
}

.preview-sidebar {
    width: 190px;

    padding: 20px 12px;

    border-right: 1px solid #22252d;
}

.side-item {
    padding: 12px;

    margin-bottom: 5px;

    border-radius: 7px;

    color: #777c88;

    text-align: left;

    font-size: 13px;
    
    cursor: pointer;
    
    transition: all 0.2s ease;
}

.side-item:hover {
    background: #1a1d25;
    color: #999da8;
}

.side-item span {
    margin-right: 8px;
}

.side-item.active {
    background: #191c23;
    color: white;
}

.preview-main {
    flex: 1;

    padding: 65px;

    text-align: left;
}

.capture-status {
    color: #8f95a3;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.status-dot {
    display: inline-block;

    width: 7px;
    height: 7px;

    margin-right: 7px;

    border-radius: 50%;

    background: #fff;
    
    animation: statusPulse 2s ease-in-out infinite;
}

.preview-main h3 {
    margin-top: 15px;

    font-size: 30px;
}

.preview-main > p {
    color: #777c88;
}

.preview-main .preview-h {
    margin-top: 15px;
    font-size: 30px;
    color: #f0f1f5;
}

.preview-stats {
    display: flex;

    gap: 12px;

    margin-top: 35px;
}

.preview-stats div {
    min-width: 130px;

    padding: 17px;

    border: 1px solid #252832;
    border-radius: 9px;
    
    transition: all 0.3s ease;
    
    cursor: default;
}

.preview-stats div:hover {
    border-color: #3d414e;
    background: rgba(255, 255, 255, 0.02);
}

.preview-stats strong,
.preview-stats span {
    display: block;
}

.preview-stats strong {
    font-size: 20px;
}

.preview-stats span {
    color: #696e7a;
    font-size: 11px;
}

.hotkey-box {
    margin-top: 25px;

    display: flex;
    align-items: center;
    gap: 7px;

    color: #777c88;

    font-size: 12px;
    
    cursor: pointer;
    
    transition: all 0.3s ease;
}

.hotkey-box:hover {
    color: #999da8;
}

kbd {
    padding: 5px 8px;

    border: 1px solid #30343e;
    border-radius: 5px;

    background: #171920;

    color: #d4d6dc;

    font-size: 10px;
    
    transition: all 0.2s ease;
    
    font-weight: 600;
}

.hotkey-box:hover kbd {
    border-color: #484d59;
    background: #1f2229;
    transform: translateY(-2px);
}

.section {
    padding: 110px 6%;
    width: 100%;
    max-width: 1250px;
    margin: auto;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 44px;
}

.section-heading h2 {
    margin-top: 12px;

    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;

    letter-spacing: -2px;
}

.section-heading p {
    margin-top: 16px;

    color: #777c88;
}

.section.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.section.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;
}

.feature-card {
    display: flex;
    flex-direction: column;

    padding: 30px;

    border: 1px solid #20232b;
    border-radius: 12px;

    background: #0d0f14;
    
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: #3d414e;
    background: #131519;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.feature-icon {
    font-size: 24px;

    margin-bottom: 20px;
    
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    color: #737885;
    font-size: 14px;
}

.how-section {
    padding-top: 90px;
    padding-bottom: 90px;

    border-top: 1px solid #181a20;
    border-bottom: 1px solid #181a20;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}

.step {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step:nth-child(1) {
    transition-delay: 0.1s;
}

.step:nth-child(2) {
    transition-delay: 0.2s;
}

.step:nth-child(3) {
    transition-delay: 0.3s;
}

.step-number {
    color: #555a66;

    font-size: 13px;
    font-weight: 700;
    
    margin-bottom: 14px;

    transition: all 0.3s ease;
}

.step:hover .step-number {
    color: #999da8;
}

.step h3 {
    margin-top: 0;
    margin-bottom: 6px;
}

.step p {
    margin-top: 8px;

    color: #707580;

    font-size: 14px;
}

.how-section .section-heading {
    margin-bottom: 36px;
}

.how-section .section-more {
    margin-top: 28px;
}

.pricing-section {
    max-width: 1250px;
}

.pricing-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;
}

.pricing-card {
    position: relative;

    padding: 35px;

    border: 1px solid #252832;
    border-radius: 13px;

    background: #0d0f14;
    
    transition: all 0.4s ease;
    
    opacity: 0;
    transform: translateY(20px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    border-color: #3d414e;
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.premium {
    border-color: #484d59;
}

.pricing-card.premium:hover {
    border-color: #5a6170;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.popular {
    position: absolute;

    top: 20px;
    right: 20px;

    font-size: 9px;
    letter-spacing: 1px;

    color: #969ba7;
}

.pricing-name {
    font-weight: 700;
}

.price {
    margin-top: 15px;

    font-size: 42px;
    font-weight: 800;
}

.price span {
    color: #696e7a;
    font-size: 13px;
    font-weight: 400;
}

.pricing-card > p {
    color: #777c88;
    font-size: 14px;
}

.pricing-card ul {
    list-style: none;

    margin: 30px 0;
}

.pricing-card li {
    padding: 6px 0;

    color: #a3a7b0;

    font-size: 14px;
}

.download-section {
    padding: 110px 6%;
    width: 100%;
    max-width: 1250px;
    margin: auto;

    text-align: left;

    border-top: 1px solid #191b21;
}

.download-section .section-heading {
    margin-bottom: 32px;
}

.download-section .download-note {
    margin-top: 20px;
}

.privacy-section {
    text-align: center;
}

.privacy-section .section-heading {
    margin: auto;
}

.footer {
    padding: 60px 6% 30px;

    border-top: 1px solid #191b21;

    color: #707580;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: space-between;
}

.footer-brand {
    color: white;
}

.footer-tagline {
    margin-top: 12px;
}

.footer-links {
    display: flex;
    gap: 56px;
}

.footer-links h4 {
    color: #e6e8ee;
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-links a {
    display: block;

    margin: 8px 0;

    font-size: 14px;
    
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;

    margin: 44px auto 0;
    padding-top: 24px;

    border-top: 1px solid #191b21;

    font-size: 13px;
    color: #636975;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1024px) {

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 800px) {

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-menu.open {
        display: flex;
    }

    .nav-download {
        display: none;
    }

    .navbar {
        padding: 0 20px;
    }

    .hero {
        padding: 70px 20px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .preview-sidebar {
        display: none;
    }

    .preview-main {
        padding: 35px 25px;
    }

    .preview-stats {
        flex-direction: column;
    }

    .feature-grid,
    .steps,
    .pricing-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 90px 20px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-links > div {
        flex: 1 1 130px;
        min-width: 130px;
    }

    .steps {
        gap: 40px;
    }

}

@media (max-width: 600px) {

    .hero h1 {
        font-size: clamp(36px, 8vw, 48px);
    }

    .hero-description {
        font-size: 16px;
    }

    .button {
        padding: 0 16px;
        min-height: 44px;
        font-size: 13px;
    }

    .preview-main {
        padding: 30px 20px;
    }

    .preview-main h3 {
        font-size: 24px;
    }

    .preview-main .preview-h {
        font-size: 24px;
    }

    .section-heading h2 {
        font-size: clamp(28px, 6vw, 42px);
    }

    .pricing-grid {
        gap: 12px;
    }

    .pricing-card {
        padding: 24px;
    }

    .price {
        font-size: 32px;
    }

}


/* =========================================================
   ADMIN PANEL
   ========================================================= */

.admin-body {
    min-height: 100vh;
    background: #08090c;
    color: #f5f5f5;
}

/* ---------- Login page ---------- */
.admin-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.admin-login-card {
    width: 100%;
    max-width: 400px;
    background: #0d0f14;
    border: 1px solid #20232b;
    border-radius: 14px;
    padding: 36px;
    animation: fadeInUp 0.4s ease;
}

.admin-login-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 28px;
}

.admin-login-title {
    font-size: 24px;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.admin-login-sub {
    color: #777c88;
    font-size: 14px;
    margin-bottom: 22px;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-login-foot {
    margin-top: 22px;
    text-align: center;
    font-size: 13px;
    color: #777c88;
}

.admin-login-foot a {
    color: #a2a6b1;
}

.admin-login-foot a:hover {
    color: #fff;
}

/* ---------- Shell ---------- */
.admin-shell {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #0a0c10;
    border-right: 1px solid #1a1c22;
    display: flex;
    flex-direction: column;
    padding: 22px 16px;
    position: sticky;
    top: 0;
    height: 100vh;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.admin-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.admin-brand-text span {
    font-weight: 700;
    font-size: 15px;
}

.admin-brand-text small {
    color: #5a6170;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-nav-link {
    padding: 11px 14px;
    border-radius: 8px;
    color: #999da8;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.admin-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.admin-nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 3px 0 0 #f5f5f5;
}

.admin-sidebar-foot {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #1a1c22;
}

.admin-session {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.admin-session-name {
    font-size: 13px;
    font-weight: 600;
}

.admin-session-role {
    font-size: 11px;
    color: #5a6170;
}

.admin-logout-form {
    display: block;
}

.admin-logout {
    width: 100%;
    background: none;
    border: 1px solid #2b2f39;
    color: #a2a6b1;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-logout:hover {
    color: #fff;
    border-color: #4b5160;
    background: rgba(255, 255, 255, 0.03);
}

/* ---------- Main ---------- */
.admin-main {
    flex: 1;
    min-width: 0;
    padding: 24px 32px 60px;
}

.admin-topbar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
}

.admin-topbar-title {
    font-size: 26px;
    letter-spacing: -0.5px;
}

.admin-topbar-link {
    color: #777c88;
    font-size: 13px;
}

.admin-topbar-link:hover {
    color: #fff;
}

.admin-content {
    max-width: 1200px;
}

/* ---------- Cards & stats ---------- */
.admin-card {
    background: #0d0f14;
    border: 1px solid #20232b;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 20px;
}

.admin-card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #f5f5f5;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.admin-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-grid-2 .admin-card {
    margin-bottom: 20px;
}

.admin-stat {
    background: #0d0f14;
    border: 1px solid #20232b;
    border-radius: 12px;
    padding: 18px;
}

.admin-stat-label {
    display: block;
    color: #777c88;
    font-size: 12px;
    margin-bottom: 8px;
}

.admin-stat-value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
}

/* ---------- Tables ---------- */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table th {
    text-align: left;
    color: #777c88;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 12px;
    border-bottom: 1px solid #1a1c22;
}

.admin-table td {
    padding: 12px;
    border-bottom: 1px solid #16181e;
    color: #c9ccd3;
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.admin-table-scroll {
    overflow-x: auto;
}

.admin-empty {
    color: #5a6170;
    text-align: center;
    padding: 30px !important;
}

.admin-msg {
    max-width: 260px;
}

.admin-muted {
    color: #5a6170;
}

/* ---------- Badges ---------- */
.admin-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: #171a21;
    color: #a2a6b1;
    font-size: 11px;
    font-weight: 600;
}

.admin-badge.badge-on {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.admin-badge.badge-accent {
    background: #2a2020;
    color: #ffd3d3;
}

.admin-badge.badge-premium {
    background: #1f2a24;
    color: #9fe0be;
}

/* ---------- Alerts ---------- */
.admin-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 18px;
}

.admin-alert-success {
    background: #13251a;
    border: 1px solid #1f3a29;
    color: #9fe0be;
}

.admin-alert-error {
    background: #2a1515;
    border: 1px solid #3a1f1f;
    color: #ffc2c2;
}

/* ---------- Forms ---------- */
.admin-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.admin-filters-right {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.admin-input {
    background: #12141a;
    border: 1px solid #25293a;
    border-radius: 8px;
    padding: 9px 12px;
    color: #e6e6e6;
    font-size: 13px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.admin-input:focus {
    outline: none;
    border-color: #4b5160;
}

.admin-input[type="search"] {
    min-width: 220px;
}

.admin-input-small {
    width: 72px;
    padding: 6px 8px;
    font-size: 12px;
}

.admin-select-sm {
    padding: 6px 8px;
    font-size: 12px;
    cursor: pointer;
}

.admin-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-field > span {
    font-size: 12px;
    color: #777c88;
    font-weight: 500;
}

.admin-field textarea {
    resize: vertical;
}

.admin-grid-2-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.admin-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #a2a6b1;
    cursor: pointer;
}

.admin-check input {
    accent-color: #f5f5f5;
    width: 15px;
    height: 15px;
}

/* ---------- Chips & actions ---------- */
.admin-chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #25293a;
    color: #999da8;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.admin-chip:hover {
    color: #fff;
    border-color: #3d414e;
}

.admin-chip.active {
    background: #fff;
    color: #08090c;
    border-color: #fff;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.admin-inline-form {
    display: inline-block;
}

.admin-inline-form .button {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
}

.admin-danger {
    color: #ffb4b4 !important;
    border-color: #3a1f1f !important;
}

.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

.admin-page-label {
    color: #777c88;
    font-size: 13px;
}

.admin-count {
    color: #777c88;
    font-size: 13px;
    margin-bottom: 14px;
}

/* ---------- Admin responsive ---------- */
@media (max-width: 900px) {
    .admin-shell {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
    }

    .admin-brand {
        margin-bottom: 0;
    }

    .admin-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .admin-sidebar-foot {
        margin-top: 0;
        margin-left: auto;
        padding-top: 0;
        border-top: none;
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-grid-2 {
        grid-template-columns: 1fr;
    }

    .admin-main {
        padding: 20px 16px 50px;
    }
}

@media (max-width: 560px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------------------------
   Account & Beta pages
--------------------------------------------------------------------------- */

.account-shell {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 56px clamp(24px, 4vw, 60px) 100px;
}

.account-shell > .section-heading {
    margin: 0 auto 40px;
    text-align: center;
    max-width: 760px;
}

.account-shell > .section-heading h2 {
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -1px;
}

.account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;

    background: linear-gradient(155deg, #12141b 0%, #0d0f14 60%);
    border: 1px solid #22252e;
    border-radius: 16px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.03) inset,
        0 24px 48px -28px rgba(0, 0, 0, 0.65);

    padding: 32px 34px;
    margin-bottom: 28px;
}

.account-avatar,
.account-avatar-fallback {
    width: 72px;
    height: 72px;
}

.account-avatar-fallback {
    font-size: 28px;
}

.account-header-top {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.account-avatar {
    width: 64px;
    height: 64px;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid #292d36;

    flex-shrink: 0;
}

.account-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #181a22;
    color: #ffffff;

    font-size: 26px;
    font-weight: 800;
}

.account-profile-text {
    min-width: 0;
}

.account-profile-text h3 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    font-size: 20px;
    font-weight: 700;
}

.account-profile-text p {
    margin-top: 4px;

    color: #7b808c;
    font-size: 14px;
}

.account-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.account-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 5px 12px;

    border: 1px solid #292d36;
    border-radius: 999px;

    background: #111319;
    color: #b7bcc7;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.account-pill-strong {
    background: rgba(46, 160, 67, 0.14);
    border-color: rgba(46, 160, 67, 0.35);
    color: #4cd137;
}

.account-status-row {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 10px;

    color: #7b808c;
    font-size: 13px;
}

.account-status-row strong {
    color: #e6e8ee;
    font-weight: 700;
}

.account-header-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.account-stat-card {
    background: #0d0f14;
    border: 1px solid #20232b;
    border-radius: 14px;
    padding: 20px 22px;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.account-stat-card:hover {
    border-color: #2c303b;
    transform: translateY(-1px);
}

.account-stat-label {
    display: block;
    color: #7b808c;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.account-stat-value {
    display: block;
    color: #f5f5f5;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.4px;
    line-height: 1.2;
}

.account-stat-value.status-on-text {
    color: #4cd137;
}

.account-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.account-grid-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.account-grid-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.account-card {
    background: #0d0f14;
    border: 1px solid #20232b;
    border-radius: 16px;
    padding: 28px 30px;
    min-width: 0;
    transition: border-color 0.18s ease;
}

.account-card:hover {
    border-color: #262a34;
}

.account-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;

    margin-bottom: 18px;
}

.account-section-head .account-section-title,
.account-section-head .account-section-desc {
    margin-bottom: 0;
}

.account-section-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.account-section-desc {
    color: #7b808c;
    font-size: 13px;
    margin-bottom: 18px;
}

.account-subsection-title {
    font-size: 14px;
    font-weight: 700;
    color: #e6e8ee;
    margin-bottom: 6px;
}

.account-subsection-gap {
    margin-top: 22px;
}

.account-subsection-hint {
    color: #7b808c;
    font-size: 12px;
    margin-bottom: 8px;
}

.account-plan-summary {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.account-plan-name {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.account-plan-price {
    color: #a2a6b1;
    font-size: 15px;
}

.account-actions-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.account-note {
    margin-top: 12px;
    color: #7b808c;
    font-size: 12px;
    line-height: 1.6;
}

.account-notice {
    margin-bottom: 18px;
    padding: 12px 14px;

    border: 1px solid rgba(227, 106, 60, 0.4);
    border-radius: 10px;

    background: rgba(227, 106, 60, 0.1);
    color: #f0b88a;

    font-size: 13px;
    line-height: 1.6;
}

.account-kv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;

    padding: 12px 0;

    border-bottom: 1px solid #16181f;
}

.account-kv:last-child {
    border-bottom: none;
}

.account-kv span {
    color: #7b808c;
    font-size: 13px;
}

.account-kv strong {
    color: #e6e8ee;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

.account-table-wrap {
    overflow-x: auto;
    overscroll-behavior-x: contain;

    border: 1px solid #20232b;
    border-radius: 10px;
}

.account-table {
    width: 100%;
    min-width: 780px;
    table-layout: auto;

    border-collapse: collapse;

    font-size: 13px;
}

.account-table th {
    white-space: nowrap;
}

.account-table th {
    padding: 10px 14px;

    text-align: left;

    color: #7b808c;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;

    background: #0a0c11;
    border-bottom: 1px solid #20232b;
}

.account-table td {
    padding: 12px 14px;

    vertical-align: top;

    color: #d6d9e0;
    border-bottom: 1px solid #16181f;
    overflow-wrap: break-word;
}

.account-table td:nth-child(1),
.account-table td:nth-child(2),
.account-table td:nth-child(3),
.account-table td:nth-child(4),
.account-table td:nth-child(5),
.account-table td:nth-child(6) {
    white-space: nowrap;
}

.account-table tr:last-child td {
    border-bottom: none;
}

.account-table-amount {
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap;
}

.account-detail summary {
    cursor: pointer;

    color: #7aa2ff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.account-detail-body {
    margin-top: 10px;
    padding-top: 10px;

    border-top: 1px solid #16181f;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 6px 14px;
    align-items: start;
}

.account-detail-body div {
    display: contents;
}

.account-detail-body div span {
    color: #7b808c;
    font-size: 12px;
}

.account-detail-body div strong {
    color: #d6d9e0;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    overflow-wrap: break-word;
    word-break: normal;
}

.account-session {
    padding: 14px 0;
    border-bottom: 1px solid #16181f;
}

.account-session:last-child {
    border-bottom: none;
}

.account-session-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.account-session-head strong {
    color: #e6e8ee;
    font-size: 14px;
}

.account-session-meta {
    margin-top: 4px;
    color: #7b808c;
    font-size: 13px;
}

.account-session-actions {
    margin-top: 10px;
}

.account-device {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px 16px;
    padding: 14px 0;
    border-bottom: 1px solid #16181f;
}

.account-device:last-child {
    border-bottom: none;
}

.account-device-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    min-width: 0;
}

.account-device-name {
    color: #e6e8ee;
    font-size: 13px;
    font-weight: 600;
    word-break: break-all;

    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.account-device-meta {
    display: flex;
    gap: 6px 18px;
    flex-wrap: wrap;

    margin-top: 4px;

    color: #7b808c;
    font-size: 12px;

    grid-column: 1 / -1;
}

.account-device-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
}

.account-empty {
    padding: 8px 0;

    color: #7b808c;
    font-size: 13px;
}

.account-inline-form {
    margin: 0;
    display: inline-flex;
}

.account-inline-form-button {
    background: transparent;
    border-color: #292d36;
    color: #b7bcc7;
    min-height: 40px;
    padding: 0 18px;
}

.account-inline-form-button:hover {
    background: #1a1d26;
    color: #ffffff;
}

.account-button-sm {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
    border-radius: 8px;
}

.status-badge {
    display: inline-block;

    padding: 5px 12px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.5px;
}

.status-badge.status-on {
    background: rgba(46, 160, 67, 0.14);
    border: 1px solid rgba(46, 160, 67, 0.35);
    color: #4cd137;
}

.status-badge.status-off {
    background: rgba(163, 122, 40, 0.14);
    border: 1px solid rgba(163, 122, 40, 0.35);
    color: #e6b13e;
}

.status-badge.account-ok {
    background: rgba(46, 160, 67, 0.14);
    border: 1px solid rgba(46, 160, 67, 0.35);
    color: #4cd137;
}

.status-badge.account-pending {
    background: rgba(163, 122, 40, 0.14);
    border: 1px solid rgba(163, 122, 40, 0.35);
    color: #e6b13e;
}

.status-badge.account-failed {
    background: rgba(224, 89, 89, 0.14);
    border: 1px solid rgba(224, 89, 89, 0.4);
    color: #e56666;
}

.status-badge.account-refunded {
    background: rgba(122, 162, 255, 0.14);
    border: 1px solid rgba(122, 162, 255, 0.35);
    color: #7aa2ff;
}

.status-badge.account-canceled {
    background: rgba(139, 145, 158, 0.14);
    border: 1px solid rgba(139, 145, 158, 0.35);
    color: #b7bcc7;
}

.status-badge.account-neutral {
    background: rgba(139, 145, 158, 0.14);
    border: 1px solid rgba(139, 145, 158, 0.35);
    color: #b7bcc7;
}

.beta-access-card {
    max-width: 600px;
    margin: 0 auto 28px;

    background: #0d0f14;
    border: 1px solid #20232b;
    border-radius: 14px;

    padding: 32px;
}

.beta-access-card h3 {
    margin-top: 14px;

    font-size: 24px;
    font-weight: 700;
}

.beta-access-card p {
    margin-top: 12px;

    color: #a2a6b1;
    line-height: 1.6;
}

.beta-access-granted .status-on,
.beta-release-head .status-on {
    margin-bottom: 0;
}

.beta-releases {
    max-width: 600px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.beta-release-card {
    background: #0d0f14;
    border: 1px solid #20232b;
    border-radius: 14px;

    padding: 28px;
}

.beta-release-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.beta-release-head h3 {
    font-size: 20px;
    font-weight: 700;
}

.beta-release-meta {
    margin-top: 6px;

    color: #7b808c;
    font-size: 13px;
}

.beta-release-description {
    margin-top: 14px;

    color: #a2a6b1;
    font-size: 14px;
    line-height: 1.6;
}

.beta-release-card .button {
    margin-top: 20px;
}

@media (max-width: 1180px) {
    .account-grid {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .account-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .account-shell {
        padding: 44px 24px 80px;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .account-grid-side {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 820px) {
    .account-shell {
        padding: 36px 20px 72px;
    }

    .account-header {
        padding: 22px;
    }

    .account-card {
        padding: 22px 20px;
    }

    .account-stats {
        grid-template-columns: 1fr;
    }

    .account-grid-side {
        grid-template-columns: 1fr;
    }

    .account-table-wrap {
        overflow: visible;
        border: none;
        background: none;
    }

    .account-table,
    .account-table tbody,
    .account-table tr,
    .account-table td {
        display: block;
        width: 100%;
    }

    .account-table thead {
        display: none;
    }

    .account-table tbody {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .account-table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 16px;
        padding: 16px;
        border: 1px solid #20232b;
        border-radius: 12px;
        background: #0d0f14;
    }

    .account-table tr:last-child td {
        border-bottom: none;
    }

    .account-table td {
        padding: 0;
        border: none;
        display: flex;
        flex-direction: column;
        gap: 2px;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .account-table td::before {
        content: attr(data-label);
        color: #7b808c;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .account-table td[data-label="Description"],
    .account-table td[data-label="Details"] {
        grid-column: 1 / -1;
    }

    .account-table td[data-label="Details"] {
        align-self: start;
    }

    .account-header-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .account-card,
    .beta-access-card,
    .beta-release-card {
        padding: 22px;
    }

    .account-avatar {
        width: 52px;
        height: 52px;
    }

    .account-shell {
        padding: 28px 16px 64px;
    }

    .account-profile-text h3 {
        font-size: 18px;
    }
}
/* ---------- Admin log details ---------- */
.admin-log-detail td {
    padding: 0 16px 14px;
    background: #0d0f14;
}
.admin-log-detail summary {
    cursor: pointer;
    color: #7aa2ff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 0;
}
.admin-log-detail-body {
    margin-top: 6px;
    display: grid;
    gap: 10px;
}
.admin-log-detail-body p {
    margin: 0;
    color: #9aa0ab;
    font-size: 13px;
}
.admin-log-detail-body p strong {
    color: #e6e8ee;
}
.admin-pre {
    margin: 0;
    padding: 12px;
    background: #08090c;
    border: 1px solid #23262e;
    border-radius: 8px;
    color: #c9cdf5;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12px;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

/* =========================================================
   PUBLIC PAGES (features, how it works, pricing, faq, legal)
   ========================================================= */

.page-wrap {
    padding: 130px 6% 80px;
    max-width: 1250px;
    margin: auto;
}

.page-wrap .section-heading {
    margin: 0 auto 60px;
    text-align: center;
    max-width: 760px;
}

.page-wrap.page-narrow {
    max-width: 900px;
}

.page-wrap.page-narrow .section-heading {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #686d79;
    font-size: 13px;
    margin-bottom: 18px;
}

.breadcrumbs a {
    color: #999da8;
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs .crumb-sep {
    color: #3d414e;
}

/* Sub-page hero (compact intro without the full homepage hero) */
.hero-sub {
    min-height: 0;
    padding: 90px 6% 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background:
        radial-gradient(
            circle at 50% 0%,
            #1c202a 0,
            #08090c 55%
        );
}

.hero-sub h1 {
    max-width: 760px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -3px;
    animation: fadeInUp 0.6s ease both;
}

.hero-sub h1 span {
    color: #737987;
}

.hero-sub p {
    max-width: 640px;
    margin: 20px auto 0;
    color: #a2a6b1;
    font-size: 17px;
    animation: fadeInUp 0.6s ease 0.15s both;
}

.hero-sub .badge {
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease both;
}

/* Content / legal document styling */
.legal-prose {
    color: #c5c8d0;
    line-height: 1.75;
    font-size: 15px;
}

.legal-prose h2 {
    margin-top: 44px;
    margin-bottom: 12px;
    font-size: 24px;
    color: #f5f5f5;
    letter-spacing: -0.5px;
}

.legal-prose h3 {
    margin-top: 26px;
    margin-bottom: 8px;
    font-size: 18px;
    color: #e6e8ee;
}

.legal-prose p,
.legal-prose li {
    margin-bottom: 12px;
}

.legal-prose ul,
.legal-prose ol {
    padding-left: 22px;
    margin-bottom: 14px;
}

.legal-prose li {
    margin-bottom: 6px;
}

.legal-prose a {
    color: #8fb0ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-prose a:hover {
    color: #b9ccff;
}

.legal-prose code {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 13px;
    background: #14161c;
    padding: 2px 6px;
    border-radius: 5px;
    color: #c9cdf5;
}

/* FAQ */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-section .faq-list {
    margin: 0;
}

.faq-item {
    border: 1px solid #20232b;
    border-radius: 12px;
    background: #0d0f14;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: #373b46;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    padding: 22px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #e6e8ee;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    font-size: 22px;
    font-weight: 400;
    color: #686d79;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: #fff;
}

.faq-item .faq-answer {
    padding: 0 24px 22px;
    color: #a2a6b1;
    line-height: 1.65;
    font-size: 14px;
}

.faq-item .faq-answer p {
    margin-bottom: 10px;
}

.faq-item .faq-answer p:last-child {
    margin-bottom: 0;
}

/* Download page */
.download-page {
    width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-page .download-hero {
    width: 100%;
    padding: 62px 24px 44px;
}

.download-hero-inner {
    width: min(100%, 760px);
    margin: 0 auto;
}

.download-page .download-action-section {
    display: block;
    width: calc(100% - 48px);
    max-width: 760px;
    box-sizing: border-box;
    margin: 0 auto !important;
    padding: 18px 0 76px;
    text-align: center;
}

.download-page .download-action {
    min-height: 56px;
    padding: 0 30px;
    font-size: 16px;
}

.download-page .download-action span {
    margin-left: 4px;
}

.download-page .download-support-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 44px 0 20px;
    font-size: 13.5px;
}
.download-page .download-support-links a {
    color: #9aa0ab;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.download-page .download-support-links a:hover {
    color: #fff;
    border-color: #3d414e;
}
.download-page .download-support-links span {
    opacity: .55;
}

.dl-beta-card {
    max-width: 760px;
    margin: 0 auto;
    background: linear-gradient(135deg, #14161d, #0d0f14);
    border: 1px solid #292d36;
    border-radius: 14px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    text-align: left;
}
.dl-beta-card h3 {
    font-size: 20px;
    margin: 6px 0 4px;
}
.dl-beta-card p {
    color: #7b808c;
    font-size: 14px;
    margin: 0;
    max-width: 440px;
}
.dl-beta-card .button { flex-shrink: 0; }

.dl-collapse {
    max-width: 880px;
    margin: 0 auto;
    background: #0d0f14;
    border: 1px solid #20232b;
    border-radius: 14px;
    overflow: hidden;
}
.dl-collapse summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 26px;
    font-size: 16px;
    font-weight: 700;
    color: #e6e8ee;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background .2s ease;
}
.dl-collapse summary::-webkit-details-marker { display: none; }
.dl-collapse summary:hover { background: #111319; }
.dl-collapse summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    color: #686d79;
    margin-left: auto;
    transition: transform .3s ease, color .2s ease;
}
.dl-collapse[open] summary::after {
    transform: rotate(45deg);
    color: #fff;
}
.dl-collapse-count {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #9aa0ab;
    background: #16181f;
    border: 1px solid #292d36;
    padding: 3px 10px;
    border-radius: 999px;
}
.dl-collapse-label {
    padding: 6px 26px 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #686d79;
}
.dl-collapse .feature-grid { padding: 14px 26px 14px; }
.dl-collapse .admin-table-scroll { padding: 14px 26px 26px; }

.dl-info-grid {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.requirements-grid {
    max-width: 880px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dl-info-card {
    background: #0d0f14;
    border: 1px solid #20232b;
    border-radius: 12px;
    padding: 24px;
}

.dl-info-card h3 {
    font-size: 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dl-info-card ul {
    list-style: none;
    margin: 0;
}

.dl-info-card li {
    padding: 5px 0;
    color: #a2a6b1;
    font-size: 14px;
}

.dl-info-card li::before {
    content: "✓";
    color: #4cd137;
    margin-right: 10px;
}

.dl-steps {
    max-width: 760px;
    margin: 0 auto;
    counter-reset: dlstep;
}

.dl-step {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
}

.dl-step .dl-step-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #171a21;
    border: 1px solid #252832;
    color: #999da8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.dl-step h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.dl-step p {
    color: #a2a6b1;
    font-size: 14px;
}

/* Screenshot figures */
.figure-screenshot {
    margin: 40px auto 0;
    max-width: 860px;
}

.figure-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #292d36;
    border-radius: 14px;
    background: #0e1015;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

/* Heading-hierarchy normalization: component titles use h2 while keeping the
   exact visual weight/size the previous h3 had, so heading order is valid
   (no h1 -> h3 skip) without changing appearance. */
.feature-card h2 {
    margin-bottom: 8px;
    font-family: inherit;
    font-size: 1.17em;
    font-weight: 700;
    line-height: 1.2;
}

.step h2 {
    margin-top: 0;
    margin-bottom: 6px;
    font-family: inherit;
    font-size: 1.17em;
    font-weight: 700;
    line-height: 1.2;
}

.dl-step h2 {
    margin-bottom: 4px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

/* Pricing one-time emphasis */
.price-tag {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
}

.price-tag span {
    display: block;
    color: #696e7a;
    font-size: 14px;
    font-weight: 500;
    margin-top: 6px;
    letter-spacing: 0;
}

.one-time-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #4cd137;
    font-size: 13px;
    font-weight: 600;
}

/* Comparison / three pricing cards in a single row, reusing .pricing-grid */
.pricing-compare {
    max-width: 1100px;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 800px) {
    .pricing-grid.pricing-compare {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------------
   Pricing page redesign (UI/UX only — no pricing/backend changes).
   Scoped to the /pricing comparison so the homepage and /beta keep
   their existing pricing-card markup untouched. Everything in the
   pricing section shares one 1200px container (.pricing-wrap) so the
   eyebrow, heading, subtitle, cards and About Pro prose all align.
   ------------------------------------------------------------------ */

.pricing-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}

.pricing-header {
    max-width: 760px;
    margin: 0 auto;
    padding-top: 72px;
    text-align: center;
}

.pricing-header .badge {
    margin-bottom: 12px;
}

.pricing-header h1 {
    font-size: clamp(30px, 4.5vw, 46px);
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.pricing-header p {
    max-width: 560px;
    margin: 16px auto 48px;
    color: #a2a6b1;
    font-size: 16px;
    line-height: 1.6;
}

.pricing-page-section {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 0 4px;
}

.pricing-compare.pricing-compare {
    max-width: 1120px;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-compare .pricing-card {
    display: flex;
    flex-direction: column;
    padding: 26px 26px 24px;
}

.pricing-compare .pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

.pricing-compare .pricing-card.premium {
    position: relative;
    border-color: rgba(227, 106, 60, 0.5);
    background: #101319;
}

.pricing-compare .pricing-card.premium:hover {
    border-color: rgba(227, 106, 60, 0.75);
}

.pricing-compare .pricing-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pricing-compare .pricing-name {
    color: #f5f5f5;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.pricing-compare .popular {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    color: #ff9a6b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    white-space: nowrap;
}

.pricing-compare .pricing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 12px;
}

.pricing-compare .pricing-price-value {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
}

.pricing-compare .pricing-price-unit {
    color: #9ba0ab;
    font-size: 13px;
    font-weight: 500;
}

.pricing-compare .pricing-desc {
    margin-top: 8px;
    color: #898e9a;
    font-size: 13px;
    line-height: 1.5;
}

.pricing-compare .pricing-card ul {
    margin: 16px 0 0;
    padding: 0;
}

.pricing-compare .pricing-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 5px 0;
    color: #c2c6cf;
    font-size: 13px;
    line-height: 1.4;
}

.pricing-compare .pricing-card li::before {
    content: "\2713";
    color: #e8864f;
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-compare .pricing-billing {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #1c1f28;
    color: #8a8f9b;
    font-size: 12.5px;
    font-weight: 400;
}

.pricing-compare .pricing-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}

.pricing-compare .pricing-note {
    color: #7f8590;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    letter-spacing: 0.2px;
}

.pricing-compare .pricing-cta .button.premium-cta {
    box-shadow: 0 0 0 1px rgba(227, 106, 60, 0.6);
}

.pricing-compare .pricing-cta .button.premium-cta:hover:not(:disabled) {
    box-shadow: 0 0 0 1px rgba(227, 106, 60, 0.85), 0 12px 28px rgba(227, 106, 60, 0.18);
}

.pricing-about {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 88px 0 96px;
}

.pricing-about-heading {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.pricing-about-heading h2 {
    font-size: clamp(26px, 4vw, 40px);
    letter-spacing: -1px;
}

.pricing-about .legal-prose {
    max-width: 820px;
    margin: 0 auto;
    color: #9fa4af;
    font-size: 15px;
    line-height: 1.75;
}

@media (max-width: 940px) {
    .pricing-compare.pricing-compare {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .pricing-header {
        padding-top: 56px;
    }
}

@media (max-width: 600px) {
    .pricing-wrap {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pricing-header {
        padding-top: 40px;
    }

    .pricing-header h1 {
        font-size: clamp(26px, 7.5vw, 34px);
    }

    .pricing-header p {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .pricing-compare.pricing-compare {
        max-width: 100%;
    }

    .pricing-compare .pricing-card {
        padding: 22px 20px 20px;
    }

    .pricing-compare .pricing-price-value {
        font-size: 32px;
    }

    .pricing-about {
        padding-top: 72px;
        padding-bottom: 80px;
    }
}

/* Keyboard focus visibility for interactive elements */
.button:focus-visible,
.pricing-header a:focus-visible,
.pricing-compare a:focus-visible,
.nav-links a:focus-visible {
    outline: 2px solid rgba(227, 106, 60, 0.8);
    outline-offset: 2px;
}

/* Slightly more prominent Download link in the top navigation */
.nav-links .nav-download-link {
    color: #e8864f;
    font-weight: 600;
}

.nav-links .nav-download-link:hover {
    color: #ffffff;
}

/* CTA section at the bottom of content pages */
.cta-band {
    margin-top: 70px;
    padding: 56px 6%;
    text-align: center;
    border-top: 1px solid #191b21;
    background:
        radial-gradient(circle at center, #171a21, #08090c 60%);
}

.cta-band h2 {
    font-size: clamp(30px, 5vw, 46px);
    letter-spacing: -2px;
    margin-bottom: 14px;
}

.cta-band p {
    color: #7b808c;
    max-width: 520px;
    margin: 0 auto 26px;
}

.section-more {
    display: block;
    text-align: center;
    margin-top: 34px;
    color: #a2a6b1;
    font-size: 15px;
    font-weight: 500;
}

.section-more a {
    color: #e6e8ee;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.section-more a:hover {
    color: #fff;
}

/* Contact / support card on legal pages */
.contact-card {
    margin-top: 40px;
    background: #0d0f14;
    border: 1px solid #20232b;
    border-radius: 14px;
    padding: 28px;
}

.contact-card h2 {
    margin-top: 0;
}

.contact-card .contact-email {
    font-weight: 600;
    color: #8fb0ff;
}

@media (max-width: 600px) {
    .download-page .download-hero {
        padding: 54px 20px 38px;
    }

    .download-page .download-action-section {
        width: calc(100% - 40px);
        padding-bottom: 54px;
    }

    .page-wrap {
        padding: 90px 20px 60px;
    }

    .hero-sub {
        padding: 70px 20px 50px;
    }

    .faq-item summary {
        padding: 18px;
        font-size: 15px;
    }

    .faq-item .faq-answer {
        padding: 0 18px 18px;
    }
}

/* =========================================================
   DOCS, BLOG & ARTICLE LAYOUT
   ========================================================= */

/* Documentation layout: sticky sidebar + content column */
.docs-layout {
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px 6% 90px;
    display: flex;
    gap: 56px;
    align-items: flex-start;
}

.docs-content {
    flex: 1;
    min-width: 0;
    max-width: 800px;
}

/* Sidebar */
.docs-sidebar {
    display: block;
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.docs-sidebar-title {
    display: block;
    margin-bottom: 18px;
    color: #f5f5f5;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.2px;
}

.docs-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.docs-nav a {
    padding: 9px 12px;
    border-radius: 8px;
    color: #999da8;
    font-size: 14px;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.docs-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.docs-nav a[aria-current="page"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-left-color: #f5f5f5;
}

/* Mobile collapsible docs nav (hidden on desktop) */
.docs-sidebar-mobile {
    display: none;
    margin: 24px 6% 0;
    border: 1px solid #20232b;
    border-radius: 12px;
    background: #0d0f14;
    overflow: hidden;
}

.docs-sidebar-mobile summary {
    padding: 16px 18px;
    cursor: pointer;
    color: #e6e8ee;
    font-size: 14px;
    font-weight: 600;
    list-style: none;
}

.docs-sidebar-mobile summary::-webkit-details-marker {
    display: none;
}

.docs-sidebar-mobile summary::after {
    content: "+";
    float: right;
    color: #686d79;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.docs-sidebar-mobile[open] summary::after {
    transform: rotate(45deg);
}

.docs-sidebar-mobile .docs-nav {
    padding: 4px 0 10px;
}

/* Inline bylines (blog article dates) */
.docs-byline {
    color: #686d79 !important;
    font-size: 14px !important;
    margin-top: 6px !important;
}

/* Docs table (keyboard shortcuts etc.) */
.docs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 14px;
}

.docs-table th {
    text-align: left;
    color: #777c88;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 12px;
    border-bottom: 1px solid #1a1c22;
}

.docs-table td {
    padding: 12px;
    border-bottom: 1px solid #16181e;
    color: #c9ccd3;
}

.docs-table kbd {
    font-size: 12px;
    padding: 4px 7px;
}

/* Prev / next navigation at the bottom of docs pages */
.docs-prevnext {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid #1a1c22;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.docs-prevnext a {
    color: #e6e8ee;
    font-size: 14px;
    font-weight: 600;
}

.docs-prevnext a:hover {
    color: #fff;
}

.docs-prevnext a span {
    color: #8fb0ff;
}

/* Card grids and cards for docs/blog/troubleshooting hubs */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.doc-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    min-height: 200px;
    border: 1px solid #20232b;
    border-radius: 12px;
    background: #0d0f14;
    transition: all 0.4s ease;
}

.doc-card:hover {
    border-color: #3d414e;
    background: #131519;
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.doc-card-icon {
    font-size: 22px;
    margin-bottom: 22px;
    transition: transform 0.3s ease;
}

.doc-card:hover .doc-card-icon {
    transform: translateY(-3px);
}

.doc-card h2 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.2px;
}

.doc-card p {
    color: #737885;
    font-size: 14px;
    line-height: 1.6;
}

.doc-card .doc-card-meta {
    color: #5a6170;
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: 0;
}

/* Docs/blog responsive */
@media (max-width: 960px) {
    .docs-layout {
        flex-direction: column;
        gap: 0;
        padding: 40px 6% 70px;
    }

    .docs-sidebar {
        display: none;
    }

    .docs-sidebar-mobile {
        display: block;
    }

    .docs-content {
        max-width: 100%;
        padding-top: 30px;
    }
}

@media (max-width: 800px) {
    .docs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .docs-layout {
        padding: 30px 20px 60px;
    }

    .docs-sidebar-mobile {
        margin: 20px 20px 0;
    }
}


/* Pagination (blog / release notes) */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.pagination-number,
.pagination-current {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #20232b;
    background: #0d0f14;
    color: #c7cbd6;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.pagination-number:hover {
    border-color: #313683;
    color: #fff;
}
.pagination-current {
    background: #313683;
    border-color: #313683;
    color: #fff;
}
.pagination-ellipsis {
    color: #7b808c;
    padding: 0 2px;
}

/* CMS announcement banners */
.announcement-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 20px;
    margin: 0 auto;
    max-width: 1200px;
    font-size: 14px;
    line-height: 1.5;
    background: #111318;
    border: 1px solid #23262e;
    border-radius: 10px;
    color: #c5c8d0;
}
.announcement-banner-homepage {
    margin-top: 20px;
}
.announcement-banner + .announcement-banner {
    margin-top: 8px;
}
.announcement-link {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: inherit;
    text-decoration: none;
}
.announcement-link:hover {
    text-decoration: underline;
}
.announcement-kind {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    background: #23262e;
    color: #9aa0ac;
}
.announcement-title {
    font-weight: 600;
    color: #e6e8ee;
}
.announcement-message {
    color: #7b808c;
}
.announcement-banner.banner-info .announcement-kind { background: #1e2433; color: #8ab4f8; }
.announcement-banner.banner-beta .announcement-kind { background: #2a2138; color: #c4a7e7; }
.announcement-banner.banner-release .announcement-kind { background: #1c2e24; color: #7ee2a8; }
.announcement-banner.banner-maintenance .announcement-kind { background: #2e2a1c; color: #e8d27e; }
.announcement-banner.banner-warning .announcement-kind { background: #33221f; color: #f0a08c; }

/* Admin nav group dividers */
.admin-nav-divider {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5c6270;
    padding: 18px 20px 6px;
}

/* Admin checkbox group (placements) */
.admin-check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 8px 0;
}

/* Admin media library */
.admin-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.admin-media-item {
    border: 1px solid #25293a;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.015);
    display: flex;
    flex-direction: column;
}

.admin-media-thumb {
    background: #14161f;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 130px;
    padding: 10px;
}

.admin-media-thumb img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.admin-media-meta {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-media-url {
    font-size: 11px;
    color: #8ab4f8;
    word-break: break-all;
    background: #1e2433;
    padding: 6px 8px;
    border-radius: 6px;
}

.admin-media-meta small {
    color: #7b808c;
    font-size: 12px;
}