:root {
    --primary-color: #2563eb;
    --text-color: #1f2937;
    --background-color: #f3f4f6;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-key {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 16px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-ai {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #e9d5ff 0%, #7e22ce 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    font-size: 16px;
    padding: 0 4px;
    text-shadow: 0 0 20px rgba(126, 34, 206, 0.5);
}

.logo-ai::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(126, 34, 206, 0.2) 0%, rgba(126, 34, 206, 0.2) 100%);
    filter: blur(8px);
    z-index: -1;
    opacity: 0.5;
    animation: logo-glow 2s ease-in-out infinite alternate;
}

@keyframes logo-glow {
    0% {
        opacity: 0.3;
        filter: blur(8px);
    }
    100% {
        opacity: 0.6;
        filter: blur(12px);
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a855f7, #7e22ce);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

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

.nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    color: white;
    border: 1px solid #e9d5ff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(126, 34, 206, 0.3);
}

.hero {
    width: 100%;
    min-height: 80vh;
    padding-top: 160px;
    padding-left: 20px;
    padding-right: 20px;
    background: #000000;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Add modern rainbow gradient effect */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        #000000 65%
    ), 
    conic-gradient(
        from 0deg,
        #3b82f6cc 0deg,     /* Brighter Blue */
        #06b6d4cc 45deg,    /* Cyan */
        #6366f1cc 90deg,    /* Indigo */
        #8b5cf6cc 135deg,   /* Violet */
        #ec4899cc 180deg,   /* Pink */
        #f97316cc 225deg,   /* Orange */
        #eab308cc 270deg,   /* Yellow */
        #22c55ecc 315deg,   /* Green */
        #3b82f6cc 360deg    /* Back to Blue */
    );
    opacity: 0.9;
    filter: blur(100px);
    mix-blend-mode: screen;
    transform-origin: center;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
    transform: translateZ(0);
}

/* Add rotation animation */
@keyframes gentle-rotate {
    from { transform: rotate(0deg) translateZ(0); }
    to { transform: rotate(360deg) translateZ(0); }
}

/* Update hero content to ensure it's above the background */
.hero-content {
    position: relative;
    z-index: 1;
    padding: 48px;
    max-width: 1200px;
    width: 100%;
    animation: float 8s ease-in-out infinite;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
    transform: translateZ(0);
}
@media (max-width: 768px) {
    .hero-content {
        padding-left: 5px;
        padding-right: 5px;
    }
}


/* Add CTA section */
.hero-cta {
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    width: 90%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.hero-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    outline: none;
    font-family: inherit;
    transition: opacity 0.2s ease-in-out;
}

.hero-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease-in-out;
}

.hero-input:focus::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.hero-button {
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
    flex-shrink: 0;
}

.hero-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.hero-button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
}

/* Add stats section */
.stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 16px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    color: #94a3b8;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Add floating elements animation */
@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.keyboard-buttons {
    animation: float-slow 6s ease-in-out infinite;
}

.hero-cta {
    margin-top: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
}

/* Add responsive design */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding-right: 0;
        padding-left: 0;
    }

    .stats {
        flex-direction: column;
        gap: 24px;
    }

    .slogan {
        font-size: 40px;
    }

    .subtitle {
        font-size: 18px;
    }
}

.keyboard-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    perspective: 1000px;
}

.key {
    background: #f3e8ff;
    color: #7e22ce;
    padding: 20px 32px;
    border-radius: 8px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #e9d5ff;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.2s ease;
    cursor: pointer;
    
    /* Updated mechanical key appearance */
    box-shadow: 
        0 0 0 2px rgba(126, 34, 206, 0.05),
        0 8px 0 0 #e9d5ff,
        0 8px 0 2px rgba(126, 34, 206, 0.1),
        0 8px 8px rgba(126, 34, 206, 0.1);
}

.key::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 4px;
    right: 4px;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(126, 34, 206, 0.05),
        rgba(126, 34, 206, 0.02) 50%,
        transparent);
    border-radius: 4px;
}

.key:hover {
    transform: translateY(2px);
    box-shadow: 
        0 0 0 2px rgba(126, 34, 206, 0.05),
        0 6px 0 0 #e9d5ff,
        0 6px 0 2px rgba(126, 34, 206, 0.1),
        0 6px 6px rgba(126, 34, 206, 0.1);
}

.key:active {
    transform: translateY(8px);
    box-shadow: 
        0 0 0 2px rgba(126, 34, 206, 0.05),
        0 0 0 0 #e9d5ff,
        0 0 0 2px rgba(126, 34, 206, 0.1),
        0 0 4px rgba(126, 34, 206, 0.1);
}

.key.pressed {
    transform: translateY(8px);
    box-shadow: 
        0 0 0 2px rgba(126, 34, 206, 0.05),
        0 0 0 0 #e9d5ff,
        0 0 0 2px rgba(126, 34, 206, 0.1),
        0 0 4px rgba(126, 34, 206, 0.1);
    border-color: #7e22ce;
    animation: neon-pulse 0.5s ease-in-out infinite alternate;
}

@keyframes neon-pulse {
    from {
        box-shadow: 
            0 0 0 2px rgba(126, 34, 206, 0.05),
            0 0 0 0 #e9d5ff,
            0 0 0 2px rgba(126, 34, 206, 0.1),
            0 0 4px rgba(126, 34, 206, 0.1),
            0 0 15px #7e22ce,
            0 0 25px #7e22ce,
            0 0 35px #7e22ce,
            0 0 45px #7e22ce;
        text-shadow: 0 0 15px #7e22ce;
        color: #fff;
    }
    to {
        box-shadow: 
            0 0 0 2px rgba(126, 34, 206, 0.05),
            0 0 0 0 #e9d5ff,
            0 0 0 2px rgba(126, 34, 206, 0.1),
            0 0 4px rgba(126, 34, 206, 0.1),
            0 0 25px #7e22ce,
            0 0 35px #7e22ce,
            0 0 45px #7e22ce,
            0 0 55px #7e22ce;
        text-shadow: 0 0 25px #7e22ce;
        color: #fff;
    }
}

.ai-text {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    padding: 12px 0;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.slogan {
    color: white;
    font-size: 56px;
    font-weight: 800;
    margin: 0 0 32px 0;
    letter-spacing: -1px;
    line-height: 1.2;
}

.highlight-ai {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #e9d5ff 0%, #7e22ce 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 0 8px;
    text-shadow: 0 0 30px rgba(126, 34, 206, 0.5);
}

.highlight-ai::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(126, 34, 206, 0.2) 0%, rgba(126, 34, 206, 0.2) 100%);
    filter: blur(20px);
    z-index: -1;
    opacity: 0.5;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        opacity: 0.3;
        filter: blur(20px);
    }
    100% {
        opacity: 0.6;
        filter: blur(25px);
    }
}

.subtitle {
    color: #e2e8f0;
    font-size: 22px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
    opacity: 1;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 20px rgba(243, 232, 255, 0.05);
}

/* Add a subtle floating animation to the entire hero content */
@keyframes float {
    0%, 100% { transform: translateY(0) translateZ(0); }
    50% { transform: translateY(-10px) translateZ(0); }
}

.hero-content {
    animation: float 8s ease-in-out infinite;
}

body {
    margin: 0;
    min-height: 100vh;
    display: block;
    background: #000000;
    font-family: 'Arial', sans-serif;
}

.container {
    width: 1200px;
    height: 500px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 50px auto;
}

.prompt-box, .response-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    color: white;
    width: 200px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flow-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 700px;
}

@media (max-width: 768px) {
    .flow-container {
        flex-direction: column;
    }
    .multi-flow {
       height: 750px;
    }
    .rainbow-flow {
        height: 750px;
    }
    .interactive-flow {
        height: 750px;
    }
}

.prism {
    width: 60px;
    height: 60px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 10s infinite linear;
}

.prism-face {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 60px solid rgba(255, 255, 255, 0.2);
    transform-origin: 50% 50%;
}

.prism-face:nth-child(1) { transform: rotateY(0deg); }
.prism-face:nth-child(2) { transform: rotateY(120deg); }
.prism-face:nth-child(3) { transform: rotateY(240deg); }

.ai-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.ai-category h4 {
    color: #8b9fbd;
    margin: 0 0 10px 0;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ai-models {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 300px;
}

.ai-models::-webkit-scrollbar,
.ai-models::-webkit-scrollbar-track,
.ai-models::-webkit-scrollbar-thumb {
    display: none;
}

.ai-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.ai-option:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.ai-option.selected {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.ai-option img {
    width: 24px;
    height: 24px;
}

.flow-path {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

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

h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

p {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.8;
}

#curve {
    stroke-width: 3;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.prompt-box p, .response-box p {
    transition: opacity 0.3s ease-in-out;
}

.multi-step {
    margin-top: 20px;
}

.ai-models.multi-step {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
}

.step-label {
    color: #8b9fbd;
    font-size: 0.9em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intermediate-result {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    color: #a3b8d9;
    font-size: 0.9em;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.intermediate-result p {
    margin: 0;
    opacity: 0.8;
}

#curve2 {
    stroke-width: 3;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* Add responsive menu */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(8px);
        padding: 80px 24px 24px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-content::after {
        content: '☰';
        color: #60a5fa;
        font-size: 24px;
        cursor: pointer;
        z-index: 1000;
        position: relative;
    }

    .nav-content.menu-active::after {
        content: '×';
    }
}

/* Add styles for the flow container in hero */
.hero-flow {
    margin: 60px auto;
    padding: 40px;
}
@media (max-width: 768px) {
    .hero-flow {
        zoom: 0.6;
    }
}

/* Update flow container for hero placement */
.flow-container.hero-flow {
    width: 100%;
    max-width: 700px;
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0;
    flex-direction: row;
}

/* Update AI models section for hero */
.hero-flow .ai-models {
    width: 160px;
    padding: 12px;
}

/* Update prompt and response boxes for hero */
.hero-flow .prompt-box,
.hero-flow .response-box {
    width: 140px;
    padding: 16px;
}

/* Update AI options for hero */
.hero-flow .ai-option {
    padding: 8px 10px;
    margin-bottom: 6px;
}

.hero-flow .ai-option img {
    width: 20px;
    height: 20px;
}

/* Update prism size in hero flow */
.hero-flow .prism {
    width: 40px;
    height: 40px;
}

.hero-flow .prism-face {
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 40px solid rgba(255, 255, 255, 0.2);
}

/* Update text sizes in hero flow */
.hero-flow h3 {
    font-size: 1em;
    margin-bottom: 8px;
}

.hero-flow p {
    font-size: 0.8em;
}

.hero-flow .ai-option span {
    font-size: 0.9em;
}

.hero-flow-path {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

#hero-curve {
    stroke-width: 3;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
}

.nav-logo-icon {
    width: 24px;
    height: 24px;
    margin-right: 4px;
    animation: gentle-float 3s ease-in-out infinite;
}

@keyframes gentle-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-2px) rotate(2deg);
    }
}

/* Update nav-logo to accommodate the icon */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Add new classes for small prism */
.prism-small {
    width: 24px;
    height: 24px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 10s infinite linear;
}

.prism-small .prism-face {
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 24px solid rgba(255, 255, 255, 0.2);
    transform-origin: 50% 50%;
}

/* Update the navbar HTML to use the new class */

.rainbow-section {
    position: relative;
    width: 100%;
    min-height: 800px;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    padding: 100px 0;
}

.rainbow-section::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    background: conic-gradient(
        from 0deg,
        #3b82f6 0deg,     /* Blue */
        #06b6d4 40deg,    /* Cyan */
        #6366f1 80deg,    /* Indigo */
        #8b5cf6 130deg,   /* Violet */
        #ec4899 190deg,   /* Pink */
        #f97316 240deg,   /* Orange */
        #eab308 280deg,   /* Yellow */
        #22c55e 320deg,   /* Green */
        #3b82f6 360deg    /* Back to Blue */
    );
    z-index: 0;
    opacity: 0.8;
    filter: blur(120px);
    mask-image: radial-gradient(circle at center, black 0%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 85%);
    transform: translateZ(0);
}

.rainbow-section-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rainbow-section .flow-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 20px;
    padding: 40px 0;
}

.rainbow-section .prompt-box,
.rainbow-section .response-box {
    width: 200px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.rainbow-section .ai-models {
    width: 250px;
    padding: 20px;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.rainbow-section .prism {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 10s infinite linear;
}

.rainbow-section .prism-face {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 60px solid rgba(255, 255, 255, 0.2);
    transform-origin: 50% 50%;
}

.rainbow-section .prism-face:nth-child(1) { transform: rotateY(0deg); }
.rainbow-section .prism-face:nth-child(2) { transform: rotateY(120deg); }
.rainbow-section .prism-face:nth-child(3) { transform: rotateY(240deg); }

.rainbow-section .flow-path {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.rainbow-section .ai-option {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.rainbow-section .ai-option:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.rainbow-section .ai-option.selected {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

@keyframes pulse-size {
    0% {
        transform: scale(0.95) rotate(-2deg);
        border-radius: 60% 40% 50% 45%;
    }
    50% {
        transform: scale(1.05) rotate(1deg);
        border-radius: 45% 55% 40% 50%;
    }
    100% {
        transform: scale(0.98) rotate(3deg);
        border-radius: 50% 45% 60% 40%;
    }
}

@keyframes gentle-rotate {
    0% { 
        transform: rotate(-3deg); 
        border-radius: 60% 40% 50% 45%;
    }
    50% {
        border-radius: 45% 55% 40% 50%;
    }
    100% { 
        transform: rotate(3deg); 
        border-radius: 50% 45% 60% 40%;
    }
}

.rainbow-flow-path {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10;
}
@media (max-width: 768px) {
    .rainbow-flow-path {
       visibility: hidden;
    }
}

#rainbow-curve {
    stroke-width: 3;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
    stroke-linecap: round;
    stroke-linejoin: round;
}

.section-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 0 20px;
    animation: fade-in-up 1s ease-out forwards;
}

.section-text h2 {
    font-size: 52px;
    font-weight: 800;
    margin: 0 0 32px;
    background: linear-gradient(135deg, #fff 20%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
    line-height: 1.2;
    position: relative;
}

.section-text h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.section-text p {
    font-size: 20px;
    line-height: 1.7;
    margin: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rainbow-section .ai-models.multi-step {
    width: 300px;
    padding: 24px;
    gap: 20px;
}

.rainbow-section .step-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rainbow-section .step-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rainbow-section .intermediate-result {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    margin: 12px 0;
}

.rainbow-section .intermediate-result p {
    margin: 0;
    opacity: 0.9;
    font-style: italic;
}

#multi-curve {
    stroke-width: 3;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
    stroke-linecap: round;
    stroke-linejoin: round;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    width: 100%;
    max-width: 1000px;
}

.agent-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.agent-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.agent-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.agent-output {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 0.5rem;
    width: 100%;
    text-align: center;
}

.agent-output p {
    margin: 0;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.agents-flow-path {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

#agents-flow .ai-option {
    opacity: 0.5;
    transition: all 0.3s ease;
}

#agents-flow .ai-option.selected {
    opacity: 1;
    transform: scale(1.1);
}

#agents-flow .agent-column.active {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.new-label {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
    animation: pulse 2s infinite;
    display: inline-block;
    margin: 0 auto 20px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 20px rgba(244, 63, 94, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
    }
}

.interactive-demo {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    width: 600px;
}

.demo-window {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.window-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #28c940; }

.window-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-left: 8px;
}

.window-content {
    padding: 20px;
}

.calculator {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-display {
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 8px;
    text-align: right;
    font-size: 24px;
    font-family: monospace;
    color: white;
}

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

.calc-buttons button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 12px;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-buttons button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.interactive-flow-path {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 768px) {
    .interactive-flow {
        zoom: 0.7;
    }
}

#interactive-curve-1,
#interactive-curve-2 {
    stroke-width: 3;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
    stroke-linecap: round;
    stroke-linejoin: round;
}

.highlight-ai-compact {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #e9d5ff 0%, #7e22ce 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 0;
    margin: 0 -1px;
    text-shadow: 0 0 30px rgba(126, 34, 206, 0.5);
}

.highlight-ai-compact::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(126, 34, 206, 0.2) 0%, rgba(126, 34, 206, 0.2) 100%);
    filter: blur(20px);
    z-index: -1;
    opacity: 0.5;
    animation: glow 2s ease-in-out infinite alternate;
}

.demo-item {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.demo-item.active {
    display: block;
    opacity: 1;
}

@keyframes piece-appear {
    from {
        display: none;
    }
    to {
        display: none;
    }
}

@keyframes piece-move {
    from {
        display: none;
    }
    to {
        display: none;
    }
}

@keyframes piece-land {
    from {
        display: none;
    }
    to {
        display: none;
    }
}

/* Kanban Demo */
.kanban-columns {
    display: flex;
    gap: 16px;
    padding: 8px;
}

.kanban-column {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    min-width: 150px;
}

.column-header {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.kanban-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    cursor: grab;
    transition: all 0.3s ease;
    user-select: none;
    border: 2px solid transparent;
}

.kanban-card:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.kanban-card.dragging {
    cursor: grabbing;
    opacity: 0.5;
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.kanban-column {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    min-width: 150px;
    transition: background-color 0.3s ease;
}

.kanban-column:hover {
    background: rgba(255, 255, 255, 0.15);
}

.kanban-card.active {
    background: rgba(59, 130, 246, 0.3);
    border-left: 3px solid #3b82f6;
}

/* Crypto Demo */
.crypto-demo {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.crypto-demo .price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.crypto-demo .crypto-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

.crypto-demo .crypto-label img {
    width: 24px;
    height: 24px;
}

.crypto-demo .crypto-price {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: color 0.3s ease, transform 0.3s ease;
}

.crypto-demo .stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 8px;
}

.crypto-demo .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.crypto-demo .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.crypto-demo .stat .positive {
    color: #22c55e;
    font-weight: 600;
    font-size: 1.1rem;
}

.crypto-demo .stat .negative {
    color: #ef4444;
    font-weight: 600;
    font-size: 1.1rem;
}

.crypto-demo .price-graph {
    width: 100%;
    height: 80px;
    margin-top: 20px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px;
}

.crypto-demo .price-graph path {
    stroke: url(#price-gradient);
    stroke-width: 2;
    fill: none;
    filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.5));
}

/* Price gradient definition */
#price-gradient stop:first-child {
    stop-color: #60a5fa;
}

#price-gradient stop:last-child {
    stop-color: #3b82f6;
}

/* News Demo */
.news-demo {
    padding: 16px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.news-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.news-category {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.news-category.tech {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.news-category.finance {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.news-category.science {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
}

.news-headline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    flex: 1;
}

@keyframes slide-up {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.demo-item.active {
    animation: slide-up 0.5s ease-out forwards;
}

/* Chess Demo */
.chess-demo {
    padding: 16px;
    width: 100%;
}

#chess-board {
    width: 300px;
    height: 300px;
    max-width: 600px;
    margin: 0 auto;
}

/* Override chessboard.js styles for our theme */
.chess-demo .white-1e1d7 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.chess-demo .black-3c85d {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.6), rgba(147, 197, 253, 0.4));
    box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.2);
}

.hidden {
    display: none !important;
}

.about-hero {
    width: 100%;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        #000000 65%
    ), 
    conic-gradient(
        from 0deg,
        #3b82f6cc 0deg,
        #06b6d4cc 45deg,
        #6366f1cc 90deg,
        #8b5cf6cc 135deg,
        #ec4899cc 180deg,
        #f97316cc 225deg,
        #eab308cc 270deg,
        #22c55ecc 315deg,
        #3b82f6cc 360deg
    );
    animation: gentle-rotate 30s linear infinite;
    z-index: 0;
    opacity: 0.9;
    filter: blur(100px);
    mix-blend-mode: screen;
    transform-origin: center;
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    color: white;
}

.about-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mission-text {
    font-size: 24px;
    line-height: 1.6;
    color: #e2e8f0;
    max-width: 800px;
    margin-bottom: 64px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.about-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-card p {
    color: #e2e8f0;
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
    text-align: center;
}

.stat-item {
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    color: #94a3b8;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-section {
    text-align: center;
    margin-top: 80px;
}

.team-section h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.team-intro {
    font-size: 20px;
    color: #e2e8f0;
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.team-member {
    text-align: center;
}

.member-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    border-radius: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: white;
}

.team-member h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.team-member p {
    color: #94a3b8;
    font-size: 16px;
}

.comparison-table {
    margin: 80px 0;
    width: 100%;
}

.comparison-table h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.table-subtitle {
    text-align: center;
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 24px;
    font-style: italic;
}

.comparison-table .table-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    color: #e2e8f0;
}

.comparison-table th {
    text-align: left;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.comparison-table td {
    padding: 16px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .more-models td {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table .more-models:hover td {
    background: rgba(255, 255, 255, 0.04);
}

.comparison-table tbody tr {
    transition: background-color 0.3s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.business-value {
    margin: 120px 0;
    width: 100%;
    position: relative;
}

.business-value::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(168, 85, 247, 0.5), transparent);
}

.business-value h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    position: relative;
}

.business-value h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #7e22ce);
    border-radius: 2px;
}

.value-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    padding: 0 20px;
}

.value-point {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #7e22ce);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-point:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.value-point:hover::before {
    opacity: 1;
}

.value-point h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.value-point p {
    color: #e2e8f0;
    line-height: 1.8;
    font-size: 17px;
    margin: 0;
}

@media (max-width: 768px) {
    .business-value {
        margin: 80px 0;
    }
    
    .business-value h2 {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .value-points {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .value-point {
        padding: 30px;
    }
    
    .value-point h3 {
        font-size: 24px;
    }
    
    .value-point p {
        font-size: 16px;
    }
}

.competition-table {
    margin: 80px 0;
    width: 100%;
}

.competition-table h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.competition-table .table-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    overflow-x: auto;
}

.competition-table table {
    width: 100%;
    border-collapse: collapse;
    color: #e2e8f0;
}

.competition-table th {
    text-align: left;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.competition-table td {
    padding: 16px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.5;
}

.competition-table tr td:first-child {
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.competition-table tr td:nth-child(2) {
    color: #ffffff;
    background: rgba(168, 85, 247, 0.2);
    font-weight: 500;
    border-left: 2px solid rgba(168, 85, 247, 0.5);
    border-right: 2px solid rgba(168, 85, 247, 0.5);
}

.competition-table tr:first-child td:nth-child(2) {
    border-top: 2px solid rgba(168, 85, 247, 0.5);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.competition-table tr:last-child td:nth-child(2) {
    border-bottom: 2px solid rgba(168, 85, 247, 0.5);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.competition-table tr:last-child td {
    border-bottom: none;
}

.competition-table tbody tr {
    transition: background-color 0.3s ease;
}

.competition-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .competition-table {
        margin: 40px 0;
    }
    
    .competition-table .table-wrapper {
        padding: 16px;
    }
    
    .competition-table th,
    .competition-table td {
        padding: 12px;
        font-size: 14px;
    }
}

.api-hero {
    width: 100%;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.api-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        #000000 65%
    ), 
    conic-gradient(
        from 0deg,
        #3b82f6cc 0deg,
        #06b6d4cc 45deg,
        #6366f1cc 90deg,
        #8b5cf6cc 135deg,
        #ec4899cc 180deg,
        #f97316cc 225deg,
        #eab308cc 270deg,
        #22c55ecc 315deg,
        #3b82f6cc 360deg
    );
    animation: gentle-rotate 30s linear infinite;
    z-index: 0;
    opacity: 0.9;
    filter: blur(100px);
    mix-blend-mode: screen;
    transform-origin: center;
}

.api-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    color: white;
}

.api-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.api-subtitle {
    font-size: 24px;
    line-height: 1.6;
    color: #e2e8f0;
    max-width: 800px;
    margin: 0 auto 64px;
    text-align: center;
}

.api-demo {
    max-width: 800px;
    margin: 0 auto 80px;
}

.code-window {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.window-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #28c940; }

.window-title {
    color: #94a3b8;
    font-size: 14px;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.window-content {
    padding: 24px;
}

.window-content pre {
    margin: 0;
    white-space: pre-wrap;
}

.window-content code {
    color: #e2e8f0;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.api-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.feature-card p {
    color: #e2e8f0;
    line-height: 1.6;
    font-size: 16px;
}

.api-pricing {
    margin: 80px 0;
}

.api-pricing h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.pricing-table {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    overflow-x: auto;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    color: #e2e8f0;
}

.pricing-table th {
    text-align: left;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.pricing-table td {
    padding: 16px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr {
    transition: background-color 0.3s ease;
}

.pricing-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.api-modes {
    margin: 80px 0;
}

.api-modes h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

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

.mode-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mode-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.mode-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.mode-description {
    color: #e2e8f0;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 24px;
}

.mode-code {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px;
    border-radius: 8px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 14px;
    color: #60a5fa;
}

.api-cta {
    text-align: center;
    margin: 80px 0;
    padding: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.api-cta h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.api-cta p {
    color: #e2e8f0;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4);
}

.docs-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    display: inline-block;
    margin-left: 24px;
}

.docs-link:hover {
    color: white;
}

/* Pricing Section Styles */
.pricing-cards {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    margin-top: 40px;
    padding: 0 20px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    width: 400px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .pricing-card {
        padding: 20px;
    }
}

.pricing-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    background: rgba(168, 85, 247, 0.2);
    border: 2px solid rgba(168, 85, 247, 0.3);
}

.pricing-card.featured:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.4);
}

.early-access-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price {
    margin-bottom: 32px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price .amount {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price .period {
    color: #94a3b8;
    font-size: 20px;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.features li {
    color: #e2e8f0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    display: flex;
    align-items: center;
}

.features li::before {
    content: '✓';
    margin-right: 12px;
    color: #22c55e;
    font-weight: bold;
}

.pricing-cta {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-card.featured .pricing-cta {
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    color: white;
    border: none;
}

.pricing-card.featured .pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.pricing-cta.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.pricing-cta.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 400px;
    }
}

.pricing-card.individual {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.05);
}

.pricing-card.individual:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.07);
}

.pricing-card.individual h3 {
    color: #94a3b8;
    background: none;
}

.individual-features li {
    color: #94a3b8;
    opacity: 0.7;
}

.individual-features li.negative {
    padding-left: 28px;
    position: relative;
}

.individual-features li.negative::before {
    content: '×';
    color: #ef4444;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.pricing-card.individual .price .amount {
    color: #94a3b8;
    background: none;
}

.pricing-card.individual .price .period {
    color: #64748b;
}

.pricing-card.individual .pricing-cta.secondary {
    border-color: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    cursor: not-allowed;
}

.pricing-card.individual .pricing-cta.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: none;
}

/* Cost Example Styling */
.cost-example, .cost-optimization-example {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cost-example h2, .cost-optimization-example h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.example-card, .example-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.example-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.example-header i {
    font-size: 1.5rem;
    color: #21b8cd;
}

.example-header h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
}

.example-prompt {
    background: rgba(33, 184, 205, 0.1);
    border-left: 4px solid #21b8cd;
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.5rem;
}

.prompt-label {
    color: #21b8cd;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.prompt-text {
    color: #fff;
    font-family: monospace;
    font-size: 1.1rem;
    margin: 0;
}

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

.model-response {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
}

.model-response h4 {
    color: #fff;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.response-text {
    color: #ddd;
    font-family: monospace;
    margin: 0 0 1rem 0;
}

.cost {
    color: #21b8cd;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
}

.example-insight {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

/* API Cost Example Specific Styles */
.code-windows {
    margin: 1.5rem 0;
}

.code-window {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.window-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
}

.window-dots {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.window-title {
    color: #fff;
    font-size: 0.9rem;
}

.window-content {
    padding: 1.5rem;
}

.window-content pre {
    margin: 0;
}

.window-content code {
    color: #ddd;
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.optimization-insight {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.6;
    margin: 1.5rem 0 0 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

/* Highlight cost differences */
.model-response:nth-child(2) .cost {
    color: #22c55e;
}

.model-response:first-child .cost {
    color: #ef4444;
}

.keyboard-buttons-fixed {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 16px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    perspective: 1000px;
}

.keyboard-buttons-fixed.visible {
    opacity: 1;
    visibility: visible;
}

/* Add backdrop blur and background */
.keyboard-buttons-fixed::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    z-index: -1;
}

/* AI Battles Section */
.battle-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    position: relative;
}

.battle-arena {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .battle-flow {
        padding: 1rem;
    }

    .battle-arena {
        flex-direction: column;
        gap: 3rem;
    }

    .battle-vs {
        transform: rotate(90deg);
        margin: -1rem 0;
    }

    .battle-contestant {
        width: 70%;
    }

    .battle-flow-path {
        display: none; /* Hide flow path on mobile */
    }

    .battle-response {
        min-height: 120px; /* Slightly reduce height on mobile */
    }

    .vote-button {
        width: 100%; /* Full width buttons on mobile */
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .battle-flow {
        padding: 0.5rem;
    }

    .battle-contestant {
        padding: 1rem;
    }

    .battle-response {
        min-height: 100px;
    }

    .battle-vs {
        font-size: 1.5rem;
        margin: -0.5rem 0;
    }
}

.battle-contestant {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.battle-contestant:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .battle-contestant:hover {
        transform: translateY(-2px); /* Reduce hover effect on mobile */
    }
}

.battle-vs {
    font-size: 2rem;
    font-weight: bold;
    color: #93c5fd;
    text-shadow: 0 0 10px rgba(147, 197, 253, 0.5);
    animation: pulse 2s infinite;
}

.battle-response {
    width: 100%;
    min-height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
}

.vote-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    background: linear-gradient(45deg, #3b82f6, #06b6d4);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vote-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

@media (max-width: 768px) {
    .vote-button:hover {
        transform: scale(1.02); /* Reduce hover effect on mobile */
    }
}

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

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: inline;
    }
}