:root {
    --white: #FFFFFF;
    --sage: #A8B098;
    --warm-gray: #B6B6AD;
    --steel-blue: #708B9D;
    --dark: #1B2D38;
    --darker: #0F1D26;
    --mid-blue: #4A6A7E;
    --light-sage: #CDD1C7;
    --lightest: #F4F4F1;
    --border: rgba(168, 176, 152, 0.35);
    --shadow: 0 2px 40px rgba(15, 29, 38, 0.10);
    --shadow-lg: 0 8px 60px rgba(15, 29, 38, 0.18);
    --radius: 8px;
    --accent: #5E7B8B;
}

/* ── Reset & Base ──────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius);
}

a {
    color: inherit;
    text-decoration: none;
}

/* ── Navigation ────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 5vw;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav--scrolled {
    height: 64px;
    box-shadow: var(--shadow);
}

.nav__logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--dark);
}

.nav__logo span {
    color: var(--steel-blue);
}

.nav__links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav__links a {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dark);
    opacity: 0.6;
    transition: all .3s;
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--steel-blue);
    transition: width 0.3s;
}

.nav__links a:hover {
    opacity: 1;
    color: var(--steel-blue);
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__cta {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 12px 28px;
    background: var(--dark);
    color: var(--white);
    border-radius: var(--radius);
    transition: all .3s;
}

.nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--darker);
    color: var(--white);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: brightness(0.8) contrast(1.1);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 29, 38, 0.9) 0%, rgba(15, 29, 38, 0.4) 60%, transparent 100%);
    z-index: 2;
}

.hero__inner {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 5vw;
    width: 100%;
}

.hero__label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 2.5rem;
}

.hero__label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--sage);
}

.hero__title {
    font-size: clamp(3.2rem, 8vw, 6.5rem);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: 2rem;
    max-width: 900px;
}

.hero__title em {
    font-style: italic;
    color: var(--steel-blue);
}

.hero__sub {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    max-width: 540px;
    line-height: 1.8;
    margin-bottom: 3.5rem;
}

.hero__actions {
    display: flex;
    gap: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 18px 42px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: none;
}

.btn--primary {
    background: var(--steel-blue);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--mid-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(112, 139, 157, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* ── Section General ───────────────────────────────────── */
.section {
    padding: 140px 5vw;
}

.section--bg {
    background: var(--lightest);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--steel-blue);
    margin-bottom: 1.5rem;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--steel-blue);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.section-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: #5A6A75;
    max-width: 600px;
    line-height: 1.8;
}

/* ── Features ──────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 5rem;
}

.feature-card {
    background: var(--white);
    padding: 4rem 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--lightest);
    color: var(--steel-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: #61717C;
}

/* ── Content Grid ──────────────────────────────────────── */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    align-items: center;
}

.content-visual {
    position: relative;
}

.image-reveal {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--light-sage);
    aspect-ratio: 4/5;
}

.image-reveal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.image-reveal:hover img {
    transform: scale(1.05);
}

.visual-floater {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 240px;
}

.floater-stat {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--steel-blue);
    line-height: 1;
    display: block;
}

.floater-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

.content-list {
    list-style: none;
    margin: 3rem 0;
}

.content-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #4A5A65;
}

.content-list li svg {
    flex-shrink: 0;
    color: var(--sage);
}

/* ── Stats ─────────────────────────────────────────────── */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--dark);
    color: var(--white);
    padding: 0;
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 5rem;
}

.stat-item {
    padding: 5rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    color: var(--sage);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* ── Table ─────────────────────────────────────────────── */
.table-container {
    margin-top: 4rem;
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.data-table th {
    background: var(--lightest);
    padding: 20px 30px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dark);
    border-bottom: 2px solid var(--border);
}

.data-table td {
    padding: 22px 30px;
    font-size: 0.95rem;
    color: #5A6A75;
    border-bottom: 1px solid var(--border);
}

.status-badge {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.status--high {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.status--medium {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
}

.status--low {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

/* ── Quote ─────────────────────────────────────────────── */
.quote-box {
    text-align: center;
    max-width: 900px;
    margin: 5rem auto;
}

.quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-style: italic;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 2.5rem;
}

.quote-text em {
    color: var(--steel-blue);
    font-style: normal;
}

.quote-author {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
    background: var(--darker);
    color: rgba(255, 255, 255, 0.6);
    padding: 100px 5vw 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 80px;
}

.footer-brand h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-brand p {
    max-width: 300px;
    line-height: 1.8;
}

.footer-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--steel-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

/* ── Mobile Nav ────────────────────────────────────────── */
.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--dark);
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav__toggle {
        display: block;
    }

    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        z-index: 100;
    }

    .nav__links--active {
        right: 0;
    }

    .nav__links a {
        font-size: 1rem;
    }

    .nav__cta {
        display: none;
    }
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: flex;
        /* Ensure it is flex when active */
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__title {
        font-size: 3.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}