/* Vaultspace front-end global styles */
:root {
    /* Color palette */
    --vs-bg: #f9f5ef;
    --vs-surface: #ffffff;
    --vs-page-gradient: linear-gradient(160deg, #fffdf9 0%, #f7f1e7 40%, #efe5d7 100%);
    --vs-accent: #c89b3c;
    --vs-accent-soft: rgba(200, 155, 60, 0.16);
    --vs-accent-bold: #b3821b;
    --vs-text: #2f2a23;
    --vs-muted: rgba(75, 66, 56, 0.72);
    --vs-border: rgba(193, 168, 126, 0.26);
    --vs-border-strong: rgba(186, 155, 105, 0.34);

    /* Component tokens */
    --vs-radius-lg: 28px;
    --vs-radius-md: 18px;
    --vs-radius-sm: 12px;
    --vs-radius-pill: 999px;
    --vs-shadow: 0 24px 55px rgba(139, 118, 84, 0.18);
    --vs-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --vs-btn-bg: linear-gradient(135deg, var(--vs-accent) 0%, var(--vs-accent-bold) 100%);
    --vs-btn-color: #ffffff;
    --vs-btn-shadow: 0 16px 30px rgba(200, 155, 60, 0.22);
    --vs-btn-hover-shadow: 0 20px 36px rgba(200, 155, 60, 0.28);
    --vs-btn-hover-translate: -1px;
    --vs-btn-ghost-bg: rgba(200, 155, 60, 0.14);
    --vs-btn-ghost-color: var(--vs-text);

    --vs-badge-bg: var(--vs-accent-soft);
    --vs-badge-color: #6a5629;
    --vs-chip-bg: rgba(200, 155, 60, 0.12);
    --vs-chip-color: rgba(63, 55, 45, 0.85);

    --vs-card-bg: rgba(255, 255, 255, 0.92);
    --vs-card-border: rgba(190, 164, 120, 0.28);
    --vs-surface-bg: rgba(255, 255, 255, 0.95);
    --vs-surface-border: rgba(200, 155, 60, 0.26);
    --vs-surface-overlay: linear-gradient(125deg, rgba(232, 201, 146, 0.25), rgba(250, 239, 221, 0.55));

    --vs-footer-bg: rgba(255, 250, 243, 0.98);
    --vs-footer-border: rgba(200, 155, 60, 0.24);

    --vs-heading-letter-spacing: -0.018em;
    --vs-text-line-height: 1.65;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--vs-page-gradient);
    color: var(--vs-text);
    font-family: var(--vs-font);
    -webkit-font-smoothing: antialiased;
}

body {
    line-height: var(--vs-text-line-height);
}

body.nav-open .vs-nav {
    display: grid;
}

main {
    display: block;
}

.section {
    padding: 120px 0;
}

.section--compact {
    padding: 80px 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
}

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

h1,
h2,
h3,
h4 {
    margin: 0 0 18px;
    font-weight: 700;
    letter-spacing: var(--vs-heading-letter-spacing);
    font-family: 'Playfair Display', 'Inter', serif;
}

h1 {
    font-size: clamp(42px, 5vw, 64px);
}

h2 {
    font-size: clamp(32px, 4vw, 44px);
}

h3 {
    font-size: 24px;
}

p {
    margin: 0 0 18px;
    color: var(--vs-muted);
    line-height: var(--vs-text-line-height);
}

.list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.list li {
    position: relative;
    padding-left: 24px;
    color: var(--vs-muted);
}

.list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: var(--vs-radius-pill);
    background: var(--vs-accent);
    box-shadow: 0 0 0 6px rgba(214, 178, 94, 0.18);
}

/* Header */
.vs-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(198, 170, 122, 0.45);
}

.vs-header__bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 28px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.vs-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.vs-logo__mark {
    background: var(--vs-accent);
    color: #fffdfa;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 14px;
}

.vs-logo__word {
    font-weight: 600;
    font-size: 18px;
    color: var(--vs-text);
}

.vs-logo--footer .vs-logo__mark {
    background: rgba(200, 155, 60, 0.18);
}

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

.vs-nav__link {
    color: rgba(65, 57, 48, 0.78);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.vs-nav__link:hover {
    color: var(--vs-text);
}

.vs-header__cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.vs-header__toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: rgba(200, 155, 60, 0.18);
    border-radius: 12px;
    border: none;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.vs-header__toggle span {
    width: 18px;
    height: 2px;
    display: block;
    background: var(--vs-text);
}

/* Buttons & pills */
.vs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--vs-radius-pill);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: var(--vs-btn-color);
    background: var(--vs-btn-bg);
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--vs-btn-shadow);
}

.vs-btn:hover {
    transform: translateY(var(--vs-btn-hover-translate));
    box-shadow: var(--vs-btn-hover-shadow);
}

.vs-btn--ghost {
    background: var(--vs-btn-ghost-bg);
    color: var(--vs-btn-ghost-color);
    box-shadow: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: var(--vs-radius-pill);
    background: var(--vs-badge-bg);
    color: var(--vs-badge-color);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip {
    padding: 8px 14px;
    border-radius: var(--vs-radius-pill);
    background: var(--vs-chip-bg);
    color: var(--vs-chip-color);
    font-size: 13px;
    font-weight: 500;
}

.tagline {
    font-size: 18px;
    color: var(--vs-muted);
    margin-bottom: 32px;
}

/* Cards & surfaces */
.card {
    background: var(--vs-card-bg);
    border: 1px solid var(--vs-card-border);
    border-radius: var(--vs-radius-md);
    padding: 28px;
    box-shadow: var(--vs-shadow);
}

.surface {
    position: relative;
    background: var(--vs-surface-bg);
    border: 1px solid var(--vs-surface-border);
    border-radius: var(--vs-radius-lg);
    padding: 40px;
    overflow: hidden;
}

.surface::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--vs-surface-overlay);
    opacity: 0.45;
    pointer-events: none;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat__value {
    font-size: 30px;
    font-weight: 600;
    color: var(--vs-text);
}

.stat__label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(90, 80, 66, 0.6);
}

.table-card {
    border-radius: var(--vs-radius-md);
    border: 1px solid rgba(200, 155, 60, 0.22);
    overflow: hidden;
}

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

.table-card th,
.table-card td {
    padding: 18px 22px;
    font-size: 14px;
    text-align: left;
    border-bottom: 1px solid rgba(200, 155, 60, 0.12);
}

.table-card th {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 12px;
    color: rgba(87, 76, 62, 0.65);
}

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

.pricing-card {
    padding: 32px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(200, 155, 60, 0.28);
    display: grid;
    gap: 18px;
}

.pricing-card--highlight {
    background: rgba(255, 251, 244, 0.96);
    border-color: rgba(200, 155, 60, 0.42);
    transform: translateY(-8px);
}

.testimonial-card {
    padding: 32px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(200, 155, 60, 0.2);
    display: grid;
    gap: 18px;
}

/* Footer */
.vs-footer {
    border-top: 1px solid var(--vs-footer-border);
    padding: 80px 0 60px;
    background: var(--vs-footer-bg);
}

.vs-footer__grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 36px;
}

.vs-footer__title {
    font-weight: 600;
    color: var(--vs-text);
    margin-bottom: 14px;
}

.vs-footer__link {
    display: block;
    margin-bottom: 10px;
    color: rgba(81, 72, 61, 0.75);
    text-decoration: none;
    font-size: 14px;
}

.vs-footer__link:hover {
    color: var(--vs-text);
}

.vs-footer__form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-top: 18px;
}

.vs-footer__form input {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(193, 168, 126, 0.3);
    border-radius: var(--vs-radius-sm);
    padding: 12px 16px;
    color: var(--vs-text);
    font-size: 14px;
}

.vs-footer__lead {
    max-width: 260px;
    color: rgba(88, 78, 66, 0.78);
}

.vs-footer__meta {
    margin-top: 16px;
    font-size: 12px;
    color: rgba(105, 94, 81, 0.6);
}

/* Decorative elements */
.hero-orb {
    position: absolute;
    inset: auto 8% -120px auto;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at center, rgba(232, 201, 146, 0.55), rgba(255, 255, 255, 0));
    filter: blur(18px);
    pointer-events: none;
    z-index: 0;
}

/* Responsive */
@media (max-width: 960px) {
    .vs-header__bar {
        grid-template-columns: auto auto auto;
    }

    .vs-nav {
        display: none;
        position: absolute;
        inset: 72px 24px auto;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(198, 170, 122, 0.35);
        border-radius: 18px;
        padding: 22px;
        box-shadow: var(--vs-shadow);
        gap: 18px;
    }

    .vs-nav__link {
        font-size: 16px;
    }

    .vs-header__cta {
        display: none;
    }

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

    .vs-header__toggle {
        display: inline-flex;
    }

    body.nav-open .vs-nav {
        display: grid;
    }
}
