:root {
    --v2-surface: rgba(255, 255, 255, 0.94);
    --v2-surface-strong: #ffffff;
    --v2-text: #13263d;
    --v2-text-soft: #5c7088;
    --v2-border: rgba(15, 76, 129, 0.12);
    --v2-shadow: 0 24px 65px rgba(15, 76, 129, 0.12);
    --v2-accent: #64c7ff;
}

.v2-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f7fbff;
    color: var(--v2-text);
    position: relative;
    overflow-x: hidden;
}

.v2-shell > * {
    position: relative;
    z-index: 1;
}

.v2-shell::before,
.v2-shell::after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.v2-shell::before {
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 76, 129, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 76, 129, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
}

.v2-shell::after {
    inset: -8rem -6rem auto auto;
    width: 28rem;
    height: 28rem;
    background: radial-gradient(circle, rgba(100, 199, 255, 0.22), transparent 70%);
    filter: blur(70px);
    opacity: 0.9;
}

.v2-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, color-mix(in srgb, var(--pearl-primary) 90%, white 10%) 0%, var(--pearl-secondary) 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(7, 41, 77, 0.16);
}

.v2-topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1rem;
}

.v2-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.v2-brand img {
    height: 34px;
    width: auto;
}

.v2-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
}

.v2-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: color 180ms ease;
}

.v2-nav a:hover,
.v2-nav a:focus {
    color: #fff;
}

.v2-page-hero {
    background: linear-gradient(120deg, color-mix(in srgb, var(--pearl-primary) 82%, white 18%) 0%, color-mix(in srgb, var(--pearl-secondary) 68%, white 32%) 48%, color-mix(in srgb, var(--pearl-accent) 58%, white 42%) 100%);
    color: #fff;
    padding: 5.5rem 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.v2-page-hero::before,
.v2-hero::before,
.v2-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(8px);
    opacity: 0.8;
    animation: drift 14s ease-in-out infinite alternate;
}

.v2-page-hero::before {
    width: 24rem;
    height: 24rem;
    background: rgba(255,255,255,0.14);
    right: -8rem;
    top: -6rem;
}

.v2-hero::before {
    width: 20rem;
    height: 20rem;
    background: rgba(255,255,255,0.16);
    left: -6rem;
    bottom: -8rem;
}

.v2-hero::after {
    width: 16rem;
    height: 16rem;
    background: rgba(255,255,255,0.1);
    right: 8%;
    top: 8%;
    animation-duration: 18s;
}

.v2-page-hero h1,
.v2-hero__title {
    font-size: clamp(2.1rem, 3.2vw, 3.3rem);
    line-height: 1.08;
    font-weight: 700;
    margin-bottom: 1rem;
    max-width: 760px;
}

.v2-lead {
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.9);
}

.v2-kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.v2-kicker--light {
    color: var(--pearl-primary);
}

.v2-section {
    padding: 5rem 0;
}

.v2-section--light {
    background: #f8fbff;
    color: var(--v2-text);
}

.v2-section--dark {
    background: linear-gradient(135deg, #0f2136 0%, #162c48 100%);
    color: #f7fbff;
}

.v2-card,
.v2-panel {
    border-radius: 1.3rem;
    padding: 1.7rem;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    box-shadow: var(--v2-shadow);
    position: relative;
    overflow: hidden;
}

.v2-card::after,
.v2-panel::after {
    content: "";
    position: absolute;
    inset: auto -20% -40% auto;
    width: 10rem;
    height: 10rem;
    background: radial-gradient(circle, rgba(15, 76, 129, 0.12), transparent 70%);
    pointer-events: none;
}

.v2-card:hover,
.v2-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 70px rgba(15, 76, 129, 0.16);
}

.v2-card h3,
.v2-panel h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.v2-card p,
.v2-panel p,
.v2-list li {
    color: var(--v2-text-soft);
    line-height: 1.8;
    margin-bottom: 0;
}

.v2-panel--elevated {
    background: rgba(255, 255, 255, 0.96);
}

.v2-panel-stack {
    display: grid;
    gap: 1rem;
}

.v2-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.v2-list li {
    display: flex;
    align-items: start;
    gap: 0.6rem;
}

.v2-list li::before {
    content: "•";
    color: var(--pearl-primary);
    font-size: 1.15rem;
    line-height: 1.3;
}

.v2-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.96);
    color: var(--v2-text);
    box-shadow: var(--v2-shadow);
}

.v2-cta--inverted {
    background: rgba(255, 255, 255, 0.98);
}

.v2-cta--featured {
    background: linear-gradient(135deg, #ffffff 0%, #edf7ff 100%);
    border: 1px solid rgba(15, 76, 129, 0.12);
    position: relative;
    overflow: hidden;
}

.v2-cta--featured::before {
    content: "";
    position: absolute;
    inset: -20% auto auto 70%;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 199, 255, 0.16), transparent 70%);
    pointer-events: none;
}

.v2-cta h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.3;
    margin-bottom: 0;
}

.v2-footer {
    margin-top: auto;
    padding: 2.5rem 0 2rem;
    background: linear-gradient(135deg, #0e1f2f 0%, #142b43 100%);
    color: rgba(255, 255, 255, 0.85);
}

.v2-footer .btn-light {
    color: var(--pearl-primary);
}

.v2-footer-links li + li {
    margin-top: 0.45rem;
}

.v2-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 180ms ease;
}

.v2-footer-links a:hover,
.v2-footer-links a:focus {
    color: #fff;
}

.v2-footer-bottom {
    margin-top: 1.75rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
}

.v2-footer-bottom a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.v2-footer-bottom a:hover,
.v2-footer-bottom a:focus {
    color: #fff;
}

.v2-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, var(--pearl-primary) 0%, var(--pearl-secondary) 65%, var(--pearl-accent) 100%);
    color: #fff;
}

.v2-hero__intro {
    max-width: 700px;
}

.v2-hero__card {
    border-radius: 1.5rem;
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--v2-text);
    box-shadow: var(--v2-shadow);
    border: 1px solid rgba(255,255,255,0.7);
    position: relative;
    overflow: hidden;
}

.v2-hero__card::before {
    content: "";
    position: absolute;
    inset: -25% auto auto -25%;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 76, 129, 0.12), transparent 70%);
    pointer-events: none;
}

.v2-hero__card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.v2-hero__card-top {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.v2-hero__card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.v2-hero__mini {
    padding: 0.85rem;
    border-radius: 1rem;
    background: rgba(15, 76, 129, 0.05);
    border: 1px solid rgba(15, 76, 129, 0.08);
}

.v2-hero__mini strong {
    display: block;
    font-size: 1rem;
    color: var(--pearl-primary);
    margin-bottom: 0.25rem;
}

.v2-hero__mini span {
    font-size: 0.9rem;
    color: var(--v2-text-soft);
    line-height: 1.5;
}

.v2-hero__intro {
    max-width: 760px;
}

.v2-hero__title {
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
}

.v2-hero__pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.74rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.v2-visual-stack {
    display: grid;
    gap: 1rem;
}

.v2-visual-card {
    border-radius: 1.4rem;
    padding: 1.4rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(240,247,255,0.95));
    border: 1px solid rgba(15, 76, 129, 0.12);
    box-shadow: var(--v2-shadow);
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

.v2-visual-card--large {
    min-height: 220px;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(224,240,255,0.95));
}

.v2-visual-card::before {
    content: "";
    position: absolute;
    inset: auto -10% -40% auto;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 76, 129, 0.14), transparent 72%);
    pointer-events: none;
}

.v2-visual-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.v2-metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 76, 129, 0.08);
    color: var(--pearl-primary);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.8rem;
}

.v2-quote-card {
    padding: 2rem;
    border-radius: 1.6rem;
    background: linear-gradient(140deg, rgba(255,255,255,0.98), rgba(235,245,255,0.98));
    border: 1px solid rgba(15, 76, 129, 0.12);
    box-shadow: var(--v2-shadow);
}

.v2-quote-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.v2-quote-card p {
    color: var(--v2-text-soft);
    line-height: 1.8;
}

@keyframes drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(-20px, 18px, 0) scale(1.04); }
}

@keyframes pulseGlow {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
    100% { transform: translate3d(-14px, 10px, 0) scale(1.04); opacity: 1; }
}

@media (max-width: 767.98px) {
    .v2-topbar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .v2-nav {
        justify-content: flex-start;
    }

    .v2-section,
    .v2-page-hero,
    .v2-hero {
        padding: 4rem 0;
    }

    .v2-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
