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

:root {
    color-scheme: dark;
    --bg-main: #020617;
    --glass: rgba(15, 23, 42, 0.85);
    --accent: #ef4444;
    --accent-soft: rgba(248, 113, 113, 0.3);
    --border-subtle: rgba(148, 27, 40, 0.7);
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --radius-xl: 1.5rem;
    --radius-lg: 1rem;
    --shadow-strong: 0 30px 60px rgba(0, 0, 0, 0.9);
    --blur: 24px;
    --transition-fast: 0.15s ease-out;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at 0 0, #020617, #020617) fixed;
    color: var(--text-main);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 0 0, rgba(248,113,113,0.18), transparent 55%),
        radial-gradient(circle at 80% 100%, rgba(59,130,246,0.2), transparent 55%),
        url('../img/background.jpg') center/cover no-repeat fixed;
    opacity: 0.28;
    mix-blend-mode: screen;
    filter: saturate(1.2);
    z-index: -1;
}

/* Header */

.app-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.8rem;
    backdrop-filter: blur(22px);
    background: linear-gradient(to right, rgba(15,23,42,0.9), rgba(15,23,42,0.6));
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.app-title,
.card-title,
.metric-value,
.auth-title,
.sidebar-title {
    font-family: 'Orbitron', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.08em;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.header-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    object-fit: contain;
    background: radial-gradient(circle at 30% 0%, #f97316, #b91c1c);
    padding: 2px;
    box-shadow: 0 0 25px rgba(248, 113, 113, 0.9);
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.app-title {
    font-size: 0.95rem;
    text-transform: uppercase;
}

.app-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* User chip */

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

.user-menu {
    position: relative;
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(148,27,40,0.7);
    background: radial-gradient(circle at 0 0, rgba(248,113,113,0.25), rgba(15,23,42,0.95));
    color: var(--text-main);
    font-size: 0.75rem;
    cursor: pointer;
}

.user-initial {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.user-role {
    color: #fecaca;
    text-transform: uppercase;
    font-size: 0.65rem;
}

.chevron {
    font-size: 0.7rem;
}

.user-dropdown {
    position: absolute;
    right: 0;
    margin-top: 0.4rem;
    min-width: 160px;
    border-radius: 0.9rem;
    background: rgba(15,23,42,0.98);
    border: 1px solid rgba(148,27,40,0.7);
    box-shadow: var(--shadow-strong);
    display: none;
    overflow: hidden;
    z-index: 40;
}

.user-dropdown a {
    display: block;
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
    color: var(--text-main);
    text-decoration: none;
}

.user-dropdown a:hover {
    background: rgba(248,113,113,0.15);
}

/* Shell & sidebar */

.app-shell {
    display: grid;
    grid-template-columns: 230px minmax(0,1fr);
    min-height: calc(100vh - 60px);
}

.app-shell-main {
    display: flex;
    flex-direction: column;
}

.app-sidebar {
    position: relative;
    padding: 1rem 1.1rem 1.8rem;
    border-right: 1px solid var(--border-subtle);
    background: radial-gradient(circle at 0 0, rgba(15,23,42,0.98), rgba(15,23,42,1));
    box-shadow: 24px 0 40px rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.app-sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0 0, rgba(248,113,113,0.35), transparent 60%);
    opacity: 0.8;
    mix-blend-mode: screen;
    pointer-events: none;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.sidebar-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(248,113,113,1));
}

.sidebar-logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.sidebar-title {
    font-size: 0.8rem;
    color: #fee2e2;
    text-transform: uppercase;
}

.sidebar-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
    padding: 0.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(248,113,113,0.25), rgba(127,29,29,0.85));
    box-shadow: 0 0 24px rgba(248,113,113,0.4);
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    color: #fee2e2;
    text-decoration: none;
    border: 1px solid rgba(248,113,113,0.35);
    position: relative;
    overflow: hidden;
    background: rgba(15,23,42,0.92);
}

.sidebar-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(248,113,113,0.4), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.sidebar-link:hover::before {
    opacity: 1;
}

.sidebar-link:hover {
    border-color: rgba(248,113,113,0.6);
}

.sidebar-link.active {
    background: radial-gradient(circle at 0 0, rgba(248,113,113,0.98), rgba(127,29,29,0.98));
    border-color: rgba(254,226,226,0.95);
    color: #111827;
    box-shadow: 0 0 24px rgba(248,113,113,1);
}

/* Main */

.app-main {
    padding: 1.6rem 2rem 3rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
    gap: 1rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
    gap: 1.2rem;
}

.glass-card {
    position: relative;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at 0 0, rgba(248,113,113,0.12), transparent 55%),
                rgba(15,23,42,0.92);
    border: 1px solid rgba(148,27,40,0.9);
    box-shadow: var(--shadow-strong);
    padding: 1.1rem 1.3rem;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 0 0, rgba(248,113,113,0.25), transparent 60%);
    opacity: 0.3;
    pointer-events: none;
}

.card-title {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.card-subtitle {
    margin: 0 0 0.7rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Metrics */

.metric-card {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 600;
}

.accent-gold .metric-value { color: #facc15; }
.accent-green .metric-value { color: #4ade80; }
.accent-blue .metric-value { color: #38bdf8; }
.accent-red .metric-value { color: #f97373; }

/* Info grid */

.info-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0.6rem 1rem;
    font-size: 0.8rem;
}

.info-grid .label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Tables */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.table-wrapper.small {
    max-height: 320px;
    overflow: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.data-table th,
.data-table td {
    padding: 0.4rem 0.55rem;
    border-bottom: 1px solid rgba(30,41,59,0.9);
}

.data-table thead th {
    text-align: left;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.data-table tbody tr:hover {
    background: rgba(15,23,42,0.9);
}

.mono {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.75rem;
}

.empty-cell {
    text-align: center;
    padding: 0.9rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Badges */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.7rem;
    border: 1px solid transparent;
}

.status-active {
    background: rgba(22,163,74,0.25);
    border-color: rgba(22,163,74,0.6);
    color: #bbf7d0;
}

.status-inactive {
    background: rgba(30,64,175,0.3);
    border-color: rgba(59,130,246,0.7);
    color: #bfdbfe;
}

.status-banned {
    background: rgba(127,29,29,0.4);
    border-color: rgba(248,113,113,0.8);
    color: #fecaca;
}

.role-owner {
    background: rgba(234,179,8,0.3);
    border-color: rgba(234,179,8,0.8);
    color: #facc15;
}

.role-admin {
    background: rgba(59,130,246,0.4);
    border-color: rgba(59,130,246,0.9);
    color: #bfdbfe;
}

.role-seller {
    background: rgba(16,185,129,0.23);
    border-color: rgba(16,185,129,0.7);
    color: #a7f3d0;
}

/* Buttons */

.btn {
    border-radius: 999px;
    border: 1px solid rgba(148,27,40,0.7);
    background: radial-gradient(circle at 0 0, rgba(248,113,113,0.35), rgba(15,23,42,0.95));
    color: var(--text-main);
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn.primary {
    background: radial-gradient(circle at 0 0, rgba(248,113,113,0.85), rgba(127,29,29,0.95));
    color: #0b1120;
    border-color: rgba(254,226,226,0.9);
    box-shadow: 0 0 24px rgba(248,113,113,0.95);
}

.btn.ghost {
    background: transparent;
    border-color: rgba(148,27,40,0.6);
}

.btn.danger {
    background: radial-gradient(circle at 0 0, rgba(248,113,113,0.9), rgba(127,29,29,0.95));
    color: #111827;
    border-color: rgba(254,202,202,0.9);
}

.btn.tiny {
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.6);
}

/* Forms */

.stacked-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.stacked-form label span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.stacked-form input,
.stacked-form select {
    width: 100%;
    padding: 0.4rem 0.55rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(30,41,59,0.9);
    background: rgba(15,23,42,0.95);
    color: var(--text-main);
    font-size: 0.78rem;
}

.stacked-form input:focus,
.stacked-form select:focus {
    outline: none;
    border-color: rgba(248,113,113,0.9);
    box-shadow: 0 0 0 1px rgba(248,113,113,0.6);
}

/* Alerts */

.alert {
    border-radius: 0.9rem;
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
    margin-bottom: 0.6rem;
}

.alert-error {
    background: rgba(127,29,29,0.5);
    border: 1px solid rgba(248,113,113,0.9);
    color: #fee2e2;
}

.alert-success {
    background: rgba(21,128,61,0.5);
    border: 1px solid rgba(74,222,128,0.9);
    color: #dcfce7;
}

/* Auth pages */

.auth-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 1rem;
}

.auth-card {
    max-width: 560px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 50% 0%, rgba(248,113,113,0.32), transparent 60%);
    opacity: 0.22;
    mix-blend-mode: screen;
    pointer-events: none;
}

.auth-card > * {
    position: relative;
    z-index: 1;
}

.auth-title {
    font-size: 1rem;
    text-transform: uppercase;
    margin: 0 0 0.4rem;
}

.auth-title span {
    color: #f97373;
}

.auth-subtitle {
    margin: 0 0 0.8rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.auth-form label span {
    font-size: 0.75rem;
}

.auth-links {
    display: flex;
    justify-content: flex-end;
    margin: 0.2rem 0 0.6rem;
}

.auth-links a {
    font-size: 0.75rem;
    color: #fca5a5;
    text-decoration: none;
}

.auth-actions {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

/* Footer */

.app-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.8rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(15,23,42,0.95);
    background: radial-gradient(circle at 0 0, rgba(15,23,42,0.98), rgba(15,23,42,1));
}

.auth-footer {
    position: static;
    margin-top: auto;
}

.footer-left a {
    color: #fca5a5;
    text-decoration: none;
}

/* Utilities */

.form-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
}

.checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
}

.checkbox-row input {
    width: auto;
}

.hidden {
    display: none;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

/* Responsive */

@media (max-width: 960px) {
    .app-shell {
        grid-template-columns: 70px minmax(0,1fr);
    }
    .sidebar-logo-text {
        display: none;
    }
    .app-main {
        padding: 1.2rem 1.2rem 2.5rem;
    }
    .grid-2 {
        grid-template-columns: minmax(0,1fr);
    }
}

@media (max-width: 640px) {
    .app-shell {
        grid-template-columns: minmax(0,1fr);
    }
    .app-sidebar {
        display: none;
    }
    .app-main {
        padding: 1.2rem 1rem 2.5rem;
    }
}


input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea {
    background: rgba(15,23,42,0.96);
    border-radius: 0.7rem;
    border: 1px solid rgba(148,27,40,0.7);
    color: var(--text-main);
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.auth-form input,
.auth-form select {
    background: rgba(15,23,42,0.96);
}

.blur-text {
    filter: blur(4px);
    user-select: none;
}

.blur-text:hover {
    filter: blur(0);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.auth-form label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-tabs {
    display: none;
    padding: 0.4rem 0.9rem;
    background: radial-gradient(circle at 0 0, rgba(248,113,113,0.35), rgba(15,23,42,0.98));
    border-bottom: 1px solid rgba(248,113,113,0.35);
    gap: 0.35rem;
    overflow-x: auto;
}

.mobile-tab {
    flex: 0 0 auto;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-decoration: none;
    color: #fee2e2;
    border: 1px solid transparent;
    background: rgba(15,23,42,0.9);
    white-space: nowrap;
}

.mobile-tab.active {
    background: radial-gradient(circle at 0 0, rgba(248,113,113,0.98), rgba(127,29,29,0.98));
    color: #111827;
    border-color: rgba(254,226,226,0.9);
    box-shadow: 0 0 18px rgba(248,113,113,0.9);
}

@media (max-width: 768px) {
    .app-shell {
        grid-template-columns: minmax(0, 1fr);
    }
    .app-sidebar {
        display: none;
    }
    .mobile-tabs {
        display: flex;
    }
    .glass-card {
        padding: 0.9rem 1rem;
    }
}


/* === Aries Time Management System Landing Page (v7) =============================== */
.landing-body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background: radial-gradient(circle at top, rgba(248, 113, 113, 0.15), transparent 55%),
                radial-gradient(circle at bottom, rgba(59, 130, 246, 0.2), transparent 60%),
                var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.landing-gradient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.16), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(248, 113, 113, 0.12), transparent 55%);
    opacity: 0.9;
    z-index: -1;
}

/* Header */
.landing-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.75), transparent);
    border-bottom: 1px solid rgba(148, 27, 40, 0.5);
}

.landing-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.landing-logo-wrap {
    display: flex;
    align-items: center;
    flex: 1;
}

.landing-logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
}

.landing-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.8);
    background: radial-gradient(circle at 30% 0%, rgba(248, 250, 252, 0.35), transparent 60%),
                radial-gradient(circle at 0% 100%, rgba(248, 113, 113, 0.5), transparent 60%),
                rgba(15, 23, 42, 0.9);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.landing-logo-mark img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(248, 250, 252, 0.45));
}

.landing-logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.landing-logo-title {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.landing-logo-tagline {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Nav */
.landing-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.landing-nav-link {
    position: relative;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.4rem 0.3rem;
    transition: color 0.18s ease;
}

.landing-nav-link::after {
    content: "";
    position: absolute;
    left: 0.4rem;
    right: 0.4rem;
    bottom: 0.1rem;
    height: 2px;
    border-radius: 999px;
    transform-origin: center;
    transform: scaleX(0);
    background: linear-gradient(to right, var(--accent), #38bdf8);
    transition: transform 0.18s ease;
}

.landing-nav-link:hover {
    color: var(--text-main);
}

.landing-nav-link:hover::after,
.landing-nav-link.is-active::after {
    transform: scaleX(1);
}

/* Member button */
.landing-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.landing-member-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.8);
    background: radial-gradient(circle at 0 50%, rgba(248, 113, 113, 0.15), transparent 65%),
                rgba(15, 23, 42, 0.9);
    color: #f9fafb;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9), 0 18px 35px rgba(15, 23, 42, 0.9);
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.18s ease;
    white-space: nowrap;
}

.landing-member-btn:hover {
    transform: translateY(-1px) translateZ(0);
    background: radial-gradient(circle at 100% 0, rgba(56, 189, 248, 0.2), transparent 65%),
                rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.85), 0 24px 50px rgba(0, 0, 0, 0.82);
}

/* Main layout */
.landing-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.2rem 1.5rem 4.5rem;
}

.landing-section {
    margin-bottom: 4rem;
}

.section-header {
    margin-bottom: 1.9rem;
    text-align: left;
}

.section-header h2 {
    font-size: 1.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 34rem;
}

/* Hero */
.landing-hero {
    padding-top: 0.5rem;
    margin-bottom: 3rem;
}

.landing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: center;
}

.landing-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.landing-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 27, 40, 0.75);
    background: rgba(15, 23, 42, 0.8);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.landing-pill span {
    color: #f9fafb;
    font-weight: 600;
}

.landing-hero-title {
    font-size: clamp(2.2rem, 3vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    margin: 0;
}

.landing-hero-title .highlight {
    background: linear-gradient(to right, #f97373, #facc15, #38bdf8);
    -webkit-background-clip: text;
    color: transparent;
}

.landing-hero-subtitle {
    color: #e5e7eb;
    font-size: 0.98rem;
    line-height: 1.6;
}

.landing-hero-body {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.landing-hero-body .emphasis {
    color: #e5e7eb;
    font-weight: 500;
}

/* Buttons */
.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #f97373, #991b1b);
    border-color: rgba(248, 113, 113, 0.9);
    color: #fef2f2;
    box-shadow: 0 18px 40px rgba(127, 29, 29, 0.7);
}

.btn-primary:hover {
    transform: translateY(-1px) translateZ(0);
    background: linear-gradient(135deg, #fca5a5, #b91c1c);
    box-shadow: 0 24px 55px rgba(127, 29, 29, 0.9);
}

.btn-ghost {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(148, 163, 184, 0.6);
    color: var(--text-muted);
}

.btn-ghost:hover {
    color: #f9fafb;
    border-color: rgba(248, 113, 113, 0.8);
    background: radial-gradient(circle at 0 50%, rgba(248, 113, 113, 0.15), transparent 65%),
                rgba(15, 23, 42, 0.98);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.95);
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.6rem;
}

/* Meta strip */
.landing-hero-meta {
    margin-top: 1.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.meta-item {
    padding: 0.6rem 0.8rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(15, 23, 42, 0.9);
    background: radial-gradient(circle at 0 0, rgba(248, 113, 113, 0.15), transparent 55%),
                rgba(15, 23, 42, 0.95);
    min-width: 150px;
}

.meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.meta-value {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.9rem;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.2rem;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ecfdf3;
}

/* Glass cards */
.glass-card {
    border-radius: 1.4rem;
    border: 1px solid var(--border-subtle);
    background: radial-gradient(circle at 0 0, var(--accent-soft), transparent 55%),
                radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.96));
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.85),
        0 28px 60px rgba(0, 0, 0, 0.86);
    padding: 1.4rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0 0, rgba(248, 250, 252, 0.18), transparent 55%);
    opacity: 0.7;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.glass-card > * {
    position: relative;
}

.glass-card h3 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
}

.glass-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero side panel */
.landing-hero-panel {
    display: flex;
    justify-content: center;
}

.hero-card {
    width: 100%;
    max-width: 360px;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.hero-chip {
    font-size: 0.7rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.hero-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, #a7f3d0, #16a34a);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18), 0 0 0 0 rgba(34, 197, 94, 0.4);
    animation: pulse-status 1.8s ease-out infinite;
}

.hero-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.85rem;
}

.hero-stat-label {
    color: var(--text-muted);
}

.hero-stat-value {
    font-weight: 500;
}

.hero-stat-pill {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ecfdf3;
}

.hero-divider {
    margin: 0.75rem 0 0.9rem;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(148, 163, 184, 0.55), transparent);
}

.hero-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-card-footer {
    margin-top: 1.1rem;
    display: flex;
    justify-content: flex-end;
}

.hero-footer-link {
    font-size: 0.8rem;
    text-decoration: none;
    color: #e5e7eb;
    opacity: 0.9;
}

.hero-footer-link:hover {
    opacity: 1;
}

/* Generic grids & lists */
.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 1.6rem;
}

.section-grid-wide {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
}

.bullet-list {
    list-style: none;
    padding-left: 0;
    margin: 0.2rem 0 0.6rem;
}

.bullet-list li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 0.45rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, #fecaca, #b91c1c);
}

.checklist {
    list-style: none;
    padding-left: 0;
    margin: 0.2rem 0 0.6rem;
}

.checklist li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.emphasis {
    color: #e5e7eb;
}

/* Callout card */
.callout-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Pricing */
.pricing-callout {
    margin-top: 2.1rem;
    text-align: left;
}

/* Footer */
.landing-footer {
    border-top: 1px solid rgba(148, 27, 40, 0.75);
    background: radial-gradient(circle at 50% -40%, rgba(248, 113, 113, 0.16), transparent 60%),
                rgba(15, 23, 42, 0.98);
}

.landing-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.85rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

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

.landing-footer-right a {
    color: #e5e7eb;
    text-decoration: none;
}

.landing-footer-right a:hover {
    text-decoration: underline;
}

/* Reveal animations */
.section-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.section-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse-status {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Responsive */
@media (max-width: 960px) {
    .landing-header-inner {
        padding-inline: 1.1rem;
    }

    .landing-nav {
        display: none;
    }

    .landing-main {
        padding-inline: 1.1rem;
    }

    .landing-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .landing-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-grid,
    .section-grid-wide {
        grid-template-columns: minmax(0, 1fr);
    }
}
