/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-orange: #ff6b35;
    --accent-purple: #9d4edd;
    --accent-blue: #4dabf7;
    --accent-green: #51cf66;
    --border-color: #2a2a2a;
    --gradient-subtle: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #f5576c 100%);
    --gradient-blue: linear-gradient(135deg, #4facfe 0%, #00c6fb 100%);
    --gradient-hero: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #c0c0c0 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-accent: 0 4px 20px rgba(255, 107, 53, 0.2);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

* {
    position: relative;
    z-index: 1;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    position: relative;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.08;
    pointer-events: none;
    background: 
        radial-gradient(ellipse 1000px 800px at 15% 25%, rgba(102, 126, 234, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 900px 1000px at 85% 75%, rgba(255, 107, 53, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 800px 900px at 50% 50%, rgba(118, 75, 162, 0.04) 0%, transparent 70%);
    animation: lava-lamp 30s ease-in-out infinite;
    filter: blur(60px);
    will-change: transform, opacity;
}

@keyframes lava-lamp {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.08;
    }
    25% {
        transform: translate(20px, -25px) scale(1.05) rotate(2deg);
        opacity: 0.10;
    }
    50% {
        transform: translate(-15px, 20px) scale(0.98) rotate(-1deg);
        opacity: 0.07;
    }
    75% {
        transform: translate(25px, 15px) scale(1.03) rotate(1deg);
        opacity: 0.09;
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.06;
    pointer-events: none;
    background: 
        radial-gradient(ellipse 1100px 850px at 75% 25%, rgba(118, 75, 162, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 950px 1100px at 25% 75%, rgba(102, 126, 234, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 850px 750px at 60% 60%, rgba(255, 107, 53, 0.03) 0%, transparent 70%);
    animation: lava-lamp-2 35s ease-in-out infinite reverse;
    filter: blur(70px);
    will-change: transform, opacity;
}

@keyframes lava-lamp-2 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.06;
    }
    33% {
        transform: translate(-25px, 18px) scale(1.06) rotate(-2deg);
        opacity: 0.08;
    }
    66% {
        transform: translate(18px, -22px) scale(0.96) rotate(1deg);
        opacity: 0.05;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    height: 25px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3));
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.5));
}

.nav {
    display: none;
    gap: 2rem;
    align-items: center;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-lg);
}

.nav.active {
    display: flex;
}

@media (min-width: 768px) {
    .nav {
        position: static;
        display: flex;
        flex-direction: row;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.github-link {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

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

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Hero Section */
.hero {
    padding: 4rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(20px, -20px) scale(1.05);
        opacity: 0.8;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 60%, #667eea 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2)) padding-box,
                linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3)) border-box;
    animation: border-pulse 3s ease-in-out infinite;
}

@keyframes border-pulse {
    0%, 100% {
        box-shadow: var(--shadow-lg), 0 0 20px rgba(102, 126, 234, 0.2);
    }
    50% {
        box-shadow: var(--shadow-lg), 0 0 40px rgba(102, 126, 234, 0.4);
    }
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-accent);
    background-size: 200% 200%;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    animation: gradient-flow 3s ease infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent), 0 8px 25px rgba(255, 107, 53, 0.3);
    animation: none;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.btn-outline {
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    background: transparent;
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-outline:hover {
    border-color: transparent;
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-outline:hover::before {
    opacity: 1;
}

.btn-product {
    width: 100%;
    justify-content: center;
    margin-top: auto !important;
    flex-shrink: 0;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-subtitle {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: gradient-shift 4s ease infinite;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    background-size: 200% 200%;
    border-radius: 2px;
    animation: gradient-flow 3s ease infinite;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 2.5rem;
    }
}

/* Products Section */
.products-section {
    background: var(--bg-secondary);
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gradient-accent), transparent);
    opacity: 0.3;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
}

@media (min-width: 968px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }
}

.product-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-subtle);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradient-flow 3s ease infinite;
}

.product-card.premium::before {
    background: var(--gradient-accent);
}

.product-card.free::before {
    background: var(--gradient-blue);
}

.product-card.self-hosted::before {
    background: var(--gradient-subtle);
}

.product-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover::after {
    width: 300px;
    height: 300px;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(102, 126, 234, 0.2);
    border-color: transparent;
}

.product-header {
    margin-bottom: 2rem;
    flex: 0 0 auto;
}

.product-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.highlight-purple {
    background: var(--gradient-subtle);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-blue {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-green {
    color: var(--accent-green);
}

.product-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-accent);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: gradient-flow 3s ease infinite;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1 1 auto !important;
    min-height: 0;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-features svg {
    flex-shrink: 0;
    margin-top: 2px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.product-features li {
    transition: transform 0.3s ease;
}

.product-features li:hover {
    transform: translateX(5px);
}

.product-features li:hover svg {
    transform: scale(1.15);
}

/* News Section */
.news-section {
    background: var(--bg-primary);
}

.news-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.news-card {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.news-card.active {
    display: grid;
    opacity: 1;
    transform: translateX(0);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    background-size: 200% 200%;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s ease;
    animation: gradient-flow 3s ease infinite;
}

.news-card.active::before {
    transform: scaleY(1);
}

.news-card.active {
    display: grid;
}

@media (max-width: 768px) {
    .news-card {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

.news-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.news-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-accent);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    transition: gap 0.3s ease;
    animation: gradient-flow 3s ease infinite;
}

.news-link:hover {
    gap: 1rem;
}

.news-link:hover {
    gap: 1rem;
}

.news-image {
    border-radius: 12px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.carousel-btn:hover {
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.carousel-btn:hover::before {
    opacity: 1;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--gradient-accent);
    background-size: 200% 200%;
    width: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    animation: gradient-flow 3s ease infinite;
}

/* Features Section */
.features-section {
    background: var(--bg-secondary);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

@media (max-width: 968px) {
    .feature-item,
    .feature-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

.feature-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(255, 107, 53, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-item:hover .feature-image {
    transform: scale(1.05);
}

.feature-item:hover .feature-image::after {
    opacity: 1;
}

.feature-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.feature-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Press Section */
.press-section {
    background: var(--bg-primary);
    padding: 4rem 0;
}

.press-logo {
    transition: transform 0.3s ease;
}

.press-logo:hover {
    transform: translateY(-5px);
}

.press-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

@media (min-width: 768px) {
    .press-logos {
        grid-template-columns: repeat(4, 1fr);
    }
}

.press-logo {
    padding: 2rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.press-logo:hover {
    opacity: 1;
}

.press-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* FAQ Section */
.faq-section {
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-accent);
    background-size: 200% 200%;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
    animation: gradient-flow 3s ease infinite;
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.faq-item[aria-expanded="true"] {
    border-color: transparent;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), var(--bg-tertiary));
}

.faq-item[aria-expanded="true"]::before {
    transform: scaleY(1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item[aria-expanded="true"] .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-answer a {
    background: var(--gradient-accent);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: underline;
    font-weight: 600;
    animation: gradient-flow 3s ease infinite;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

@media (min-width: 968px) {
    .footer-content {
        grid-template-columns: repeat(5, 1fr);
    }
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-img {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-social a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 0.25rem;
}

.footer-social a:hover {
    color: var(--accent-orange);
    background: rgba(255, 107, 53, 0.1);
    transform: scale(1.1) rotate(5deg);
}

.footer-downloads {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.download-btn:hover {
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.download-btn:hover::before {
    opacity: 1;
}

.download-link {
    background: var(--gradient-accent);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
    animation: gradient-flow 3s ease infinite;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-policy {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

.footer-logo-small {
    width: 100px;
}

.footer-logo-small img {
    width: 100%;
    height: auto;
    opacity: 0.6;
}

/* Loading and Performance Optimizations */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Smooth Animations */
@media (prefers-reduced-motion: no-preference) {
    * {
        transition-duration: 0.3s;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .carousel-controls {
        display: none;
    }
}
