/* ============================================
   DAMANIDATA - GOLD STANDARD TECHNICAL DUE DILIGENCE
   Luxury Theme: Black + Gold + Grey + White
   Inspired by Premium Financial Services
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
    /* Primary Colors */
    --black: #000000;
    --gold: #c9a227;
    --gold-light: #d4b545;
    --gold-dark: #a8861e;
    --gold-muted: #b89620;

    /* Dark Brown Accent Colors */
    --brown-900: #1a1410;
    --brown-800: #2d2318;
    --brown-700: #3d3020;
    --brown-600: #4d3d28;
    --brown-500: #5c4a30;
    --brown-accent: #4a3728;
    --brown-highlight: #5d4632;

    /* Grey Scale */
    --grey-900: #0a0a0a;
    --grey-800: #1a1a1a;
    --grey-700: #2d2d2d;
    --grey-600: #404040;
    --grey-500: #666666;
    --grey-400: #888888;
    --grey-300: #aaaaaa;
    --grey-200: #cccccc;
    --grey-100: #e5e5e5;
    --grey-50: #f5f5f5;

    /* Legacy compatibility */
    --navy: #000000;
    --navy-light: #1a1a1a;
    --navy-dark: #000000;
    --light-gray: #0a0a0a;
    --text-gray: #aaaaaa;
    --border-gray: rgba(255, 255, 255, 0.1);

    /* White */
    --white: #ffffff;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-80: rgba(255, 255, 255, 0.8);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-60: rgba(255, 255, 255, 0.6);
    --white-40: rgba(255, 255, 255, 0.4);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-10: rgba(255, 255, 255, 0.1);
    --white-05: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;

    /* Spacing - Compact */
    --space-xs: 0.375rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3.5rem;
    --space-4xl: 4.5rem;

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Borders */
    --border-gold: 1px solid var(--gold);
    --border-gold-light: 1px solid rgba(212, 175, 55, 0.3);
    --border-white: 1px solid var(--white-20);
    --border-grey: 1px solid var(--grey-700);
}

/* ============================================
   RESET & GLOBAL STYLES
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--grey-300);
    background-color: var(--black);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile Menu Open State - Hide main content behind menu */
body.mobile-menu-open main,
body.mobile-menu-open footer,
body.mobile-menu-open .hero,
body.mobile-menu-open #main-content {
    visibility: hidden !important;
    opacity: 0 !important;
}

::selection {
    background: var(--gold);
    color: var(--black);
}

/* ============================================
   CUSTOM SCROLLBARS (Mobile-Visible)
   ============================================ */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--grey-900);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--grey-600);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Horizontal scroll containers - always show scrollbar */
.horizontal-scroll,
.carousel-track-container,
[style*="overflow-x: auto"],
[style*="overflow-x:auto"] {
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--grey-900);
    -webkit-overflow-scrolling: touch;
}

.horizontal-scroll::-webkit-scrollbar,
.carousel-track-container::-webkit-scrollbar {
    height: 6px;
}

.horizontal-scroll::-webkit-scrollbar-thumb,
.carousel-track-container::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

/* Mobile scroll indicator styling */
@media (max-width: 768px) {
    .horizontal-scroll,
    .carousel-track-container {
        position: relative;
        padding-bottom: 12px;
    }

    .horizontal-scroll::-webkit-scrollbar,
    .carousel-track-container::-webkit-scrollbar {
        height: 4px;
    }

    /* Scroll hint indicator */
    .scroll-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        color: var(--grey-500);
        font-size: 0.75rem;
        margin-top: 0.5rem;
        animation: scrollHint 1.5s ease-in-out infinite;
    }

    .scroll-hint::before {
        content: '←';
    }

    .scroll-hint::after {
        content: '→';
    }

    @keyframes scrollHint {
        0%, 100% { opacity: 0.5; }
        50% { opacity: 1; }
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0;
}

h5 {
    font-size: 1.125rem;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h6 {
    font-size: 0.875rem;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

p {
    margin-bottom: var(--space-sm);
    font-size: 1rem;
    line-height: 1.6;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--white-80);
}

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

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

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

/* Links */
a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--gold-light);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background: var(--black);
    border-bottom: var(--border-white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar {
    padding: var(--space-md) 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-logo img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

/* DD Mark - The Signature Brand Element */
.dd-mark {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    text-decoration: none;
}

.dd-mark-letters {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.dd-mark-sup {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gold);
    vertical-align: super;
    margin-left: 0.125rem;
    -webkit-text-fill-color: var(--gold);
}

.dd-mark-tagline {
    font-family: var(--font-body);
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-400);
    margin-left: var(--space-sm);
    padding-left: var(--space-sm);
    border-left: 1px solid var(--grey-700);
}

/* DD Badge - For use throughout site */
.dd-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--grey-900);
    border: 1px solid var(--gold);
    padding: 0.25rem 0.75rem;
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.dd-badge .dd {
    color: var(--gold);
    font-weight: 800;
}

.dd-badge .text {
    color: var(--white);
}

/* DD Squared Hero Mark */
.dd-hero-mark {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.dd-hero-letters {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 30%, var(--white) 50%, var(--gold-light) 70%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.dd-hero-letters sup {
    font-size: 0.4em;
    vertical-align: super;
    -webkit-text-fill-color: var(--gold);
}

.dd-hero-meaning {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-md);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-400);
}

.dd-hero-meaning span {
    position: relative;
}

.dd-hero-meaning .highlight {
    color: var(--gold);
    font-weight: 700;
}

.dd-hero-meaning .connector {
    color: var(--grey-600);
    font-size: 1.25em;
}

/* DD Section - The DD Difference */
.dd-difference-section {
    background: linear-gradient(180deg, var(--black) 0%, var(--grey-900) 100%);
    position: relative;
    overflow: hidden;
}

.dd-difference-section::before {
    content: 'DD';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 40vw;
    font-weight: 700;
    color: var(--white-05);
    pointer-events: none;
    line-height: 1;
}

.dd-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.dd-meaning-card {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: var(--space-2xl);
    position: relative;
}

.dd-meaning-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}

.dd-meaning-letter {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: var(--space-md);
    opacity: 0.8;
}

.dd-meaning-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.dd-meaning-desc {
    color: var(--grey-400);
    line-height: 1.8;
}

/* DD Seal/Stamp */
.dd-seal {
    width: 120px;
    height: 120px;
    border: 3px solid var(--gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dd-seal::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    opacity: 0.5;
}

.dd-seal-letters {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.dd-seal-text {
    font-family: var(--font-body);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 0.25rem;
}

/* DD Responsive Styles */
@media (max-width: 768px) {
    .dd-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .dd-hero-letters {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .dd-hero-meaning {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .dd-hero-meaning .connector {
        display: none;
    }

    .dd-meaning-letter {
        font-size: 3.5rem;
    }

    .dd-mark-tagline {
        font-size: 0.4rem;
        letter-spacing: 0.15em;
    }

    .dd-difference-section::before {
        font-size: 60vw;
    }
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.02em;
}

.nav-logo-text span {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    list-style: none;
}

.nav-item {
    color: var(--white-80);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: var(--space-xs) 0;
    position: relative;
    transition: var(--transition);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-item:hover {
    color: var(--gold);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gold);
    color: var(--black);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: var(--space-sm) var(--space-lg);
    border: 2px solid var(--gold);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-cta:hover {
    background: transparent;
    color: var(--gold);
}

.nav-cta-secondary {
    background: transparent;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--gold);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-cta-secondary:hover {
    background: var(--gold);
    color: var(--black);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-btn {
    color: var(--white-80);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) 0;
    transition: var(--transition);
}

.dropdown-btn:hover {
    color: var(--gold);
}

.dropdown-arrow {
    font-size: 0.625rem;
    transition: var(--transition);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grey-900);
    border: var(--border-white);
    min-width: 280px;
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

/* Bridge the gap between button and dropdown */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: var(--space-md);
    display: none;
}

.nav-dropdown:hover::after {
    display: block;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-item {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    color: var(--white-70);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.dropdown-item:hover {
    color: var(--gold);
    background: var(--white-05);
}

.dropdown-divider {
    height: 1px;
    background: var(--white-10);
    margin: var(--space-sm) var(--space-lg);
}

.dropdown-label {
    display: block;
    padding: var(--space-xs) var(--space-lg);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: var(--black);
    color: var(--white);
    padding: var(--space-3xl) var(--space-lg);
    padding-top: calc(var(--space-3xl) + 70px);
    text-align: center;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, var(--grey-900) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-lg);
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    border: var(--border-gold-light);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--white);
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.02em;
}

.hero p {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--white-70);
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    line-height: 1.9;
}

/* Hero Trust Badges */
.hero-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.proof-icon {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold);
    padding: 0.5rem 1rem;
    border: 1px solid var(--gold);
    background: rgba(201, 162, 39, 0.1);
}

.proof-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.proof-text {
    font-size: 0.75rem;
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   BUTTONS
   ============================================ */

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

.btn {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: var(--space-md) var(--space-xl);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white-40);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--black);
}

/* ============================================
   SECTIONS & CONTAINERS
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
}

.section-black {
    background: var(--black);
}

.section-grey {
    background: var(--grey-900);
}

.section-dark {
    background: linear-gradient(180deg, var(--grey-900) 0%, var(--black) 100%);
}

.section-gradient {
    background: linear-gradient(180deg, var(--black) 0%, var(--grey-900) 50%, var(--black) 100%);
}

.section-border-top {
    border-top: 1px solid var(--white-10);
}

.section-border-bottom {
    border-bottom: 1px solid var(--white-10);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-md);
    display: block;
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--grey-400);
    line-height: 1.8;
}

/* Gold accent line */
.gold-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: var(--space-lg) auto;
}

.gold-line-left {
    margin-left: 0;
}

/* ============================================
   GRID LAYOUTS - UNIFORM 4 COLUMNS
   ============================================ */

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

/* ============================================
   LUXURY TEXT CARDS (No Icons)
   ============================================ */

.luxury-card {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: var(--space-xl);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.luxury-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition);
}

.luxury-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.luxury-card:hover::before {
    opacity: 1;
}

.card-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--gold);
    line-height: 1;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.luxury-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.luxury-card p {
    color: var(--grey-400);
    font-size: 0.9375rem;
    line-height: 1.8;
    flex-grow: 1;
}

.card-link {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: var(--space-lg);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: var(--transition);
}

.card-link::after {
    content: '\2192';
    transition: var(--transition);
}

.card-link:hover {
    color: var(--gold-light);
}

.card-link:hover::after {
    transform: translateX(5px);
}

/* ============================================
   VERTICAL SERVICE CARDS
   ============================================ */

.service-card {
    background: transparent;
    border: 1px solid var(--white-10);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.service-card:hover {
    background: var(--grey-900);
    border-color: var(--white-20);
}

.service-card:hover::after {
    width: 60%;
}

.service-number {
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--gold);
    margin-bottom: var(--space-md);
    display: block;
}

.service-card h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.service-card p {
    color: var(--grey-400);
    font-size: 0.875rem;
    line-height: 1.8;
}

/* ============================================
   FEATURE LIST (Text-based, no icons)
   ============================================ */

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
    color: var(--grey-300);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--white-05);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 300;
}

/* ============================================
   CAROUSEL / SLIDER
   ============================================ */

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    flex: 0 0 25%;
    padding: 0 var(--space-sm);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--white-20);
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background: var(--white-20);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active,
.carousel-dot:hover {
    background: var(--gold);
}

/* ============================================
   PROCESS / STEPS
   ============================================ */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--white-10);
}

.process-step {
    padding: var(--space-xl);
    border-right: 1px solid var(--white-10);
    position: relative;
    transition: var(--transition);
}

.process-step:last-child {
    border-right: none;
}

.process-step:hover {
    background: var(--grey-900);
}

.step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 400;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.process-step h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.process-step p {
    color: var(--grey-400);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ============================================
   STATS / METRICS
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--white-10);
    border-bottom: 1px solid var(--white-10);
}

.stat-item {
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    border-right: 1px solid var(--white-10);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--gold);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-400);
}

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.column-content h3 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.column-content p {
    color: var(--grey-400);
    margin-bottom: var(--space-md);
}

/* ============================================
   ENGAGEMENT TIERS / PRICING
   ============================================ */

.tier-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.tier-card {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.tier-card.featured {
    border-color: var(--gold);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.1) 0%, var(--grey-900) 100%);
}

.tier-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.375rem 0.75rem;
    margin-bottom: var(--space-sm);
}

.tier-card.featured::before {
    content: '';
    display: none;
    text-transform: uppercase;
    padding: var(--space-xs) var(--space-md);
}

.tier-card:hover {
    border-color: var(--white-40);
}

.tier-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.tier-timeline {
    font-family: var(--font-accent);
    font-size: 1rem;
    font-style: italic;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.tier-description {
    color: var(--grey-400);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    min-height: 80px;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg) 0;
    text-align: left;
}

.tier-features li {
    padding: var(--space-xs) 0;
    color: var(--grey-300);
    font-size: 0.875rem;
    padding-left: var(--space-md);
    position: relative;
}

.tier-features li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.tier-price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gold);
    padding-top: var(--space-md);
    border-top: 1px solid var(--white-10);
    margin-top: auto;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial-card {
    background: transparent;
    border: 1px solid var(--white-10);
    padding: var(--space-xl);
    position: relative;
}

.testimonial-quote {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--white-80);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.testimonial-quote::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.3;
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    line-height: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--white);
    font-size: 0.875rem;
}

.testimonial-title {
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================
   FORMS
   ============================================ */

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-md);
    background: var(--grey-900);
    border: 1px solid var(--white-20);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--gold);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--black);
    border-top: 1px solid var(--white-10);
    padding-top: var(--space-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-logo span {
    color: var(--gold);
}

.footer-desc {
    color: var(--grey-400);
    font-size: 0.9375rem;
    line-height: 1.8;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-lg);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--grey-400);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--white-10);
    padding: var(--space-lg) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: var(--grey-500);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: var(--grey-500);
    font-size: 0.875rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }

.py-1 { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-2 { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-3 { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }

.d-flex { display: flex; }
.flex-center { justify-content: center; align-items: center; }
.flex-between { justify-content: space-between; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .grid-4, .tier-grid, .process-grid, .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    background: var(--black);
    border: 2px solid var(--gold);
    border-radius: 4px;
    cursor: pointer;
    z-index: 100000;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--gold);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active {
    background: var(--gold);
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 2147483647;
}

.mobile-menu-toggle.active .hamburger-line {
    background: var(--black);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 2147483647 !important;
    }

    .mobile-menu-toggle.active {
        position: fixed !important;
        top: 16px !important;
        right: 16px !important;
        z-index: 2147483647 !important;
    }

    .nav-logo {
        position: relative;
        z-index: 2147483646;
    }

    /* Make tagline more readable on mobile */
    .dd-mark-tagline {
        font-size: 0.5rem;
        letter-spacing: 0.12em;
        line-height: 1.4;
    }

    .nav-menu {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: #000000 !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: var(--space-md);
        padding: 100px var(--space-xl) var(--space-xl);
        z-index: 2147483645 !important;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu .nav-item {
        font-size: 1.125rem;
        padding: var(--space-sm) var(--space-md);
        color: var(--white);
        width: 100%;
        max-width: 300px;
        text-align: center;
        border-bottom: 1px solid var(--white-10);
    }

    .nav-menu .nav-item:hover {
        color: var(--gold);
        background: rgba(212, 175, 55, 0.1);
    }

    .nav-menu .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 300px;
    }

    .nav-menu .nav-dropdown .dropdown-btn {
        width: 100%;
        border-bottom: 1px solid var(--white-10);
        text-align: center;
        justify-content: center !important;
        padding: var(--space-sm) var(--space-md);
    }

    .nav-menu .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--grey-900);
        border: 1px solid var(--gold);
        border-radius: 0;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        width: 100%;
    }

    .nav-menu .nav-dropdown.active .dropdown-content {
        max-height: 500px;
        padding: var(--space-sm) 0;
    }

    .nav-menu .dropdown-content .dropdown-item {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.9375rem;
    }

    .nav-menu .nav-cta {
        margin-top: var(--space-lg);
        padding: var(--space-md) var(--space-xl);
        font-size: 0.9375rem;
        background: var(--gold);
        color: var(--black);
        border: none;
        width: 100%;
        max-width: 300px;
    }

    .nav-menu .nav-cta-secondary {
        margin-top: var(--space-sm);
        padding: var(--space-md) var(--space-xl);
        font-size: 0.9375rem;
        border: 1px solid var(--gold);
        color: var(--gold);
        width: 100%;
        max-width: 300px;
    }

    .nav-menu .dropdown-arrow {
        transition: transform 0.3s ease;
    }

    .nav-menu .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero {
        min-height: auto;
        padding: var(--space-2xl) var(--space-md);
        padding-top: calc(var(--space-2xl) + 70px);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    /* Mobile Menu Adjustments for tablets/large phones */
    .nav-menu {
        padding: 90px var(--space-lg) var(--space-lg) !important;
    }

    .nav-menu .nav-item {
        font-size: 1rem !important;
        padding: var(--space-sm) var(--space-md) !important;
    }

    .mobile-menu-toggle.active {
        top: 14px !important;
        right: 14px !important;
    }

    .grid-4, .grid-3, .tier-grid, .process-grid, .stats-grid {
        grid-template-columns: 1fr;
    }

    .process-step, .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--white-10);
    }

    .process-step:last-child, .stat-item:last-child {
        border-bottom: none;
    }

    .section {
        padding: var(--space-2xl) var(--space-md);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .carousel-slide {
        flex: 0 0 100%;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes goldPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(212, 175, 55, 0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide {
    animation: slideIn 0.6s ease-out forwards;
}

/* Stagger animation delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* ============================================
   SCROLL ANIMATIONS (with JS)
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   LEGACY COMPATIBILITY CLASSES
   ============================================ */

/* Map old classes to new styling */
.card {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: var(--space-xl);
    transition: var(--transition);
}

.card:hover {
    border-color: var(--gold);
}

.card h3 {
    color: var(--white);
}

.card p {
    color: var(--grey-400);
}

.vertical-card {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: var(--space-xl);
    transition: var(--transition);
}

.vertical-card:hover {
    border-color: var(--gold);
}

.vertical-card h3 {
    color: var(--white);
}

.vertical-card p {
    color: var(--grey-400);
}

.vertical-features {
    list-style: none;
    padding: 0;
}

.vertical-features li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
    color: var(--grey-300);
}

.vertical-features li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.section-light {
    background: var(--grey-900);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

/* Hide icons - replaced with text */
.vertical-icon,
.icon-box,
.card-icon,
.service-icon {
    display: none !important;
}

/* Process steps legacy */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.process-step {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: var(--space-xl);
}

.process-step h4 {
    color: var(--white);
}

.process-step p {
    color: var(--grey-400);
}

/* TDD Process Grid - Services Page */
.tdd-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tdd-process-card {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: 2rem;
    position: relative;
    transition: var(--transition);
}

.tdd-process-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.tdd-step-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.tdd-process-card h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.tdd-process-card p {
    color: var(--grey-300);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 992px) {
    .tdd-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .tdd-process-card {
        padding: 1.5rem;
    }

    .tdd-step-num {
        font-size: 2.5rem;
    }
}

/* Column layouts */
.column-text h3 {
    color: var(--white);
}

.column-text p {
    color: var(--grey-400);
}

.column-list {
    list-style: none;
    padding: 0;
}

.column-list li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
    color: var(--grey-300);
}

.column-list li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.testimonial {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: var(--space-xl);
}

.testimonial-text {
    color: var(--grey-300);
    font-style: italic;
}

.testimonial-author {
    color: var(--white);
    font-weight: 600;
}

.testimonial-title {
    color: var(--gold);
    font-size: 0.875rem;
}

/* Badge styles */
.badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.badge-gold {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
    border: 1px solid var(--gold);
}

/* Form elements legacy mapping */
.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-md);
    background: var(--grey-900);
    border: 1px solid var(--white-20);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}

/* Stats legacy */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--white-10);
    border-bottom: 1px solid var(--white-10);
}

.stat {
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    border-right: 1px solid var(--white-10);
}

.stat:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--gold);
}

.stat-label {
    color: var(--grey-400);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

    .stat:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 480px) {
    /* Mobile Menu - Small phones */
    .nav-menu {
        padding: 80px var(--space-md) var(--space-md) !important;
        gap: var(--space-sm) !important;
    }

    .nav-menu .nav-item {
        font-size: 0.9375rem !important;
        padding: var(--space-xs) var(--space-sm) !important;
        max-width: 280px !important;
    }

    .nav-menu .nav-dropdown {
        max-width: 280px !important;
    }

    .nav-menu .nav-cta,
    .nav-menu .nav-cta-secondary {
        max-width: 280px !important;
        padding: var(--space-sm) var(--space-lg) !important;
        font-size: 0.875rem !important;
    }

    .mobile-menu-toggle {
        width: 44px !important;
        height: 44px !important;
    }

    .mobile-menu-toggle.active {
        top: 12px;
        right: 12px;
    }

    .hamburger-line {
        width: 22px !important;
        height: 2px !important;
        margin: 2px 0 !important;
    }

    /* Logo tagline - smaller phones - centered and more readable */
    .dd-mark-tagline {
        font-size: 0.5rem !important;
        letter-spacing: 0.08em !important;
        line-height: 1.4 !important;
    }

    .dd-mark-letters {
        font-size: 2.25rem !important;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid var(--white-10);
    }

    .stat:last-child {
        border-bottom: none;
    }
}

/* ============================================
   CASE STUDIES GRID (4x2 uniform)
   ============================================ */

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.case-card {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: var(--space-xl);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.case-industry {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.case-card h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.case-meta {
    font-size: 0.8125rem;
    color: var(--grey-400);
    margin-bottom: var(--space-xs);
}

.case-deal {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.case-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.case-card p {
    font-size: 0.875rem;
    color: var(--grey-400);
    line-height: 1.7;
    flex-grow: 1;
}

.case-areas {
    font-size: 0.8125rem;
    color: var(--grey-500);
    margin-top: var(--space-sm);
}

.case-areas strong {
    color: var(--gold);
}

.case-link {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--white-10);
}

.case-link a {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

@media (max-width: 1200px) {
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ============================================
   ACCENT BACKGROUNDS (Selective use)
   ============================================ */

.accent-box {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    border-left: 4px solid var(--gold);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    position: relative;
}

.accent-box h4,
.accent-box h3 {
    color: var(--gold);
    font-family: var(--font-display);
    margin-bottom: var(--space-sm);
}

.accent-box p {
    color: var(--white-90);
    line-height: 1.8;
}

.accent-box .meta {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--brown-600);
    color: var(--white-80);
    font-size: 0.875rem;
}

.accent-box .meta strong {
    color: var(--gold);
}

/* Highlight Box for Key Points */
.highlight-box {
    background: var(--grey-900);
    border: 1px solid var(--gold);
    padding: var(--space-xl);
    text-align: center;
    position: relative;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.highlight-box h4 {
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.highlight-box p {
    color: var(--white-90);
}

/* Important Callout */
.callout {
    background: var(--brown-700);
    border-left: 4px solid var(--gold);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
    color: var(--white-90);
}

.callout strong {
    color: var(--gold);
}

/* ============================================
   METHODOLOGY DIAGRAM / PROCESS FLOW
   ============================================ */

.methodology-flow {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
    margin: var(--space-2xl) 0;
    position: relative;
}

.methodology-flow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
    z-index: 0;
}

.flow-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 var(--space-sm);
}

.flow-number {
    width: 80px;
    height: 80px;
    background: var(--grey-900);
    border: 3px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
    transition: var(--transition);
}

.flow-step:hover .flow-number {
    background: var(--gold);
    color: var(--black);
    transform: scale(1.1);
}

.flow-step h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.flow-step p {
    font-size: 0.8125rem;
    color: var(--grey-400);
    line-height: 1.6;
}

/* Vertical Timeline */
.timeline-vertical {
    position: relative;
    padding-left: var(--space-3xl);
}

.timeline-vertical::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), var(--brown-600), var(--gold));
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-2xl);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: calc(-1 * var(--space-3xl) + 10px);
    width: 24px;
    height: 24px;
    background: var(--grey-900);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-marker span {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 700;
}

.timeline-content {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: var(--space-lg);
}

.timeline-content:hover {
    border-color: var(--gold);
}

.timeline-content h4 {
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.timeline-content p {
    color: var(--grey-400);
    font-size: 0.9375rem;
}

.timeline-duration {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: var(--space-xs) var(--space-sm);
    margin-top: var(--space-sm);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* ============================================
   TDD PROCESS DIAGRAM (Visual)
   ============================================ */

.tdd-diagram {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: var(--space-2xl);
    margin: var(--space-2xl) 0;
}

.diagram-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.diagram-header h3 {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.diagram-phases {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-sm);
    position: relative;
}

.diagram-phases::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 8%;
    right: 8%;
    height: 4px;
    background: linear-gradient(90deg,
        var(--brown-700) 0%,
        var(--gold) 20%,
        var(--gold) 80%,
        var(--brown-700) 100%);
    z-index: 0;
}

.phase-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.phase-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background: var(--grey-900);
    border: 3px solid var(--gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.phase-item:hover .phase-circle {
    background: var(--gold);
    transform: scale(1.1);
}

.phase-item:hover .phase-circle .phase-num,
.phase-item:hover .phase-circle .phase-weeks {
    color: var(--black);
}

.phase-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    line-height: 1;
}

.phase-weeks {
    font-size: 0.625rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.phase-item h5 {
    font-size: 0.75rem;
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
    min-height: 2.6em;
}

/* Vertical Assessment Grid */
.vertical-assessment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin: var(--space-2xl) 0;
}

.vertical-item {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

a.vertical-item,
a.vertical-item:hover {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

a.vertical-item:hover h4 {
    color: var(--gold);
}

.vertical-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.vertical-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.vertical-item:hover::before {
    transform: scaleX(1);
}

.vertical-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--gold);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.vertical-item h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.vertical-item p {
    font-size: 0.8125rem;
    color: var(--grey-400);
    line-height: 1.6;
}

/* 8th item fills remaining space for uniform grid */
.vertical-item.cta-item {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-color: var(--gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vertical-item.cta-item h4 {
    color: var(--black);
}

.vertical-item.cta-item p {
    color: var(--brown-900);
}

/* ============================================
   CAROUSEL - Horizontal Scroll
   ============================================ */

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
}

.carousel-track-container {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track-container::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-sm) 0;
}

.carousel-card {
    flex: 0 0 350px;
    min-width: 350px;
    max-width: 350px;
    scroll-snap-align: start;
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: var(--space-xl);
    transition: var(--transition);
    position: relative;
}

.carousel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.carousel-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.carousel-card:hover::before {
    transform: scaleX(1);
}

.carousel-card .icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.carousel-card .icon-box svg {
    width: 24px;
    height: 24px;
    stroke: var(--black);
}

.carousel-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.carousel-card p {
    font-size: 0.875rem;
    color: var(--grey-400);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.carousel-card .vertical-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.carousel-card .vertical-features li {
    font-size: 0.8125rem;
    color: var(--grey-400);
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.carousel-card .vertical-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--grey-900);
    border: 1px solid var(--white-20);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.carousel-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--grey-800);
}

.carousel-btn:active {
    transform: scale(0.95);
    background: var(--gold);
    color: var(--black);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

/* Carousel Indicators (Dots) */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--white-20);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot:hover {
    background: var(--white-50);
}

.carousel-dot.active {
    background: var(--gold);
    width: 28px;
    border-radius: 5px;
}

/* Carousel Hint */
.carousel-hint {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--grey-500);
    margin-top: var(--space-md);
    font-style: italic;
}

/* Dark variant carousel cards (for dark sections) */
.carousel-card-dark {
    background: var(--black);
    border: 1px solid var(--gold-muted);
}

.carousel-card-dark h3 {
    color: var(--white);
}

.carousel-card-dark p {
    color: var(--grey-300);
}

.carousel-card-dark .step-number {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.carousel-card-dark:hover .step-number {
    background: var(--gold);
    color: var(--black);
}

.carousel-card-dark:hover {
    border-color: var(--gold);
    background: var(--grey-900);
}

/* Finding Cards */
.finding-card {
    background: var(--grey-900);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    transition: var(--transition);
}

.finding-card:hover {
    transform: translateY(-5px);
    border-left-color: var(--gold-light);
}

.finding-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.finding-card p {
    color: var(--grey-300);
    line-height: 1.6;
}

.finding-card .finding-impact {
    color: var(--gold);
    font-weight: 600;
    margin-top: 1rem;
}

.finding-number {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
}

/* Responsive Carousel */
@media (max-width: 1200px) {
    .carousel-card {
        flex: 0 0 320px;
        min-width: 320px;
    }
}

@media (max-width: 768px) {
    .carousel-wrapper {
        gap: var(--space-sm);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .carousel-card {
        flex: 0 0 280px;
        min-width: 280px;
        padding: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        display: none;
    }

    .carousel-wrapper {
        padding: var(--space-md) 0;
    }

    .carousel-card {
        flex: 0 0 calc(100vw - 4rem);
        min-width: calc(100vw - 4rem);
    }
}

/* Legacy carousel classes for compatibility */
.carousel-viewport {
    overflow: hidden;
}

.carousel-item {
    flex: 0 0 25%;
    padding: 0 var(--space-sm);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--white-20);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.carousel-indicator {
    width: 40px;
    height: 3px;
    background: var(--white-20);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.active,
.carousel-indicator:hover {
    background: var(--gold);
}

/* ============================================
   DELIVERABLES GRID (Uniform 4x2)
   ============================================ */

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.deliverable-card {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: var(--space-xl);
    transition: var(--transition);
    position: relative;
}

.deliverable-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.deliverable-card:hover {
    border-color: var(--gold);
}

.deliverable-card:hover::before {
    transform: scaleX(1);
}

.deliverable-num {
    font-family: var(--font-accent);
    font-size: 0.875rem;
    font-style: italic;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.deliverable-card h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.deliverable-card p {
    font-size: 0.875rem;
    color: var(--grey-400);
    line-height: 1.7;
}

@media (max-width: 1200px) {
    .deliverables-grid,
    .vertical-assessment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .diagram-phases {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

    .diagram-phases::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .deliverables-grid,
    .vertical-assessment-grid,
    .diagram-phases {
        grid-template-columns: 1fr;
    }

    .methodology-flow {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .methodology-flow::before {
        display: none; /* Hide the connecting line on mobile to prevent overlap */
    }

    .flow-step {
        background: var(--grey-900);
        border: 1px solid var(--white-10);
        padding: var(--space-lg);
        border-left: 3px solid var(--gold);
    }

    .flow-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: var(--space-sm);
    }

    .flow-step h4 {
        font-size: 1.125rem;
    }

    .flow-step p {
        font-size: 0.875rem;
    }
}

/* ============================================
   IMPROVED VISIBILITY OVERRIDES
   ============================================ */

/* Override white backgrounds with grey text */
.section-light {
    background: var(--grey-900);
}

.section-light h2,
.section-light h3,
.section-light h4 {
    color: var(--white);
}

.section-light p {
    color: var(--grey-300);
}

/* Fix inline style overrides */
[style*="background: var(--white)"],
[style*="background-color: var(--white)"],
[style*="background:var(--white)"] {
    background: var(--brown-800) !important;
}

[style*="color: var(--navy)"] {
    color: var(--gold) !important;
}

[style*="color: var(--text-gray)"] {
    color: var(--grey-300) !important;
}

[style*="background: var(--light-gray)"],
[style*="background-color: var(--light-gray)"] {
    background: var(--grey-900) !important;
    border: 1px solid var(--white-10) !important;
}

[style*="border-left: 4px solid var(--gold)"] {
    background: var(--brown-800) !important;
}

/* ============================================
   PRINCIPLES / KEY POINTS GRID
   ============================================ */

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.principle-card {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition);
}

.principle-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.principle-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    opacity: 0.6;
    margin-bottom: var(--space-sm);
}

.principle-card h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.principle-card p {
    font-size: 0.875rem;
    color: var(--grey-300);
    line-height: 1.7;
}

.principle-card .card-link {
    display: block;
    margin-top: var(--space-md);
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.principle-card:hover .card-link {
    opacity: 1;
    transform: translateY(0);
}

a.principle-card {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 992px) {
    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .principle-card .card-link {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Industries Compact - Chip Style */
.industries-compact {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.industry-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: 0.625rem 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.industry-chip:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.chip-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--black);
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chip-name {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.industry-chip:hover .chip-name {
    color: var(--gold);
}

@media (max-width: 768px) {
    .industries-compact {
        gap: 0.5rem;
    }
    .industry-chip {
        padding: 0.5rem 0.75rem;
    }
    .chip-icon {
        width: 28px;
        height: 28px;
        font-size: 0.625rem;
    }
    .chip-name {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .industries-compact {
        justify-content: flex-start;
    }
    .industry-chip {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 140px;
    }
}

/* ============================================
   INTERACTIVE CALCULATORS & TOOLS
   ============================================ */

.calculator-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-main {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: 3rem;
}

.calculator-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--white-10);
}

.tool-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201, 162, 39, 0.1);
    padding: 0.375rem 0.875rem;
    margin-bottom: 1rem;
}

.calculator-header h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.calculator-description {
    font-size: 1.0625rem;
    color: var(--grey-300);
    line-height: 1.6;
}

.calculator-sidebar {
    position: sticky;
    top: 100px;
}

.calculator-sidebar .sidebar-card {
    background: var(--grey-900);
    border: 1px solid var(--white-10);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.calculator-sidebar .sidebar-card h4 {
    color: var(--gold);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.calculator-sidebar .sidebar-card p {
    color: var(--grey-400);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.calculator-sidebar .sidebar-cta {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), rgba(201, 162, 39, 0.05));
    border-color: var(--gold);
}

.benchmark-list {
    margin: 0;
}

.benchmark-list dt {
    color: var(--white);
    font-weight: 500;
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

.benchmark-list dt:first-child {
    margin-top: 0;
}

.benchmark-list dd {
    color: var(--grey-400);
    font-size: 0.8125rem;
    margin-left: 0;
    margin-bottom: 0.5rem;
}

/* Calculator Form Styles */
.calculator-form {
    margin-bottom: 2rem;
}

.calc-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--white-10);
}

.calc-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.calc-section h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.calc-field {
    display: flex;
    flex-direction: column;
}

.calc-field label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.calc-field input[type="number"] {
    background: var(--grey-800);
    border: 1px solid var(--white-10);
    color: var(--white);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    width: 100%;
    transition: var(--transition);
}

.calc-field input[type="number"]:focus {
    outline: none;
    border-color: var(--gold);
}

.calc-field input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--grey-800);
    border-radius: 4px;
    margin-top: 0.5rem;
}

.calc-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.calc-field input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-display {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 0.5rem;
}

.field-hint {
    font-size: 0.75rem;
    color: var(--grey-500);
    margin-top: 0.5rem;
}

.btn-calculate {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* Calculator Results */
.calculator-results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--white-10);
}

.calculator-results h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.result-card {
    background: var(--grey-800);
    border: 1px solid var(--white-10);
    padding: 1.25rem;
    text-align: center;
}

.result-label {
    display: block;
    font-size: 0.75rem;
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.result-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.result-detail {
    display: block;
    font-size: 0.6875rem;
    color: var(--grey-500);
}

.result-negative .result-value {
    color: #ef4444;
}

.result-neutral .result-value {
    color: var(--grey-300);
}

.result-positive .result-value {
    color: #4ade80;
}

.results-summary {
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid var(--gold);
    padding: 1.5rem;
}

.results-summary h4 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.results-summary ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--grey-300);
}

.results-summary li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Risk Assessment Styles */
.risk-assessment {
    padding: 1rem 0;
}

.progress-bar {
    height: 4px;
    background: var(--grey-800);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--gold);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.75rem;
    color: var(--grey-500);
    text-align: right;
    margin-bottom: 2rem;
}

.question-card {
    min-height: 300px;
}

.question-category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201, 162, 39, 0.1);
    padding: 0.25rem 0.625rem;
    margin-bottom: 1rem;
}

.question-text {
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--grey-800);
    border: 1px solid var(--white-10);
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.option-item:hover {
    border-color: var(--gold);
}

.option-item.selected {
    border-color: var(--gold);
    background: rgba(201, 162, 39, 0.1);
}

.option-item input[type="radio"] {
    display: none;
}

.option-text {
    color: var(--grey-300);
    font-size: 0.9375rem;
}

.option-item.selected .option-text {
    color: var(--white);
}

.assessment-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--white-10);
}

/* Risk Results */
.risk-results {
    text-align: center;
}

.risk-score-display {
    margin-bottom: 3rem;
}

.risk-gauge {
    position: relative;
    width: 200px;
    height: 120px;
    margin: 0 auto 1rem;
}

.gauge-svg {
    width: 100%;
    height: 100%;
}

.gauge-bg {
    stroke-linecap: round;
}

.gauge-fill {
    stroke-linecap: round;
}

.score-center {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.score-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.score-label {
    font-size: 0.75rem;
    color: var(--grey-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.risk-level {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
}

.risk-breakdown {
    text-align: left;
    margin-bottom: 2rem;
}

.risk-breakdown h3 {
    font-size: 1.125rem;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.category-score-item {
    margin-bottom: 1rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.category-name {
    font-size: 0.875rem;
    color: var(--white);
}

.category-value {
    font-weight: 600;
    font-size: 0.875rem;
}

.category-bar {
    height: 8px;
    background: var(--grey-800);
    border-radius: 4px;
    overflow: hidden;
}

.category-bar-fill {
    height: 100%;
    transition: width 1s ease-out;
}

.risk-recommendations {
    text-align: left;
    margin-bottom: 2rem;
}

.risk-recommendations h3 {
    font-size: 1.125rem;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.recommendation-item {
    background: var(--grey-800);
    border-left: 4px solid var(--grey-600);
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
}

.recommendation-item.high {
    border-left-color: #ef4444;
}

.recommendation-item.medium {
    border-left-color: #f97316;
}

.recommendation-item.low {
    border-left-color: #4ade80;
}

.rec-priority {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.125rem 0.5rem;
    margin-bottom: 0.5rem;
    background: rgba(255,255,255,0.1);
}

.recommendation-item.high .rec-priority {
    color: #ef4444;
}

.recommendation-item.medium .rec-priority {
    color: #f97316;
}

.recommendation-item.low .rec-priority {
    color: #4ade80;
}

.recommendation-item p {
    color: var(--grey-300);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.results-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* ============================================
   CASE STUDY CALLOUTS (Embedded in Lessons)
   ============================================ */

.case-study-callout {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.08), rgba(201, 162, 39, 0.02));
    border: 1px solid var(--gold);
    border-left: 4px solid var(--gold);
    padding: 1.75rem;
    margin: 2rem 0;
    position: relative;
}

.case-study-callout::before {
    content: 'CASE STUDY';
    position: absolute;
    top: -0.75rem;
    left: 1rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gold);
    background: var(--grey-900);
    padding: 0.25rem 0.75rem;
}

.case-study-callout h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.case-study-callout p {
    color: var(--grey-300);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.case-study-callout p:last-child {
    margin-bottom: 0;
}

.case-study-callout .case-outcome {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--gold);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.case-study-callout .case-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.case-study-callout .case-stat {
    text-align: center;
}

.case-study-callout .case-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
}

.case-study-callout .case-stat-label {
    font-size: 0.6875rem;
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive Calculator Styles */
@media (max-width: 992px) {
    .calculator-layout {
        grid-template-columns: 1fr;
    }

    .calculator-sidebar {
        position: static;
    }

    .calculator-main {
        padding: 2rem;
    }
}

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

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .calculator-header h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .calculator-main {
        padding: 1.5rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .question-text {
        font-size: 1.125rem;
    }

    .results-actions {
        flex-direction: column;
    }

    .case-study-callout .case-stats {
        flex-direction: column;
        gap: 1rem;
    }
}
