@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Tokens */
    --bg-primary: #030712;       /* Deepest Navy Black */
    --bg-secondary: #080f1e;     /* Deep Slate Navy for Cards */
    --bg-tertiary: #10192e;      /* Accent Navy */
    --accent-gold: #d4af37;      /* Rich Brushed Gold */
    --accent-gold-hover: #f3e5ab;/* Pale Gold Highlight */
    --accent-gold-rgb: 212, 175, 55;
    --accent-glow: rgba(212, 175, 55, 0.15);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-glow: rgba(212, 175, 55, 0.2);
    
    /* Text Tokens */
    --text-primary: #f8fafc;     /* Ice White */
    --text-secondary: #94a3b8;   /* Slate Gray */
    --text-muted: #64748b;       /* Muted Steel Gray */
    
    /* Typography */
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions & Offsets */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --border-radius-lg: 16px;
    --border-radius-md: 8px;
    --container-max-width: 1280px;
    --header-height: 80px;
}

/* Base resets & styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    background: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Utility Layouts */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
    position: relative;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Shared Premium Classes */
.gold-text {
    background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gold-glow-border {
    position: relative;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.gold-glow-border:hover {
    border-color: var(--border-color-glow);
    box-shadow: 0 10px 30px -10px rgba(var(--accent-gold-rgb), 0.12),
                inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
    backdrop-filter: blur(0px);
}

header.scrolled {
    height: 70px;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-title);
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.logo span {
    font-weight: 300;
}

.logo-svg {
    width: 34px;
    height: 34px;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.logo:hover .logo-svg {
    transform: rotate(8deg) scale(1.05);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

nav a:hover, nav a.active {
    color: var(--text-primary);
}

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

nav a:hover::after, nav a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold) !important;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    background: transparent;
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    background: var(--accent-gold);
    color: var(--bg-primary) !important;
    box-shadow: 0 0 15px var(--accent-glow);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.95rem 2rem;
    border-radius: var(--border-radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #b89020 100%);
    color: var(--bg-primary);
    border: none;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e2b53e 0%, #d4af37 100%);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 2rem);
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.04) 0%, rgba(3, 7, 18, 0) 60%),
                radial-gradient(circle at 10% 80%, rgba(16, 25, 46, 0.3) 0%, rgba(3, 7, 18, 0) 70%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Brand philosophy badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 50px;
    color: var(--accent-gold);
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* Interactive SVG visual */
.hero-visual {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-mock {
    width: 100%;
    max-width: 500px;
    height: 380px;
    background: rgba(8, 15, 30, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.dashboard-mock::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(212, 175, 55, 0.03) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    animation: flowLight 6s infinite linear;
}

@keyframes flowLight {
    0% { transform: translate(-30%, -30%) rotate(30deg); }
    100% { transform: translate(30%, 30%) rotate(30deg); }
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.75rem;
}

.db-title {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.db-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-gold);
}

.db-status {
    font-size: 0.75rem;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.db-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.dashboard-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 0.85rem;
    border-radius: var(--border-radius-md);
    text-align: left;
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.metric-value {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-trend {
    font-size: 0.7rem;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-top: 0.2rem;
}

/* SVG Line Graph animation */
.svg-graph-container {
    width: 100%;
    height: 140px;
    position: relative;
}

.graph-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 4s cubic-bezier(0.4, 0, 0.2, 1) forwards infinite;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.interactive-grid-dots {
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 16px 16px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Philosophies & Stats Section */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.phil-quote {
    font-family: var(--font-title);
    font-size: 2rem;
    font-style: italic;
    line-height: 1.4;
    border-left: 3px solid var(--accent-gold);
    padding-left: 2rem;
    margin: 2rem 0;
    color: var(--text-primary);
}

.values-brief {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.value-brief-card {
    padding: 1.5rem;
    background: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.value-brief-card:hover {
    border-color: var(--border-color-glow);
    background: rgba(212, 175, 55, 0.02);
}

.vbc-num {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

/* Interactive Simulator Widget Section */
.simulator-section {
    background: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.03) 0%, rgba(3, 7, 18, 0) 50%);
}

.simulator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3.5rem;
}

.sim-controls {
    background: rgba(8, 15, 30, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(12px);
}

.control-group {
    margin-bottom: 2rem;
}

.control-label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.control-label span:last-child {
    color: var(--accent-gold);
}

/* Custom range inputs */
.slider-input {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-gold);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-gold);
    transition: var(--transition-fast);
}

.slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.toggle-card {
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.01);
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.toggle-card.active {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
}

.toggle-card h4 {
    font-size: 1rem;
    font-weight: 600;
}

.toggle-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.sim-output {
    background: rgba(8, 15, 30, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: sticky;
    top: 100px;
}

.sim-output-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.75rem;
}

.sim-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.sim-result-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 1.25rem;
    border-radius: var(--border-radius-md);
}

.sim-result-card .value {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-top: 0.35rem;
}

.sim-chart-visual {
    height: 120px;
    background: rgba(255, 255, 255, 0.01);
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 0 1.5rem 1rem;
}

.sim-chart-bar {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-chart-bar.current {
    background: rgba(255,255,255,0.15);
}

.sim-chart-bar.projected {
    background: linear-gradient(to top, var(--accent-gold) 0%, rgba(var(--accent-gold-rgb), 0.3) 100%);
    box-shadow: 0 0 15px var(--accent-glow);
}

.sim-chart-label {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Capabilities Page Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-header p {
    font-size: 1.15rem;
}

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

.capability-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 380px;
}

#clients-grid {
    grid-template-columns: repeat(4, 1fr);
}

#clients-grid .capability-card {
    height: 260px;
}

#meaning-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.meaning-card {
    padding: 3rem;
}

#values-grid {
    grid-template-columns: repeat(3, 1fr);
}

#values-grid #value-precision,
#values-grid #value-systems {
    grid-column: span 1.5;
}

.cap-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.cap-list {
    list-style: none;
    margin-top: 1rem;
}

.cap-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.cap-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

/* Solutions Details */
.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
}

.solution-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.solution-row:nth-child(even) {
    grid-template-columns: 1.1fr 1fr;
}

.solution-row:nth-child(even) .solution-info {
    order: 2;
}

.solution-visual {
    background: rgba(8, 15, 30, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Case Study Grid & Cards */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.case-card {
    height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.case-client {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.case-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.case-card h3 {
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.case-card p {
    font-size: 0.95rem;
    flex-grow: 1;
}

.case-result-badge {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.85rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
}

/* Contact Styles */
.contact-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.info-icon {
    width: 44px;
    height: 44px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.25rem;
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-muted);
}

.info-item p, .info-item a {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-primary);
}

.contact-form-container {
    background: rgba(8, 15, 30, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    backdrop-filter: blur(12px);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-full {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 0.85rem 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 10px rgba(var(--accent-gold-rgb), 0.1);
    background: rgba(255,255,255,0.04);
}

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

/* FAQ Accordion Section */
.faq-section {
    border-top: 1px solid var(--border-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.01);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-trigger {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-trigger span:last-child {
    font-size: 1.5rem;
    color: var(--accent-gold);
    transition: var(--transition-fast);
}

.faq-item.active .faq-trigger span:last-child {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer styling */
footer {
    background: #02040a;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info p {
    margin-top: 1rem;
    max-width: 280px;
    font-size: 0.9rem;
}

.footer-col h4 {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        height: auto;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .simulator-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .sim-output {
        position: static;
    }
    
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #clients-grid .capability-card {
        height: 260px;
    }
    
    #meaning-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .meaning-card {
        padding: 2.5rem;
    }
    
    #values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #values-grid #value-precision,
    #values-grid #value-systems {
        grid-column: unset;
    }
    
    .solution-row, .solution-row:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .solution-row:nth-child(even) .solution-info {
        order: unset;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .container {
        padding: 0 1.25rem;
    }
    
    section {
        padding: 5rem 0;
    }
    
    header.scrolled {
        height: 60px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #02050c;
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 3rem;
        z-index: 1050;
        transition: var(--transition-smooth);
    }
    
    nav.active {
        right: 0;
        box-shadow: -10px 0 40px rgba(0,0,0,0.8);
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    #clients-grid {
        grid-template-columns: 1fr;
    }
    
    .capability-card {
        height: auto;
        padding: 1.5rem;
    }
    
    .sim-output {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .sim-results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sim-result-card {
        padding: 1rem;
    }
    
    .sim-result-card .value {
        font-size: 1.65rem;
    }
    
    #meaning-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .meaning-card {
        padding: 1.5rem;
    }
    
    #values-grid {
        grid-template-columns: 1fr;
    }
    
    #values-grid #value-precision,
    #values-grid #value-systems {
        grid-column: unset;
    }
    
    .solution-row {
        gap: 1.25rem !important;
    }
    
    .solution-visual {
        height: 300px !important;
    }
    
    .solution-visual svg {
        max-width: 90% !important;
        height: auto !important;
    }
    
    #expansion-simulator-visual {
        padding: 1.25rem !important;
    }
    
    .interactive-map-grid {
        height: 200px !important;
    }
    
    .solutions-grid {
        gap: 0 !important;
    }
    
    .solutions-detail hr {
        margin: 1rem 0 !important;
    }
    
    #solutions-detail-list {
        padding: 2rem 0 !important;
    }
    
    .case-card {
        height: auto;
        padding: 1.75rem;
    }
    
    .case-card p {
        margin-bottom: 1rem;
    }
    
    .case-card p:last-of-type {
        margin-bottom: 1.5rem;
    }
    
    .cases-grid {
        gap: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-full {
        grid-column: unset;
    }
    .contact-form-container {
        padding: 1.5rem;
    }
    .form-input {
        width: 100%;
    }
    .contact-container {
        gap: 2.5rem;
    }
    .contact-info {
        gap: 1.75rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Mobile responsive WhatsApp widget overrides */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .wa-tooltip {
        right: 65px;
    }

    /* Mobile collapse for simulator toggle grid */
    .toggle-group {
        grid-template-columns: 1fr;
    }

    /* Mobile dashboard mock optimizations */
    .dashboard-mock {
        padding: 1rem;
        height: auto;
        min-height: 380px;
    }
    .metric-row {
        gap: 0.5rem;
    }
    .metric-card {
        padding: 0.5rem;
    }
    .metric-label {
        font-size: 0.6rem;
    }
    .metric-value {
        font-size: 1.05rem;
    }

    /* Mobile typography & button optimizations */
    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
    .phil-quote {
        font-size: 1.5rem;
        padding-left: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* ==========================================================================
   Premium Interaction & Animation System
   ========================================================================== */

/* Perspective context for grids hosting 3D Tilt Cards */
.capabilities-grid, .philosophy-grid, .solutions-grid, .values-grid {
    perspective: 1200px;
    transform-style: preserve-3d;
}

/* Mouse-Tracking Card Glow */
.gold-glow-border {
    position: relative;
    z-index: 1;
}

/* Push children up so they remain clickable over the glow pseudo-element */
.gold-glow-border > * {
    position: relative;
    z-index: 2;
}

/* Glow spotlight layer */
.gold-glow-border::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(212, 175, 55, 0.08),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
}

.gold-glow-border:hover::before {
    opacity: 1;
}

/* Disable default CSS hover vertical translation when JS-tilt is active */
.gold-glow-border.js-tilt:hover {
    transform: none; 
}

/* GPU hardware acceleration helper */
.will-animate {
    will-change: transform, opacity;
}

/* Magnetic button layout transition timings (damped return) */
.btn-primary, .btn-secondary, #header-logo, #footer-logo, .logo-svg, .logo-icon {
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

/* Lenis smooth scrolling base support */
html.lenis, html.lenis body {
    height: auto;
}

html.lenis, html.lenis-smooth {
    scroll-behavior: auto !important;
}

html.lenis [data-lenis-prevent], html.lenis-smooth [data-lenis-prevent] {
    overflow: clip;
}

html.lenis-stopped {
    overflow: hidden;
}

html.lenis-scrolling iframe {
    pointer-events: none;
}

/* Viewport reveal entry initialization state */
.gsap-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Accessibility: respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .gsap-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .gold-glow-border::before {
        display: none !important;
    }
    .gold-glow-border {
        transform: none !important;
        transition: none !important;
    }
    .btn-primary, .btn-secondary, #header-logo, #footer-logo, .logo-svg, .logo-icon {
        transform: none !important;
        transition: none !important;
    }
}

/* Floating WhatsApp Widget */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(8, 15, 30, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 
                0 0 20px rgba(212, 175, 55, 0.2);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s, 
                box-shadow 0.3s,
                background-color 0.3s,
                color 0.3s;
}

.whatsapp-float:hover {
    color: var(--bg-primary);
    background: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    transform: translateY(-5px) scale(1.05);
}

.wa-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Tooltip label styling */
.wa-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(8, 15, 30, 0.85);
    border: 1px solid var(--border-color-glow);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: var(--font-title);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    pointer-events: none;
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.3s, transform 0.3s;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Golden breathe pulse effect surrounding the button */
.whatsapp-float::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    opacity: 0.4;
    animation: waPulse 2.5s infinite ease-in-out;
    pointer-events: none;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.15);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

/* Touch and viewport adjust: push up to clear mobile screens */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 25px;
        right: 25px;
        width: 52px;
        height: 52px;
    }
    .wa-tooltip {
        display: none !important; /* Hide tooltip on touch viewports */
    }
}

/* ==========================================================================
   Desktop-Only Spacing Overrides (Home & Solutions pages)
   Applied ONLY on screens wider than 1024px.
   Mobile (max-width: 768px) and Tablet (max-width: 1024px) are untouched.
   ========================================================================== */
@media (min-width: 1025px) {

    /* 1. Reduce global section top/bottom padding
          8rem (128px) → 5rem (80px) */
    section {
        padding: 5rem 0;
    }

    /* 2. Reduce section-header bottom margin
          5rem (80px) → 3rem (48px)
          Brings cards closer to their section title */
    .section-header {
        margin: 0 auto 3rem;
    }

    /* 3. Allow "Who We Accelerate" cards (Home) to size to content
          Fixed 260px → auto with a comfortable min-height */
    #clients-grid .capability-card {
        height: auto;
        min-height: 210px;
    }

    /* 4. Reduce Philosophy/Brand section column gap (Home)
          5rem (80px) → 3rem (48px) */
    .philosophy-grid {
        gap: 3rem;
    }

    /* 5. Reduce Simulator columns gap (Home)
          4rem (64px) → 2.5rem (40px) */
    .simulator-container {
        gap: 2.5rem;
    }

    /* 6. Reduce gap between Solution rows (Solutions page)
          6rem (96px) → 3.5rem (56px) */
    .solutions-grid {
        gap: 3.5rem;
    }

    /* 7. Reduce gap between text and visual inside each Solution row (Solutions page)
          5rem (80px) → 3rem (48px) */
    .solution-row {
        gap: 3rem;
    }
}


