/*
 * Cyaxios Design System V2
 * Navy/Cyan color palette with parallax scrolling
 * Last Updated: 2025-01-08
 *
 * Complete styles extracted from emoji-replacement-samples-v2.html
 */

/* ============================================
   COLOR VARIABLES & BASE STYLES
   ============================================ */
:root {
    --navy: #0A1F44;
    --cyan: #00D4FF;
    --black: #000000;
    --white: #ffffff;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    background: linear-gradient(180deg,
        rgba(240, 248, 255, 1) 0%,
        rgba(255, 255, 255, 1) 50%,
        rgba(240, 248, 255, 1) 100%);
    color: var(--black);
}

/* ============================================
   SECTION HEADERS
   ============================================ */

/* Standard section header wrapper */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
    font-size: 1.125rem;
}

/* ============================================
   PARALLAX CONTAINER & LAYERS
   ============================================ */

/* Fixed background container */
.parallax-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

/* Parallax Layer 1 - Slowest (5% speed) - Cyan */
.parallax-layer-1 {
    position: absolute;
    top: -100%;              /* ΓåÉ STARTING POSITION (how far up it starts) */
    left: 0;
    width: 100%;
    height: 50%;            /* ΓåÉ HEIGHT OF LAYER (how tall the background is) */
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(0, 212, 255, 0.25) 0%, rgba(0, 0, 0, 0.12) 30%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 20% 30%, rgba(0, 212, 255, 0.2) 0%, rgba(0, 0, 0, 0.08) 25%, transparent 55%),
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(0, 212, 255, 0.25) 0%, rgba(0, 0, 0, 0.12) 30%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 20% 70%, rgba(0, 212, 255, 0.2) 0%, rgba(0, 0, 0, 0.08) 25%, transparent 55%),
        radial-gradient(ellipse 80% 60% at 20% 90%, rgba(221, 226, 226, 0.25) 0%, rgba(0, 0, 0, 0.12) 30%, transparent 60%);
        /* Γåæ CYAN COLOR: rgba(0, 212, 255, OPACITY) - change first 3 numbers for different color */
    will-change: transform;
    animation: backgroundPulse 20s ease-in-out infinite;
}

/* Parallax Layer 2 - Medium (15% speed) - Navy */
.parallax-layer-2 {
    position: absolute;
    top: -100%;              /* ΓåÉ STARTING POSITION */
    left: 15%;
    width: 1000%;
    height: 1000%;            /* ΓåÉ HEIGHT OF LAYER */
    background:
        radial-gradient(ellipse 80% 60% at 80% 15%, rgba(151, 155, 164, 0.3) 0%, rgba(10, 31, 68, 0.15) 30%, transparent 80%),
        radial-gradient(ellipse 70% 50% at 80% 35%, rgba(161, 168, 244, 0.25) 0%, rgba(10, 31, 68, 0.12) 25%, transparent 55%),
        radial-gradient(ellipse 80% 60% at 80% 55%, rgba(39, 54, 70, 0.3) 0%, rgba(10, 31, 68, 0.15) 30%, transparent 80%),
        radial-gradient(ellipse 70% 50% at 80% 75%, rgba(10, 31, 68, 0.25) 0%, rgba(10, 31, 68, 0.12) 25%, transparent 85%),
        radial-gradient(ellipse 80% 60% at 80% 95%, rgba(10, 31, 68, 0.3) 0%, rgba(10, 31, 68, 0.15) 30%, transparent 80%);
        /* Γåæ NAVY COLOR: rgba(10, 31, 68, OPACITY) - change first 3 numbers for different color */
    will-change: transform;
}

/* Parallax Layer 3 - Faster (25% speed) - Mixed */
.parallax-layer-3 {
    position: absolute;
    top: -100%;              /* ΓåÉ STARTING POSITION */
    left: 0;
    width: 60%;
    height: 1000%;            /* ΓåÉ HEIGHT OF LAYER */
    background:
        radial-gradient(ellipse 60% 45% at 50% 12%, rgba(0, 212, 255, 0.15) 0%, rgba(0, 212, 255, 0.06) 25%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 10% 22%, rgba(255, 255, 255) 0%, rgba(223, 219, 219, 0.08) 20%, transparent 5%),
        radial-gradient(ellipse 60% 45% at 50% 38%, rgba(0, 212, 255) 0%, rgba(0, 212, 255, 0.06) 25%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 10% 48%, rgba(10, 31, 68) 0%, rgba(10, 31, 68, 0.08) 20%, transparent 85%),
        radial-gradient(ellipse 60% 45% at 50% 62%, rgba(0, 212, 255) 0%, rgba(0, 212, 255, 0.06) 25%, transparent 80%),
        radial-gradient(ellipse 50% 40% at 10% 72%, rgba(10, 31, 68) 0%, rgba(10, 31, 68, 0.08) 20%, transparent 65%),
        radial-gradient(ellipse 60% 45% at 50% 88%, rgba(0, 212, 255) 0%, rgba(0, 212, 255, 0.06) 25%, transparent 90%);
        /* Γåæ MIXED COLORS - alternating cyan and navy */
    will-change: transform;
}

/* Background pulse animation */
@keyframes backgroundPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Fade-in and slide-up animation for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Initial state - hidden before animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* Visible state - triggered by JavaScript */
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

/* Header - always sticky at top */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0 !important;
}

header .logo img {
    flex-shrink: 0;
    min-width: 0;
    height: 60px !important;

    }
}
.logo img::before, .logo img::after {
    max-width: none ;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

header nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

header .nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

header .nav-links a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.0625rem;
    letter-spacing: -0.01em;
    transition: all 0.2s ease;
    position: relative;
}

header .nav-links a:not(.cta-button):hover {
    color: var(--cyan);
}

header .nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width 0.3s ease;
}

header .nav-links a:not(.cta-button):hover::after {
    width: 100%;
}

header .cta-button {
    background: linear-gradient(135deg, var(--navy) 0%, rgba(10, 31, 68, 0.95) 100%);
    color: var(--white) !important;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

header .cta-button:hover {
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.95) 0%, var(--cyan) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

header .cta-button::after {
    display: none;
}

/* Mobile menu button - navy color */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--navy);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1001;
}

/* Mobile Menu Dropdown */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    display: block;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-menu ul li a {
    display: block;
    padding: 1rem 2rem;
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.0625rem;
    transition: all 0.2s ease;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li a:active {
    background: rgba(0, 212, 255, 0.05);
    color: var(--cyan);
}

.mobile-menu ul li a.mobile-cta {
    background: linear-gradient(135deg, var(--navy) 0%, rgba(10, 31, 68, 0.95) 100%);
    color: var(--white);
    margin: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.mobile-menu ul li a.mobile-cta:hover {
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.95) 0%, var(--cyan) 100%);
}

/* Hamburger animation when menu is open */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   PARALLAX SECTIONS
   ============================================ */

.parallax-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    background: transparent;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: transparent;
}

.parallax-content {
    position: relative;
    z-index: 1;
}

/* ============================================
   DIAGONAL DIVIDERS
   ============================================ */

.diagonal-divider {
    position: absolute;
    left: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.diagonal-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(10, 31, 68, 0.10) 0%, 
        rgba(0, 212, 255, 0.14) 100%);
    transform: skewY(-3deg);
    transform-origin: top left;
    box-shadow: 
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        inset 0 -2px 0 rgba(0, 0, 0, 0.05);
}

.diagonal-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, 
            transparent, 
            transparent 30px, 
            rgba(0, 212, 255, 0.05) 30px, 
            rgba(0, 212, 255, 0.05) 60px);
    transform: skewY(-3deg);
    transform-origin: top left;
}

/* ============================================
   HERO SECTION
   ============================================ */

/* Hero section - with background image */
.hero {
    --overlay-opacity: 0.3;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.85) 0%,
            rgba(240, 248, 255, 0.80) 100%),
        url('../img/cybg.jpeg') center center / cover no-repeat fixed;
    margin-top: 80px;
    transition: filter 0.3s ease;
}

/* Hero background image overlay - changes on scroll */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, var(--overlay-opacity));
    transition: background 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

/* Floating gradient accent */
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, -50px) scale(1.1); }
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--navy);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.5rem;
    color: var(--black);
    opacity: 0.8;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: inline-flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    color: var(--black);
}

h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.1;
}

h2 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--black);
}

/* ============================================
   FEATURE CARDS
   ============================================ */

/* Feature grid layout */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

/* Feature cards with depth and animations */
.feature-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
}

/* Top gradient line - appears on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--cyan) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 24px 24px 0 0;
}

/* Bottom gradient line - expands on hover */
.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan) 0%, var(--navy) 100%);
    transition: width 0.5s ease;
    border-radius: 0 0 24px 24px;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 12px 40px rgba(0, 212, 255, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    width: 100%;
}

/* Feature icon with gradient and shadow */
.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--navy) 0%, rgba(10, 31, 68, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    box-shadow:
        0 8px 24px rgba(0, 212, 255, 0.25),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 12px 32px rgba(0, 212, 255, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.feature-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.feature-card p {
    font-size: 1.0625rem;
    color: var(--black);
    opacity: 0.8;
    line-height: 1.8;
}

/* Feature card with no hover animation */
.feature-card-no-grow:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.feature-card-no-grow:hover::before,
.feature-card-no-grow:hover::after {
    opacity: 0;
    width: 0;
}

.feature-card-no-grow:hover .feature-icon {
    transform: none;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    background: linear-gradient(135deg, var(--navy) 0%, rgba(10, 31, 68, 0.98) 100%);
    color: var(--white);
    padding: 1.25rem 3rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 16px rgba(0, 212, 255, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 24px rgba(0, 212, 255, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    padding: 1.25rem 3rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: var(--cyan);
    transform: translateY(-3px);
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--black);
    opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: linear-gradient(135deg,
        rgba(10, 31, 68, 0.98) 0%,
        rgba(0, 0, 0, 1) 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 1rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--cyan) 50%,
        transparent 100%);
}

footer p, footer a {
    color: rgba(255, 255, 255, 0.8);
}

footer a:hover {
    color: var(--cyan);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    /* Hide desktop nav, show mobile menu */
    header .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }



    /* Hero adjustments */
    .hero {
        min-height: 70vh;
        margin-top: 70px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Typography */
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Sections */
    .parallax-section {
        padding: 4rem 0;
    }

    /* Feature cards */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    /* Diagonal dividers */
    .diagonal-divider {
        height: 150px;
    }

    /* Progress flow - mobile adjustments */
    .progress-steps {
        flex-direction: column !important;
        align-items: center !important;
        gap: 2rem;
    }

    .progress-step {
        max-width: 300px;
    }

    /* Make timeline responsive on mobile */
    .timeline {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: center !important;
    }

    .timeline span[style*="font-size: 1.3rem"] {
        transform: rotate(90deg);
        font-size: 1.5rem !important;
    }

    /* Workshops page - Retreat Callout */
    .retreat-callout-grid {
        grid-template-columns: 1fr !important;
    }
    .retreat-callout-image {
        min-height: 200px !important;
    }
    .retreat-callout-content {
        padding: 2rem 1.5rem !important;
    }

    /* About page - Remove column separators on mobile */
    div[style*="border-right: 1px solid rgba(0, 212, 255, 0.2)"] {
        border-right: none !important;
    }

    /* Models page - Mobile adjustments */
    .playground-panel {
        width: 100%;
        right: -100%;
    }

    .solution-header {
        flex-direction: column;
        gap: 1rem;
    }

    .solution-actions {
        flex-direction: column;
    }

    .action-button {
        text-align: center;
        justify-content: center;
    }

    .ai-approaches-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   MODELS PAGE - SOLUTION CARDS
   ============================================ */

.solution-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 212, 255, 0.1);
}

.solution-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.solution-title {
    flex: 1;
}

.solution-title h3 {
    color: #000000;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.solution-meta {
    color: #000000;
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.solution-badge {
    background: linear-gradient(135deg, #0A1F44 0%, #00D4FF 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.solution-description {
    color: #000000;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.solution-features {
    margin-bottom: 1.5rem;
}

.solution-features h4 {
    color: #000000;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-item {
    color: #000000;
    opacity: 0.8;
    font-size: 0.9rem;
    padding: 0.3rem 0;
}

.solution-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-button {
    background: linear-gradient(135deg, #0A1F44 0%, #00D4FF 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.action-button.secondary {
    background: transparent;
    border: 2px solid #00D4FF;
    color: #00D4FF;
}

.action-button.secondary:hover {
    background: linear-gradient(135deg, #0A1F44 0%, #00D4FF 100%);
    color: white;
}

.action-button.disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.action-button.disabled:hover {
    transform: none;
    box-shadow: none;
}

.tech-stack {
    background: rgba(240, 248, 255, 0.5);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.tech-stack h5 {
    color: #000000;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: white;
    color: #000000;
    opacity: 0.8;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.tech-tag.red {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    opacity: 1;
}

/* ============================================
   MODELS PAGE - AI APPROACHES GRID
   ============================================ */

.ai-approaches-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   MODELS PAGE - NOTIFICATION FORM
   ============================================ */

#notificationForm {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

#notificationForm input[type="email"] {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
}

#notificationForm button {
    white-space: nowrap;
}

/* ============================================
   MODELS PAGE - PLAYGROUND PANEL SYSTEM
   ============================================ */

/* Playground Overlay & Panel */
.playground-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.playground-overlay.active {
    opacity: 1;
    visibility: visible;
}

.playground-panel {
    position: fixed;
    top: 0;
    right: -600px;
    width: 600px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: transform 0.3s ease;
    transform: translateX(0);
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.playground-panel.active {
    right: 0;
}

.playground-header {
    background: #2c3e50;
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #34495e;
}

.playground-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.playground-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.playground-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.playground-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Playground Scenarios Section */
.playground-scenarios {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    transition: all 0.3s ease;
    overflow: hidden;
    max-height: 200px;
}

.playground-scenarios.hidden {
    display: none;
}

.playground-scenarios h4 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1rem;
}

.scenario-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.scenario-btn {
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.2;
}

.scenario-btn:hover {
    background: #3498db;
    color: white;
}

.scenarios-separator {
    text-align: center;
    margin: 1rem 0 0.5rem 0;
    position: relative;
}

.scenarios-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

.scenarios-separator span {
    background: #f8f9fa;
    padding: 0 1rem;
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
}

.chat-input-label {
    margin-bottom: 0.5rem;
    padding: 0 0.25rem;
}

.chat-input-label span {
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Playground Chat Area */
.playground-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    overflow-y: auto;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    min-height: 200px;
    max-width: 100%;
    overflow-x: hidden;
    word-wrap: break-word;
}

.playground-message {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.playground-message.user {
    background: #3498db;
    color: white;
    margin-left: auto;
    text-align: right;
    max-width: 90%;
}

.playground-message.assistant {
    background: white;
    border: 1px solid #ddd;
    margin-right: auto;
    max-width: 90%;
}

/* Enhanced styling for assistant messages */
.playground-message.assistant ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    list-style: none;
}

.playground-message.assistant li {
    margin: 0.3rem 0;
    padding-left: 1.2rem;
    line-height: 1.4;
    position: relative;
    color: #444;
}

.playground-message.assistant li::before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1em;
}

.playground-message.assistant h3,
.playground-message.assistant h4 {
    margin: 0.8rem 0 0.4rem 0;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1rem;
}

.playground-message.assistant p {
    margin: 0.4rem 0;
    line-height: 1.5;
    color: #555;
}

.playground-message.assistant strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Markdown Content Styling */
.markdown-content {
    margin-top: 0.5rem;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    margin: 1rem 0 0.5rem 0;
    color: #2c3e50;
    font-weight: 600;
}

.markdown-content h1 { font-size: 1.5rem; }
.markdown-content h2 { font-size: 1.3rem; }
.markdown-content h3 { font-size: 1.1rem; }
.markdown-content h4 { font-size: 1rem; }

.markdown-content p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.markdown-content ul,
.markdown-content ol {
    margin: 0.75rem 0;
    padding-left: 1.2rem;
}

.markdown-content li {
    margin: 0.15rem 0;
    line-height: 1.4;
    position: relative;
}

.markdown-content code {
    background: #f1f2f6;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    color: #e74c3c;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.markdown-content pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1rem 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    line-height: 1.4;
    max-width: 100%;
    white-space: pre-wrap;
}

.markdown-content pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

.markdown-content blockquote {
    border-left: 4px solid #3498db;
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    font-style: italic;
}

.markdown-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1rem 0;
}

.markdown-content th,
.markdown-content td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: left;
}

.markdown-content th {
    background: #f8f9fa;
    font-weight: 600;
}

.markdown-content strong {
    font-weight: 600;
    color: #2c3e50;
}

.markdown-content em {
    font-style: italic;
}

.markdown-content a {
    color: #3498db;
    text-decoration: none;
}

.markdown-content a:hover {
    text-decoration: underline;
}

/* Chat Input Area */
.chat-input-area {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
}

.chat-input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
    font-size: 0.9rem;
}

.chat-input:focus {
    outline: none;
    border-color: #3498db;
}

.chat-send {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
    height: fit-content;
}

.chat-send:hover:not(:disabled) {
    background: #2980b9;
}

.chat-send:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

/* Playground Disclaimer */
.playground-disclaimer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #f39c12;
    font-size: 0.8rem;
    color: #856404;
    line-height: 1.4;
    z-index: 1002;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.playground-disclaimer p {
    margin: 0;
}

.playground-disclaimer strong {
    color: #d68910;
}

.disclaimer-acknowledge {
    background: #f39c12;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.75rem;
    transition: background 0.2s ease;
}

.disclaimer-acknowledge:hover {
    background: #e67e22;
}

.playground-disclaimer.hidden {
    display: none;
}

.playground-info {
    padding: 1rem 1.5rem;
    background: #e8f4fd;
    border-top: 1px solid #ddd;
    font-size: 0.85rem;
    color: #666;
}

.rate-limit-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.typing-indicator {
    display: none;
    padding: 1rem;
    color: #666;
    font-style: italic;
}

.typing-indicator.active {
    display: block;
}

/* ============================================
   MODELS PAGE - CYAXIOS PITCH SECTION
   ============================================ */

.cyaxios-pitch-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    border: 2px solid #2196f3;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
}

.cyaxios-pitch-section h3,
.cyaxios-pitch-header {
    color: #1976d2 !important;
    font-weight: bold !important;
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cyaxios-pitch-section p {
    color: #1565c0;
    font-weight: 500;
    line-height: 1.6;
}

.cyaxios-pitch-section strong {
    color: #0d47a1;
}

.cyaxios-pitch-section ul {
    color: #1565c0;
    text-align: left;
    display: inline-block;
}

.cyaxios-pitch-section li {
    color: #1565c0;
    font-weight: 500;
}

/* ============================================
   MODELS PAGE - USE CASE BUTTONS
   ============================================ */

.use-case-btn {
    background: #fff;
    border: 1px solid #007bff;
    color: #007bff;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}

.use-case-btn:hover {
    background: #007bff;
    color: #fff;
}

/* ============================================
   CASE STUDIES PAGE STYLES
   ============================================ */

/* Content card wrapper for sections */
.case-study-content-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Section header styling */
.case-study-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.case-study-intro-text {
    font-size: 1.1rem;
    color: var(--black);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.case-study-description {
    max-width: 800px;
    margin: 1rem auto 0;
    color: var(--black);
    opacity: 0.8;
}

/* Transformations grid */
.transformations-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Privacy notice box */
.privacy-notice {
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--cyan);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.privacy-notice h4 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.privacy-notice p {
    color: var(--black);
    opacity: 0.8;
    margin: 0;
}

/* Knowledge capture grid - responsive */
.knowledge-capture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .knowledge-capture-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

/* Case study detail sections */
.case-study-detail h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.case-study-detail h4 {
    color: var(--navy);
    margin: 1.5rem 0 0.5rem 0;
}

.case-study-detail ul {
    margin-left: 1.5rem;
    color: var(--black);
    opacity: 0.8;
}

/* Before/After comparison boxes */
.before-box {
    background: rgba(231, 76, 60, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #e74c3c;
}

.before-box h5 {
    color: #c0392b;
    margin-bottom: 0.5rem;
}

.before-box ul {
    color: var(--black);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.after-box {
    background: rgba(0, 212, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--cyan);
}

.after-box h5 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.after-box ul {
    color: var(--black);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-left: 1rem;
}

/* Testimonial box */
.testimonial-box {
    background: linear-gradient(135deg, rgba(240, 248, 255, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid var(--cyan);
}

.testimonial-box p {
    color: var(--black);
    opacity: 0.8;
    font-size: 0.9rem;
}

.testimonial-box p:last-child {
    font-style: italic;
}

/* AI Innovation grid - responsive */
.innovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .innovation-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Innovation item with icon */
.innovation-item {
    position: relative;
    padding-left: 3.5rem;
}

.innovation-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--cyan), var(--navy));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.innovation-item h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.innovation-item p {
    color: var(--black);
    opacity: 0.8;
}
