* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --bg-tertiary: #334155;
    --accent-blue: #3B82F6;
    --accent-blue-light: #60A5FA;
    --accent-blue-dark: #2563EB;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-tertiary: #64748B;
    --banner-primary: #0EA5E9;
    --banner-secondary: #1E3A8A;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
    min-height: 100vh;
    filter: blur(0) !important;
    visibility: visible !important;
    display: block !important;
    transition: opacity 0.25s ease-out;
}

/* Garantir que todos os elementos principais apareçam imediatamente */
body > * {
    filter: blur(0) !important;
    visibility: visible !important;
}

/* Transição suave de página - fade muito sutil, conteúdo sempre visível */
@keyframes pageFadeIn {
    from {
        opacity: 0.98;
    }
    to {
        opacity: 1;
    }
}

body.page-transition {
    animation: pageFadeIn 0.2s ease-out;
}

/* Background Grid Pattern - More Subtle */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(59, 130, 246, 0.08) 1px, transparent 0);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* Animated Background Gradient */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at bottom, rgba(30, 58, 138, 0.1) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    overflow: visible !important;
    clip-path: none !important;
}

.launcher-section .container {
    overflow: visible !important;
    z-index: 200;
    clip-path: none !important;
    padding: 0 24px;
}

/* Announcement Banner */
.announcement-banner {
    background-color: transparent;
    padding: 0 0 24px 0;
    position: relative;
    z-index: 101;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.announcement-banner .banner-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    background: rgba(30, 58, 138, 0.4);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.announcement-banner .banner-link:hover {
    background: rgba(30, 58, 138, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
    transform: translateY(-2px);
}

.announcement-banner .banner-text {
    color: rgba(147, 197, 253, 1);
    font-weight: 600;
}

.announcement-banner .banner-link:hover .banner-text {
    color: var(--text-primary);
}

.announcement-banner .banner-divider {
    width: 1px;
    height: 20px;
    background-color: rgba(96, 165, 250, 0.5);
}

.announcement-banner .banner-link:hover .banner-divider {
    background-color: rgba(255, 255, 255, 0.8);
}

.announcement-banner .banner-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(147, 197, 253, 1);
    font-weight: 600;
}

.announcement-banner .banner-link:hover .banner-action {
    color: var(--text-primary);
}

.announcement-banner .banner-action svg {
    transition: transform 0.3s ease;
}

.announcement-banner .banner-link:hover .banner-action svg {
    transform: translateX(4px);
}

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

/* Header */
.header {
    background: rgba(30, 41, 59, 0.9);
    padding: 32px 0;
    position: relative;
    z-index: 50;
    backdrop-filter: blur(20px) saturate(180%);
}

.header::after {
    content: '';
    position: absolute;
    left: 35%;
    right: 35%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(59, 130, 246, 0.6) 15%,
        rgba(59, 130, 246, 1) 30%,
        rgba(59, 130, 246, 1) 70%,
        rgba(59, 130, 246, 0.6) 85%,
        transparent 100%);
    pointer-events: none;
    z-index: 51;
    box-shadow: 
        0 0 6px rgba(59, 130, 246, 0.6),
        0 0 12px rgba(59, 130, 246, 0.4),
        0 0 18px rgba(59, 130, 246, 0.2);
}


@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05);
}

.logo:visited {
    color: var(--text-primary);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
}

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

.nav-link {
    color: #B8C5D1;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #B8C5D1;
    transition: width 0.3s ease;
}

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

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

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

.nav-link.active::after {
    width: 100% !important;
    background: #D1D9E3 !important;
    z-index: 1;
}

.download-btn-header {
    background-color: var(--accent-blue);
    color: var(--text-primary);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(96, 165, 250, 0.4),
                0 0 15px rgba(59, 130, 246, 0.3);
}

.download-btn-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
}

.download-btn-header:hover {
    background-color: var(--accent-blue-light);
    transform: translateY(-2px);
    box-shadow: inset 0 0 30px rgba(96, 165, 250, 0.6),
                0 0 20px rgba(59, 130, 246, 0.4),
                0 8px 20px rgba(59, 130, 246, 0.3);
}

.download-btn-header:hover::before {
    width: 100%;
}

.download-btn-header:not(:hover)::before {
    width: 0;
    transition: width 0.4s ease;
}

.download-btn-header:active {
    transform: translateY(0);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.windows-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

/* Banners */
.banners {
    padding: 16px 0;
    background-color: transparent;
}

.banner {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.banner:hover {
    transform: translateX(4px);
}

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

.banner-primary {
    background: linear-gradient(135deg, var(--banner-primary) 0%, #0284C7 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.banner-secondary {
    background: rgba(30, 58, 138, 0.3);
    color: var(--text-primary);
    border: 1px solid rgba(96, 165, 250, 0.3);
    justify-content: space-between;
    backdrop-filter: blur(10px);
}

.banner-secondary span {
    flex: 1;
}

.banner-divider {
    width: 1px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 12px;
}

.banner-link {
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.banner-link:hover {
    opacity: 0.8;
    transform: translateX(4px);
}

.banner-link svg {
    transition: transform 0.3s ease;
}

.banner-link:hover svg {
    transform: translateX(2px);
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 120px 0;
    background: linear-gradient(180deg, 
        #0F172A 0%,
        #1E293B 30%,
        #2a3647 70%,
        #2a3647 100%) !important;
    position: relative;
    z-index: 300 !important;
    overflow: visible !important;
    clip-path: none !important;
    transition: none !important;
    animation: none !important;
}

/* Background pattern with rounded squares */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='120' height='120' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='100' height='100' rx='15' fill='rgba(96,165,250,0.08)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='90' height='90' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='70' height='70' rx='12' fill='rgba(96,165,250,0.06)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='150' height='150' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='130' height='130' rx='18' fill='rgba(96,165,250,0.1)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='70' height='70' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='50' height='50' rx='10' fill='rgba(96,165,250,0.05)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='110' height='110' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='90' height='90' rx='13' fill='rgba(96,165,250,0.07)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='60' height='60' rx='11' fill='rgba(96,165,250,0.06)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='40' height='40' rx='8' fill='rgba(96,165,250,0.05)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='130' height='130' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='110' height='110' rx='16' fill='rgba(96,165,250,0.08)'/%3E%3C/svg%3E");
    background-size: 
        200px 200px,
        150px 150px,
        250px 250px,
        120px 120px,
        180px 180px,
        140px 140px,
        100px 100px,
        220px 220px;
    background-position: 
        15% 25%,
        85% 55%,
        45% 75%,
        75% 15%,
        8% 65%,
        92% 35%,
        55% 8%,
        32% 48%;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    mask-image: linear-gradient(180deg, 
        rgba(0, 0, 0, 1) 0%, 
        rgba(0, 0, 0, 1) 40%,
        rgba(0, 0, 0, 0.7) 60%,
        rgba(0, 0, 0, 0.3) 80%,
        rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(180deg, 
        rgba(0, 0, 0, 1) 0%, 
        rgba(0, 0, 0, 1) 40%,
        rgba(0, 0, 0, 0.7) 60%,
        rgba(0, 0, 0, 0.3) 80%,
        rgba(0, 0, 0, 0) 100%);
}

/* Gradient overlay to fade to solid color */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%,
        transparent 50%,
        rgba(42, 54, 71, 0.3) 70%,
        rgba(42, 54, 71, 0.6) 85%,
        #2a3647 100%);
    z-index: 0;
    pointer-events: none;
    overflow: visible !important;
    clip-path: none !important;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    pointer-events: none;
    overflow: visible !important;
    clip-path: none !important;
    margin-top: 40px;
}

.hero-content > * {
    pointer-events: auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    white-space: nowrap;
    line-height: 1.1;
    margin: 0;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
}

/* Animações fadeInUp apenas na home */
.home-page .announcement-banner {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.home-page .hero-title {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.home-page .hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.home-page .download-btn-hero {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.home-page .more-options-container {
    animation: fadeInUp 0.8s ease-out 1s both;
}

.home-page .launcher-section {
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.home-page .launcher-image {
    opacity: 0;
    animation: launcherImageInitial 1s ease-out 1.3s forwards;
}

@keyframes launcherImageInitial {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.home-page .features-section {
    animation: fadeInUp 0.8s ease-out 1.4s both;
}

.download-btn-hero {
    background-color: var(--accent-blue);
    color: var(--text-primary);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(96, 165, 250, 0.4),
                0 0 15px rgba(59, 130, 246, 0.3);
}

.download-btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
}

.download-btn-hero:hover {
    background-color: var(--accent-blue-light);
    transform: translateY(-3px);
    box-shadow: inset 0 0 30px rgba(96, 165, 250, 0.6),
                0 0 20px rgba(59, 130, 246, 0.4),
                0 12px 30px rgba(59, 130, 246, 0.4);
}

.download-btn-hero:hover::before {
    width: 100%;
}

.download-btn-hero:not(:hover)::before {
    width: 0;
    transition: width 0.4s ease;
}

.download-btn-hero:active {
    transform: translateY(-1px);
}

.more-options-container {
    position: relative;
    display: inline-block;
    text-align: center;
    z-index: 10005 !important;
    width: 100%;
    isolation: isolate;
    overflow: visible !important;
    clip-path: none !important;
    contain: none !important;
}

.more-options {
    display: inline-block;
    color: #B8C5D1;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 16px;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10005;
    margin-top: 8px;
}

.more-options:hover {
    color: var(--accent-blue-light);
    transform: translateY(-2px);
}

.download-options-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(30, 41, 59, 0.95) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
    border-radius: 12px;
    padding: 6px !important;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    z-index: 999999 !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    pointer-events: none;
    display: none;
    isolation: isolate;
    overflow: visible !important;
    clip-path: none !important;
    transition: none !important;
    contain: none !important;
    will-change: auto !important;
}

.download-options-dropdown.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    display: block !important;
}

.download-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    font-weight: 500;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: transparent;
    border: none;
    margin-bottom: 2px;
    min-height: auto;
}

.download-option:last-child {
    margin-bottom: 0;
}

.download-option:last-child {
    margin-bottom: 0;
}

.download-option:hover {
    background-color: rgba(59, 130, 246, 0.15);
    color: white;
}

.download-option .os-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.2s ease;
    flex-shrink: 0;
}

.download-option:hover .os-icon {
    filter: brightness(0) invert(1);
}

/* Launcher Section */
.launcher-section {
    padding: 80px 0 40px 0;
    margin-top: -55px;
    background: 
        radial-gradient(ellipse 200% 20% at center 58%, #1a1e24 0%, #1a1e24 46.5%, #1a1e24 47%, transparent 50%),
        linear-gradient(180deg, #2a3647 0%, #2a3647 58%, #1a1e24 58%, #1a1e24 100%) !important;
    background-size: 100% 100% !important;
    position: relative;
    z-index: 200;
    pointer-events: none;
    overflow: visible !important;
    clip-path: none !important;
    transition: none !important;
    animation: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.hero .more-options-container {
    position: relative;
    z-index: 1000 !important;
    overflow: visible !important;
}

.hero .download-options-dropdown {
    z-index: 10000 !important;
}

.launcher-section * {
    pointer-events: auto;
}

.image-container {
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
    cursor: pointer;
    perspective: 1000px;
    transform-style: preserve-3d;
    z-index: 200;
    pointer-events: auto !important;
    overflow: visible !important;
    clip-path: none !important;
}

.launcher-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: none;
    transition: filter 0.3s ease;
    user-select: none;
    filter: brightness(1) blur(0px);
    transform-style: preserve-3d;
    will-change: transform;
    pointer-events: auto !important;
    position: relative;
    z-index: 200;
    overflow: visible !important;
    clip-path: none !important;
}

.launcher-image:hover {
    box-shadow: none;
}

.click-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.4);
    pointer-events: none;
    transform: scale(0);
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 16px;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 20px;
        overflow-x: auto;
    }

    .hero-title {
        font-size: 40px;
    }

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

    .banner-secondary {
        flex-wrap: wrap;
    }

    .banner-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .download-btn-header,
    .download-btn-hero {
        font-size: 14px;
        padding: 12px 20px;
    }
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, 
        #1a1e24 0%,
        #1a1e24 60%,
        #1d2330 70%,
        #202838 78%,
        #232d40 85%,
        #263248 90%,
        #293750 94%,
        #2c3c58 97%,
        #2c3c58 98%,
        #2c3c58 100%) !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, 
            #1a1e24 0%,
            #1a1e24 60%,
            #1d2330 70%,
            #202838 78%,
            #232d40 85%,
            #263248 90%,
            #293750 94%,
            #2c3c58 97%,
            #2c3c58 98%,
            #2c3c58 100%) !important;
    z-index: -2;
    pointer-events: none;
}

.features-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('images/gnomefeetgrey3.png'),
        url('images/gnomefeetgrey2.png'),
        url('images/gnomefeetgrey.png');
    background-size: 
        310px 310px,
        310px 310px,
        310px 310px;
    background-repeat: 
        repeat,
        repeat,
        repeat;
    background-position: 
        0 calc(100% - 310px),
        0 calc(100% - 620px),
        0 0;
    opacity: 1;
    mask-image: linear-gradient(180deg, 
        transparent 0%,
        transparent 20%,
        rgba(255, 255, 255, 0.2) 40%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(255, 255, 255, 0.8) 80%,
        rgba(255, 255, 255, 1) 100%);
    -webkit-mask-image: linear-gradient(180deg, 
        transparent 0%,
        transparent 20%,
        rgba(255, 255, 255, 0.2) 40%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(255, 255, 255, 0.8) 80%,
        rgba(255, 255, 255, 1) 100%);
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: normal;
}

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

.features-badge {
    padding: 16px 48px;
    background: rgba(59, 130, 246, 0.15);
    border: 2px solid rgba(96, 165, 250, 0.5);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(147, 197, 253, 0.9);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3),
                inset 0 0 15px rgba(96, 165, 250, 0.1);
    transition: all 0.3s ease;
    cursor: default;
    margin-bottom: 24px;
}

.features-badge:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(147, 197, 253, 0.7);
    color: rgba(191, 219, 254, 1);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5),
                inset 0 0 20px rgba(96, 165, 250, 0.2);
    transform: translateY(-2px);
}

.features-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}


.feature-card {
    background: #282C34;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: visible;
}

.feature-card:hover {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4),
                0 0 40px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.feature-icon {
    margin-bottom: 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.coming-soon {
    color: var(--text-tertiary);
    font-weight: 400;
    font-size: 16px;
}

.feature-card-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Feature Icons */
.icon-modpack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 6px;
    width: 120px;
    height: 80px;
}

.icon-modpack-top {
    display: contents;
}

.icon-modpack-top > * {
    display: flex;
}

.icon-modpack .icon-text-blue {
    background: #3B82F6;
    color: white;
    padding: 8px 6px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1;
    grid-row: 1;
    text-transform: lowercase;
}

.icon-modpack .icon-text-green {
    background: #10B981;
    color: white;
    padding: 8px 6px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 3;
    grid-row: 1;
}

.icon-modpack-bottom {
    display: contents;
}

.icon-modpack-bottom > * {
    display: flex;
}

.icon-circle {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle svg {
    width: 20px;
    height: 20px;
}

.icon-modpack .icon-circle.orange {
    grid-column: 1;
    grid-row: 2;
}

.icon-modpack .icon-circle.blue:nth-of-type(1) {
    grid-column: 2;
    grid-row: 2;
}

.icon-modpack .icon-circle.blue:nth-of-type(2) {
    grid-column: 3;
    grid-row: 2;
}

.icon-circle.gold { background: #F59E0B; }
.icon-circle.orange { background: #F59E0B; }
.icon-circle.silver { background: #94A3B8; }
.icon-circle.green { background: #10B981; }
.icon-circle.blue { background: #3B82F6; }

.icon-mods-manager {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.icon-rect {
    width: 40px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blue-rect {
    background: #3B82F6;
}

.red-rect {
    background: #EF4444;
}

.icon-java-top {
    width: 40px;
    height: 30px;
    background: #3B82F6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-import-export {
    display: flex;
    gap: 8px;
}

.icon-box {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blue-box {
    background: #3B82F6;
}

.yellow-box {
    background: #F59E0B;
}

.orange-box {
    background: #F59E0B;
}

.icon-logs {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.log-bar {
    width: 48px;
    height: 8px;
    border-radius: 4px;
}

.green-bar { background: #10B981; }
.red-bar { background: #EF4444; }
.blue-bar { background: #3B82F6; }

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

.icon-modload-bottom {
    width: 32px;
    height: 32px;
    background: #1E3A8A;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-autoupdater {
    width: 40px;
    height: 30px;
    background: #3B82F6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-update-arrow {
    position: absolute;
    top: -12px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #F59E0B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-themes {
    display: flex;
    gap: 12px;
    align-items: center;
}

.icon-themes-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.theme-bar {
    width: 8px;
    height: 20px;
    border-radius: 2px;
}

.yellow-bar { background: #F59E0B; }
.red-bar { background: #EF4444; }

.icon-themes-right {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.theme-line {
    width: 24px;
    height: 3px;
    background: #64748B;
    border-radius: 2px;
}

.icon-server,
.icon-support,
.icon-connection,
.icon-fps {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-server svg,
.icon-support svg,
.icon-connection svg,
.icon-fps svg {
    position: relative;
    z-index: 1;
}

.icon-arc {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 60px;
    height: 60px;
    border: 2px solid #60A5FA;
    border-radius: 50%;
    border-bottom-color: transparent;
    border-right-color: transparent;
    transform: rotate(-45deg);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.icon-secure,
.icon-community {
    width: 48px;
    height: 48px;
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-title {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-title {
        font-size: 28px;
    }
}

/* Blog Page */
.blog-page {
    padding: 60px 0 100px 0;
    background-color: transparent;
    position: relative;
    z-index: 1;
    min-height: 70vh;
}

.blog-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-left-section,
.blog-right-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.blog-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.blog-logo-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.blog-logo-icon-large {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.blog-logo-text-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.blog-logo-main {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.blog-logo-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-secondary);
}

.blog-out-now-btn {
    padding: 12px 32px;
    background: rgba(30, 58, 138, 0.6);
    border: 1px solid rgba(96, 165, 250, 0.5);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.blog-out-now-btn:hover {
    background: rgba(30, 58, 138, 0.8);
    border-color: rgba(96, 165, 250, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
}

.blog-post-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
}

.post-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.post-card-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-card-meta {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.blog-partnership {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(139, 69, 19, 0.3) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.partnership-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.partnership-logo-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.partnership-logo-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.partnership-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 48px;
    font-weight: 700;
}

.partnership-x {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Georgia', 'Times New Roman', serif;
}

.partnership-name {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 3px;
    font-family: 'Georgia', 'Times New Roman', serif;
    display: flex;
    align-items: center;
}

.partnership-curse {
    color: #64748B;
}

.partnership-forge {
    color: #F97316;
}

.forge-o {
    position: relative;
    display: inline-block;
}

.forge-o::after {
    content: '✦';
    position: absolute;
    font-size: 20px;
    color: #F97316;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

@media (max-width: 1024px) {
    .blog-page-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-hero,
    .blog-partnership {
        padding: 40px 24px;
    }

    .blog-logo-main {
        font-size: 28px;
    }

    .partnership-text {
        font-size: 36px;
    }
}

/* Docs Page */
.docs-page {
    padding: 40px 0 100px 0;
    background-color: transparent;
    position: relative;
    z-index: 1;
    min-height: 70vh;
}

.docs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.docs-sidebar {
    position: sticky;
    top: 160px;
    height: fit-content;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

.docs-nav {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 24px 0;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.docs-nav-section {
    margin-bottom: 28px;
    padding: 0 24px;
}

.docs-nav-section:last-child {
    margin-bottom: 0;
}

.docs-nav-section:not(:last-child)::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.3), transparent);
    margin-top: 24px;
}

.docs-nav-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.docs-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    padding-left: 12px;
}

.docs-nav-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(148, 163, 184, 0.4);
}

.docs-nav-link {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
    margin-left: -12px;
    padding-left: 12px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.docs-nav-link:hover {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
    border-left-color: rgba(59, 130, 246, 0.5);
}

.docs-nav-link.active {
    color: var(--accent-blue-light);
    border-left-color: var(--accent-blue-light);
    background: rgba(59, 130, 246, 0.15);
    font-weight: 600;
}

.docs-content {
    max-width: 800px;
}

.docs-section {
    display: none;
}

.docs-section.active {
    display: block;
}

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

.docs-main-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 40px;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.docs-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 48px;
    margin-bottom: 16px;
}

.docs-subsection-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 12px;
}

.docs-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.docs-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.docs-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.docs-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue-light);
    font-weight: bold;
}

.docs-inline-link {
    color: var(--accent-blue-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.docs-inline-link:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

.docs-code {
    display: block;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    padding: 12px 16px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--text-primary);
    margin: 16px 0;
    overflow-x: auto;
}

.docs-inline-code {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--accent-blue-light);
}

.docs-warning {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid rgba(239, 68, 68, 0.5);
    padding: 16px;
    margin: 24px 0;
    border-radius: 4px;
}

.docs-warning strong {
    color: var(--text-primary);
}

.docs-highlight-box {
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.docs-highlight-box .docs-section-title {
    margin-top: 0;
    color: var(--accent-blue-light);
}

@media (max-width: 1024px) {
    .docs-layout {
        grid-template-columns: 240px 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .docs-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .docs-sidebar {
        position: relative;
        top: 0;
        max-height: none;
    }

    .docs-main-title {
        font-size: 32px;
    }

    .docs-section-title {
        font-size: 24px;
    }
}

/* AI Chat Demo Section */
.ai-chat-section {
    padding: 100px 0 !important;
    background: linear-gradient(180deg, 
        #2c3c58 0%,
        #2c3c58 10%,
        #364662 50%,
        #414e6a 80%,
        #4a5d73 100%) !important;
    position: relative !important;
    z-index: 10 !important;
    overflow: hidden !important;
    min-height: 100vh !important;
    isolation: isolate !important;
}

/* Snow Effect */
.snow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    background: transparent !important;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
    animation: snowfall linear infinite;
    pointer-events: none;
}

.snowflake:nth-child(1) { left: 10%; animation-duration: 10s; animation-delay: 0s; opacity: 0.8; }
.snowflake:nth-child(2) { left: 20%; animation-duration: 12s; animation-delay: 1s; opacity: 0.6; }
.snowflake:nth-child(3) { left: 30%; animation-duration: 14s; animation-delay: 2s; opacity: 0.7; }
.snowflake:nth-child(4) { left: 40%; animation-duration: 11s; animation-delay: 0.5s; opacity: 0.9; }
.snowflake:nth-child(5) { left: 50%; animation-duration: 13s; animation-delay: 1.5s; opacity: 0.5; }
.snowflake:nth-child(6) { left: 60%; animation-duration: 15s; animation-delay: 2.5s; opacity: 0.8; }
.snowflake:nth-child(7) { left: 70%; animation-duration: 10s; animation-delay: 0.8s; opacity: 0.7; }
.snowflake:nth-child(8) { left: 80%; animation-duration: 12s; animation-delay: 1.2s; opacity: 0.6; }
.snowflake:nth-child(9) { left: 90%; animation-duration: 14s; animation-delay: 2.2s; opacity: 0.8; }
.snowflake:nth-child(10) { left: 15%; animation-duration: 11s; animation-delay: 0.3s; opacity: 0.7; }
.snowflake:nth-child(11) { left: 25%; animation-duration: 13s; animation-delay: 1.7s; opacity: 0.6; }
.snowflake:nth-child(12) { left: 35%; animation-duration: 15s; animation-delay: 2.8s; opacity: 0.9; }
.snowflake:nth-child(13) { left: 45%; animation-duration: 10s; animation-delay: 0.6s; opacity: 0.5; }
.snowflake:nth-child(14) { left: 55%; animation-duration: 12s; animation-delay: 1.4s; opacity: 0.8; }
.snowflake:nth-child(15) { left: 65%; animation-duration: 14s; animation-delay: 2.1s; opacity: 0.7; }
.snowflake:nth-child(16) { left: 75%; animation-duration: 11s; animation-delay: 0.9s; opacity: 0.6; }
.snowflake:nth-child(17) { left: 85%; animation-duration: 13s; animation-delay: 1.8s; opacity: 0.8; }
.snowflake:nth-child(18) { left: 5%; animation-duration: 15s; animation-delay: 2.4s; opacity: 0.7; }
.snowflake:nth-child(19) { left: 95%; animation-duration: 10s; animation-delay: 0.4s; opacity: 0.6; }
.snowflake:nth-child(20) { left: 50%; animation-duration: 12s; animation-delay: 1.1s; opacity: 0.9; }

@keyframes snowfall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

.snowflake::before {
    content: '❄';
}

.ai-chat-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.ai-chat-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.ai-chat-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.ai-chat-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ai-chat-window {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(59, 130, 246, 0.2);
    position: relative;
    z-index: 1;
}

.ai-chat-header-bar {
    background: rgba(59, 130, 246, 0.2);
    padding: 16px 24px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.ai-chat-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-bot-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-chat-header-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.ai-chat-messages {
    padding: 24px;
    min-height: 400px;
    max-height: 500px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    display: flex;
    animation: messageFadeIn 0.3s ease-out;
}

.chat-message.user-message {
    justify-content: flex-end;
}

.chat-message.bot-message {
    justify-content: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
}

.bot-message .message-content {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
}

.user-message .message-content {
    background: rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: var(--text-primary);
}

.ai-chat-input-container {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(15, 23, 42, 0.5);
}

.ai-chat-input {
    flex: 1;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.ai-chat-input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ai-chat-input::placeholder {
    color: var(--text-tertiary);
}

.ai-chat-send-btn {
    background: var(--accent-blue);
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.ai-chat-send-btn:hover {
    background: var(--accent-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.ai-chat-send-btn:active {
    transform: translateY(0);
}

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

/* Footer */
.footer {
    background-color: #1A202C;
    padding: 60px 0 30px 0;
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-left {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

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

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

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.footer-link {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-link.active {
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 8px;
    box-sizing: border-box;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    max-width: 18px;
    max-height: 18px;
    display: block;
}

.social-icon:hover {
    background-color: var(--accent-blue);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.bisect-banner-top {
    width: 100%;
    padding: 24px 0;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    margin-bottom: 0;
    animation: fadeIn 1s ease-in;
}

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

.bisect-banner {
    margin: 30px 0;
    padding: 0;
}

.bisect-banner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a7a 100%);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 800px;
}

.bisect-banner-link:hover {
    background: linear-gradient(135deg, #254a6f 0%, #355a8a 100%);
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.bisect-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.bisect-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    flex-wrap: wrap;
}

.bisect-discount {
    font-size: 20px;
    font-weight: 700;
    color: #60a5fa;
    line-height: 1.2;
}

.bisect-main {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.3;
}

.footer-copyright {
    text-align: right;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    font-size: 16px;
    color: var(--text-tertiary);
    font-weight: 500;
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

