@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

:root {
    --primary: #162235;
    --accent: #70859b;
    --canvas: #f6f1ea;
    --surface: #fbf8f3;
    --white: #fbf8f3;
    --ink: #0a1220;
    --soft: #667487;
    --cool-grey: #d7dee4;
    --cool-grey-deep: #b8c3ce;
    --success: #70859b;
    --border: rgba(102, 116, 135, 0.18);
    --shadow-soft: 0 24px 60px rgba(10, 18, 32, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    background: var(--canvas);
    color: var(--ink);
}

.bg-canvas {
    background-color: var(--canvas);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-primary\/10 {
    background-color: rgba(22, 34, 53, 0.1);
}

.bg-accent {
    background-color: var(--accent);
}

.bg-accent\/10 {
    background-color: rgba(112, 133, 155, 0.12);
}

.text-primary {
    color: var(--primary);
}

.text-ink {
    color: var(--ink);
}

.text-soft {
    color: var(--soft);
}

.text-accent {
    color: var(--accent);
}

.text-white\/70 {
    color: rgba(255, 255, 255, 0.7);
}

.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.hover\:text-accent:hover {
    color: var(--accent);
}

.hover\:border-accent:hover {
    border-color: var(--accent);
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

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

::selection {
    background: rgba(112, 133, 155, 0.22);
    color: var(--ink);
}

[x-cloak] {
    display: none !important;
}

.logo-font {
    font-family: "Playfair Display", serif;
}

.site-backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(112, 133, 155, 0.16), transparent 30%),
        radial-gradient(circle at 82% 12%, rgba(22, 34, 53, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(246, 241, 234, 0.98), rgba(246, 241, 234, 1));
}

.hero-bg {
    background:
        linear-gradient(118deg, rgba(10, 18, 32, 0.9), rgba(22, 34, 53, 0.76)),
        url("https://images.unsplash.com/photo-1529139574466-a303027c1d8b?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.surface-card {
    border: 1px solid var(--border);
    background: rgba(251, 248, 243, 0.9);
    backdrop-filter: blur(12px);
}

.card-hover {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(10, 18, 32, 0.14);
    border-color: rgba(112, 133, 155, 0.28);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(246, 241, 234, 0.18);
    background: rgba(246, 241, 234, 0.1);
    padding: 0.8rem 1rem;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.btn-primary,
.btn-secondary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.95rem 1.6rem;
    font-weight: 600;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn-primary {
    border: 1px solid var(--primary);
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 18px 30px rgba(22, 34, 53, 0.22);
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: var(--accent);
    border-color: var(--accent);
}

.btn-secondary {
    border: 1px solid rgba(246, 241, 234, 0.34);
    background: rgba(246, 241, 234, 0.08);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    transform: translateY(-1px);
    border-color: rgba(246, 241, 234, 0.56);
    background: rgba(246, 241, 234, 0.14);
}

.btn-ghost {
    border: 1px solid rgba(112, 133, 155, 0.18);
    background: rgba(251, 248, 243, 0.84);
    color: var(--primary);
}

.btn-ghost:hover {
    transform: translateY(-1px);
    border-color: rgba(112, 133, 155, 0.32);
    color: var(--accent);
}

.value-card {
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(251, 248, 243, 0.96), rgba(215, 222, 228, 0.2));
    box-shadow: var(--shadow-soft);
}

.newsletter-panel {
    background:
        radial-gradient(circle at top right, rgba(112, 133, 155, 0.24), transparent 28%),
        linear-gradient(135deg, #0a1220, #162235 56%, #70859b);
    box-shadow: 0 30px 80px rgba(10, 18, 32, 0.18);
}

.input-shell {
    border: 1px solid rgba(112, 133, 155, 0.24);
    border-radius: 1.25rem;
    background: rgba(251, 248, 243, 0.98);
    padding: 1rem 1.1rem;
    color: var(--ink);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.input-shell:focus {
    border-color: rgba(112, 133, 155, 0.48);
    box-shadow: 0 0 0 4px rgba(112, 133, 155, 0.12);
    background: var(--surface);
}

.control-shell {
    border: 1px solid rgba(112, 133, 155, 0.18);
    border-radius: 1.4rem;
    background: rgba(251, 248, 243, 0.88);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.control-shell:focus-within {
    border-color: rgba(112, 133, 155, 0.42);
    box-shadow: 0 0 0 4px rgba(112, 133, 155, 0.1);
    background: var(--surface);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(112, 133, 155, 0.18);
    border-radius: 999px;
    background: rgba(251, 248, 243, 0.95);
    padding: 0.78rem 1rem;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.filter-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(112, 133, 155, 0.3);
    color: var(--accent);
}

.filter-chip.is-active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 14px 24px rgba(22, 34, 53, 0.18);
}

.filter-chip small {
    border-radius: 999px;
    background: rgba(10, 18, 32, 0.06);
    padding: 0.22rem 0.48rem;
    font-size: 0.72rem;
    line-height: 1;
}

.filter-chip.is-active small {
    background: rgba(246, 241, 234, 0.12);
}

.pagination-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.8rem;
    height: 2.8rem;
    border: 1px solid rgba(112, 133, 155, 0.2);
    border-radius: 999px;
    background: rgba(251, 248, 243, 0.96);
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 600;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.pagination-button:hover {
    transform: translateY(-1px);
    border-color: rgba(112, 133, 155, 0.3);
    color: var(--accent);
}

.pagination-button.is-active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 12px 20px rgba(22, 34, 53, 0.18);
}

.pagination-button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
    transform: none;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.star {
    color: var(--accent);
}

.animate-pulse-once {
    animation: pulse-once 900ms ease;
}

@keyframes pulse-once {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.12);
    }
}

.bg-white {
    background-color: var(--surface);
}

.bg-slate-50 {
    background-color: rgba(215, 222, 228, 0.24);
}

.bg-slate-950 {
    background-color: var(--ink);
}

.border-slate-200 {
    border-color: rgba(112, 133, 155, 0.18);
}

.text-slate-200 {
    color: rgba(246, 241, 234, 0.82);
}

.text-slate-50 {
    color: rgba(251, 248, 243, 1);
}

.bg-slate-900 {
    background-color: var(--ink);
}

.text-success {
    color: var(--accent);
}

.bg-success\/10 {
    background-color: rgba(112, 133, 155, 0.12);
}

.text-emerald-700 {
    color: var(--primary);
}

.bg-emerald-50 {
    background-color: rgba(22, 34, 53, 0.08);
}

.bg-emerald-500 {
    background-color: var(--primary);
}

.bg-white\/90 {
    background-color: rgba(251, 248, 243, 0.9);
}

.bg-white\/95 {
    background-color: rgba(251, 248, 243, 0.95);
}

.bg-white\/10 {
    background-color: rgba(251, 248, 243, 0.1);
}

.border-white\/15 {
    border-color: rgba(246, 241, 234, 0.15);
}

.border-white\/20 {
    border-color: rgba(246, 241, 234, 0.2);
}

.border-slate-200\/70 {
    border-color: rgba(112, 133, 155, 0.15);
}

.bg-slate-900\/5 {
    background-color: rgba(10, 18, 32, 0.05);
}

.progress-shell {
    position: relative;
    overflow: hidden;
    height: 0.9rem;
    border: 1px solid rgba(112, 133, 155, 0.18);
    border-radius: 999px;
    background: rgba(215, 222, 228, 0.34);
}

.progress-fill {
    position: relative;
    width: var(--progress, 40%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 100%;
    box-shadow: 0 8px 18px rgba(22, 34, 53, 0.18);
    transform-origin: left center;
    animation:
        progress-enter 1.3s ease-out both,
        progress-shimmer 3.2s linear infinite,
        progress-breathe 2.6s ease-in-out infinite;
}

.progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: translateX(-100%);
    animation: progress-sheen 2.8s ease-in-out infinite;
}

@keyframes progress-enter {
    from {
        transform: scaleX(0);
        opacity: 0.75;
    }
    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes progress-shimmer {
    from {
        background-position: 0% 50%;
    }
    to {
        background-position: 200% 50%;
    }
}

@keyframes progress-breathe {
    0%,
    100% {
        filter: saturate(1);
    }
    50% {
        filter: saturate(1.1);
    }
}

@keyframes progress-sheen {
    0%,
    15% {
        transform: translateX(-100%);
    }
    60%,
    100% {
        transform: translateX(220%);
    }
}

@media (max-width: 640px) {
    .hero-bg {
        background-position: center top;
    }
}
