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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #f5f7fa;
    color: #1e293b;
    line-height: 1.6;
}

body.admin-app-page {
    height: 100vh;
    overflow: hidden;
    background: #0c0f13;
    color: #e7ecf2;
}

body.user-subscription-page {
    background: #0c0f13;
    color: #e7ecf2;
}

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

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.container.narrow {
    max-width: 700px;
}

.header {
    background-color: #ffffff;
    border-bottom: 1px solid #cbd5e1;
}

body.admin-app-page .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

body.admin-app-page .header,
body.user-subscription-page .header {
    background: rgba(15, 16, 19, 0.76);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(22px) saturate(120%);
}

body.admin-app-page .header {
    background: #10141a;
    border-bottom: 1px solid #222831;
    backdrop-filter: none;
}

body.user-subscription-page .header {
    background: #10141a;
    border-bottom: 1px solid #222831;
    backdrop-filter: none;
}

body.admin-app-page .logo,
body.admin-app-page .nav a,
body.user-subscription-page .logo,
body.user-subscription-page .nav a {
    color: #f5f5f7;
}

body.admin-app-page .nav a:not(.btn),
body.user-subscription-page .nav a:not(.btn) {
    color: #b7bac3;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.nav a {
    margin-left: 20px;
    font-size: 0.9rem;
}

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

.nav a {
    margin-left: 0;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(148, 163, 184, 0.2);
}

.lang-switcher a {
    margin-left: 0;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.lang-switcher a.active {
    background: rgba(56, 212, 138, 0.12);
    color: #38d48a;
}

.btn {
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn.primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.btn.secondary {
    background-color: transparent;
}

.btn:hover {
    transform: translateY(-1px);
}

.subtitle {
    font-size: 1rem;
    color: #94a3b8;
}

.section {
    padding: 64px 0;
}

.section.light {
    background-color: #ffffff;
}

.section h2 {
    color: #1e293b;
    margin-bottom: 16px;
}

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

.card {
    background-color: #ffffff;
    padding: 24px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}

.card h3 {
    color: #1e293b;
    margin-bottom: 8px;
}

.license-icon {
    width: 100%;
    margin-bottom: 15px;
    opacity: 0.9;
}

.license-card {
    text-align: center;
}

.features {
    list-style: none;
    margin-top: 16px;
}

.features li {
    padding-left: 16px;
    margin-bottom: 8px;
    position: relative;
}

.features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3b82f6;
}

.cta {
    padding: 64px 0;
    text-align: center;
    background-color: #ffffff;
}

.cta h2 {
    color: #1e293b;
    margin-bottom: 16px;
}

.footer {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
    font-size: 0.85rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    margin-left: 16px;
    color: #94a3b8;
}

body.landing-page {
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.05), transparent 20%),
        linear-gradient(180deg, #0d0e11 0%, #141518 55%, #101114 100%);
    color: #f0f0f2;
}

body.landing-page .header {
    background: rgba(15, 16, 19, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(22px) saturate(120%);
}

body.landing-page .logo,
body.landing-page .nav a {
    color: #f5f5f7;
}

body.landing-page .nav a:not(.btn) {
    color: #b7bac3;
}

body.landing-page .btn {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    width: auto;
    padding: 12px 18px;
    box-shadow: none;
}

body.landing-page .btn.primary {
    background: linear-gradient(180deg, #2d3138 0%, #23262c 100%);
    border-color: rgba(255, 255, 255, 0.12);
}

body.landing-page .btn.secondary {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

body.landing-page .btn:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.14);
}

.landing-hero,
.landing-section {
    position: relative;
    z-index: 1;
}

.landing-hero {
    position: relative;
    padding: 84px 0 70px;
    min-height: 720px;
    background-image:url("/assets/img/banner.jpg");
    background-size: cover;
    background-position: center 28%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.landing-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    /* SOLO UNA CAPA */
    background:
    rgba(8, 9, 11, 0.20),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.06), transparent 40%);

    /* BLUR REAL */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    pointer-events: none;
}

.landing-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(180deg, rgba(13, 14, 17, 0), rgba(13, 14, 17, 0.52));
    pointer-events: none;
}

.landing-hero-grid,
.landing-feature-grid,
.landing-stats-grid,
.landing-pricing-grid {
    display: grid;
    gap: 24px;
}

.landing-hero-grid {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.95fr);
    align-items: center;
    min-height: 560px;
}

.landing-copy h1 {
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    margin-bottom: 18px;
    max-width: 12ch;
}

.landing-copy p {
    max-width: 620px;
    color: #b9bcc5;
    font-size: 1.02rem;
}

.landing-copy {
    max-width: 820px;
}

.landing-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: #9fa3ac;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 20px;
}

.landing-actions-center {
    justify-content: center;
}

.landing-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.landing-trust-row span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #c2c5cd;
    font-size: 0.84rem;
}

.landing-preview {
    display: grid;
    gap: 18px;
}

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

.landing-glass-card {
    background:
        linear-gradient(180deg, rgba(44, 44, 46, 0.78), rgba(24, 24, 26, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 26px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px) saturate(200%);
}

.landing-card-label {
    display: block;
    margin-bottom: 12px;
    color: #9ea2ab;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-plan-recommended{
    color:#4ade80;
    font-size:0.85rem;
    margin-bottom:10px;
}

.landing-preview-main strong,
.landing-glass-card strong,
.landing-stat-card strong,
.landing-price {
    display: block;
    color: #ffffff;
}

.landing-preview-main strong,
.landing-glass-card strong {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.landing-glass-card p,
.landing-plan-copy,
.landing-stat-card span,
.landing-section-head p {
    color: #b7bac3;
}

.landing-section {
    padding: 42px 0 54px;
}

.landing-section-muted {
    padding-top: 12px;
}

.landing-section-head {
    margin-bottom: 28px;
}

.landing-section-head-center {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.landing-section-head h2,
.landing-cta-card h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.03;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.landing-feature-grid,
.landing-stats-grid,
.landing-pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-feature-card h3,
.landing-pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.landing-stat-card {
    text-align: center;
}

.landing-stat-card strong {
    font-size: 1.9rem;
    margin-bottom: 8px;
}

.landing-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.landing-pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    transition: all .25s ease;
}

/* HOVER */
.landing-pricing-card:hover {
    transform: translateY(-6px);
}

/* FEATURED (PRO) */
.landing-pricing-card-featured {
    border: 1px solid rgba(0, 120, 212, 0.4);
    box-shadow:
        0 30px 80px rgba(0,0,0,0.45),
        0 0 0 1px rgba(0,120,212,0.25);
}

.landing-pricing-card-featured:hover {
    transform:scale(1.02);
}

.landing-pricing-card:not(.landing-pricing-card-featured){
    opacity:0.85;
}

/* TOP */
.landing-plan-top {
    padding: 28px 24px 20px;
    text-align: center;
}

/* TITULO */
.landing-plan-top h3 {
    font-size: 20px;
    letter-spacing: 1px;
}

/* DESCRIPCION */
.landing-plan-copy {
    margin: 10px 0 14px;
    color: #9aa0a6;
    font-size: 14px;
}

/* HINT */
.landing-plan-hint {
    color: #4ade80;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* PRECIO */
.landing-price {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* SUBTEXTO PRECIO */
.landing-price span {
    display: block;
    font-size: 12px;
    color: #8b93a7;
    margin-top: 4px;
}

/* DIVIDER */
.landing-plan-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 0 16px;
}

/* FEATURES */
.landing-plan-features {
    padding: 20px 24px 26px;
}

/* LISTA */
.landing-plan-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ITEMS */
.landing-plan-list li {
    margin-bottom: 10px;
    color: #cbd5e1;
    font-size: 14px;
}

/* CHECK */
.landing-plan-list li::before {
    content: "✔";
    margin-right: 8px;
    color: #22c55e;
}

/* NEGATIVE */
.landing-plan-list .negative {
    color: #f87171;
}

/* BADGE */
.landing-plan-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #0078d4;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

.landing-cta-section {
    padding-bottom: 90px;
}

.landing-cta-card {
    text-align: center;
    padding: 38px;
}

.landing-footer {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #9ea2ab;
}

body.landing-page .footer-content {
    min-height: 72px;
}

body.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.05), transparent 18%),
        linear-gradient(180deg, #0d0e11 0%, #141518 55%, #101114 100%);
    color: #f0f0f2;
}

body.auth-page .header {
    background: rgba(15, 16, 19, 0.76);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(22px) saturate(120%);
}

body.auth-page .logo,
body.auth-page .nav a {
    color: #f5f5f7;
}

body.auth-page .nav a:not(.btn) {
    color: #b7bac3;
}

.auth-shell {
    padding: 54px 0 80px;
}

.auth-wrapper {
    width: min(1120px, 92%);
    margin: 0 auto;
    display: grid;
    gap: 28px;
}

.auth-intro {
    max-width: 720px;
}

.auth-title {
    font-size: clamp(2.2rem, 5vw, 3.9rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: #ffffff;
    margin-bottom: 14px;
}

.auth-subtitle {
    color: #b9bcc5;
    font-size: 1rem;
    max-width: 62ch;
}

.auth-box {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 1px minmax(300px, 0.9fr);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(44, 44, 46, 0.8), rgba(24, 24, 26, 0.86));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(22px) saturate(120%);
}

.auth-box.single {
    width: min(620px, 100%);
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.auth-left,
.auth-right {
    padding: 32px;
}

.auth-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-side-card {
    padding: 22px;
    margin-bottom: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-side-card h2 {
    color: #ffffff;
    font-size: 1.45rem;
    line-height: 1.08;
    margin-bottom: 10px;
}

.auth-side-card p {
    color: #b8bcc4;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin: 16px 0 24px;
    color: #b8bcc4;
    font-size: 0.88rem;
}

.auth-options label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-options a,
.auth-footer a,
.legal-text a {
    color: #f2f3f5;
    text-decoration: none;
}

.auth-options a:hover,
.auth-footer a:hover,
.legal-text a:hover {
    text-decoration: underline;
}

.auth-footer {
    color: #b8bcc4;
    font-size: 0.95rem;
}

.auth-footer-center {
    text-align: center;
}

.legal-text {
    color: #9498a2;
    font-size: 0.8rem;
    text-align: center;
}

.social-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin: 0 0 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f5f5f7;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.social-btn-full {
    margin-bottom: 0;
}

.social-btn img {
    width: 20px;
    height: 20px;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #9498a2;
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.divider span {
    padding: 0 12px;
}

body.auth-page .btn {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    padding: 12px 18px;
}

body.auth-page .btn.primary {
    background: linear-gradient(180deg, #2d3138 0%, #23262c 100%);
    border-color: rgba(255, 255, 255, 0.12);
}

body.auth-page .btn.full {
    width: 100%;
}

body.auth-page .input-group label {
    color: #b6b9c2;
}

.input-group input,
.input-group select,
.input-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 14px;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #979ba4;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.input-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;

    border-radius: 12px;
    padding: 12px 40px 12px 14px; /* espacio para flecha */
    
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.input-group select option {
    background: #1e1e1e;
    color: #ffffff;
}

.input-group select {
    color-scheme: dark;
}

.login-error,
.login-success {
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-size: 0.92rem;
    border: 1px solid transparent;
}

.login-error {
    background: rgba(110, 24, 24, 0.32);
    border-color: rgba(185, 54, 54, 0.24);
    color: #ffd7d7;
}

.login-success {
    background: rgba(24, 70, 44, 0.34);
    border-color: rgba(86, 180, 120, 0.2);
    color: #daf5e4;
}

.auth-inline-button {
    margin-bottom: 18px;
}

@media (max-width: 980px) {
    .landing-hero-grid,
    .landing-feature-grid,
    .landing-stats-grid,
    .landing-pricing-grid,
    .landing-preview-stack {
        grid-template-columns: 1fr;
    }

    .landing-copy h1 {
        max-width: none;
    }

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

    .auth-divider {
        display: none;
    }
}

@media (max-width: 720px) {
    .landing-hero {
        min-height: auto;
        padding: 58px 0 34px;
        background-position: center 24%;
    }

    .landing-hero-grid {
        min-height: auto;
    }

    .landing-glass-card,
    .landing-cta-card {
        padding: 22px;
        border-radius: 20px;
    }

    .landing-actions {
        flex-direction: column;
    }

    body.landing-page .btn {
        width: 100%;
        text-align: center;
    }

    .landing-trust-row {
        flex-direction: column;
    }

    .landing-footer .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .auth-shell {
        padding: 38px 0 56px;
    }

    .auth-box,
    .auth-box.single {
        border-radius: 22px;
    }

    .auth-left,
    .auth-right,
    .auth-box.single {
        padding: 22px;
    }

    .auth-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-title {
        font-size: clamp(2rem, 9vw, 3rem);
    }
}

.center {
    text-align: center;
    margin-bottom: 40px;
}

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

.license-card {
    background-color: #ffffff;
    padding: 32px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    text-align: left;
}

.license-card h3 {
    color: #1e293b;
    margin-bottom: 10px;
}

.license-card .price {
    font-size: 1.4rem;
    color: #3b82f6;
    margin-bottom: 16px;
}

.license-card ul {
    list-style: none;
    margin-bottom: 24px;
}

.license-card ul li {
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
    color: #94a3b8;
}

.license-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3b82f6;
}

.license-card.highlight {
    border: 1px solid #3b82f6;
}

.update-list {
    margin-top: 40px;
}

.update-item {
    background-color: #f1f5f9;
    padding: 24px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    margin-bottom: 20px;
}

.update-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.version {
    font-weight: 600;
    color: #1e293b;
}

.date {
    color: #64748b;
    font-size: 0.85rem;
}

.update-item p {
    margin-bottom: 14px;
    color: #94a3b8;
}

.details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 10px;
}

.details ul {
    margin-top: 10px;
    color: #94a3b8;
}

.details ul li {
    margin-bottom: 6px;
}

.update-item.active .details {
    max-height: 300px;
}

.toggle-btn {
    background: none;
    border: none;
    color: #3b82f6;
    cursor: pointer;
    margin-top: 12px;
    display: inline-block;
    font-size: 0.85rem;
}

.toggle-btn:hover {
    text-decoration: underline;
}

.btn.small {
    padding: 6px 12px;
    font-size: 0.8rem;
    margin-left: 10px;
}


.login-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f1f5f9;
}

.login-box {
    width: 100%;
    max-width: 400px;
    background-color: #f1f5f9;
    padding: 40px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.login-box h2 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 10px;
}

.login-subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

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

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.input-group input {
    width: 100%;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: #1e293b;
}

.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
}


.input-group select {
    width: 100%;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: #1e293b;
    transition: all 0.2s ease;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23cbd5e1' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.input-group select:focus {
    outline: none;
    border-color: #3b82f6;
}


.input-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db; /* gris suave */
    border-radius: 6px;
    color: #1f2937; /* gris oscuro legible */
    font-family: monospace; /* si quieres estilo técnico */
    font-size: 14px;
    resize: vertical;
    transition: all 0.2s ease;
}

.input-group textarea:focus {
    outline: none;
    border-color: #3b82f6; /* azul elegante */
    box-shadow: 0 0 0 2px rgba(59,130,246,0.15);
    background-color: #ffffff; /* mantiene blanco */
}

.input-group textarea::placeholder {
    color: #9ca3af;
}




.btn.full {
    width: 100%;
}

.login-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.login-footer a {
    color: #3b82f6;
}

.login-error {
    background-color: #7f1d1d;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.login-success {
    background-color: #14532d;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
}

.license-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
}

.license-table th,
.license-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #1e293b;
    font-size: 0.85rem;
}

.license-table th {
    background-color: #f1f5f9;
    color: #1e293b;
}

.status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
}

.status.active {
    background-color: #14532d;
    color: #fff;
}

.status.suspended {
    background-color: #7f1d1d;
    color: #fff;
}

.status.expired {
    background-color: #78350f;
    color: #fff;
}


.license-meta {
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    margin-bottom: 30px;
}

.edit-form {
    background-color: #ffffff;
    padding: 30px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}

.danger-zone {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #1e293b;
}

.danger-zone h3 {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.danger-description {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
}

.btn-danger-outline {
    background: transparent;
    border: 1px solid #b91c1c;
    color: #f87171;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-danger-outline:hover {
    background-color: #b91c1c;
    color: #ffffff;
}


.modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #f1f5f9;
    padding: 30px;
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

.modal-content h3 {
    margin-bottom: 10px;
    color: #1e293b;
}

.modal-content p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-danger-solid {
    background-color: #b91c1c;
    border: none;
    color: white;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-danger-solid:hover {
    background-color: #991b1b;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subtitle-small {
    font-size: 0.85rem;
    color: #94a3b8;
}

.plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.plan-card {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.plan-card input {
    display: none;
}

.plan-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.plan-card input:checked + .plan-content {
    border-color: #3b82f6;
}

.plan-card input:checked + .plan-content::before {
    content: "Selected";
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    color: #3b82f6;
}

.plan-content h4 {
    margin-bottom: 5px;
    color: #1e293b;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.plan-note {
    font-size: 0.8rem;
    color: #94a3b8;
}

.gateway-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.gateway-card {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gateway-card input {
    display: none;
}

.gateway-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.gateway-logo {
    width: 28px;
    height: 28px;
}

.gateway-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.gateway-card input:checked + .gateway-content {
    color: #3b82f6;
    font-weight: 600;
}


/* ADMIN LAYOUT */

.admin-layout {
    display: flex;
    min-height: calc(100vh - 64px);
    background: #0c0f13;
}

body.admin-app-page .admin-layout {
    height: calc(100vh - 64px);
    margin-top: 64px;
}

.admin-sidebar {
    width: 260px;
    flex: 0 0 260px;
    padding: 24px 18px;
    background: #10141a;
    border-right: 1px solid #222831;
    box-shadow: none;
    backdrop-filter: none;
}

body.admin-app-page .admin-sidebar {
    position: fixed;
    top: 64px;
    left: 0;
    bottom: 0;
    overflow-y: auto;
}

.admin-logo {
    color: #ffffff;
    margin-bottom: 30px;
}

.admin-sidebar-brand {
    margin-bottom: 22px;
    padding: 16px 14px;
    border-radius: 8px;
    background: #151a20;
    border: 1px solid #242a33;
    box-shadow: none;
}

.admin-sidebar-brand strong {
    display: block;
    color: #ffffff;
    font-size: 1.02rem;
}

.admin-sidebar-kicker {
    display: block;
    color: #72d6a8;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

.admin-sidebar nav a {
    display: block;
    padding: 12px 14px;
    margin-bottom: 8px;
    color: #d7d9df;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.admin-sidebar nav a:hover {
    background: #161b22;
    border-color: #29303a;
}

.admin-sidebar nav a.active {
    background: #151d1b;
    border-color: #2f8f6a;
    color: #90e0b9;
}

.admin-main {
    flex: 1;
    min-width: 0;
    padding: 34px;
    color: #e7ecf2;
}

body.admin-app-page .admin-main {
    margin-left: 260px;
    height: calc(100vh - 64px);
}

.admin-main-app {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.admin-main-top {
    flex: 0 0 auto;
}

.admin-main-scroll {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    padding-right: 8px;
}

.admin-license-scroll {
    margin-top: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0;
}

.admin-license-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    min-height: 100%;
    align-content: start;
}

.admin-license-page .admin-main-scroll {
    overflow-y: auto;
    overflow-x: hidden;
}

.admin-license-table-panel {
    width: 100%;
    overflow: visible;
    max-width: 1280px;
    margin-inline: auto;
}

.admin-license-table-panel .table-container {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    border: 1px solid #242a33;
    border-radius: 8px;
}

.admin-license-table-panel .table-container::-webkit-scrollbar {
    width: 10px;
}

.admin-license-table-panel .table-container::-webkit-scrollbar-track {
    background: #151a20;
    border-radius: 999px;
}

.admin-license-table-panel .table-container::-webkit-scrollbar-thumb {
    background: #2d3440;
    border-radius: 999px;
}

.admin-license-table-panel .table-container::-webkit-scrollbar-thumb:hover {
    background: #3a4452;
}

.admin-license-table-panel .license-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-license-table-panel .license-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #12171d;
}

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

.stat-card {
    background: #14181e;
    border: 1px solid #242a33;
    padding: 22px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.stat-card:hover {
    transform: none;
    border-color: #2f3742;
    background: #151a20;
}

.stat-card span {
    display: block;
    color: #8993a0;
    font-size: 0.82rem;
    margin-bottom: 8px;
}

.stat-card h3 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

.stat-card p {
    color: #9ea7b3;
    font-size: 0.92rem;
}

.admin-table-box {
    padding: 20px;
    border-radius: 8px;
    margin-top: 0;
}

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

.admin-header h2,
.admin-page-head h1 {
    color: #ffffff;
}

.admin-page-head {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.95fr);
    gap: 24px;
    margin-bottom: 24px;
}

.admin-page-head h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}

.admin-page-head p {
    color: #9ea7b3;
    font-size: 0.96rem;
}

.admin-kicker {
    display: inline-block;
    color: #72d6a8;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.admin-hero-card,
.admin-surface {
    background: #14181e;
    border: 1px solid #242a33;
    border-radius: 8px;
    box-shadow: none;
    backdrop-filter: none;
}

.admin-hero-card {
    padding: 22px;
}

.admin-hero-label {
    display: block;
    color: #8993a0;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.admin-hero-card strong {
    display: block;
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.admin-hero-card p {
    color: #9ea7b3;
}

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

.admin-surface {
    padding: 22px;
    min-width: 0;
}

.admin-container.admin-stack {
    display: grid;
    gap: 20px;
}

.admin-license-select-table tbody tr {
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.admin-license-select-table tbody tr:hover {
    background: #161b22;
}

.admin-license-row.is-selected {
    background: #151d1b;
}

.admin-license-row.is-selected td {
    border-bottom-color: #2f8f6a;
}

.admin-license-detail {
    width: 100%;
    max-width: none;
    min-width: 0;
    max-width: 1100px;
    margin-inline: auto;
}

.admin-license-detail.is-hidden,
.admin-surface.is-hidden {
    display: none;
}

.admin-license-detail-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.admin-license-detail-head h2 {
    color: #ffffff;
    font-size: 1.3rem;
}

.admin-back-button {
    margin-bottom: 12px;
}

.admin-license-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.admin-license-detail-grid span {
    display: block;
    color: #8993a0;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.admin-license-detail-grid strong {
    color: #ffffff;
    font-size: 0.96rem;
    word-break: break-word;
}

.admin-license-actions {
    display: grid;
    gap: 12px;
}

.admin-license-actions form {
    margin: 0;
}

.admin-extend-form-panel {
    justify-content: flex-start;
}

.admin-empty {
    color: #9ea7b3;
}

.admin-doc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-content: start;
    width: 100%;
    justify-items: stretch;
}

.admin-doc-sidebar,
.admin-doc-editor {
    min-width: 0;
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.admin-doc-sidebar {
    max-width: none;
}

.admin-doc-editor {
    max-width: none;
}

body.admin-app-page .admin-doc-layout {
    margin-top: 8px;
    border-radius: 8px;
}

.admin-doc-layout.is-list-mode .admin-doc-sidebar,
.admin-doc-layout.is-editor-mode .admin-doc-editor {
    width: 100%;
    max-width: none;
}

body.admin-app-page .admin-main-scroll::-webkit-scrollbar,
body.admin-app-page .admin-sidebar::-webkit-scrollbar {
    width: 10px;
}

body.admin-app-page .admin-main-scroll::-webkit-scrollbar-track,
body.admin-app-page .admin-sidebar::-webkit-scrollbar-track {
    background: #151a20;
    border-radius: 999px;
}

body.admin-app-page .admin-main-scroll::-webkit-scrollbar-thumb,
body.admin-app-page .admin-sidebar::-webkit-scrollbar-thumb {
    background: #2d3440;
    border-radius: 999px;
}

body.admin-app-page .admin-main-scroll::-webkit-scrollbar-thumb:hover,
body.admin-app-page .admin-sidebar::-webkit-scrollbar-thumb:hover {
    background: #3a4452;
}

.admin-doc-list {
    display: grid;
    gap: 10px;
}

.admin-doc-item {
    width: 100%;
    text-align: left;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #242a33;
    background: #101419;
    color: #f0f0f2;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.admin-doc-item strong {
    display: block;
    font-size: 0.98rem;
    margin-bottom: 4px;
}

.admin-doc-item span {
    display: block;
    color: #97a1ad;
    font-size: 0.86rem;
}

.admin-doc-item:hover {
    background: #151a20;
}

.admin-doc-item.active {
    background: #151d1b;
    border-color: #2f8f6a;
}

.admin-doc-toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

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

.admin-doc-span-2 {
    grid-column: 1 / -1;
}

.admin-doc-sections-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.admin-doc-sections {
    display: grid;
    gap: 16px;
}

.admin-doc-section-box {
    padding: 20px;
    border-radius: 8px;
    background: #11161b;
    border: 1px solid #242a33;
}

.admin-doc-section-title {
    min-width: min(100%, 420px);
    margin-bottom: 0;
}

.admin-doc-items {
    display: grid;
    gap: 12px;
}

.admin-doc-item-box {
    padding: 16px;
    border-radius: 8px;
    background: #101419;
    border: 1px solid #222831;
}

.admin-main .license-table,
.admin-main .modal-content,
.admin-main .admin-table-box {
    background: transparent;
}

.admin-main .license-table {
    border: 1px solid #242a33;
}

.admin-main .license-table th {
    background: #12171d;
    color: #f5f5f7;
}

.admin-main .license-table td {
    color: #e8e8ec;
    border-bottom: 1px solid #222831;
    vertical-align: top;
    word-break: break-word;
}

.admin-main .license-table th:last-child,
.admin-main .license-table td:last-child {
    width: 1%;
}

.admin-main .input-group label {
    color: #97a1ad;
}

.admin-main .input-group input,
.admin-main .input-group select,
.admin-main .input-group textarea {
    background: #101419;
    border-color: #242a33;
    color: #ffffff;
    border-radius: 8px;
}

.admin-main .input-group input:focus,
.admin-main .input-group select:focus,
.admin-main .input-group textarea:focus {
    border-color: #38d48a;
    box-shadow: 0 0 0 1px #38d48a;
}

.admin-main .btn.primary {
    background: #38d48a;
    border-color: #38d48a;
    box-shadow: none;
    color: #08110c;
}

.admin-main .btn.primary:hover {
    background: #45dc96;
}

.admin-main .btn.secondary,
.admin-main .btn.warning,
.admin-main .btn.success,
.admin-main .btn.danger {
    background: #171c22;
    border-color: #2a313b;
    color: #f0f0f2;
}

.admin-main .btn.danger {
    color: #f2bbbb;
}

.admin-main .btn.success {
    color: #d8f5e4;
}

.admin-main .btn.warning {
    color: #f8e3b9;
}

.admin-main .btn.secondary:hover,
.admin-main .btn.warning:hover,
.admin-main .btn.success:hover,
.admin-main .btn.danger:hover {
    background: #1b2128;
}

.admin-inline-form {
    display: inline-flex;
    margin: 0 8px 8px 0;
}

.admin-actions-cell {
    min-width: 210px;
}

.admin-extend-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2px;
}

.admin-extend-form input[type="number"] {
    width: 74px;
    min-width: 74px;
}

.admin-main .status.disabled {
    background: #181d24;
    color: #c5ccd5;
}

.alert.error,
.alert.success {
    padding: 14px 18px;
    border-radius: 8px;
}

.alert.error {
    background: #261617;
    border: 1px solid #482628;
    color: #efc0c0;
}

.alert.success {
    background: #12241b;
    border: 1px solid #234333;
    color: #b9eccf;
}

.close {
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    float: right;
}

@media (max-width: 1100px) {
    .admin-page-head,
    .admin-grid,
    .admin-stats,
    .admin-doc-layout {
        grid-template-columns: 1fr;
    }

    body.admin-app-page .admin-doc-sidebar,
    body.admin-app-page .admin-doc-editor {
        max-width: none;
    }
}

.hero-banner {
    position: relative;
    height: 520px;
    background-image: url("/assets/img/banner.jpg"); /* tu imagen */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.45), rgba(0,0,0,0.4));
    display: flex;
    align-items: center;
}

.hero-inner {
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 600px;
    color: #ffffff;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.hero-btn {
    background-color: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 6px;
}

.hero-btn:hover {
    background-color: #2563eb;
}

.float-wa{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
	font-size:30px;
	z-index:100;
}



.download-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #e5e7eb;
    transition: 0.2s ease;
}

.download-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.download-card h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
}

.download-meta {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 15px;
}

.download-meta strong {
    color: #111827;
}

.download-card ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.download-card ul li {
    margin-bottom: 6px;
    font-size: 14px;
}

.btn-download {
    display: inline-block;
    padding: 10px 20px;
    background: #111827;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.2s ease;
}

.btn-download:hover {
    background: #1f2937;
}

.subscription-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #72d6a8;
    margin-bottom: 14px;
}

.user-subscription-shell {
    padding: 52px 0 72px;
    background: #0c0f13;
    min-height: calc(100vh - 64px);
    color: #e7ecf2;
}

.subscription-hero,
.subscription-detail-header {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.9fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 28px;
}

.subscription-copy,
.subscription-highlight,
.subscription-detail-card,
.subscription-sidebar-card,
.subscription-stat-card,
.subscription-license-card {
    background: #14181e;
    border: 1px solid #242a33;
    box-shadow: none;
    backdrop-filter: none;
}

.subscription-copy {
    padding: 28px;
    border-radius: 10px;
}

.subscription-copy h1,
.subscription-detail-header h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #ffffff;
    margin-bottom: 18px;
}

.subscription-copy p,
.subscription-detail-header p,
.subscription-highlight p,
.subscription-stat-card p,
.subscription-section-heading p,
.subscription-empty-state p,
.subscription-side-note {
    color: #9ea7b3;
    font-size: 0.95rem;
}

.subscription-hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.subscription-hero-notes span {
    padding: 8px 12px;
    border-radius: 7px;
    background: #11161b;
    border: 1px solid #222831;
    color: #c8d0da;
    font-size: 0.82rem;
}

.subscription-highlight {
    border-radius: 10px;
    padding: 24px;
    background: #14181e;
    color: #ffffff;
    border-color: #242a33;
}

.subscription-highlight.compact {
    min-height: 0;
}

.subscription-highlight-label {
    display: inline-block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #8f98a5;
    margin-bottom: 12px;
}

.subscription-highlight strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.subscription-highlight p {
    color: #9ea7b3;
    max-width: 22rem;
}

.subscription-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.subscription-alert.success {
    background: #12241b;
    border-color: #234333;
    color: #daf5e4;
}

.subscription-alert.error {
    background: #261617;
    border-color: #482628;
    color: #ffd8d8;
}

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

.subscription-stat-card {
    padding: 20px;
    border-radius: 8px;
}

.subscription-stat-card span {
    display: block;
    color: #8993a0;
    font-size: 0.82rem;
    margin-bottom: 8px;
}

.subscription-stat-card strong {
    display: block;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.subscription-layout,
.subscription-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.85fr);
    gap: 24px;
    align-items: start;
}

.subscription-main,
.subscription-detail-main {
    min-width: 0;
}

.subscription-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 20px;
}

.subscription-section-heading h2,
.subscription-sidebar-card h3,
.subscription-detail-card h2 {
    font-size: 1.3rem;
    line-height: 1.1;
    margin-bottom: 6px;
    color: #ffffff;
}

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

.subscription-license-card,
.subscription-detail-card,
.subscription-sidebar-card,
.subscription-empty-state {
    border-radius: 10px;
}

.subscription-license-card {
    padding: 22px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.subscription-license-card:hover {
    transform: none;
    border-color: #2d3440;
    background: #151a20;
}

.subscription-license-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    margin-bottom: 22px;
}

.subscription-plan-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #63d59d;
}

.subscription-license-top h3 {
    font-size: 1.4rem;
    line-height: 1.05;
    color: #ffffff;
}

.subscription-state-badge {
    padding: 6px 10px;
    border-radius: 7px;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
}

.subscription-state-badge.active {
    background: #12241b;
    color: #9ae0ba;
    border: 1px solid #234333;
}

.subscription-state-badge.pending {
    background: #241f14;
    color: #e3c98b;
    border: 1px solid #41351f;
}

.subscription-state-badge.expired {
    background: #261617;
    color: #e8a4a4;
    border: 1px solid #482628;
}

.subscription-state-badge.suspended {
    background: #181d24;
    color: #c5ccd5;
    border: 1px solid #2b313b;
}

.subscription-license-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.subscription-license-meta.detail {
    gap: 18px;
}

.subscription-license-meta span,
.subscription-binding-item span,
.subscription-account-list dt {
    display: block;
    color: #8993a0;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.subscription-license-meta strong,
.subscription-binding-item strong,
.subscription-account-list dd {
    color: #ffffff;
    font-size: 0.98rem;
    word-break: break-word;
}

.subscription-license-footer,
.subscription-inline-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.subscription-helper-text {
    color: #96a0ac;
    font-size: 0.88rem;
}

.subscription-sidebar-panel {
    display: grid;
    gap: 18px;
}

.subscription-sidebar-card {
    padding: 20px;
}

.subscription-sidebar-card.accent,
.subscription-detail-card.premium {
    background: #14181e;
    color: #ffffff;
    border-color: #242a33;
}

.subscription-sidebar-card.accent h3,
.subscription-detail-card.premium h2,
.subscription-sidebar-card.accent .subscription-kicker,
.subscription-detail-card.premium .subscription-plan-label,
.subscription-detail-card.premium strong {
    color: #ffffff;
}

.subscription-sidebar-card.accent p,
.subscription-sidebar-card.accent li,
.subscription-detail-card.premium .subscription-license-meta span {
    color: #cdd4dd;
}

.subscription-benefits {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.subscription-benefits li {
    position: relative;
    padding-left: 18px;
    color: #d8dde4;
}

.subscription-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4fcf93;
}

.subscription-empty-state {
    padding: 42px 32px;
    text-align: center;
}

.subscription-account-list {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.subscription-account-list div {
    padding-bottom: 14px;
    border-bottom: 1px solid #242a33;
}

.subscription-account-list div:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.subscription-plan-stack {
    display: grid;
    gap: 12px;
}

.subscription-plan-purchase {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #242a33;
}

.subscription-plan-purchase:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.subscription-plan-purchase strong {
    display: block;
    color: #ffffff;
    margin-bottom: 4px;
}

.subscription-plan-purchase span {
    color: #aeb2bc;
    font-size: 0.86rem;
}

.subscription-back-link {
    display: inline-block;
    color: #cbd4de;
    margin-bottom: 16px;
    font-weight: 600;
}

.subscription-detail-card {
    padding: 22px;
    margin-bottom: 18px;
}

.subscription-panel-stage,
.subscription-panel-view {
    width: 100%;
    min-width: 0;
}

.subscription-panel-view.is-hidden {
    display: none;
}

.subscription-billing-hero-card {
    display: grid;
    gap: 22px;
}

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

.subscription-billing-cell {
    padding: 16px;
    border-radius: 8px;
    background: #101419;
    border: 1px solid #222831;
}

.subscription-billing-cell.wide {
    grid-column: span 2;
}

.subscription-billing-cell.align-end {
    text-align: right;
}

.subscription-billing-cell p {
    margin-top: 6px;
}

.subscription-billing-cell strong {
    display: block;
    color: #ffffff;
    font-size: 1.02rem;
}

.subscription-billing-badge-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.subscription-billing-table {
    border: 1px solid #242a33;
    border-radius: 8px;
    overflow: hidden;
    background: #101419;
}

.subscription-billing-table.compact {
    margin-top: 18px;
}

.subscription-billing-table-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(110px, 0.8fr) minmax(130px, 1fr) minmax(120px, 0.9fr);
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid #222831;
}

.subscription-billing-table-row:last-child {
    border-bottom: none;
}

.subscription-billing-table-row.head {
    background: #12171d;
    color: #8f98a5;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.subscription-billing-table-row strong {
    color: #ffffff;
}

.subscription-billing-operation {
    display: flex;
    justify-content: flex-start;
}

.subscription-pricing-shell {
    padding: 28px;
}

.subscription-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.subscription-pricing-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 8px;
    background: #12161b;
    border: 1px solid #262d36;
    box-shadow: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.subscription-pricing-card:hover {
    transform: none;
    border-color: #2f3a45;
    background: #14191f;
}

.subscription-pricing-card.default {
    background: #12161b;
}

.subscription-pricing-card.featured {
    border-color: #2f8f6a;
}

.subscription-pricing-card.recommended {
    border-color: #39c884;
    background: #12181a;
}

.subscription-pricing-card-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: start;
}

.subscription-pricing-tier {
    display: inline-block;
    color: #4fd298;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.subscription-pricing-card-top strong {
    display: block;
    font-size: 2rem;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
}

.subscription-pricing-card-top p {
    color: #b7bac3;
}

.subscription-pricing-tag {
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid #2f8f6a;
    color: #62d9a2;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.subscription-pricing-benefits {
    margin-top: 0;
}

.subscription-pricing-history {
    margin-top: 28px;
}

.subscription-binding-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0 24px;
}

.subscription-binding-item {
    padding: 16px;
    border-radius: 8px;
    background: #101419;
    border: 1px solid #222831;
}

.subscription-modal {
    border-radius: 10px;
    max-width: 640px;
    background: #14181e;
    border-color: #242a33;
}

.subscription-modal h3 {
    color: #ffffff;
}

.subscription-modal p {
    color: #c7cad2;
}

.user-subscription-shell .btn.primary {
    background: #38d48a;
    border-color: #38d48a;
    box-shadow: none;
    color: #08110c;
}

.user-subscription-shell .btn.primary:hover {
    background: #45dc96;
}

.user-subscription-shell .btn.secondary {
    background: #171c22;
    border-color: #2a313b;
    color: #e7ecf2;
    box-shadow: none;
}

.user-subscription-shell .btn.secondary:hover {
    background: #1b2128;
    border-color: #343d48;
}

.user-subscription-shell .btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.user-subscription-shell .btn[disabled]:hover {
    transform: none;
    background: #171c22;
}

.user-subscription-shell .input-group textarea {
    background: #101419;
    border-color: #242a33;
    color: #ffffff;
    border-radius: 8px;
}

.user-subscription-shell .input-group textarea:focus {
    border-color: #38d48a;
    box-shadow: 0 0 0 1px #38d48a;
}

.user-subscription-shell .input-group textarea::placeholder {
    color: #9d9fa8;
}

@media (max-width: 980px) {
    .admin-page-head,
    .admin-grid,
    .admin-license-detail-grid,
    .admin-doc-grid {
        grid-template-columns: 1fr;
    }

    .admin-doc-span-2 {
        grid-column: auto;
    }

    .admin-license-detail,
    .admin-doc-sidebar,
    .admin-doc-editor {
        max-width: none;
    }

    .subscription-hero,
    .subscription-detail-header,
    .subscription-layout,
    .subscription-detail-layout,
    .subscription-stats {
        grid-template-columns: 1fr;
    }

    .subscription-billing-grid {
        grid-template-columns: 1fr;
    }

    .subscription-billing-cell.wide {
        grid-column: auto;
    }

    .subscription-billing-table-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    body.admin-app-page .admin-layout {
        display: block;
        height: calc(100vh - 64px);
        margin-top: 64px;
    }

    body.admin-app-page .admin-sidebar {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: auto;
        width: auto;
        flex: none;
        padding: 12px 14px 14px;
        border-right: none;
        border-bottom: 1px solid #222831;
        z-index: 40;
    }

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

    .admin-sidebar nav {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .admin-sidebar nav::-webkit-scrollbar {
        display: none;
    }

    .admin-sidebar nav a {
        white-space: nowrap;
        margin-bottom: 0;
        flex: 0 0 auto;
    }

    body.admin-app-page .admin-main {
        margin-left: 0;
        height: calc(100vh - 64px);
        padding: 108px 16px 18px;
    }

    .admin-surface,
    .admin-hero-card,
    .stat-card,
    .admin-table-box {
        border-radius: 8px;
        padding: 20px;
    }

    .admin-header,
    .admin-license-detail-head,
    .admin-doc-sections-head {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-doc-toolbar,
    .admin-license-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-license-actions .btn,
    .admin-doc-toolbar .btn,
    .admin-header .btn {
        width: 100%;
    }

    .admin-extend-form-panel {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-main-scroll {
        padding-right: 0;
    }
}

@media (max-width: 720px) {
    body.admin-app-page {
        height: auto;
        overflow: auto;
    }

    body.admin-app-page .header {
        position: static;
    }

    body.admin-app-page .admin-layout {
        height: auto;
        margin-top: 0;
    }

    body.admin-app-page .admin-main {
        margin-left: 0;
        height: auto;
    }

    .admin-main-app {
        overflow: visible;
    }

    .admin-main-scroll,
    .admin-license-scroll {
        overflow: visible;
        max-height: none;
        padding-right: 0;
    }

    .admin-license-workspace {
        min-height: auto;
    }

    .admin-license-table-panel .table-container {
        border-radius: 8px;
    }

    .admin-main {
        padding: 24px 14px;
    }

    .admin-page-head {
        gap: 18px;
    }

    .admin-page-head h1 {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
    }

    .admin-license-select-table th:nth-child(3),
    .admin-license-select-table td:nth-child(3),
    .admin-license-select-table th:nth-child(4),
    .admin-license-select-table td:nth-child(4) {
        display: none;
    }

    .admin-license-select-table th,
    .admin-license-select-table td {
        padding: 14px 12px;
    }

    .admin-license-detail-grid {
        gap: 14px;
    }

    .admin-doc-item-box,
    .admin-doc-section-box {
        padding: 18px;
    }

    .admin-doc-toolbar,
    .admin-license-actions,
    .admin-header {
        gap: 12px;
    }

    .subscription-copy,
    .subscription-highlight,
    .subscription-license-card,
    .subscription-detail-card,
    .subscription-sidebar-card,
    .subscription-stat-card {
        padding: 22px;
        border-radius: 8px;
    }

    .subscription-license-meta,
    .subscription-binding-grid {
        grid-template-columns: 1fr;
    }

    .subscription-section-heading,
    .subscription-license-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-subscription-shell {
        padding-top: 34px;
    }
}

@media (max-width: 480px) {
    body.admin-app-page .admin-main {
        padding: 24px 12px 16px;
    }

    .admin-surface,
    .admin-hero-card,
    .stat-card,
    .admin-table-box,
    .admin-doc-item-box,
    .admin-doc-section-box {
        padding: 16px;
        border-radius: 8px;
    }

    .admin-license-select-table th:nth-child(2),
    .admin-license-select-table td:nth-child(2) {
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-page-head p,
    .admin-hero-card p {
        font-size: 0.95rem;
    }
}

body.landing-page,
body.auth-page,
body.public-docs-page {
    background: #0c0f13;
    color: #e7ecf2;
}

body.landing-page .header,
body.auth-page .header,
body.public-docs-page .header {
    background: #10141a;
    border-bottom: 1px solid #222831;
    backdrop-filter: none;
}

body.landing-page .logo,
body.landing-page .nav a,
body.auth-page .logo,
body.auth-page .nav a,
body.public-docs-page .logo,
body.public-docs-page .nav a {
    color: #f5f7fa;
}

body.landing-page .nav a:not(.btn),
body.auth-page .nav a:not(.btn),
body.public-docs-page .nav a:not(.btn) {
    color: #a7b0bb;
}

body.landing-page .btn,
body.auth-page .btn,
body.public-docs-page .btn {
    border-radius: 8px;
    border: 1px solid #2a313b;
    background: #171c22;
    color: #e7ecf2;
    padding: 12px 18px;
    box-shadow: none;
}

body.landing-page .btn.primary,
body.auth-page .btn.primary,
body.public-docs-page .btn.primary {
    background: #38d48a;
    border-color: #38d48a;
    color: #08110c;
}

body.landing-page .btn.primary:hover,
body.auth-page .btn.primary:hover,
body.public-docs-page .btn.primary:hover {
    background: #45dc96;
}

body.landing-page .btn.secondary:hover,
body.auth-page .btn.secondary:hover,
body.public-docs-page .btn.secondary:hover {
    background: #1b2128;
    border-color: #343d48;
}

body.landing-page .btn:hover,
body.auth-page .btn:hover,
body.public-docs-page .btn:hover {
    transform: none;
}

.landing-hero {
    min-height: auto;
    padding: 36px 0 34px;
    background: #0c0f13;
    border-bottom: 1px solid #1b2128;
}

.landing-hero::before,
.landing-hero::after {
    display: none;
}

.landing-copy,
.landing-glass-card,
.landing-cta-card,
.auth-box,
.auth-side-card,
.public-doc-card,
.public-docs-summary {
    background: #14181e;
    border: 1px solid #242a33;
    border-radius: 10px;
    box-shadow: none;
    backdrop-filter: none;
}

.landing-copy {
    padding: 28px;
    max-width: none;
}

.landing-copy h1 {
    max-width: 14ch;
    font-size: clamp(2.3rem, 5vw, 4rem);
}

.landing-carousel {
    display: grid;
    gap: 14px;
}

.landing-carousel-stage {
    position: relative;
    min-height: 580px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #242a33;
    background: #12161b;
}

.landing-carousel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 56px 54px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.landing-carousel-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.landing-carousel-copy {
    max-width: min(620px, 100%);
}

.landing-carousel-copy h1 {
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    color: #ffffff;
    margin-bottom: 16px;
    text-wrap: balance;
}

.landing-carousel-copy p {
    max-width: 56ch;
    font-size: 1.02rem;
    color: #d8dee6;
    margin-bottom: 22px;
}

.landing-carousel-meta {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(9, 12, 17, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d7dee7;
    font-size: 0.88rem;
}

.landing-carousel-controls {
    pointer-events: none;
    position: absolute;
    inset: auto 18px 18px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-carousel-arrow {
    pointer-events: auto;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #2b3340;
    background: rgba(10, 14, 20, 0.82);
    color: #eef2f6;
    font-size: 1.8rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.landing-carousel-arrow:hover {
    background: rgba(18, 24, 32, 0.96);
    border-color: #3a4553;
}

.landing-carousel-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.landing-carousel-thumb {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    width: 100%;
    padding: 0;
    border: 1px solid #242a33;
    border-radius: 8px;
    overflow: hidden;
    background: #12161b;
    color: #e7ecf2;
    text-align: left;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.landing-carousel-thumb:hover {
    background: #151a20;
    border-color: #313946;
}

.landing-carousel-thumb.is-active {
    border-color: #d26d38;
    background: #1a1411;
}

.landing-carousel-thumb img {
    width: 100%;
    height: 100%;
    min-height: 86px;
    object-fit: cover;
    display: block;
}

.landing-carousel-thumb-copy {
    display: grid;
    gap: 4px;
    align-content: center;
    padding: 12px 12px 12px 0;
    min-width: 0;
}

.landing-carousel-thumb-copy strong {
    color: #ffffff;
    font-size: 0.9rem;
}

.landing-carousel-thumb-copy span {
    color: #9ea7b3;
    font-size: 0.78rem;
    line-height: 1.35;
}

.landing-copy p,
.landing-plan-copy,
.landing-stat-card span,
.landing-section-head p,
.auth-subtitle,
.auth-side-card p {
    color: #9ea7b3;
}

.landing-kicker,
.landing-card-label {
    color: #72d6a8;
}

.landing-trust-row span {
    padding: 8px 12px;
    border-radius: 7px;
    background: #11161b;
    border: 1px solid #222831;
    color: #c8d0da;
}

.landing-preview-main strong,
.landing-glass-card strong,
.landing-stat-card strong,
.landing-price,
.landing-feature-card h3,
.landing-pricing-card h3 {
    color: #ffffff;
}

.landing-section {
    padding: 34px 0 42px;
}

.landing-feature-grid,
.landing-stats-grid,
.landing-pricing-grid {
    gap: 18px;
}

.landing-pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 28px;
}

.landing-pricing-card {
    border-radius: 8px;
    background: #12161b;
    border: 1px solid #262d36;
    overflow: hidden;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.landing-pricing-card:hover,
.landing-pricing-card-featured:hover {
    transform: none;
    background: #14191f;
}

.landing-pricing-card-featured {
    border: 1px solid #39c884;
    box-shadow: none;
}

.landing-pricing-card:not(.landing-pricing-card-featured) {
    opacity: 1;
}

.landing-plan-top {
    text-align: left;
    padding: 24px 22px 18px;
}

.landing-plan-top .btn {
    width: 100%;
    text-align: center;
}

.landing-price {
    font-size: 2rem;
    margin-bottom: 14px;
}

.landing-price span {
    color: #8c96a3;
}

.landing-plan-divider {
    margin: 0 22px;
    background: #222831;
}

.landing-plan-features {
    padding: 18px 22px 22px;
}

.landing-plan-list li {
    color: #d7dde5;
}

.landing-plan-list li::before {
    color: #38d48a;
}

.landing-plan-badge {
    background: #151d1b;
    border: 1px solid #2f8f6a;
    color: #8fe4b8;
    border-radius: 6px;
}

.landing-footer {
    border-top: 1px solid #1b2128;
    color: #8f98a5;
}

.auth-shell {
    padding: 48px 0 64px;
}

.auth-box {
    grid-template-columns: minmax(0, 1.05fr) 1px minmax(280px, 0.95fr);
    border-radius: 10px;
}

.auth-box.single {
    width: min(620px, 100%);
    padding: 24px;
    border-radius: 10px;
}

.auth-left,
.auth-right {
    padding: 26px;
}

.auth-divider {
    background: #222831;
}

.auth-side-card {
    padding: 18px;
    margin-bottom: 18px;
}

.auth-side-card h2 {
    font-size: 1.3rem;
}

.auth-options,
.auth-footer,
.legal-text {
    color: #9ea7b3;
}

.auth-options a,
.auth-footer a,
.legal-text a {
    color: #e7ecf2;
}

.social-btn {
    border-radius: 8px;
    border: 1px solid #242a33;
    background: #101419;
    color: #edf1f7;
}

.social-btn:hover {
    background: #151a20;
    border-color: #303844;
    transform: none;
}

body.auth-page .input-group label {
    color: #97a1ad;
}

body.auth-page .input-group input,
body.auth-page .input-group select,
body.auth-page .input-group textarea {
    background: #101419;
    border-color: #242a33;
    color: #ffffff;
    border-radius: 8px;
}

body.auth-page .input-group input:focus,
body.auth-page .input-group select:focus,
body.auth-page .input-group textarea:focus {
    border-color: #38d48a;
    box-shadow: 0 0 0 1px #38d48a;
}

.login-error,
.login-success {
    border-radius: 8px;
}

.public-docs-shell {
    padding: 40px 0 64px;
}

.public-docs-content {
    padding-top: 0;
}

.public-doc-card {
    padding: 22px;
}

.public-doc-card h1,
.public-doc-card h2,
.public-doc-section h3 {
    color: #ffffff;
}

.public-docs-hub,
.public-docs-detail-stack {
    display: grid;
    gap: 18px;
}

.public-docs-landing-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.public-docs-landing-head h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}

.public-docs-landing-head p {
    color: #9ea7b3;
    max-width: 68ch;
}

.public-docs-summary-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.public-docs-summary-chip {
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #242a33;
    background: #101419;
}

.public-docs-summary-chip span {
    display: block;
    color: #8f98a5;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.public-docs-summary-chip strong {
    color: #ffffff;
    font-size: 1.05rem;
}

.public-docs-version-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.public-doc-version-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    padding: 0;
    text-align: left;
    border: 1px solid #242a33;
    border-radius: 8px;
    overflow: hidden;
    background: #101419;
    color: #e7ecf2;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.public-doc-version-card:hover {
    background: #14191f;
    border-color: #313946;
}

.public-doc-version-card-media img {
    width: 100%;
    height: 100%;
    min-height: 108px;
    object-fit: cover;
    display: block;
}

.public-doc-version-card-copy {
    display: grid;
    gap: 6px;
    align-content: center;
    padding: 16px 16px 16px 0;
    min-width: 0;
}

.public-doc-version-card-copy span {
    color: #72d6a8;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.public-doc-version-card-copy strong {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.3;
}

.public-doc-version-detail.is-hidden,
.public-docs-landing.is-hidden,
.public-doc-media-group.is-hidden {
    display: none;
}

.public-docs-link-list,
.public-doc-sections,
.public-doc-items {
    display: grid;
    gap: 12px;
}

.public-doc-version-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.public-doc-version-actions,
.public-doc-version-head > div:first-child {
    display: grid;
    gap: 10px;
}

.public-doc-back-button {
    justify-self: flex-start;
}

.public-doc-media,
.public-doc-gallery,
.public-doc-item,
.public-doc-section {
    margin-top: 16px;
}

.public-doc-toggle-row {
    display: flex;
    justify-content: flex-start;
    margin-top: 12px;
}

.public-doc-toggle-row.inline {
    margin-top: 0;
    flex: 0 0 auto;
}

.public-doc-item-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.public-doc-item-label {
    margin: 0;
    color: #d6dde5;
    line-height: 1.4;
}

.public-doc-media-group {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.public-doc-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.public-doc-gallery img,
.public-doc-item img,
.public-doc-item video,
.public-doc-media video {
    width: 100%;
    display: block;
    border-radius: 8px;
    border: 1px solid #242a33;
    background: #0f1318;
}

.public-doc-section {
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #242a33;
    background: #11161b;
}

.public-doc-section h3 {
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.public-doc-item {
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #222831;
    background: #101419;
}

.public-doc-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #242a33;
    background: #0f1318;
}

.public-doc-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.public-doc-empty {
    text-align: center;
}

@media (max-width: 980px) {
    .landing-feature-grid,
    .landing-stats-grid,
    .landing-pricing-grid,
    .landing-preview-stack {
        grid-template-columns: 1fr;
    }

    .public-docs-nav {
        position: static;
    }

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

    .auth-divider {
        display: none;
    }

    .landing-carousel-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-carousel-stage {
        min-height: 520px;
    }

    .public-docs-summary-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .landing-actions,
    .auth-options,
    .public-doc-version-head,
    .public-docs-landing-head {
        flex-direction: column;
        align-items: stretch;
    }

    body.landing-page .btn,
    body.auth-page .btn,
    body.public-docs-page .btn {
        width: 100%;
        text-align: center;
    }

    .landing-carousel-slide {
        padding: 28px 24px 78px;
        align-items: flex-end;
    }

    .landing-carousel-copy h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .landing-carousel-copy p {
        font-size: 0.95rem;
    }

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

    .landing-carousel-thumb {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .landing-carousel-controls {
        inset: auto 12px 12px 12px;
    }

    .landing-carousel-arrow {
        width: 42px;
        height: 42px;
    }

    .landing-copy,
    .landing-glass-card,
    .landing-cta-card,
    .auth-box,
    .auth-box.single,
    .auth-left,
    .auth-right,
    .auth-side-card,
    .public-doc-card,
    .public-doc-version-card {
        padding: 20px;
        border-radius: 8px;
    }

    .landing-trust-row {
        flex-direction: column;
    }

    .public-doc-version-card {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .public-doc-version-card-copy {
        padding: 16px;
    }
}
