/* Kraken-inspired Homepage Styles */
:root {
    --gold: #DAAF37;
    --teal: #29A78D;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --gray-900: #212529;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
}

/* Reset and base styles */
.kraken-main {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
}

/* Override Hugo's default styles for this page */
.kraken-hero,
.kraken-trusted-by,
.kraken-features,
.kraken-capabilities,
.kraken-comparison,
.kraken-cta,
.kraken-footer {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
}

/* Hide the original Hugo footer on this page */
body:has(.kraken-footer) footer:not(.kraken-footer) {
    display: none !important;
}

/* Fallback for browsers that don't support :has() */
.kraken-footer~footer,
.kraken-footer+footer {
    display: none !important;
}

/* Ensure content doesn't inherit unwanted styles */
.kraken-hero * {
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* Buttons */
.btn-primary-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #e6c547 100%);
    color: var(--dark-bg);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(218, 175, 55, 0.3);
}

.btn-primary-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 175, 55, 0.4);
    text-decoration: none;
    color: var(--dark-bg);
}

.btn-primary-gold.large {
    padding: 20px 40px;
    font-size: 18px;
}

.btn-secondary-teal {
    background: transparent;
    color: var(--teal);
    padding: 16px 32px;
    border: 2px solid var(--teal);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary-teal:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-secondary-teal.large {
    padding: 20px 40px;
    font-size: 18px;
}

/* Hero Section */
.kraken-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    padding: 80px 0 60px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.kraken-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(41, 167, 141, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(218, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.kraken-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.kraken-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.kraken-hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.5;
}

.kraken-hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.kraken-hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Visual */
.kraken-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    position: relative;
    width: 400px;
    height: 400px;
}

.ai-brain-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-brain {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(41, 167, 141, 0.08) 0%, rgba(218, 175, 55, 0.03) 50%, rgba(41, 167, 141, 0.05) 100%);
    border: 2px solid var(--teal);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse 3s ease-in-out infinite;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.brain-node {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gray-400);
    border: 1px solid var(--white);
    animation: nodeGlow 3s ease-in-out infinite;
    z-index: 3;
    transform-style: preserve-3d;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.brain-node.active {
    background: var(--gold);
    border: 1px solid var(--gold);
    box-shadow: 0 0 12px rgba(218, 175, 55, 0.7), 0 0 4px rgba(218, 175, 55, 0.4);
    width: 8px;
    height: 8px;
    transform: translateZ(10px);
}

.brain-node.large {
    width: 10px;
    height: 10px;
    background: var(--teal);
    border: 1px solid var(--teal);
    box-shadow: 0 0 15px rgba(41, 167, 141, 0.8), 0 0 6px rgba(41, 167, 141, 0.5);
    transform: translateZ(15px);
}

.brain-node.hub {
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, var(--teal), var(--gold));
    border: 2px solid var(--white);
    box-shadow: 0 0 20px rgba(41, 167, 141, 0.6), 0 0 10px rgba(218, 175, 55, 0.4);
    transform: translateZ(20px);
    animation: hubPulse 2s ease-in-out infinite;
}

/* Central hub cluster */
.brain-node:nth-child(1) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.brain-node:nth-child(2) {
    top: 45%;
    left: 45%;
    animation-delay: 0.2s;
}

.brain-node:nth-child(3) {
    top: 55%;
    left: 55%;
    animation-delay: 0.4s;
}

/* Inner ring - Layer 1 */
.brain-node:nth-child(4) {
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.6s;
}

.brain-node:nth-child(5) {
    top: 40%;
    right: 25%;
    animation-delay: 0.8s;
}

.brain-node:nth-child(6) {
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

.brain-node:nth-child(7) {
    top: 40%;
    left: 25%;
    animation-delay: 1.2s;
}

/* Middle ring - Layer 2 */
.brain-node:nth-child(8) {
    top: 20%;
    left: 35%;
    animation-delay: 1.4s;
}

.brain-node:nth-child(9) {
    top: 20%;
    right: 35%;
    animation-delay: 1.6s;
}

.brain-node:nth-child(10) {
    top: 35%;
    right: 15%;
    animation-delay: 1.8s;
}

.brain-node:nth-child(11) {
    bottom: 20%;
    right: 35%;
    animation-delay: 2s;
}

.brain-node:nth-child(12) {
    bottom: 20%;
    left: 35%;
    animation-delay: 2.2s;
}

.brain-node:nth-child(13) {
    top: 35%;
    left: 15%;
    animation-delay: 2.4s;
}

/* Outer ring - Layer 3 */
.brain-node:nth-child(14) {
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2.6s;
}

.brain-node:nth-child(15) {
    top: 25%;
    right: 20%;
    animation-delay: 2.8s;
}

.brain-node:nth-child(16) {
    top: 50%;
    right: 10%;
    animation-delay: 3s;
}

.brain-node:nth-child(17) {
    bottom: 25%;
    right: 20%;
    animation-delay: 3.2s;
}

.brain-node:nth-child(18) {
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 3.4s;
}

.brain-node:nth-child(19) {
    bottom: 25%;
    left: 20%;
    animation-delay: 3.6s;
}

.brain-node:nth-child(20) {
    top: 50%;
    left: 10%;
    animation-delay: 3.8s;
}

.brain-node:nth-child(21) {
    top: 25%;
    left: 20%;
    animation-delay: 4s;
}

/* Scattered nodes for density */
.brain-node:nth-child(22) {
    top: 60%;
    left: 35%;
    animation-delay: 0.5s;
}

.brain-node:nth-child(23) {
    top: 65%;
    right: 40%;
    animation-delay: 1.5s;
}

.brain-node:nth-child(24) {
    top: 30%;
    left: 65%;
    animation-delay: 2.5s;
}

.brain-connection {
    position: absolute;
    height: 1px;
    background: var(--gray-300);
    opacity: 0.3;
    animation: connectionFlow 5s ease-in-out infinite;
    z-index: 1;
    transform-origin: left center;
    border-radius: 1px;
}

.brain-connection.active {
    background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal));
    opacity: 0.7;
    height: 1.5px;
    box-shadow: 0 0 6px rgba(41, 167, 141, 0.4);
    animation: dataFlow 3s ease-in-out infinite;
}

.brain-connection.strong {
    background: var(--gold);
    opacity: 0.9;
    height: 2px;
    box-shadow: 0 0 10px rgba(218, 175, 55, 0.5);
}

/* Hub to inner ring connections */
.brain-connection:nth-child(25) {
    top: 50%;
    left: 50%;
    width: 60px;
    transform: translate(-50%, -50%) rotate(-90deg);
    animation-delay: 0.5s;
}

.brain-connection:nth-child(26) {
    top: 50%;
    left: 50%;
    width: 65px;
    transform: translate(-50%, -50%) rotate(-45deg);
    animation-delay: 1s;
}

.brain-connection:nth-child(27) {
    top: 50%;
    left: 50%;
    width: 60px;
    transform: translate(-50%, -50%) rotate(0deg);
    animation-delay: 1.5s;
}

.brain-connection:nth-child(28) {
    top: 50%;
    left: 50%;
    width: 65px;
    transform: translate(-50%, -50%) rotate(45deg);
    animation-delay: 2s;
}

.brain-connection:nth-child(29) {
    top: 50%;
    left: 50%;
    width: 60px;
    transform: translate(-50%, -50%) rotate(90deg);
    animation-delay: 2.5s;
}

.brain-connection:nth-child(30) {
    top: 50%;
    left: 50%;
    width: 65px;
    transform: translate(-50%, -50%) rotate(135deg);
    animation-delay: 3s;
}

.brain-connection:nth-child(31) {
    top: 50%;
    left: 50%;
    width: 60px;
    transform: translate(-50%, -50%) rotate(180deg);
    animation-delay: 3.5s;
}

.brain-connection:nth-child(32) {
    top: 50%;
    left: 50%;
    width: 65px;
    transform: translate(-50%, -50%) rotate(-135deg);
    animation-delay: 4s;
}

/* Inner to middle ring connections */
.brain-connection:nth-child(33) {
    top: 30%;
    left: 50%;
    width: 45px;
    transform: translateX(-50%) rotate(-30deg);
    animation-delay: 0.8s;
}

.brain-connection:nth-child(34) {
    top: 40%;
    right: 25%;
    width: 50px;
    transform: rotate(60deg);
    animation-delay: 1.3s;
}

.brain-connection:nth-child(35) {
    bottom: 30%;
    left: 50%;
    width: 45px;
    transform: translateX(-50%) rotate(30deg);
    animation-delay: 1.8s;
}

.brain-connection:nth-child(36) {
    top: 40%;
    left: 25%;
    width: 50px;
    transform: rotate(-60deg);
    animation-delay: 2.3s;
}

/* Middle to outer ring connections */
.brain-connection:nth-child(37) {
    top: 20%;
    left: 35%;
    width: 40px;
    transform: rotate(45deg);
    animation-delay: 0.7s;
}

.brain-connection:nth-child(38) {
    top: 20%;
    right: 35%;
    width: 40px;
    transform: rotate(-45deg);
    animation-delay: 1.2s;
}

.brain-connection:nth-child(39) {
    top: 35%;
    right: 15%;
    width: 35px;
    transform: rotate(90deg);
    animation-delay: 1.7s;
}

.brain-connection:nth-child(40) {
    bottom: 20%;
    right: 35%;
    width: 40px;
    transform: rotate(45deg);
    animation-delay: 2.2s;
}

.brain-connection:nth-child(41) {
    bottom: 20%;
    left: 35%;
    width: 40px;
    transform: rotate(-45deg);
    animation-delay: 2.7s;
}

.brain-connection:nth-child(42) {
    top: 35%;
    left: 15%;
    width: 35px;
    transform: rotate(-90deg);
    animation-delay: 3.2s;
}

/* Cross connections for density */
.brain-connection:nth-child(43) {
    top: 25%;
    left: 30%;
    width: 80px;
    transform: rotate(30deg);
    animation-delay: 0.9s;
}

.brain-connection:nth-child(44) {
    top: 30%;
    right: 30%;
    width: 70px;
    transform: rotate(-30deg);
    animation-delay: 1.4s;
}

.brain-connection:nth-child(45) {
    bottom: 25%;
    left: 30%;
    width: 80px;
    transform: rotate(-30deg);
    animation-delay: 1.9s;
}

.brain-connection:nth-child(46) {
    bottom: 30%;
    right: 30%;
    width: 70px;
    transform: rotate(30deg);
    animation-delay: 2.4s;
}

/* Diagonal cross connections */
.brain-connection:nth-child(47) {
    top: 25%;
    left: 25%;
    width: 120px;
    transform: rotate(45deg);
    animation-delay: 1.1s;
}

.brain-connection:nth-child(48) {
    top: 25%;
    right: 25%;
    width: 120px;
    transform: rotate(-45deg);
    animation-delay: 1.6s;
}

.efficiency-indicator {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.efficiency-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
}

.rotating-text {
    display: inline-block;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.rotating-text.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.rotating-text.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes nodeGlow {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes connectionFlow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes hubPulse {

    0%,
    100% {
        opacity: 0.9;
        transform: translateZ(20px) scale(1) rotateZ(0deg);
        box-shadow: 0 0 20px rgba(41, 167, 141, 0.6), 0 0 10px rgba(218, 175, 55, 0.4);
    }

    50% {
        opacity: 1;
        transform: translateZ(25px) scale(1.15) rotateZ(180deg);
        box-shadow: 0 0 30px rgba(41, 167, 141, 0.8), 0 0 15px rgba(218, 175, 55, 0.6);
    }
}

@keyframes dataFlow {
    0% {
        opacity: 0.4;
        background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal));
    }

    50% {
        opacity: 0.9;
        background: linear-gradient(90deg, var(--gold), var(--teal), var(--gold));
    }

    100% {
        opacity: 0.4;
        background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal));
    }
}

/* Enhanced Knowledge Graph Styles */

/* Ring-based Node Positioning */
.brain-node.central {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    animation: hubPulse 4s ease-in-out infinite;
}

/* Primary Ring - 8 nodes around center */
.brain-node.primary-ring:nth-of-type(2) {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.brain-node.primary-ring:nth-of-type(3) {
    top: 30%;
    right: 20%;
}

.brain-node.primary-ring:nth-of-type(4) {
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
}

.brain-node.primary-ring:nth-of-type(5) {
    bottom: 30%;
    right: 20%;
}

.brain-node.primary-ring:nth-of-type(6) {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.brain-node.primary-ring:nth-of-type(7) {
    bottom: 30%;
    left: 20%;
}

.brain-node.primary-ring:nth-of-type(8) {
    top: 50%;
    left: 15%;
    transform: translateY(-50%);
}

.brain-node.primary-ring:nth-of-type(9) {
    top: 30%;
    left: 20%;
}

/* Secondary Ring - 12 nodes in middle ring */
.brain-node.secondary-ring:nth-of-type(10) {
    top: 10%;
    left: 40%;
}

.brain-node.secondary-ring:nth-of-type(11) {
    top: 15%;
    right: 30%;
}

.brain-node.secondary-ring:nth-of-type(12) {
    top: 25%;
    right: 10%;
}

.brain-node.secondary-ring:nth-of-type(13) {
    top: 40%;
    right: 5%;
}

.brain-node.secondary-ring:nth-of-type(14) {
    bottom: 40%;
    right: 5%;
}

.brain-node.secondary-ring:nth-of-type(15) {
    bottom: 25%;
    right: 10%;
}

.brain-node.secondary-ring:nth-of-type(16) {
    bottom: 15%;
    right: 30%;
}

.brain-node.secondary-ring:nth-of-type(17) {
    bottom: 10%;
    left: 40%;
}

.brain-node.secondary-ring:nth-of-type(18) {
    bottom: 15%;
    left: 30%;
}

.brain-node.secondary-ring:nth-of-type(19) {
    bottom: 25%;
    left: 10%;
}

.brain-node.secondary-ring:nth-of-type(20) {
    top: 40%;
    left: 5%;
}

.brain-node.secondary-ring:nth-of-type(21) {
    top: 25%;
    left: 10%;
}

/* Outer Ring - 16 nodes on periphery */
.brain-node.outer-ring:nth-of-type(22) {
    top: 5%;
    left: 30%;
}

.brain-node.outer-ring:nth-of-type(23) {
    top: 5%;
    right: 30%;
}

.brain-node.outer-ring:nth-of-type(24) {
    top: 15%;
    right: 15%;
}

.brain-node.outer-ring:nth-of-type(25) {
    top: 30%;
    right: 2%;
}

.brain-node.outer-ring:nth-of-type(26) {
    top: 45%;
    right: 0%;
}

.brain-node.outer-ring:nth-of-type(27) {
    bottom: 45%;
    right: 0%;
}

.brain-node.outer-ring:nth-of-type(28) {
    bottom: 30%;
    right: 2%;
}

.brain-node.outer-ring:nth-of-type(29) {
    bottom: 15%;
    right: 15%;
}

.brain-node.outer-ring:nth-of-type(30) {
    bottom: 5%;
    right: 30%;
}

.brain-node.outer-ring:nth-of-type(31) {
    bottom: 5%;
    left: 30%;
}

.brain-node.outer-ring:nth-of-type(32) {
    bottom: 15%;
    left: 15%;
}

.brain-node.outer-ring:nth-of-type(33) {
    bottom: 30%;
    left: 2%;
}

.brain-node.outer-ring:nth-of-type(34) {
    bottom: 45%;
    left: 0%;
}

.brain-node.outer-ring:nth-of-type(35) {
    top: 45%;
    left: 0%;
}

.brain-node.outer-ring:nth-of-type(36) {
    top: 30%;
    left: 2%;
}

.brain-node.outer-ring:nth-of-type(37) {
    top: 15%;
    left: 15%;
}

/* Emerging Nodes - Small learning nodes */
.brain-node.emerging {
    width: 4px;
    height: 4px;
    opacity: 0.6;
    animation: emergingPulse 2s ease-in-out infinite;
}

.brain-node.emerging:nth-of-type(38) {
    top: 35%;
    left: 35%;
}

.brain-node.emerging:nth-of-type(39) {
    top: 35%;
    right: 35%;
}

.brain-node.emerging:nth-of-type(40) {
    bottom: 35%;
    left: 35%;
}

.brain-node.emerging:nth-of-type(41) {
    bottom: 35%;
    right: 35%;
}

.brain-node.emerging:nth-of-type(42) {
    top: 60%;
    left: 60%;
}

.brain-node.emerging:nth-of-type(43) {
    top: 60%;
    right: 60%;
}

/* Connection Types */
.brain-connection.hub-primary {
    background: var(--gold);
    height: 2px;
    opacity: 0.9;
    box-shadow: 0 0 8px rgba(218, 175, 55, 0.6);
    animation: hubConnection 3s ease-in-out infinite;
}

.brain-connection.primary-secondary {
    background: linear-gradient(90deg, var(--teal), var(--gold));
    height: 1.5px;
    opacity: 0.7;
    animation: ringConnection 4s ease-in-out infinite;
}

.brain-connection.secondary-outer {
    background: var(--teal);
    height: 1px;
    opacity: 0.5;
    animation: outerConnection 5s ease-in-out infinite;
}

.brain-connection.cross-ring {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    height: 1px;
    opacity: 0.4;
    animation: crossConnection 6s ease-in-out infinite;
}

.brain-connection.emerging-connection {
    background: var(--gray-400);
    height: 0.5px;
    opacity: 0.3;
    animation: emergingConnection 3s ease-in-out infinite;
}

/* Data Flow Particles */
.data-flow-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFlow 8s linear infinite;
    box-shadow: 0 0 6px var(--gold);
}

.data-flow-particle:nth-of-type(1) {
    top: 50%;
    left: 50%;
    animation-delay: 0s;
}

.data-flow-particle:nth-of-type(2) {
    top: 50%;
    left: 50%;
    animation-delay: 1.3s;
}

.data-flow-particle:nth-of-type(3) {
    top: 50%;
    left: 50%;
    animation-delay: 2.6s;
}

.data-flow-particle:nth-of-type(4) {
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

.data-flow-particle:nth-of-type(5) {
    top: 50%;
    left: 50%;
    animation-delay: 5.3s;
}

.data-flow-particle:nth-of-type(6) {
    top: 50%;
    left: 50%;
    animation-delay: 6.6s;
}

/* Enhanced Animations */
@keyframes emergingPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

@keyframes hubConnection {

    0%,
    100% {
        opacity: 0.9;
        box-shadow: 0 0 8px rgba(218, 175, 55, 0.6);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(218, 175, 55, 0.9);
    }
}

@keyframes ringConnection {

    0%,
    100% {
        opacity: 0.7;
        background: linear-gradient(90deg, var(--teal), var(--gold));
    }

    50% {
        opacity: 0.9;
        background: linear-gradient(90deg, var(--gold), var(--teal));
    }
}

@keyframes outerConnection {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes crossConnection {

    0%,
    100% {
        opacity: 0.2;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }

    50% {
        opacity: 0.6;
        background: linear-gradient(90deg, transparent, var(--teal), transparent);
    }
}

@keyframes emergingConnection {

    0%,
    100% {
        opacity: 0.1;
        height: 0.5px;
    }

    50% {
        opacity: 0.5;
        height: 1px;
    }
}

@keyframes particleFlow {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }

    10% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    20% {
        transform: translate(-30%, -80%) scale(1);
    }

    30% {
        transform: translate(20%, -90%) scale(0.8);
    }

    40% {
        transform: translate(80%, -30%) scale(1);
    }

    50% {
        transform: translate(90%, 20%) scale(0.8);
    }

    60% {
        transform: translate(30%, 80%) scale(1);
    }

    70% {
        transform: translate(-20%, 90%) scale(0.8);
    }

    80% {
        transform: translate(-80%, 30%) scale(1);
    }

    90% {
        transform: translate(-90%, -20%) scale(0.8);
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
}

/* Trusted By Section */
.kraken-trusted-by {
    background: var(--white);
    padding: 40px 0;
}

.trusted-text {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trusted-logo {
    height: 32px;
    max-width: 120px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
    object-fit: contain;
}

.trusted-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Features Section */
.kraken-features {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-card.problem {
    border-left: 4px solid var(--danger);
}

.feature-card.solution {
    border-left: 4px solid var(--success);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--gray-900);
}

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

.feature-card li {
    padding: 8px 0;
    color: var(--gray-600);
    position: relative;
    padding-left: 20px;
}

.feature-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: bold;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.feature-card .feature-highlight {
    color: var(--teal);
    font-weight: 600;
    font-style: italic;
    margin: 12px 0 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}

/* Capabilities Section */
.kraken-capabilities {
    padding: 80px 0;
    background: var(--white);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.capability-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--teal);
}

.capability-icon {
    margin-bottom: 20px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.icon-circle.teal {
    background: linear-gradient(135deg, var(--teal) 0%, #3bb89f 100%);
}

.icon-circle.gold {
    background: linear-gradient(135deg, var(--gold) 0%, #e6c547 100%);
}

.capability-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.capability-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

.capability-metrics {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.metric {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Comparison Section */
.kraken-comparison {
    padding-bottom: 80px;
    padding-top: 40px;
    background: var(--light-bg);
    margin-top: 1em;
    margin-bottom: 0px;
}

.comparison-table {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

/* Hide mobile version on desktop */
.comparison-mobile {
    display: none;
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: var(--gray-900);
    color: var(--white);
}

.comparison-header>div {
    padding: 20px;
    font-weight: 600;
    text-align: center;
}

.comparison-header .comparison-feature {
    text-align: left;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row>div {
    padding: 16px 20px;
    display: flex;
    align-items: center;
}

.comparison-feature {
    font-weight: 500;
    color: var(--gray-900);
}

.comparison-competitor,
.comparison-us {
    text-align: center;
    justify-content: center;
    font-weight: 600;
}

.comparison-competitor.bad {
    color: var(--danger);
    background: rgba(220, 53, 69, 0.05);
}

.comparison-us.good {
    color: var(--success);
    background: rgba(40, 167, 69, 0.05);
}

/* CTA Section */
.kraken-cta {
    padding: 80px 0;
    background: var(--white);
    color: var(--gray-900);
    text-align: center;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--gray-600);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-guarantee {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.guarantee-text {
    font-size: 0.875rem;
    color: var(--gray-700);
}

/* Responsive Design */
@media (max-width: 768px) {
    .kraken-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .kraken-hero-title {
        font-size: 2.5rem;
    }

    .kraken-hero-buttons {
        justify-content: center;
    }

    .kraken-hero-stats {
        justify-content: center;
    }

    .hero-graphic {
        width: 300px;
        height: 300px;
    }

    .ai-brain {
        width: 250px;
        height: 250px;
    }

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

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

    /* Hide desktop table on mobile */
    .comparison-table {
        display: none;
    }

    /* Show mobile comparison cards */
    .comparison-mobile {
        display: block;
    }

    .comparison-card {
        background: var(--white);
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        margin-bottom: 20px;
        overflow: hidden;
    }

    .comparison-card-header {
        background: var(--gray-900);
        color: var(--white);
        padding: 16px 20px;
        font-weight: 600;
        font-size: 18px;
    }

    .comparison-card-content {
        padding: 20px;
    }

    .comparison-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-200);
    }

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

    .comparison-label {
        font-weight: 600;
        color: var(--gray-900);
        flex: 1;
    }

    .comparison-value {
        flex: 1;
        text-align: right;
        padding-left: 16px;
    }

    .comparison-value.good {
        color: var(--teal);
        font-weight: 600;
    }

    .comparison-value.bad {
        color: var(--danger);
        font-weight: 500;
    }

    .trusted-logos {
        gap: 20px;
    }

    /* Ethics page mobile fixes */
    .mini-hero-titled-side {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .mini-hero-titled-side .herotext {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .mini-hero-titled-side .hero-sub-text {
        margin-bottom: 1rem !important;
        border-bottom: none !important;
        font-size: 1rem !important;
    }

    /* Reduce gap between hero and content */
    .mini-hero-titled-side+.container {
        margin-top: 0 !important;
        padding-top: 20px !important;
    }
}

/* About Page Styles */
.about-story {
    padding: 60px 0;
    background: var(--white);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.story-lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 32px;
    line-height: 1.6;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 24px;
}

.about-team {
    padding: 80px 0;
    background: var(--gray-50);
}

.about-team h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 32px;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.team-member.founder {
    border-left: 4px solid var(--gold);
}

.member-photo {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.member-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.member-initials {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.member-photo img:not([style*="display: none"])+.member-initials {
    display: none;
}

.member-info {
    flex: 1;
}

.member-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.member-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 16px;
}

.member-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: 20px;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.expertise-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.member-links {
    display: flex;
    gap: 16px;
}

.member-link {
    color: var(--teal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.about-values {
    padding: 80px 0;
    background: var(--white);
}

.about-values h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.value-card p {
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
}

.about-mission {
    padding: 80px 0;
    background: var(--gray-50);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 32px;
}

.mission-statement {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--teal);
    line-height: 1.5;
    margin-bottom: 32px;
    font-style: italic;
}

.mission-content p:not(.mission-statement) {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin: 0;
}

.about-cta {
    padding: 80px 0;
    background: var(--white);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile responsiveness for about page */
@media (max-width: 768px) {

    .story-content h2,
    .about-team h2,
    .about-values h2,
    .mission-content h2,
    .cta-content h2 {
        font-size: 2rem;
    }

    .team-member {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .member-photo {
        align-self: center;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-guarantee {
        flex-direction: column;
        gap: 16px;
    }
}

/* Team Member Pages */
.team-page-header {
    color: #29A78D;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.team-page-with-image {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    align-items: start;
    position: relative;
}

.team-page-content {
    position: relative;
    z-index: 2;
}

.team-page-image {
    position: relative;
    z-index: 1;
    margin-right: -1rem;
}

.team-page-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.team-page-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 2rem;
}

.team-page-section {
    margin-bottom: 2.5rem;
}

.team-page-section h3 {
    color: #29A78D;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.team-achievement {
    border-left: 3px solid #DAAF37;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.team-achievement h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.team-achievement p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

.team-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-contact-item {
    border-left: 3px solid #DAAF37;
    padding-left: 1.5rem;
}

.team-contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.team-contact-item p {
    font-size: 0.95rem;
    margin: 0;
}

.team-contact-item a {
    color: #29A78D;
    text-decoration: none;
    font-weight: 500;
}

.team-contact-item a:hover {
    color: #DAAF37;
}

.team-achievement code {
    background-color: #f3f4f6;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    display: inline-block;
    word-break: break-all;
}

.team-mission-quote {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    font-style: italic;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

/* Mobile responsiveness for team pages */
@media (max-width: 768px) {
    .team-page-header {
        font-size: 2rem;
    }

    .team-page-with-image {
        grid-template-columns: 200px 1fr;
        gap: 1rem;
    }

    .team-page-image {
        margin-right: 0;
    }

    .team-page-image img {
        width: 100%;
    }

    .team-contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .team-achievement {
        padding-left: 1rem;
        margin-bottom: 1rem;
    }
}

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

    .team-page-with-image {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-page-image {
        order: -1;
        max-width: 250px;
        margin: 0 auto;
    }
}

.kraken-hero {
    padding: 60px 0 40px;
}

.kraken-hero-title {
    font-size: 2rem;
}

.section-header h2 {
    font-size: 2rem;
}

.capability-card,
.feature-card {
    padding: 24px;
}

.btn-primary-gold,
.btn-secondary-teal {
    padding: 14px 24px;
    font-size: 14px;
}

.btn-primary-gold.large,
.btn-secondary-teal.large {
    padding: 16px 32px;
    font-size: 16px;
}
}

/* Global Design System Overrides */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Ensure all pages use the modern footer */
footer:not(.kraken-footer) {
    display: none !important;
}

/* Apply brand colors to existing elements */
.button,
.btn {
    background: linear-gradient(135deg, var(--gold) 0%, #e6c547 100%);
    color: var(--dark-bg);
    border: none;
    transition: all 0.3s ease;
}

.button:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(218, 175, 55, 0.4);
}

/* Modern page styling */
.main-wrapper {
    background: var(--white);
}

/* Center content on contact and security pages */
.container-centered {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* General centering for info pages */
.info-field .container {
    max-width: 800px;
    margin: 0 auto;
}

/* Improve styling for info fields on these pages */
.info-field {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin: 20px 0;
}

.info-entry {
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}

.info-entry:last-child {
    border-bottom: none;
}

.info-key {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    display: block;
}

.info-value {
    color: var(--gray-600);
}

.info-value a {
    color: var(--teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-value a:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* Modern Footer Styles */
.kraken-footer {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
    border-top: 1px solid var(--gray-200);
    padding: 60px 0 30px;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    object-fit: contain;
}

.footer-brand p {
    color: var(--gray-600);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
}

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

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--teal);
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-200);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    align-items: baseline;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.footer-legal p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
    align-items: baseline;
    justify-content: center;
}

.footer-legal-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--teal);
    text-decoration: none;
}

.footer-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-cta p {
    color: var(--gray-800);
    font-size: 0.875rem;
    margin: 0;
    font-weight: 600;
}

.btn-footer-cta {
    background: linear-gradient(135deg, var(--gold) 0%, #e6c547 100%);
    color: var(--dark-bg);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(218, 175, 55, 0.3);
}

.btn-footer-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(218, 175, 55, 0.4);
    text-decoration: none;
    color: var(--dark-bg);
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .kraken-footer {
        padding: 40px 0 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 30px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        justify-content: center;
    }

    .footer-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-legal-links {
        flex-direction: column;
        gap: 8px;
    }

    .footer-logo {
        height: 32px;
    }
}