@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
    /* Color Tokens aligned with Muttdata.ai */
    --bg-dark: #000c26;
    --bg-dark-alt: #001339;
    --bg-surface: #01174b;
    --bg-card: rgba(1, 23, 75, 0.65);
    --bg-card-border: rgba(134, 168, 255, 0.18);
    --bg-card-hover: rgba(2, 36, 191, 0.35);

    --navy: #000c26;
    --navy2: #001339;
    --blue: #0051ff;
    --blue2: #0046ff;
    --blue-glow: #86a8ff;
    --turquoise: #00efff;
    --violet: #8d68ff;
    --sky: #5c89ff;
    --ice: #dee9ff;
    --mist: #01174b;
    --white: #ffffff;
    --text: #ffffff;
    --muted: #86a8ff;
    --text-muted: #b5cdff;
    --text-dim: #758696;
    --line: rgba(255, 255, 255, 0.1);
    --line-glow: rgba(134, 168, 255, 0.22);
    --success: #00efff;
    --warning: #ffb800;
    --danger: #ff3621;

    --font-primary: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-mono: 'DM Mono', monospace;

    --shadow: 0 20px 60px rgba(0, 81, 255, 0.2);
    --glow-shadow: 0 0 35px rgba(0, 81, 255, 0.4);
    --radius: 20px;
    --radius-sm: 12px;
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    margin: 0;
    font-family: var(--font-primary);
    color: var(--text);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(0, 81, 255, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 85% 40%, rgba(141, 104, 255, 0.08) 0%, transparent 45%),
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: auto;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-sm {
    padding: 64px 0;
}

/* Typographic Hierarchy */
.eyebrow {
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--turquoise);
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--turquoise);
    box-shadow: 0 0 10px var(--turquoise);
}

.display {
    font-size: clamp(2.8rem, 5.8vw, 5.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 800;
    margin: 0.25em 0;
    color: #ffffff;
}

.h1 {
    font-size: clamp(2.4rem, 4.8vw, 4.2rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
    font-weight: 800;
    margin: 0.25em 0;
    color: #ffffff;
}

.h2 {
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 800;
    margin: 0.25em 0;
    color: #ffffff;
}

.h3 {
    font-size: 1.4rem;
    line-height: 1.25;
    font-weight: 700;
    margin: 0.2em 0;
    color: #ffffff;
}

.lead {
    font-size: 1.18rem;
    color: var(--text-muted);
    max-width: 720px;
    line-height: 1.65;
}

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

.center {
    text-align: center;
}

.center .lead {
    margin-inline: auto;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--turquoise) 50%, var(--blue-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Pulsating dot and pill indicators */
.btn-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--turquoise);
    box-shadow: 0 0 10px var(--turquoise);
    animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(134, 168, 255, 0.25);
    background: rgba(1, 23, 75, 0.65);
    padding: 6px 14px;
    border-radius: 999px;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 14px 26px;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue2), var(--blue));
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 81, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(0, 81, 255, 0.55), 0 0 25px rgba(0, 239, 255, 0.35);
}

.btn-secondary {
    border: 1px solid rgba(134, 168, 255, 0.3);
    background: rgba(1, 23, 75, 0.5);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--turquoise);
    background: rgba(0, 81, 255, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 239, 255, 0.25);
}

.btn-dark {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-dark:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.88rem;
}

.btn-block {
    width: 100%;
}

.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Floating White Pill Header Aligned with Muttdata.ai */
.site-header {
    position: sticky;
    top: 16px;
    z-index: 100;
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
    background: transparent;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.header--hidden {
    transform: translateY(-120%);
}

.site-header .nav {
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22), 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    height: 62px;
    padding: 0 8px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.site-header.is-scrolled .nav {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.brand img {
    height: 22px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-links a:not(.btn) {
    color: #1e293b;
    transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: #0051ff;
}

/* White Pill Header Primary Button (Blue Pill with White Pulsating Dot) */
.site-header .btn-primary,
.nav-links a.btn-primary {
    background: linear-gradient(135deg, #0051ff 0%, #0046ff 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(0, 81, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 22px;
    font-size: 0.92rem;
    border-radius: 999px;
}

.site-header .btn-primary:hover,
.nav-links a.btn-primary:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #0062ff 0%, #0051ff 100%);
    box-shadow: 0 8px 24px rgba(0, 81, 255, 0.5), 0 0 15px rgba(0, 81, 255, 0.4);
    transform: translateY(-1px);
}

.site-header .btn-primary .btn-dot {
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

.menu-btn {
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #f1f5f9;
    color: #0f172a;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Hero Section */
.hero, .page-hero {
    padding: 110px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 64px;
}

.hero-copy p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    line-height: 1.65;
}

.hero-visual {
    position: relative;
    min-height: 480px;
}

.orb {
    position: absolute;
    inset: 20px 20px 20px 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 81, 255, 0.35) 0%, rgba(0, 239, 255, 0.15) 50%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.dashboard-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.main-panel {
    inset: 80px 40px 40px 60px;
    padding: 24px;
}

.main-panel .screen {
    height: 240px;
    border-radius: 16px;
    background: linear-gradient(145deg, #000c26, #01174b);
    border: 1px solid rgba(134, 168, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.screen:after {
    content: "";
    position: absolute;
    inset: 16px;
    background: radial-gradient(circle at 50% 30%, rgba(0, 81, 255, 0.25), transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.metric {
    display: flex;
    align-items: center;
    gap: 14px;
}

.metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 81, 255, 0.25);
    border: 1px solid rgba(0, 239, 255, 0.3);
    color: var(--turquoise);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.metric strong {
    display: block;
    font-size: 1.25rem;
    font-family: var(--font-mono);
    color: #ffffff;
}

.float-a {
    top: 30px;
    left: 0;
}

.float-b {
    right: -10px;
    top: 140px;
}

.float-c {
    bottom: 0px;
    left: 80px;
}

/* Trust Bar / Metrics Strip */
.trustbar {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(1, 23, 75, 0.4);
    backdrop-filter: blur(12px);
}

.trustgrid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    padding: 32px 0;
}

.trustitem {
    text-align: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.05rem;
}

.trustitem span {
    display: block;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Grids & Cards */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius);
    padding: 32px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: rgba(134, 168, 255, 0.45);
    background: rgba(1, 23, 75, 0.85);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 81, 255, 0.22), 0 0 30px rgba(0, 239, 255, 0.12);
}

.icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(0, 81, 255, 0.2);
    border: 1px solid rgba(134, 168, 255, 0.3);
    color: var(--turquoise);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

/* Methodology Steps */
.method-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}

.method-grid:before {
    content: "";
    position: absolute;
    top: 26px;
    left: 8%;
    right: 8%;
    border-top: 2px dashed rgba(0, 239, 255, 0.3);
}

.method-step {
    position: relative;
    text-align: center;
}

.method-step .icon {
    margin: 0 auto 18px;
    position: relative;
    background: var(--bg-dark);
}

.method-step p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Dark Section / Featured Cards */
.dark-section {
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-dark-alt));
    color: #ffffff;
}

.program-card {
    display: flex;
    flex-direction: column;
    position: relative;
}

.program-card.featured {
    border: 2px solid var(--blue);
    background: linear-gradient(145deg, rgba(0, 12, 38, 0.95), rgba(1, 23, 75, 0.95));
    box-shadow: 0 20px 50px rgba(0, 81, 255, 0.35);
}

.popular {
    position: absolute;
    top: -14px;
    right: 24px;
    background: linear-gradient(135deg, var(--blue), var(--turquoise));
    color: #ffffff;
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(0, 239, 255, 0.35);
}

.price {
    font-size: 2.8rem;
    letter-spacing: -0.04em;
    font-weight: 800;
    font-family: var(--font-mono);
    margin: 16px 0 4px;
    color: #ffffff;
}

.price small {
    font-size: 0.9rem;
    letter-spacing: 0;
    color: var(--text-muted);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    gap: 14px;
    flex: 1;
}

.feature-list li {
    padding-left: 28px;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.98rem;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--turquoise);
    font-weight: 900;
}

/* Compare Table */
.compare {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg-card);
}

.compare th,
.compare td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    text-align: center;
    color: #ffffff;
}

.compare th:first-child,
.compare td:first-child {
    text-align: left;
}

.compare thead {
    background: rgba(0, 81, 255, 0.2);
    font-family: var(--font-mono);
}

/* FAQ Accordion */
.faq {
    display: grid;
    gap: 14px;
    max-width: 850px;
    margin: 36px auto 0;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg-card);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-q {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 22px 24px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-q:hover {
    color: var(--turquoise);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-a p {
    padding: 0 24px 22px;
    margin: 0;
    color: var(--text-muted);
}

.faq-item.open {
    border-color: rgba(0, 239, 255, 0.4);
}

.faq-item.open .faq-a {
    max-height: 300px;
}

/* Call to Action Banner */
.cta {
    padding: 64px;
    border-radius: 32px;
    background: linear-gradient(135deg, #000c26 0%, #0046ff 100%);
    border: 1px solid rgba(134, 168, 255, 0.3);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 81, 255, 0.3);
}

.cta:after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 239, 255, 0.3), transparent 70%);
    right: -90px;
    top: -120px;
    pointer-events: none;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 70px 0 40px;
    background: #00081a;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 50px;
}

.footer-brand img {
    filter: brightness(0) invert(1);
    height: 32px;
    width: auto;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 14px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background: var(--blue);
    border-color: var(--turquoise);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 239, 255, 0.25);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--turquoise);
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-col a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 0.88rem;
}

/* Case Studies Page Specific Styles */
.case-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    border: 1px solid rgba(134, 168, 255, 0.25);
    background: rgba(1, 23, 75, 0.5);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--turquoise);
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 239, 255, 0.3);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(540px, 1fr));
    gap: 32px;
}

@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius);
    padding: 32px;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    transition: all 0.35s ease;
}

.case-card.hide {
    display: none !important;
}

.case-card:hover {
    border-color: rgba(134, 168, 255, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 81, 255, 0.25);
}

.case-header-tags {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.promotion-badge {
    background: rgba(0, 239, 255, 0.15);
    border: 1px solid rgba(0, 239, 255, 0.4);
    color: var(--turquoise);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 999px;
}

.case-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 6px 0;
    line-height: 1.25;
}

.case-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-mono);
    margin-bottom: 18px;
}

.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 18px 0;
}

.before-box, .after-box {
    padding: 14px;
    border-radius: 12px;
    font-size: 0.88rem;
}

.before-box {
    background: rgba(255, 54, 33, 0.1);
    border: 1px solid rgba(ff, 54, 33, 0.3);
    color: #ffb5b0;
}

.after-box {
    background: rgba(0, 239, 255, 0.1);
    border: 1px solid rgba(0, 239, 255, 0.3);
    color: #b5f5ff;
}

.box-title {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.case-pipeline {
    margin: 20px 0;
    background: rgba(0, 12, 38, 0.6);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
}

.pipeline-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--turquoise);
    margin-bottom: 10px;
}

.pipeline-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pipeline-step {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
}

.pipeline-step span {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.pipeline-arrow {
    color: var(--turquoise);
    font-size: 0.9rem;
}

.tools-container {
    margin-top: 14px;
}

.tools-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-bottom: 6px;
}

.tools-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tool-tag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 6px;
}

.impact-footer {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.impact-metric {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--turquoise);
    font-size: 0.95rem;
}

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

.case-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
}

/* Modal Styling */
.case-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 12, 38, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.case-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.case-modal-card {
    background: #000c26;
    border: 1px solid rgba(134, 168, 255, 0.3);
    border-radius: var(--radius);
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 81, 255, 0.3);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Assessment & Diagnostic Specific Styles */
.assessment-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.assessment-shell.results-mode {
    display: block !important;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.assessment-shell.results-mode > div {
    width: 100%;
}

@media (max-width: 992px) {
    .assessment-shell {
        grid-template-columns: 1fr;
    }
}

.assessment-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 100px;
    backdrop-filter: blur(16px);
    color: #ffffff;
}

.dimension-list {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.dimension-item {
    padding: 10px 14px;
    border-radius: 10px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    background: rgba(0, 81, 255, 0.1);
    border: 1px solid rgba(134, 168, 255, 0.15);
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.25s ease;
}

.dimension-item.active {
    background: rgba(0, 239, 255, 0.15);
    border-color: var(--turquoise);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 0 12px rgba(0, 239, 255, 0.2);
}

.dimension-item.completed {
    border-color: rgba(0, 239, 255, 0.4);
    color: var(--turquoise);
}

.assessment-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius);
    padding: 36px;
    backdrop-filter: blur(16px);
    color: #ffffff;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-weight: 700;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.2px;
}

.field label span.req {
    color: var(--turquoise);
}

.field input, .field textarea, .field select {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(11, 30, 54, 0.7);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2306b6d4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 42px;
}

.field select option {
    background: #0b1e36;
    color: #ffffff;
}

.field input::placeholder, .field textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--turquoise);
    box-shadow: 0 0 16px rgba(6, 182, 212, 0.35);
    background: rgba(11, 30, 54, 0.95);
}

.hidden {
    display: none !important;
}

.question-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--turquoise);
}

.progress-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
    margin: 12px 0 24px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--turquoise));
    width: 0%;
    transition: width 0.3s ease;
}

.question-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.35;
}

/* Embedded Forms White Background Styling */
.form-embed-card {
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.form-embed-card iframe {
    background: #ffffff !important;
    border-radius: 12px;
}

.scale {
    display: grid;
    gap: 12px;
    margin-bottom: 32px;
}

.scale-option, .option-btn {
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(0, 12, 38, 0.5);
    color: #ffffff;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
}

.scale-option:hover, .option-btn:hover, .scale-option.selected, .option-btn.selected {
    border-color: var(--turquoise);
    background: rgba(0, 81, 255, 0.25);
    box-shadow: 0 0 15px rgba(0, 239, 255, 0.15);
}

.assessment-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

/* Results Section */
.result-hero {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius);
    padding: 36px;
    color: #ffffff;
    backdrop-filter: blur(16px);
}

.profile-badge-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.profile-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 239, 255, 0.1);
    border: 1px solid rgba(0, 239, 255, 0.3);
    padding: 6px 14px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--turquoise);
}

.result-split {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 32px;
    align-items: center;
}

@media (max-width: 768px) {
    .result-split {
        grid-template-columns: 1fr;
    }
}

.score-ring-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.score-ring-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
}

.score-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--turquoise) calc(var(--score-pct, 0) * 1%), rgba(255, 255, 255, 0.1) 0);
    display: grid;
    place-items: center;
    padding: 12px;
}

.score-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(134, 168, 255, 0.2);
}

.score-val {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: #ffffff;
    line-height: 1;
}

.score-max {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.profile-goal-box {
    background: rgba(0, 12, 38, 0.6);
    border: 1px solid var(--line);
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 20px;
}

.risk-analysis-container {
    margin-top: 28px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius);
    padding: 32px;
    color: #ffffff;
}

.vulnerability-chart-wrapper {
    text-align: center;
    margin-bottom: 24px;
    background: rgba(0, 12, 38, 0.6);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px 12px;
}

.vulnerability-chart-wrapper canvas {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.risk-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.risk-card {
    background: rgba(0, 12, 38, 0.6);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
    color: #ffffff;
}

.risk-card-automation {
    border-top: 3px solid var(--danger);
}

.risk-card-competitor {
    border-top: 3px solid var(--warning);
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
}

.muted-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--turquoise);
    background: rgba(0, 239, 255, 0.1);
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 239, 255, 0.2);
}

.radar-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.radar-wrapper canvas {
    max-width: 100%;
    height: auto;
}

.recommendations-master-container {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius);
    padding: 36px;
    color: #ffffff;
    backdrop-filter: blur(20px);
}

.recommendations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.full-width-card {
    grid-column: 1 / -1;
}

.results-grid-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Recommendation Cards Styling */
.recommendation-card {
    background: rgba(0, 12, 38, 0.5);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.recommendation-card:hover {
    transform: translateY(-2px);
    border-color: rgba(134, 168, 255, 0.45);
    box-shadow: 0 16px 36px rgba(0, 81, 255, 0.2);
}

.priority-card {
    border-top: 3px solid var(--warning);
    background: linear-gradient(180deg, rgba(255, 184, 0, 0.08) 0%, rgba(0, 12, 38, 0.6) 100%);
}

.strength-card {
    border-top: 3px solid var(--success);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(0, 12, 38, 0.6) 100%);
}

.project-card {
    border-top: 3px solid var(--blue);
    background: linear-gradient(180deg, rgba(0, 81, 255, 0.1) 0%, rgba(0, 12, 38, 0.6) 100%);
}

.program-card {
    border-top: 3px solid var(--turquoise);
    background: linear-gradient(180deg, rgba(0, 239, 255, 0.1) 0%, rgba(0, 12, 38, 0.6) 100%);
}

.rec-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rec-header h3 {
    margin: 2px 0 0 0 !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

.rec-header h3::before,
.rec-header .tag-label::before,
.recommendation-card ::before {
    display: none !important;
}

.rec-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.rec-icon svg {
    width: 24px;
    height: 24px;
}

.rec-icon.icon-warning {
    background: rgba(255, 184, 0, 0.15);
    color: var(--warning);
    border: 1px solid rgba(255, 184, 0, 0.3);
}

.rec-icon.icon-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.rec-icon.icon-blue {
    background: rgba(0, 81, 255, 0.2);
    color: var(--turquoise);
    border: 1px solid rgba(0, 81, 255, 0.35);
}

.rec-icon.icon-sky {
    background: rgba(0, 239, 255, 0.15);
    color: var(--turquoise);
    border: 1px solid rgba(0, 239, 255, 0.3);
}

.tag-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.tag-warning { color: var(--warning); }
.tag-success { color: var(--success); }
.tag-blue { color: var(--turquoise); }
.tag-sky { color: #38bdf8; }

.recommendation-card p {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #cbd5e1 !important;
    margin: 0;
}

.recommendation-card p strong {
    color: #ffffff !important;
    font-weight: 700;
}

.project-highlight {
    background: rgba(0, 12, 38, 0.7);
    border: 1px solid rgba(0, 239, 255, 0.3);
    padding: 18px 22px;
    border-radius: 12px;
    font-family: var(--font-mono);
    color: var(--turquoise) !important;
    font-size: 1.05rem !important;
    line-height: 1.65;
    margin-top: 10px !important;
}

@media (max-width: 992px) {
    .recommendations-grid,
    .results-grid-main {
        grid-template-columns: 1fr;
    }
}

.report-actions-wrapper {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    margin-top: 32px;
}

.report-actions-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .trustgrid {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .method-grid {
        grid-template-columns: 1fr;
    }
    .method-grid:before {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-header .nav {
        position: relative;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        background: #ffffff;
        border-radius: 20px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22), 0 2px 10px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(226, 232, 240, 0.9);
        padding: 20px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        z-index: 1000;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-links.open {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .nav-links a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        border-radius: 12px;
        font-size: 1rem;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    .nav-links a:not(.btn):hover {
        background-color: #f1f5f9;
    }
    .nav-links a.btn-primary {
        margin-top: 4px;
        width: 100%;
        justify-content: center;
    }
    .menu-btn {
        display: grid;
        place-items: center;
        transition: background-color 0.2s ease, border-color 0.2s ease;
    }
    .menu-btn:hover, .menu-btn.active {
        background: #e2e8f0;
    }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .trustgrid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta {
        padding: 36px 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #ffffff !important;
    padding: 10px 18px 10px 12px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #ffffff !important;
}

.whatsapp-float img {
    width: 34px;
    height: 34px;
    display: block;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 10px;
        border-radius: 50%;
    }
    .whatsapp-float span {
        display: none;
    }
    .whatsapp-float img {
        width: 38px;
        height: 38px;
    }
}