/* ===========================
   VISPEXIO – Base Layout
   =========================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body.app-body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: radial-gradient(circle at top, #101827 0, #050816 55%, #02010b 100%);
    color: #e5e7eb;
    min-height: 100vh;
}

/* ===========================
   Header
   =========================== */

.app-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(3, 7, 18, 0.92);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.app-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.app-logo-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: #0b1120;
}

.app-logo-text {
    display: flex;
    flex-direction: column;
}

.app-logo-title {
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #bfdbfe;
}

.app-logo-sub {
    font-size: 0.7rem;
    color: #9ca3af;
}

.app-header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Language switch */
.app-lang-switch {
    font-size: 0.75rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.app-lang-switch a {
    text-decoration: none;
    color: #cbd5f5;
}

.app-lang-switch a:hover {
    color: #38bdf8;
}

/* ===========================
   Navigation – Hamburger + Dropdown (always visible)
   =========================== */

.app-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-dropdown {
    position: relative;
}

/* Button (hamburger) */
.nav-dropdown-btn {
    all: unset;
    cursor: pointer;

    width: 44px;
    height: 44px;
    border-radius: 0.9rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #bfdbfe;
}

.nav-dropdown-btn:hover {
    background: rgba(30, 64, 175, 0.25);
}

/* 3-line hamburger (span + pseudo elements) */
.nav-dropdown-btn span {
    position: relative;
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.nav-dropdown-btn span::before,
.nav-dropdown-btn span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.nav-dropdown-btn span::before { top: -6px; }
.nav-dropdown-btn span::after  { top:  6px; }

/* Dropdown menu */
.nav-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.6rem);
    min-width: 240px;

    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 1rem;

    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.85),
        0 0 0 1px rgba(15, 23, 42, 0.9);

    padding: 0.5rem;
    display: none;
    z-index: 50;
}

/* Open on focus (click button -> keeps focus) */
/* open-state for <details> */
.nav-dropdown[open] .nav-dropdown-menu {
    display: block;
}

/* remove default marker from <summary> */
.nav-dropdown-btn::-webkit-details-marker {
    display: none;
}
.nav-dropdown-btn::marker {
    content: "";
}
.nav-dropdown-btn {
    list-style: none; /* important for summary */
}


/* Title + separator */
.nav-dropdown-title {
    padding: 0.55rem 0.75rem 0.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: #bfdbfe;
}

.nav-dropdown-sep {
    height: 1px;
    background: rgba(148, 163, 184, 0.18);
    margin: 0.4rem 0.25rem;
    border-radius: 999px;
}

/* Dropdown links/buttons */
.nav-dropdown-menu a,
.nav-dropdown-logout {
    display: block;
    width: 100%;

    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;

    font-size: 0.9rem;
    color: #e5e7eb;
    text-decoration: none;
    text-align: left;

    background: none;
    border: none;
    cursor: pointer;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-logout:hover {
    background: rgba(30, 64, 175, 0.25);
    color: #bfdbfe;
}

.nav-dropdown-logout {
    color: #fca5a5;
}

.nav-dropdown-logout:hover {
    color: #fecaca;
}

/* ===========================
   Main / Hero
   =========================== */

.app-main {
    padding: 2.5rem 1.25rem 3rem;
}

.hero-shell {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.hero-panel {
    width: 100%;
    background: rgba(15, 23, 42, 0.96);
    border-radius: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.85),
        0 0 0 1px rgba(15, 23, 42, 0.9);
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .hero-panel {
        grid-template-columns: 1fr;
        padding: 1.75rem 1.25rem;
    }
}

/* Left side */
.hero-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-kicker {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 0.75rem;
    font-weight: 800;
    color: #f9fafb;
}

.hero-title span {
    color: #38bdf8;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }
}

.hero-subtitle {
    font-size: 0.9rem;
    color: #cbd5f5;
    margin: 0 0 1.5rem;
    max-width: 32rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hero-hint {
    font-size: 0.7rem;
    color: #9ca3af;
}

/* Right side */
.hero-aside {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-card {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.25), rgba(15, 23, 42, 0.95));
    border-radius: 1rem;
    border: 1px solid rgba(30, 64, 175, 0.8);
    padding: 1rem 1.1rem;
    font-size: 0.8rem;
}

.stat-card:nth-child(2) {
    background: radial-gradient(circle at top, rgba(16, 185, 129, 0.25), rgba(15, 23, 42, 0.96));
    border-color: rgba(16, 185, 129, 0.8);
}

.stat-card-soft {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(147, 197, 253, 0.06));
    border-color: rgba(56, 189, 248, 0.6);
}

.stat-title {
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 0.25rem;
}

.stat-text {
    color: #cbd5f5;
    margin-bottom: 0.5rem;
}

.stat-foot {
    font-size: 0.7rem;
    color: #9ca3af;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    color: #bbf7d0;
    background: rgba(22, 163, 74, 0.18);
}

/* ===========================
   Buttons
   =========================== */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #f9fafb;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.55);
}

.btn-primary:hover {
    filter: brightness(1.04);
}

.btn-secondary {
    background: transparent;
    color: #bfdbfe;
    border: 1px solid rgba(59, 130, 246, 0.6);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.85);
}

/* ===========================
   Admin / Forms / Tables
   =========================== */

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

th, td {
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
    font-size: 0.85rem;
}

thead tr {
    background-color: #020617;
    color: #9ca3af;
}

tbody tr {
    background-color: #020617;
}

tbody tr:nth-child(even) {
    background-color: #02081f;
}

tbody tr:hover {
    background-color: #0b1120;
}

input[type="text"],
textarea,
select {
    width: 100%;
    background-color: #020617;
    border-radius: 0.6rem;
    border: 1px solid #374151;
    padding: 0.5rem 0.75rem;
    color: #e5e7eb;
    font-size: 0.85rem;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #2563eb;
}

.form-error {
    font-size: 0.75rem;
    color: #fecaca;
}

/* Helpers */
.page-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

/* ===========================
   Admin Panel Styles
   =========================== */

.admin-panel {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.85),
        0 0 0 1px rgba(15, 23, 42, 0.9);
    padding: 1.5rem 1.5rem 1.75rem;
}

.admin-panel-narrow {
    max-width: 640px;
    margin: 0 auto;
}

.admin-panel-header,
.admin-panel-header-sm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #f9fafb;
}

.admin-subtitle {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: #9ca3af;
}

.admin-alert {
    font-size: 0.8rem;
    border-radius: 0.75rem;
    padding: 0.6rem 0.75rem;
    margin-bottom: 1rem;
}

.admin-alert-success {
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.6);
    color: #bbf7d0;
}

.admin-alert-error {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.7);
    color: #fecaca;
}

.admin-empty {
    font-size: 0.85rem;
    color: #9ca3af;
}

.admin-table-wrapper {
    margin-top: 0.75rem;
    border-radius: 0.9rem;
    overflow: hidden;
    border: 1px solid rgba(31, 41, 55, 0.9);
    background-color: #020617;
}

.admin-text-muted {
    font-size: 0.78rem;
    color: #9ca3af;
}

.admin-link {
    font-size: 0.8rem;
    color: #93c5fd;
    text-decoration: none;
    margin-left: 0.4rem;
}

.admin-link:first-child {
    margin-left: 0;
}

.admin-link:hover {
    color: #bfdbfe;
}

.admin-link-danger {
    color: #f97373;
}

.admin-link-danger:hover {
    color: #fecaca;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 500;
}

.badge-frequency {
    background: rgba(59, 130, 246, 0.12);
    color: #bfdbfe;
    border: 1px solid rgba(37, 99, 235, 0.6);
}

.badge-active {
    background: rgba(22, 163, 74, 0.12);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.7);
}

.badge-inactive {
    background: rgba(148, 163, 184, 0.14);
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.7);
}

/* Form */
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-form-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-form-row label {
    font-size: 0.8rem;
    color: #e5e7eb;
}

.admin-form-row-inline {
    align-items: flex-start;
}

.admin-checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #e5e7eb;
}

.admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

/* Text align helper */
.text-right { text-align: right; }

/* ===========================
   Mobile Tables – Horizontal Scroll
   =========================== */

.admin-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table-wrapper table {
    min-width: 720px;
}

.admin-table-wrapper::-webkit-scrollbar {
    height: 10px;
}

.admin-table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.25);
    border-radius: 999px;
}

/* ===========================
   Auth (Login) – VISPEXIO Style
   =========================== */

.auth-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2rem 1.25rem;

    min-height: calc(100vh - 84px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 520px;

    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.85);
    padding: 2.25rem 2rem;
    border-radius: 1.75rem;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
    justify-content: center;
    text-align: center;
}

.auth-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    text-align: left;
}

.auth-title {
    margin: 0 0 0.35rem;
    font-size: 1.7rem;
    font-weight: 800;
    color: #f9fafb;
    letter-spacing: 0.01em;
    text-align: center;
}

.auth-subtitle {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    color: #cbd5f5;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.auth-field label {
    font-size: 0.8rem;
    color: #cbd5f5;
}

.auth-field input {
    width: 100%;
    background-color: #020617;
    border-radius: 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 1.05rem 1.05rem;
    color: #e5e7eb;
    font-size: 1rem;
}

.auth-field input:focus {
    outline: none;
    border-color: #2563eb;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.2rem;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.auth-link {
    font-size: 0.9rem;
    color: #93c5fd;
    text-decoration: none;
}

.auth-link:hover {
    color: #bfdbfe;
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 1.05rem 1.2rem;
    font-size: 1.05rem;
    border-radius: 999px;
    margin-top: 0.25rem;
}

.auth-hint {
    margin: 0.85rem 0 0;
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
}

@media (max-width: 520px) {
    .auth-card {
        padding: 1.6rem 1.25rem;
        border-radius: 1.4rem;
    }

    .auth-field input {
        padding: 1.1rem 1.05rem;
        font-size: 1.05rem;
    }

    .auth-btn {
        padding: 1.1rem 1.2rem;
        font-size: 1.08rem;
    }
}

.auth-lang {
    display: flex;
    justify-content: flex-end;
    gap: .4rem;
    font-size: .75rem;
    color: #9ca3af;
    margin-bottom: .75rem;
}

.auth-lang a {
    color: #cbd5f5;
    text-decoration: none;
}

.auth-lang a:hover {
    color: #38bdf8;
}
.vx-glow-card {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.vx-glow-card:hover {
    transform: translateY(-2px);
    border-color: rgba(56,189,248,0.65);
    box-shadow: 0 0 0 1px rgba(56,189,248,0.35), 0 12px 35px rgba(56,189,248,0.08);
}
/* ===========================
   Home Sections
   =========================== */

.home-section {
    max-width: 1120px;
    margin: 1.25rem auto 0;
    padding: 1.5rem 1.25rem;
}

.section-head {
    margin-bottom: 1rem;
}

.section-kicker {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 0.35rem;
}

.section-title {
    margin: 0 0 0.4rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #f9fafb;
}

.section-subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: #cbd5f5;
    max-width: 46rem;
}

/* Feature cards */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.72);
    padding: 1.25rem 1.25rem 1.15rem;
}

.feature-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #bfdbfe;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(37, 99, 235, 0.5);
}

.feature-price {
    text-align: right;
}

.feature-price-from {
    display: block;
    font-size: 0.72rem;
    color: #9ca3af;
}

.feature-price-value {
    display: block;
    font-size: 1.55rem;
    font-weight: 900;
    color: #f9fafb;
    letter-spacing: -0.02em;
}

.feature-price-unit {
    display: block;
    font-size: 0.75rem;
    color: #cbd5f5;
}

.feature-list {
    margin: 0;
    padding-left: 1.1rem;
    color: #cbd5f5;
    font-size: 0.9rem;
    line-height: 1.5;
}

.feature-list li {
    margin: 0.25rem 0;
}

.feature-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

/* Spotlight card */
.feature-card-spotlight {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.96));
    border-color: rgba(56, 189, 248, 0.55);
    box-shadow: 0 18px 55px rgba(56, 189, 248, 0.06), 0 18px 45px rgba(15, 23, 42, 0.75);
}

.spotlight-head {
    margin-bottom: 0.9rem;
}

.spotlight-title {
    font-size: 1.05rem;
    font-weight: 900;
    color: #f9fafb;
}

.spotlight-sub {
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #cbd5f5;
}

.spotlight-points {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.8rem;
}

.spotlight-point {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.spotlight-point .dot {
    width: 10px;
    height: 10px;
    margin-top: 0.35rem;
    border-radius: 999px;
    background: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.spotlight-point .txt {
    color: #cbd5f5;
    font-size: 0.9rem;
}

/* Compare */
.compare-shell {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.78);
    padding: 1.25rem;
}

.compare-table {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(31, 41, 55, 0.9);
    background: #020617;
}

.compare-head,
.compare-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.compare-head {
    background: #020617;
    color: #9ca3af;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.compare-row {
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    font-size: 0.9rem;
}

.compare-col {
    padding: 0.85rem 0.95rem;
}

.compare-col-left {
    color: #cbd5f5;
    background: #020617;
}

.compare-col-right {
    color: #e5e7eb;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(56, 189, 248, 0.08));
}

.compare-label-strong {
    color: #bfdbfe;
}

@media (max-width: 900px) {
    .compare-head,
    .compare-row {
        grid-template-columns: 1fr;
    }
    .compare-col-right {
        border-top: 1px solid rgba(31, 41, 55, 0.9);
    }
}

.compare-cta {
    margin-top: 1rem;
    border-radius: 1rem;
    padding: 1rem 1rem;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(147, 197, 253, 0.05));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.compare-cta-title {
    font-weight: 900;
    color: #f9fafb;
}

.compare-cta-sub {
    font-size: 0.85rem;
    color: #cbd5f5;
}

/* Anchor offset for sticky header */
#pricing-order, #compare {
    scroll-margin-top: 100px;
}
/* ===========================
   Home – unify layout / spacing
   =========================== */

.vx-home {
    width: 100%;
}

/* Stack wrapper aligns sections with hero width */
.vx-home-stack {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Ensure sections don't “stretch left” with extra padding */
.vx-home-stack .home-section {
    margin: 0;
    padding: 0;
}

/* Give each section a consistent panel look */
.vx-home-stack .home-section > .section-head,
.vx-home-stack .home-section > .feature-grid,
.vx-home-stack .home-section > .compare-shell {
    width: 100%;
}

/* Add a subtle “panel” wrapper to compare + subfeatures by styling their outer blocks */
.vx-home-stack .home-section {
    background: rgba(15, 23, 42, 0.70);
    border-radius: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.30);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.75);
    padding: 1.5rem 1.5rem;
}

/* On small screens: tighter padding */
@media (max-width: 520px) {
    .vx-home-stack {
        padding: 0 1rem 2.5rem;
        gap: 1rem;
    }
    .vx-home-stack .home-section {
        padding: 1.15rem 1.05rem;
        border-radius: 1.25rem;
    }
}

/* Make sure pricing-order section anchor offset stays ok */
#pricing-order {
    scroll-margin-top: 110px;
}
/* ===========================
   VISPEXIO Landing – Premium Layout
   =========================== */

:root {
    --vx-container: 1120px;
    --vx-gutter: 1.25rem;
    --vx-gap: 1.25rem;
    --vx-radius: 1.6rem;
    --vx-border: 1px solid rgba(148, 163, 184, 0.30);
    --vx-panel: rgba(15, 23, 42, 0.78);
    --vx-shadow: 0 22px 70px rgba(15, 23, 42, 0.72);
}

/* consistent container */
.vx-container {
    max-width: var(--vx-container);
    margin: 0 auto;
    padding: 0 var(--vx-gutter);
}

/* tighten hero integration */
.vx-hero-panel {
    margin-top: 0;
}

/* sections stack with consistent rhythm */
.vx-sections {
    margin-top: var(--vx-gap);
    display: flex;
    flex-direction: column;
    gap: var(--vx-gap);
    padding-bottom: 3rem;
}

/* premium section shell */
.vx-section {
    background: var(--vx-panel);
    border: var(--vx-border);
    border-radius: var(--vx-radius);
    box-shadow: var(--vx-shadow);
    padding: 1.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

/* subtle premium glow */
.vx-section::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(circle at 20% 10%, rgba(56,189,248,0.16), transparent 55%),
                radial-gradient(circle at 80% 0%, rgba(37,99,235,0.10), transparent 60%);
    pointer-events: none;
}

/* make content sit above glow */
.vx-section > * {
    position: relative;
    z-index: 1;
}

/* pricing area a bit more “special” */
.vx-section-premium {
    border-color: rgba(56,189,248,0.32);
}

/* IMPORTANT:
   Prevent included sections from adding their own outer spacing/padding */
.vx-section .home-section {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* pricing wrapper class (from Step 1) */
.vx-pricing {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 0;
}

/* mobile premium tuning */
@media (max-width: 900px) {
    :root {
        --vx-gap: 1rem;
        --vx-radius: 1.35rem;
    }

    .vx-section {
        padding: 1.15rem 1.05rem;
        box-shadow: 0 18px 55px rgba(15, 23, 42, 0.70);
    }
}

@media (max-width: 520px) {
    :root {
        --vx-gutter: 1rem;
    }

    .vx-sections {
        padding-bottom: 2.4rem;
    }

    /* ensure compare table doesn’t feel cramped */
    .compare-shell {
        padding: 1rem !important;
    }
}

/* anchor offset (sticky header) */
#pricing-order {
    scroll-margin-top: 110px;
}
/* ===========================
   ULTRA PREMIUM INPUTS (hellgrau)
   =========================== */

.vx-input,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
textarea,
select {
    width: 100%;
    background: #e5e7eb;     /* hellgrau */
    color: #0b1120;          /* dunkle Schrift */
    border: 1px solid rgba(15, 23, 42, 0.20);
    border-radius: 1rem;
    padding: 0.85rem 0.95rem;
    font-size: 0.95rem;
}

textarea.vx-input {
    padding-top: 0.85rem;
}

.vx-input::placeholder,
input::placeholder,
textarea::placeholder {
    color: rgba(15, 23, 42, 0.55);
}

.vx-input:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.65);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
}

/* keep labels readable */
.admin-form-row label {
    font-size: 0.82rem;
    color: #e5e7eb;
}

/* small helper */
.vx-muted {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 0.35rem;
}

.vx-divider {
    height: 1px;
    background: rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    margin: 0.25rem 0;
}

/* ===========================
   PRICING – 2 Column Premium
   =========================== */

.vx-pricing2 {
    margin: 0;
}

.vx-pricing2-head {
    margin-bottom: 1rem;
}

.vx-pricing2-kicker {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    font-weight: 800;
    color: #60a5fa;
    margin-bottom: 0.35rem;
}

.vx-pricing2-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 900;
    color: #f9fafb;
}

.vx-pricing2-sub {
    margin: 0.45rem 0 0;
    font-size: 0.95rem;
    color: #cbd5f5;
    max-width: 52rem;
}

.vx-pricing2-form {
    margin-top: 1rem;
}

.vx-pricing2-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 1rem;
    align-items: start;
}

.vx-pricing2-panel {
    background: rgba(2, 6, 23, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 1.4rem;
    padding: 1.15rem 1.15rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.45);
}

.vx-pricing2-panel-title {
    font-weight: 950;
    color: #f9fafb;
    font-size: 1.05rem;
}

.vx-pricing2-panel-sub {
    margin-top: 0.35rem;
    color: #cbd5f5;
    font-size: 0.85rem;
}

.vx-pricing2-qtygrid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem;
}

.vx-pricing2-totals {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(56,189,248,0.12), rgba(37,99,235,0.08));
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 1.25rem;
    padding: 0.95rem 1rem;
}

.vx-pricing2-totalvalue {
    margin-top: 0.2rem;
    font-size: 1.45rem;
    font-weight: 950;
    color: #f9fafb;
    letter-spacing: -0.02em;
}

.vx-pricing2-totalunit {
    font-size: 0.85rem;
    font-weight: 700;
    color: #cbd5f5;
    margin-left: 0.35rem;
}

.vx-pricing2-setupvalue {
    margin-top: 0.2rem;
    font-weight: 900;
    color: #f9fafb;
}

.vx-right { text-align: right; }

.vx-trustbar {
    margin-top: 0.85rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.vx-trustitem {
    font-size: 0.75rem;
    color: #bfdbfe;
    border: 1px solid rgba(37, 99, 235, 0.35);
    background: rgba(37, 99, 235, 0.10);
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
}

.vx-pricing2-submitpanel {
    margin-top: 1rem;
}

.vx-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.vx-submit-btn {
    padding: 0.9rem 1.35rem;
    font-size: 0.95rem;
}

/* Right side fields */
.vx-pricing2-fields {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.vx-pricing2-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

/* Make big fields span full width */
.vx-pricing2-fields .admin-form-row:nth-child(1),
.vx-pricing2-fields .admin-form-row:nth-child(3),
.vx-pricing2-fields .admin-form-row:nth-child(4),
.vx-pricing2-fields .admin-form-row:nth-child(5),
.vx-pricing2-fields .admin-form-row:nth-child(7),
.vx-pricing2-fields .admin-form-row:nth-child(8),
.vx-pricing2-fields .admin-form-row:nth-child(10),
.vx-pricing2-fields .admin-form-row:nth-child(13),
.vx-pricing2-fields .admin-form-row:nth-child(14),
.vx-pricing2-fields .admin-form-row:nth-child(15) {
    grid-column: 1 / -1;
}

/* Mobile: stack columns perfectly */
@media (max-width: 900px) {
    .vx-pricing2-grid {
        grid-template-columns: 1fr;
    }
    .vx-pricing2-qtygrid {
        grid-template-columns: 1fr;
    }
    .vx-pricing2-fields {
        grid-template-columns: 1fr;
    }
    .vx-pricing2-row2 {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   COMPARE – Ultra Premium + Mobile understandable
   =========================== */

.vx-compare {
    margin-top: 1rem;
}

.vx-compare-scroll {
    overflow-x: auto;
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(2, 6, 23, 0.35);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.45);
}

/* Always keep 2 columns; on mobile we allow horizontal scroll */
.vx-compare-table {
    min-width: 760px;
}

.vx-compare-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.vx-compare-head {
    position: sticky;
    top: 0;
    z-index: 5;
    border-top: none;
    background: rgba(3, 7, 18, 0.92);
    backdrop-filter: blur(10px);
}

.vx-compare-cell {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    color: #e5e7eb;
}

.vx-compare-left {
    background: rgba(2, 6, 23, 0.35);
    color: #cbd5f5;
}

.vx-compare-right {
    background: linear-gradient(135deg, rgba(37,99,235,0.14), rgba(56,189,248,0.10));
}

.vx-compare-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vx-compare-chip-muted {
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.30);
    color: #e5e7eb;
}

.vx-compare-chip-strong {
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #bfdbfe;
}

.vx-compare-cta {
    margin-top: 1rem;
    border-radius: 1.25rem;
    padding: 1rem 1rem;
    border: 1px solid rgba(56, 189, 248, 0.30);
    background: linear-gradient(135deg, rgba(56,189,248,0.12), rgba(147,197,253,0.05));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.vx-compare-cta-title {
    font-weight: 950;
    color: #f9fafb;
}

.vx-compare-cta-sub {
    font-size: 0.9rem;
    color: #cbd5f5;
    margin-top: 0.25rem;
}

/* Premium scrollbar */
.vx-compare-scroll::-webkit-scrollbar { height: 10px; }
.vx-compare-scroll::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.28);
    border-radius: 999px;
}

/* Anchor offset */
#pricing-order, #compare {
    scroll-margin-top: 110px;
}
/* ===== Pricing sticky column ===== */
.vx-pricing2-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 1rem;
    align-items: start;
}

.vx-pricing2-sticky {
    position: sticky;
    top: 110px; /* sticky header offset */
}

.vx-pricing2-right {
    min-width: 0;
}

.vx-submit-panel {
    margin-top: 1rem;
}

/* Fields layout */
.vx-pricing2-fields {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.vx-pricing2-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

/* ===== Mobile: stack, keep prices always visible via sticky bar ===== */
.vx-mobile-pricebar {
    display: none;
}

@media (max-width: 900px) {
    .vx-pricing2-grid {
        grid-template-columns: 1fr;
    }

    .vx-pricing2-sticky {
        position: relative;
        top: auto;
    }

    .vx-pricing2-fields {
        grid-template-columns: 1fr;
    }

    .vx-pricing2-row2 {
        grid-template-columns: 1fr;
    }

    /* Premium sticky price bar at bottom */
    .vx-mobile-pricebar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;

        padding: 0.85rem 1rem;
        background: rgba(3, 7, 18, 0.92);
        backdrop-filter: blur(12px);
        border-top: 1px solid rgba(148, 163, 184, 0.22);
        box-shadow: 0 -16px 40px rgba(15, 23, 42, 0.55);

        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .vx-mobile-pricebar-label {
        font-size: 0.75rem;
        color: #9ca3af;
        margin-bottom: 0.15rem;
    }

    .vx-mobile-pricebar-value {
        font-size: 1.05rem;
        font-weight: 900;
        color: #f9fafb;
        letter-spacing: -0.01em;
    }

    .vx-mobile-pricebar-btn {
        border: none;
        cursor: pointer;
        border-radius: 999px;
        padding: 0.75rem 1rem;
        font-weight: 800;
        font-size: 0.9rem;
        color: #0b1120;
        background: linear-gradient(135deg, #2563eb, #38bdf8);
        box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
        white-space: nowrap;
    }

    /* Make room for sticky bar so it doesn't cover submit button */
    .vx-pricing2 {
        padding-bottom: 4.6rem;
    }
	/* Links zu Terms und Privacy – Desktop & Mobil */
a[href*="terms"], 
a[href*="privacy"] {
    color: #ffffff !important;  /* Setzt die Textfarbe auf Weiß */
    text-decoration: none !important; /* Entfernt den Unterstrich */
}

/* Hover-Effekt für Links zu Terms und Privacy – Desktop & Mobil */
a[href*="terms"]:hover, 
a[href*="privacy"]:hover {
    color: #f0f0f0 !important; /* Etwas helleres Weiß für den Hover-Effekt */
}

/* Spezifische Regel für Desktop */
@media (min-width: 900px) {
    /* Sicherstellen, dass die Links auf dem Desktop auch weiß sind */
    a[href*="terms"], 
    a[href*="privacy"] {
        color: #ffffff !important;  /* Weiß */
    }
    
    /* Hover-Effekt für Desktop */
    a[href*="terms"]:hover, 
    a[href*="privacy"]:hover {
        color: #f0f0f0 !important; /* Etwas helleres Weiß für den Hover-Effekt */
    }
	/* Vispexio legal content styling */
.legal-doc {
    max-width: 800px; /* Maximale Breite des Texts */
    margin: 0 auto; /* Zentriert den Inhalt auf der Seite */
    padding: 1.5rem; /* Hinzufügen von Abstand um den Text */
    line-height: 1.6; /* Verbesserte Lesbarkeit */
    color: #e5e7eb; /* Textfarbe im Vispexio Design */
    background-color: rgba(15, 23, 42, 0.85); /* Ein leicht dunklerer Hintergrund für besseren Kontrast */
    border-radius: 8px; /* Abgerundete Ecken für das Container-Design */
}

/* Optional: Anpassungen für mobile Geräte */
@media (max-width: 768px) {
    .legal-doc {
        max-width: 100%; /* Auf kleinen Geräten wird der Inhalt auf 100% der Bildschirmbreite skaliert */
        padding: 1rem; /* Weniger Abstand auf mobilen Geräten */
}

.vx-section-faq { margin-top: 28px; }
.vx-faq { max-width: 1100px; margin: 0 auto; padding: 10px 0; }

.vx-faq-head { margin-bottom: 12px; }
.vx-faq-title { font-size: 1.6rem; margin: 0 0 6px 0; }
.vx-faq-subtitle { opacity: .85; margin: 0; }

.vx-faq-list { display: grid; gap: 10px; margin-top: 14px; }

.vx-faq-item {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  overflow: hidden;
}

.vx-faq-q {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  font-weight: 700;
}

.vx-faq-q::-webkit-details-marker { display: none; }

.vx-faq-icon {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  font-weight: 900;
  transition: transform .18s ease;
}

.vx-faq-item[open] .vx-faq-icon { transform: rotate(45deg); }

.vx-faq-a {
  padding: 0 16px 14px 16px;
  opacity: .92;
  line-height: 1.55;
}
}
