:root {
    --bg: #f3f6fb;
    --surface: rgba(255, 255, 255, 0.86);
    --surface-solid: #ffffff;
    --surface-soft: #f8fbff;

    --border: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(37, 99, 235, 0.12);

    --text: #0f172a;
    --text-soft: #1e293b;
    --muted: #64748b;

    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-soft: #dbeafe;

    --accent: #4f46e5;
    --accent-soft: #e0e7ff;

    --success: #16a34a;
    --success-soft: #dcfce7;

    --warning: #d97706;
    --warning-soft: #fef3c7;

    --danger: #dc2626;
    --danger-hover: #b91c1c;
    --danger-soft: #fee2e2;

    --hero-start: #0b1220;
    --hero-mid: #13213c;
    --hero-end: #2f4fb2;

    --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 60px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.18);

    --radius: 1.25rem;
    --radius-sm: 1rem;
}

html,
body {
    background:
            radial-gradient(circle at top, #ffffff 0%, #f8fbff 22%, var(--bg) 60%, #edf2f8 100%);
    color: var(--text);
}

body {
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    letter-spacing: -0.03em;
    font-weight: 700;
}

p,
.text-muted {
    color: var(--muted) !important;
}

.text-white-soft {
    color: rgba(255, 255, 255, 0.78) !important;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-hover);
}

.navbar {
    backdrop-filter: blur(12px);
    background: rgba(11, 18, 32, 0.88) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar-brand {
    letter-spacing: -0.02em;
    font-size: 1.05rem;
    font-weight: 700;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(10px);
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.card-header {
    background: transparent !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 1.1rem 1.25rem;
}

.card-body {
    padding: 1.35rem;
}

.btn {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.72rem 1.15rem;
    transition: all 0.18s ease;
    box-shadow: none;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #4338ca 100%);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
    color: #fff;
}

.btn-outline-primary {
    border-color: rgba(37, 99, 235, 0.22);
    color: var(--primary);
    background: rgba(255, 255, 255, 0.78);
}

.btn-outline-primary:hover {
    background: var(--primary-soft);
    border-color: rgba(37, 99, 235, 0.28);
    color: var(--primary-hover);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.btn-danger {
    border: none;
    background: linear-gradient(135deg, var(--danger) 0%, var(--danger-hover) 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.18);
}

.btn-danger:hover {
    color: #fff;
    box-shadow: 0 14px 30px rgba(220, 38, 38, 0.24);
}

.btn-outline-danger {
    border-color: rgba(220, 38, 38, 0.18);
    color: var(--danger);
    background: rgba(255, 255, 255, 0.78);
}

.btn-outline-danger:hover {
    background: var(--danger-soft);
    border-color: rgba(220, 38, 38, 0.24);
    color: var(--danger-hover);
}

.form-control,
.form-select,
textarea {
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.88);
    padding: 0.85rem 1rem;
    box-shadow: none;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.10);
}

.hero-section {
    border-radius: 2rem;
    overflow: hidden;
    background:
            linear-gradient(90deg, rgba(11, 18, 32, 0.88) 0%, rgba(11, 18, 32, 0.70) 48%, rgba(11, 18, 32, 0.25) 100%),
            url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1800&q=82") center/cover;
    box-shadow: var(--shadow-md);
}

.hero-inner {
    min-height: 640px;
    display: flex;
    align-items: center;
    padding: 3rem;
}

.hero-title {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-section .lead,
.hero-section .small {
    color: rgba(255, 255, 255, 0.78) !important;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-card {
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.16);
}

.feature-mini {
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.stat-strip,
.selling-point,
.faq-item {
    height: 100%;
    padding: 1.15rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
}

.selling-point {
    border-left: 4px solid var(--primary);
}

.landing-photo {
    display: block;
    width: 100%;
    min-height: 360px;
    max-height: 520px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
}

.final-cta {
    background:
            linear-gradient(135deg, rgba(11, 18, 32, 0.94), rgba(37, 99, 235, 0.78)),
            url("https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&w=1600&q=80") center/cover;
    box-shadow: var(--shadow-md);
}

.final-cta h2 {
    color: #fff;
}

.icon-pill {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--accent-soft) 100%);
    color: var(--primary);
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.section-soft {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.pricing-card {
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: rgba(37, 99, 235, 0.16);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.10);
}

.pricing-card.featured::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.05), transparent 32%);
    pointer-events: none;
}

.table {
    --bs-table-bg: transparent;
}

.table > :not(caption) > * > * {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom-color: rgba(15, 23, 42, 0.06);
}

.list-group-item {
    background: transparent;
    border-color: rgba(15, 23, 42, 0.06);
}

.alert {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: #f0fdf4;
    border-color: rgba(22, 163, 74, 0.12);
    color: #166534;
}

.alert-warning {
    background: #fffbeb;
    border-color: rgba(217, 119, 6, 0.14);
    color: #92400e;
}

.alert-danger {
    background: #fef2f2;
    border-color: rgba(220, 38, 38, 0.12);
    color: #991b1b;
}

.badge {
    border-radius: 999px;
    padding: 0.55rem 0.8rem;
    font-weight: 600;
}

.history-card {
    background: linear-gradient(180deg, rgba(12, 18, 32, 0.96) 0%, rgba(16, 24, 40, 0.98) 100%);
    color: #f8fafc;
    border: 1px solid rgba(79, 70, 229, 0.12);
    border-radius: 1.35rem;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.20);
}

.history-card .text-muted {
    color: #94a3b8 !important;
}

.history-card .text-white-emphasis {
    color: #e2e8f0 !important;
}

.modal {
    z-index: 1060;
}

.modal-backdrop {
    z-index: 1055;
    background: rgba(15, 23, 42, 0.58) !important;
    backdrop-filter: blur(6px);
}

body.modal-open {
    overflow: hidden;
}

.modal-dialog {
    margin: 1.75rem auto;
}

.modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
}

.modal-content {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.4rem;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.20);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
}

.modal-header,
.modal-footer {
    border: 0;
}

.modal.fade .modal-dialog {
    transform: translateY(16px) scale(0.98);
    opacity: 0;
    transition: all 0.22s ease;
}

.modal.show .modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

@media (max-width: 991px) {
    .hero-inner {
        min-height: auto;
        padding: 2rem;
    }
}
