/* Palantir-Inspired Homepage for gotEM */
/* Sophisticated Intelligence Platform Design */

:root {
    /* Palantir Color Palette */
    --palantir-black: #000000;
    --palantir-dark: #0a0a0a;
    --palantir-gray-900: #111111;
    --palantir-gray-800: #1a1a1a;
    --palantir-gray-700: #2a2a2a;
    --palantir-gray-600: #3a3a3a;
    --palantir-gray-400: #666666;
    --palantir-gray-300: #999999;
    --palantir-gray-200: #cccccc;
    --palantir-white: #ffffff;
    
    /* Intelligence Network Accents */
    --intel-cyan: #4FECFE;
    --intel-green: #00FF88;
    --intel-blue: #0070f3;
    
    /* Typography */
    --font-system: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Timing */
    --transition-fast: 0.15s ease-out;
    --transition-base: 0.25s ease-out;
    --transition-slow: 0.4s ease-out;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-system);
    background: var(--palantir-black);
    color: var(--palantir-white);
    margin: 0;
    padding: 0;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

/* ==================== PALANTIR NAVIGATION ==================== */

.palantir-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--palantir-gray-800);
    padding: var(--space-md) 0;
}

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

@media (min-width: 768px) {
    .nav-container {
        padding: 0 var(--space-xl);
    }
}

.brand-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--palantir-white);
    font-weight: 600;
    font-size: 1.25rem;
    transition: opacity var(--transition-fast);
}

.brand-link:hover {
    opacity: 0.8;
    color: var(--palantir-white);
}

.brand-logo {
    color: var(--intel-cyan);
}

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

.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: var(--space-sm);
    cursor: pointer;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--palantir-white);
    transition: all var(--transition-base);
}

.btn-get-started {
    padding: var(--space-sm) var(--space-lg);
    background: var(--palantir-white);
    color: var(--palantir-black);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-get-started:hover {
    background: var(--palantir-gray-200);
    color: var(--palantir-black);
    transform: translateY(-1px);
}

/* ==================== HERO BANNER ==================== */

.hero-banner {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('/static/images/hero-cityscape.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 20, 40, 0.4) 0%,
        rgba(10, 25, 47, 0.3) 50%,
        rgba(0, 20, 40, 0.5) 100%
    );
    z-index: 2;
}

.animated-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(79, 236, 254, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 236, 254, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.data-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(79, 236, 254, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(79, 236, 254, 0.05) 0%, transparent 50%);
    animation: particleFloat 15s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.1; transform: scale(1.1); }
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .banner-content {
        grid-template-columns: 1fr 1fr;
        padding: 0 var(--space-xl);
    }
}

.banner-text {
    text-align: center;
    background: rgba(0, 20, 40, 0.15);
    backdrop-filter: blur(8px);
    padding: var(--space-xl);
    border-radius: 12px;
    border: 1px solid rgba(79, 236, 254, 0.08);
}

@media (min-width: 1024px) {
    .banner-text {
        text-align: left;
    }
}

.banner-headline {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

.headline-line {
    display: block;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.headline-line:nth-child(1) { animation-delay: 0.2s; }
.headline-line:nth-child(2) { animation-delay: 0.4s; }
.headline-line:nth-child(3) { animation-delay: 0.6s; }

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

.banner-description {
    font-size: 1.25rem;
    color: var(--palantir-gray-300);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.8s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@media (min-width: 1024px) {
    .banner-description {
        margin: 0;
    }
}

.banner-visual {
    display: flex;
    justify-content: center;
    animation: fadeInUp 1s ease-out 1s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.investigation-interface {
    background: rgba(15, 20, 35, 0.25);
    border: 1px solid rgba(79, 236, 254, 0.3);
    border-radius: 8px;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
}

.interface-header {
    padding: var(--space-md);
    border-bottom: 1px solid rgba(79, 236, 254, 0.2);
    background: rgba(0, 0, 0, 0.1);
}

.header-tabs {
    display: flex;
    gap: var(--space-md);
}

.tab {
    font-size: 0.875rem;
    color: var(--palantir-gray-400);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.tab.active {
    color: var(--intel-cyan);
}

.interface-content {
    padding: var(--space-md);
}

.case-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--palantir-gray-800);
}

.case-item:last-child {
    border-bottom: none;
}

.case-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.case-status.active {
    background: var(--intel-green);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.case-status.pending {
    background: #ffa500;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.case-status.completed {
    background: var(--palantir-gray-400);
}

.case-title {
    font-weight: 500;
    color: var(--palantir-white);
    margin-bottom: 2px;
}

.case-meta {
    font-size: 0.75rem;
    color: var(--palantir-gray-400);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeInUp 1s ease-out 1.2s forwards;
    opacity: 0;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.8rem;
    }
}

/* Ensure scroll indicator doesn't overlap footer */
.hero-banner {
    margin-bottom: 80px;
}

.scroll-text {
    display: block;
    font-size: 0.875rem;
    color: var(--palantir-gray-400);
    margin-bottom: var(--space-sm);
}

.scroll-arrow {
    color: var(--palantir-gray-400);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ==================== PLATFORMS SECTION ==================== */

.platforms-section {
    padding: var(--space-4xl) 0;
    background: var(--palantir-dark);
    position: relative;
    background-image: url('/static/images/aip-visualization.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.platforms-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 15, 30, 0.9) 0%,
        rgba(5, 20, 35, 0.85) 50%,
        rgba(0, 15, 30, 0.9) 100%
    );
    z-index: 1;
}

.platforms-section > .container {
    position: relative;
    z-index: 2;
}

.section-intro {
    text-align: center;
    margin-bottom: var(--space-4xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: var(--space-lg);
    color: var(--palantir-white);
}

.section-description {
    font-size: 1.125rem;
    color: var(--palantir-gray-300);
    line-height: 1.6;
}

.platforms-list {
    max-width: 800px;
    margin: 0 auto;
}

.platform-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xl);
    padding: var(--space-3xl) 0;
    border-bottom: 1px solid var(--palantir-gray-800);
    transition: all var(--transition-slow);
}

.platform-item:last-child {
    border-bottom: none;
}

.platform-item:hover {
    transform: translateX(10px);
}

.platform-number {
    font-size: 1rem;
    color: var(--palantir-gray-400);
    font-weight: 300;
    flex-shrink: 0;
}

.platform-name {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: var(--space-md);
    color: var(--palantir-white);
    letter-spacing: -0.02em;
}

.platform-description {
    font-size: 1.125rem;
    color: var(--palantir-gray-300);
    line-height: 1.5;
}

/* ==================== PALANTIR DYNAMIC INTERFACE ==================== */

.palantir-interface {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    border-radius: 12px;
    border: 1px solid rgba(79, 236, 254, 0.2);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.interface-dots-section {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dots-navigation {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(100, 116, 139, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-dot.active {
    background: var(--intel-cyan);
    box-shadow: 0 0 12px rgba(79, 236, 254, 0.6);
}

.nav-dot:hover {
    background: rgba(79, 236, 254, 0.7);
    transform: scale(1.2);
}

.dynamic-content-area {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.content-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-slide.active {
    opacity: 1;
    transform: translateX(0);
}

/* Data Visualization */
.data-visualization {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
}

.data-point {
    border-radius: 4px;
    background: linear-gradient(180deg, var(--intel-cyan) 0%, var(--intel-green) 100%);
    animation: pulse 2s infinite;
}

.data-point.large {
    width: 20px;
    height: 80px;
}

.data-point.medium {
    width: 20px;
    height: 60px;
    animation-delay: 0.3s;
}

.data-point.small {
    width: 20px;
    height: 40px;
    animation-delay: 0.6s;
}

/* Network Visualization */
.network-visualization {
    position: relative;
    width: 150px;
    height: 150px;
}

.network-node {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--intel-cyan);
    border: 2px solid rgba(79, 236, 254, 0.3);
}

.network-node.central {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: var(--intel-green);
    animation: pulse 2s infinite;
}

.network-node:nth-child(2) {
    top: 20%;
    left: 20%;
}

.network-node:nth-child(3) {
    bottom: 20%;
    right: 20%;
}

/* Intelligence Grid */
.intelligence-grid {
    display: grid;
    grid-template-columns: repeat(2, 40px);
    grid-template-rows: repeat(2, 40px);
    gap: 8px;
}

.grid-cell {
    background: rgba(100, 116, 139, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.grid-cell.active {
    background: var(--intel-cyan);
    box-shadow: 0 0 8px rgba(79, 236, 254, 0.4);
}

/* Analysis Chart */
.analysis-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}

.chart-bar {
    width: 16px;
    background: linear-gradient(180deg, var(--intel-cyan) 0%, rgba(79, 236, 254, 0.3) 100%);
    border-radius: 2px 2px 0 0;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    background: linear-gradient(180deg, var(--intel-green) 0%, rgba(0, 255, 136, 0.3) 100%);
}

/* ==================== NETWORK CAPABILITY CANVAS ==================== */

.network-capability-canvas {
    background: rgba(15, 20, 35, 0.95);
    border: 1px solid rgba(79, 236, 254, 0.2);
    border-radius: 12px;
    padding: 24px;
    color: var(--palantir-white);
    font-family: var(--font-primary);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    height: auto;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.canvas-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 16px;
}

.capability-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--intel-cyan);
    font-weight: 500;
}

.signal-dot {
    width: 8px;
    height: 8px;
    background: var(--intel-cyan);
    border-radius: 50%;
    animation: signalPulse 2s infinite;
    box-shadow: 0 0 10px rgba(79, 236, 254, 0.6);
}

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

.network-visualization {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
}

.network-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(79, 236, 254, 0.1));
}

/* Hub Node */
.hub-node.primary {
    fill: var(--intel-cyan);
    filter: drop-shadow(0 0 8px rgba(79, 236, 254, 0.6));
}

.hub-ring {
    fill: none;
    stroke: var(--intel-cyan);
    stroke-width: 1;
    opacity: 0.3;
    animation: hubPulse 3s infinite;
}

@keyframes hubPulse {
    0%, 100% { r: 20; opacity: 0.3; }
    50% { r: 25; opacity: 0.1; }
}

/* Entity Nodes */
.entity-node {
    transition: all 0.3s ease;
    cursor: pointer;
}

.entity-node.person { fill: var(--intel-green); }
.entity-node.wallet { fill: #FFA500; }
.entity-node.address { fill: #9B59B6; }
.entity-node.exchange { fill: #FF6B6B; }
.entity-node.evidence { fill: rgba(255, 255, 255, 0.6); }

.entity-ring {
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
    opacity: 0.2;
}

.entity-node:hover {
    r: 10;
    filter: drop-shadow(0 0 6px currentColor);
}

/* Connection Lines */
.connection-line {
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1;
    transition: all 0.3s ease;
}

.connection-line.active {
    stroke: var(--intel-cyan);
    stroke-width: 2;
    opacity: 0.8;
    animation: connectionFlow 2s infinite;
}

.connection-line.weak {
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1;
    stroke-dasharray: 2,2;
}

@keyframes connectionFlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

/* Data Flow Particles */
.particle {
    fill: var(--intel-cyan);
    opacity: 0.8;
    filter: drop-shadow(0 0 4px rgba(79, 236, 254, 0.8));
}

/* Entity Labels */
.entity-label {
    fill: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 500;
    text-anchor: middle;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Capability Footer */
.capability-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(79, 236, 254, 0.1);
}

.analysis-stages {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.stage.active {
    opacity: 1;
}

.stage:hover {
    opacity: 0.8;
}

.stage-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.stage.active .stage-dot {
    background: var(--intel-cyan);
    box-shadow: 0 0 8px rgba(79, 236, 254, 0.6);
    animation: stagePulse 2s infinite;
}

@keyframes stagePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.stage span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.stage.active span {
    color: var(--palantir-white);
}

/* Responsive design for network canvas */
@media (max-width: 768px) {
    .network-capability-canvas {
        padding: 16px;
    }
    
    .canvas-header {
        justify-content: center;
    }
    
    .analysis-stages {
        gap: 10px;
    }
    
    .stage span {
        font-size: 0.7rem;
    }
    
    .network-svg {
        max-width: 320px;
    }
}

/* Interactive hover effects for the entire canvas */
.network-capability-canvas:hover .hub-ring {
    animation-duration: 1.5s;
}

.network-capability-canvas:hover .connection-line.active {
    animation-duration: 1s;
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==================== IMPACT SECTION ==================== */

.impact-section {
    padding: var(--space-4xl) 0;
    background: var(--palantir-black);
    position: relative;
    background-image: url('/static/images/osint-visualization.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(10, 15, 25, 0.85) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 1;
}

.impact-section > .container {
    position: relative;
    z-index: 2;
}

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

@media (min-width: 1024px) {
    .impact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.impact-image {
    order: 2;
}

@media (min-width: 1024px) {
    .impact-image {
        order: 1;
    }
}

.impact-placeholder {
    background: var(--palantir-gray-900);
    border-radius: 8px;
    padding: var(--space-xl);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meeting-simulation {
    width: 100%;
    max-width: 300px;
}

.meeting-participants {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.participant {
    width: 60px;
    height: 60px;
    background: var(--palantir-gray-700);
    border-radius: 50%;
}

.participant.active {
    background: var(--intel-cyan);
    box-shadow: 0 0 20px rgba(79, 236, 254, 0.3);
}

.meeting-content {
    space-y: var(--space-sm);
}

.content-line {
    height: 8px;
    background: var(--palantir-gray-700);
    border-radius: 4px;
    margin-bottom: var(--space-sm);
}

.content-line.short {
    width: 60%;
}

.impact-text {
    order: 1;
    text-align: center;
}

@media (min-width: 1024px) {
    .impact-text {
        order: 2;
        text-align: left;
    }
}

.impact-title {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: var(--space-xl);
    color: var(--palantir-white);
}

.impact-description {
    font-size: 1.125rem;
    color: var(--palantir-gray-300);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.btn-learn-more {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    border: 1px solid var(--palantir-gray-600);
    color: var(--palantir-white);
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.btn-learn-more:hover {
    border-color: var(--palantir-white);
    background: var(--palantir-gray-900);
    color: var(--palantir-white);
}

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

.testimonials-section {
    padding: var(--space-4xl) 0;
    background: var(--palantir-dark);
    position: relative;
    background-image: url('/static/images/network-visualization.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 20, 40, 0.92) 0%,
        rgba(15, 25, 45, 0.88) 50%,
        rgba(0, 20, 40, 0.92) 100%
    );
    z-index: 1;
}

.testimonials-section > .container {
    position: relative;
    z-index: 2;
}

.testimonials-section .section-title {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.testimonial-card {
    background: var(--palantir-gray-900);
    border: 1px solid var(--palantir-gray-800);
    border-radius: 8px;
    padding: var(--space-xl);
}

.testimonial-header {
    margin-bottom: var(--space-xl);
}

.company-logo {
    margin-bottom: var(--space-md);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 116, 139, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.company-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.company-logo-img:hover {
    opacity: 1;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background: var(--palantir-gray-700);
    border-radius: 4px;
}

.company-name {
    font-size: 0.875rem;
    color: var(--palantir-gray-400);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--palantir-white);
    margin-bottom: var(--space-xl);
    font-style: normal;
}

.author-name {
    font-weight: 500;
    color: var(--palantir-white);
    margin-bottom: var(--space-xs);
}

.author-title {
    font-size: 0.875rem;
    color: var(--palantir-gray-400);
}

/* ==================== CTA SECTION ==================== */

.cta-section {
    padding: var(--space-4xl) 0;
    background: var(--palantir-black);
}

.cta-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    align-items: center;
}

@media (min-width: 768px) {
    .cta-content {
        flex-direction: row;
        justify-content: center;
    }
}

.btn-request-demo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    color: var(--palantir-white);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-request-demo:hover {
    color: var(--intel-cyan);
    transform: translateX(5px);
}

.btn-start-building {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-xl);
    border: 1px solid var(--palantir-white);
    color: var(--palantir-white);
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.125rem;
    transition: all var(--transition-fast);
}

.btn-start-building:hover {
    background: var(--palantir-white);
    color: var(--palantir-black);
    transform: translateY(-2px);
}

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

.palantir-footer {
    background: var(--palantir-dark);
    border-top: 1px solid var(--palantir-gray-800);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-legal {
    color: var(--palantir-gray-400);
    font-size: 0.875rem;
}

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

.footer-link {
    color: var(--palantir-gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--palantir-white);
}

.footer-regions {
    display: flex;
    gap: var(--space-md);
}

.region {
    color: var(--palantir-gray-400);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.region:hover {
    color: var(--palantir-cyan);
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--palantir-gray-700);
    color: var(--palantir-gray-400);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.75rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    border-color: var(--palantir-white);
    color: var(--palantir-white);
}

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

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

.column-title {
    font-size: 0.875rem;
    color: var(--palantir-gray-400);
    font-weight: 500;
    margin-bottom: var(--space-lg);
    letter-spacing: 0.05em;
}

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

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

.column-links a {
    color: var(--palantir-gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.column-links a:hover {
    color: var(--palantir-white);
}

/* ==================== HOMEPAGE NAVIGATION FIXES ==================== */

/* Ensure no arkham navigation elements show on homepage */
.home-page .arkham-nav-toggle,
.home-page .arkham-nav-container {
    display: none !important;
}

/* Hide duplicate text logo, keep only image */
.brand-text {
    display: none !important;
}

.brand-logo {
    display: inline-block;
}

/* Improve hamburger menu positioning */
.hamburger-menu {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: transform 0.3s ease;
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--palantir-gray-300);
    transition: all 0.3s ease;
}

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

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

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

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

@media (max-width: 768px) {
    .banner-headline {
        font-size: 2.5rem;
    }
    
    .platform-item {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .platform-name {
        font-size: 2rem;
    }
    
    .impact-title {
        font-size: 2rem;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}