/* Home Page Styles - ProstoLLM */

/* ===== CSS VARIABLES (Dark Theme) ===== */
:root {
    --primary: rgb(139, 92, 246);
    --primary-hover: rgb(124, 58, 237);
    --primary-light: rgba(139, 92, 246, 0.1);
    --bg-primary: #0a0a0f;
    --bg-secondary: #0d0d14;
    --bg-tertiary: #15151f;
    --bg-card: #12121a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.05);
    --radius: 12px;
    --radius-md: 14px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ===== SHINE TEXT EFFECT ===== */
.shine-text {
    position: relative;
    display: inline-block;
    font-weight: bold;
    color: var(--primary);
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--primary) 40%,
        rgba(255, 255, 255, 0.9) 50%,
        var(--primary) 60%,
        var(--primary) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sweep-shine 4s linear infinite;
}

@keyframes sweep-shine {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ===== SVG ICONS ===== */
svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.hero-actions svg {
    width: 20px;
    height: 20px;
}

.creators-buttons svg {
    width: 18px;
    height: 18px;
}

.timeline-marker svg {
    width: 20px;
    height: 20px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    padding: 100px 0 80px;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-light);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-title.shine-text {
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--primary) 40%,
        rgba(255, 255, 255, 0.9) 50%,
        var(--primary) 60%,
        var(--primary) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sweep-shine 4s linear infinite;
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-api-block {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 14px;
    animation: fadeInUp 0.8s ease-out, glowPulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-api-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.05), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 0 rgba(139, 92, 246, 0);
    }
    50% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
    }
}

.hero-api-base {
    color: var(--primary);
    font-weight: 600;
}

.hero-api-path {
    display: flex;
    align-items: center;
    gap: 2px;
    color: var(--text-secondary);
    padding: 4px 10px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.hero-api-path-text {
    animation: textPulse 2s ease-in-out infinite;
}

.hero-api-anim {
    display: inline-flex;
    align-items: center;
    position: relative;
    height: 20px;
    min-width: 180px;
    overflow: hidden;
}

.hero-api-anim-item {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: all 0.35s ease;
    white-space: nowrap;
}

.hero-api-anim-item.enter {
    opacity: 0;
    transform: translateY(-50%) translateY(15px);
}

.hero-api-anim-item.enter-active {
    opacity: 1;
    transform: translateY(-50%) translateY(0);
}

.hero-api-anim-item.leave {
    opacity: 1;
    transform: translateY(-50%) translateY(0);
}

.hero-api-anim-item.leave-active {
    opacity: 0;
    transform: translateY(-50%) translateY(-15px);
}

.hero-api-cursor {
    color: var(--primary);
    animation: blink 1s step-end infinite;
}

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

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

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

.hero-copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-copy-btn:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
    border-color: var(--primary);
}

.hero-copy-btn--copied {
    background: var(--success) !important;
    border-color: var(--success) !important;
    color: white !important;
}

.hero-advantages {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 800px;
    margin: 48px auto 40px;
    justify-content: center;
}

/* Carousel Animation for Advantages */
.hero-advantages-carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 48px auto 40px;
    overflow: hidden;
    padding: 10px 0;
}

.hero-advantages-carousel::before,
.hero-advantages-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.hero-advantages-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.hero-advantages-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.hero-advantages-track {
    display: flex;
    gap: 16px;
    animation: carousel-scroll 20s linear infinite;
    width: max-content;
}

.hero-advantages-track:hover {
    animation-play-state: paused;
}

@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 8px));
    }
}

.hero-advantage {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    animation: card-fade-in 0.5s ease forwards;
    opacity: 0;
}

.hero-advantage:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15);
}

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

/* Staggered animation for each card */
.hero-advantage:nth-child(1) { animation-delay: 0s; }
.hero-advantage:nth-child(2) { animation-delay: 0.1s; }
.hero-advantage:nth-child(3) { animation-delay: 0.2s; }
.hero-advantage:nth-child(4) { animation-delay: 0.3s; }
.hero-advantage:nth-child(5) { animation-delay: 0.4s; }

.hero-adv-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.hero-advantage .hero-adv-icon-wrapper {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hero-advantage .hero-adv-icon-wrapper svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.hero-advantage:hover .hero-adv-icon-wrapper {
    background: var(--primary);
    transform: scale(1.05);
}

.hero-advantage:hover .hero-adv-icon {
    color: white;
}

.hero-adv-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-adv-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.hero-adv-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}


.hero-adv-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== NEW HERO SECTION REDESIGN ===== */
.hero-section-new {
    position: relative;
    padding: 80px 0 100px;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(124, 58, 237, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse 50% 30% at 20% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 30%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float-particle 20s ease-in-out infinite;
}

.hero-particles::before {
    background: var(--primary);
    top: 10%;
    right: 10%;
}

.hero-particles::after {
    background: var(--secondary);
    bottom: 20%;
    left: 5%;
    animation-delay: -10s;
}

@keyframes float-particle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.hero-container-new {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content-new {
    text-align: center;
}

.hero-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #22c55e, #10b981);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.hero-title-new {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.title-gradient {
    display: block;
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 100%;
}

.title-white {
    display: block;
    color: var(--text-primary);
    margin-top: 4px;
}

.hero-subtitle-new {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* API Code Block */
.hero-api-block-new {
    max-width: 700px;
    margin: 0 auto 40px;
}

.api-code-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.code-header {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot-red { background: #ef4444; }
.code-dot-yellow { background: #f59e0b; }
.code-dot-green { background: #22c55e; }

.code-body {
    padding: 20px 24px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    color: var(--text-secondary);
    overflow-x: auto;
}

.code-keyword {
    color: #c084fc;
}

.code-string {
    color: #86efac;
}

/* Feature Cards Grid */
.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.hero-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: left;
    transition: all 0.3s ease;
}

.hero-feature-card:hover {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.feature-card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card-icon svg {
    width: 22px;
    height: 22px;
    color: #a78bfa;
}

.feature-card-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-card-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* CTA Buttons */
.hero-actions-new {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.cta-primary-new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
}

.cta-primary-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
    color: white;
}

.cta-secondary-new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cta-secondary-new:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-muted);
    color: var(--text-primary);
}

/* Trust Badges */
.hero-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.trust-label {
    font-size: 13px;
    color: var(--text-muted);
}

.trust-logos {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-logo {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.trust-logo:hover {
    color: var(--text-secondary);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Responsive for New Hero */
@media (max-width: 1024px) {
    .hero-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section-new {
        padding: 60px 0 80px;
    }
    
    .hero-features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .hero-feature-card {
        padding: 16px;
    }
    
    .hero-actions-new {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .cta-primary-new,
    .cta-secondary-new {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .trust-logos {
        gap: 10px;
    }
    
    .trust-logo {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .code-body {
        font-size: 12px;
        padding: 16px;
    }
}

/* ===== MODELS SECTION ===== */
.models-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.models-header {
    text-align: center;
    margin: 0 auto 48px;
    padding: 40px 48px;
    background: rgb(139, 92, 246);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.models-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 25%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.1) 75%, 
        transparent 100%);
    animation: shimmer-right 3s ease-in-out infinite;
}

@keyframes shimmer-right {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.models-header::after {
    display: none;
}

.models-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.models-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.modality-block {
    margin-bottom: 64px;
}

.modality-block:last-child {
    margin-bottom: 0;
}

/* Highlighted modality block with purple background and shimmer */
.modality-block--highlight .modality-header {
    max-width: none;
    margin: 0 auto 48px;
    padding: 36px 48px;
    background: rgb(139, 92, 246);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.modality-block--highlight .modality-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 25%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(255, 255, 255, 0.1) 75%, 
        transparent 100%
    );
    animation: shimmer-right 4s linear infinite;
}

.modality-block--highlight .modality-header::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.modality-block--highlight .modality-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.modality-block--highlight .modality-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.modality-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 32px;
    padding: 0 24px;
}

.modality-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: rgb(139, 92, 246);
    margin-bottom: 8px;
}

.modality-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 0 24px;
}

.models-grid--embeddings {
    grid-template-columns: repeat(3, 1fr);
}

.model-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.model-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(139, 92, 246, 0.3);
}

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

.model-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.model-card:hover .model-image {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.model-card--embeddings {
    background: var(--bg-card);
}

.model-provider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.model-name {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
}

.model-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    line-height: 1.55;
}

.model-use-cases {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.model-use-cases strong {
    color: var(--text-primary);
    font-weight: 600;
}

.model-pricing {
    padding: 14px 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-top: auto;
}

.price-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.price-unit {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-muted);
}

.price-benefit {
    font-size: 0.75rem;
    color: var(--success);
    margin-top: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.price-benefit::before {
    content: '✓';
    font-size: 0.6875rem;
}

.modality-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 32px 24px 0;
}

.model-card--audio {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.model-card--audio:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(139, 92, 246, 0.3);
}

.audio-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.audio-card-header .model-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.audio-card-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 14px 0;
}

.audio-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.audio-feature svg {
    color: var(--primary);
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.audio-card-features .model-use-cases {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 12px 0 16px;
    line-height: 1.55;
}

.audio-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 16px 0;
}

.capability-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgb(139, 92, 246);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
    transition: all 0.2s ease;
    text-decoration: none;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
    color: white;
    text-decoration: none;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.secondary-button:hover {
    background: var(--border);
    border-color: var(--text-muted);
}

.tertiary-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.tertiary-button:hover {
    background: var(--bg-tertiary);
    border-color: var(--border);
}

/* Home Button Styles */
.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    text-decoration: none;
}

.home-btn--primary {
    background: rgb(139, 92, 246);
    color: white;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

.home-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
    color: white;
    text-decoration: none;
}

.home-btn--secondary,
a.home-btn--secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.home-btn--secondary:hover,
a.home-btn--secondary:hover {
    background: var(--border);
    border-color: var(--text-muted);
    color: var(--text-primary);
    text-decoration: none;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 60px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.features-header {
    text-align: center;
    margin: 0 auto 48px;
    padding: 0 24px 48px;
    position: relative;
}

.features-title {
    display: inline-block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary);
    position: relative;
    z-index: 1;
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--primary) 40%,
        rgba(255, 255, 255, 0.9) 50%,
        var(--primary) 60%,
        var(--primary) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sweep-shine 4s linear infinite;
}

/* Circular Layout */
.features-circular-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.features-center-icon {
    display: none;
}

.features-circular-track {
    display: none;
}

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

.features-grid .feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.features-grid .feature-card .feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 0 12px 0;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-grid .feature-card .feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.features-grid .feature-card .feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.features-grid .feature-card .feature-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 12px 0;
    flex-grow: 1;
}

.features-grid .feature-card .home-btn {
    margin-top: auto;
    padding: 10px 16px;
    font-size: 0.875rem;
}

.features-grid .feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2);
}

.features-grid .feature-card:hover .feature-icon {
    background: var(--primary);
}

.features-grid .feature-card:hover .feature-icon svg {
    color: white;
}

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

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

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

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-card--highlight {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.feature-card--highlight:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-card--highlight .feature-icon {
    background: rgba(255, 255, 255, 0.2);
}

.feature-card--highlight:hover .feature-icon {
    background: rgba(255, 255, 255, 0.3);
}

/* Feature card buttons */
.feature-card .card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.feature-card .card-btn--primary {
    background: white;
    color: rgb(139, 92, 246);
    border: 2px solid white;
}

.feature-card .card-btn--primary:hover {
    background: transparent;
    color: white;
}

.feature-card .card-btn--secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.feature-card .card-btn--secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.feature-card--highlight {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0.03) 100%);
    border-color: rgba(139, 92, 246, 0.25);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--primary);
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card--highlight .feature-title {
    color: rgb(139, 92, 246);
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-desc strong {
    color: var(--text-primary);
    font-weight: 600;
}

.feature-desc code {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 4px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8125rem;
    color: var(--primary);
}

/* ===== GETTING STARTED SECTION ===== */
.getting-started-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.getting-started-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.getting-started-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 48px;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 48px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        rgba(139, 92, 246, 0.1) 0%,
        rgba(139, 92, 246, 0.3) 50%,
        rgba(139, 92, 246, 0.1) 100%);
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -48px;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    z-index: 1;
}

.timeline-item--warning .timeline-marker {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.timeline-item--warning:hover .timeline-content {
    border-color: rgba(245, 158, 11, 0.3);
}

.timeline-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.faq-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 48px;
}

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

.faq-new-style {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-new-style:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.faq-new-style[open] {
    border-color: rgba(139, 92, 246, 0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    transition: all 0.2s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-new-style[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.faq-answer p {
    margin: 0;
}

/* ===== DEMO MODAL ===== */
.demo-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.demo-modal.active {
    display: flex;
}

.demo-modal.active {
    display: flex;
}

.demo-modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 480px;
    width: 100%;
    position: relative;
}

.demo-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-muted);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.demo-modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.demo-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.demo-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.demo-form textarea {
    resize: vertical;
    min-height: 100px;
}

.demo-form button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.demo-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

/* ===== REFERRAL BANNER ===== */
.referral-banner {
    display: block;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 16px 24px;
    margin: 0 24px;
    border-radius: var(--radius-md);
    margin-top: 24px;
}

.referral-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.referral-banner-icon {
    width: 32px;
    height: 32px;
    color: white;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.referral-banner-icon svg {
    width: 100%;
    height: 100%;
}

.referral-banner-button svg {
    width: 16px;
    height: 16px;
}

.referral-banner-text {
    flex: 1;
}

.referral-banner-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.referral-banner-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    color: white;
    transition: all 0.2s ease;
}

.referral-banner:hover .referral-banner-button {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .models-grid--embeddings {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-advantage {
        flex-direction: column;
        text-align: center;
    }
    
    .models-section,
    .features-section,
    .getting-started-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .timeline {
        padding-left: 32px;
    }
    
    .timeline::before {
        left: 11px;
    }
    
    .timeline-marker {
        left: -32px;
        width: 32px;
        height: 32px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .models-grid--embeddings {
        grid-template-columns: 1fr;
    }
    
    .models-grid {
        grid-template-columns: 1fr;
    }
    
    .creators-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .referral-banner-content {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .referral-banner-text {
        order: 3;
        width: 100%;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .hero-api-block {
        flex-direction: column;
        gap: 8px;
    }
    
    .model-card {
        padding: 20px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-icon {
        width: 44px;
        height: 44px;
    }
}

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

/* ===== FOOTER STYLES ===== */
.footer-clean {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 24px 16px;
    text-align: center;
}

.footer-links-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

.footer-separator {
    color: var(--border);
}

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

@media (max-width: 768px) {
    .footer-links-row {
        gap: 8px;
    }
    
    .footer-link {
        font-size: 0.8125rem;
    }
}


/* ===== HERO BENEFITS ROW (Redesigned) ===== */
.hero-benefits-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.hero-benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.hero-benefit-item:hover {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.hero-benefit-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, #a78bfa 100%);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-benefit-text {
    font-size: 14px;
    color: var(--text-secondary);
    white-space: nowrap;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .hero-benefits-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-benefit-item {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .hero-benefit-text {
        font-size: 13px;
    }
}

/* ===== IMAGE GENERATION SECTION (Animated Background) ===== */
.image-gen-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.image-gen-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.image-gen-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blob-pulse 8s ease-in-out infinite;
}

.image-gen-blob-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(168, 85, 247, 0.2) 100%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.image-gen-blob-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3) 0%, rgba(139, 92, 246, 0.2) 100%);
    bottom: -150px;
    left: -100px;
    animation-delay: -2s;
}

.image-gen-blob-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(139, 92, 246, 0.15) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -4s;
}

@keyframes blob-pulse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: translate(20px, -20px) scale(1.05);
        opacity: 0.6;
    }
    50% {
        transform: translate(-10px, 10px) scale(0.95);
        opacity: 0.4;
    }
    75% {
        transform: translate(15px, 15px) scale(1.02);
        opacity: 0.55;
    }
}

.image-gen-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 40%);
    animation: particles-shift 20s linear infinite;
}

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

.image-gen-content {
    position: relative;
    z-index: 1;
}

.image-gen-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.image-gen-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.image-gen-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.image-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.image-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-card:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.image-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-card:hover .image-card-img {
    transform: scale(1.15);
}

.image-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    color: #fff;
}

.image-card-content {
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.image-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.image-card-desc {
    font-size: 0.875rem;
    line-height: 1.5;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== VIDEO GENERATION SECTION (Video Background) ===== */
.video-gen-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.video-gen-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-gen-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg, 
        rgba(15, 23, 42, 0.9) 0%, 
        rgba(15, 23, 42, 0.85) 30%, 
        rgba(15, 23, 42, 0.75) 70%, 
        rgba(15, 23, 42, 0.9) 100%
    );
    backdrop-filter: blur(2px);
}

.video-gen-content {
    position: relative;
    z-index: 1;
}

.video-gen-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.video-gen-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.video-gen-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.video-gen-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.video-gen-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.video-gen-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-4px);
}

.video-gen-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.video-gen-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.video-gen-card-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.video-gen-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.video-gen-card-price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1024px) {
    .image-cards-grid,
    .video-gen-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .image-gen-section,
    .video-gen-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .image-gen-blob {
        opacity: 0.3;
    }
    
    .image-gen-blob-1 {
        width: 300px;
        height: 300px;
        top: -100px;
    }
    
    .image-gen-blob-2 {
        width: 250px;
        height: 250px;
        bottom: -80px;
    }
    
    .image-gen-blob-3 {
        width: 200px;
        height: 200px;
    }
    
    .image-cards-grid,
    .video-gen-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .image-card {
        aspect-ratio: 4/3;
    }
    
    .video-gen-card {
        padding: 24px 20px;
    }
}




/* ===== TEXT MODELS SECTION ===== */
.text-models-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.text-models-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.text-models-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.text-models-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.text-models-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 24px;
}

.text-model-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.text-model-row:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.text-model-info {
    flex: 1;
    min-width: 0;
}

.text-model-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.text-model-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.text-model-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.text-model-provider {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.text-model-price {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.text-models-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .text-models-section {
        padding: 60px 0;
    }
    
    .text-model-row {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .text-model-meta {
        align-items: center;
    }
    
    .text-models-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .text-models-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ===== VIDEO MODELS SECTION ===== */
.video-models-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.video-models-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.video-models-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.video-models-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.video-model-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.video-model-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.video-model-content {
    text-align: center;
    margin-bottom: 24px;
}

.video-model-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.video-model-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 20px;
}

.video-model-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.video-feature {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.video-model-price {
    padding: 16px 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: inline-block;
}

.video-model-actions {
    text-align: center;
}

@media (max-width: 768px) {
    .video-models-section {
        padding: 60px 0;
    }
    
    .video-model-card {
        padding: 24px 20px;
        margin: 0 16px;
    }
    
    .video-model-features {
        gap: 8px;
    }
    
    .video-feature {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
}

/* ===== WHY IS IT SIMPLE SECTION ===== */
.simple-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.simple-header {
    text-align: center;
    margin: 0 auto 48px;
}

.simple-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
}

.simple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.simple-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    text-align: center;
}

.simple-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.simple-card-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.simple-card:hover .simple-card-icon {
    background: var(--primary);
}

.simple-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.simple-card:hover .simple-card-icon svg {
    color: white;
}

.simple-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.simple-card-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== AUTH MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 48px 40px;
    max-width: 440px;
    width: 90%;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Auth Forms */
.auth-form-container {
    text-align: center;
}

.auth-header {
    margin-bottom: 32px;
}

.auth-logo {
    margin-bottom: 24px;
}

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

.auth-subtitle {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.9375rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    padding: 4px;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: var(--text-primary);
}

.forgot-password-link {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-password-link:hover {
    color: var(--primary-hover);
}

.btn-block {
    width: 100%;
}

.auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    font-size: 1rem;
    margin-top: 8px;
}

.auth-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.auth-switch-btn {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.auth-switch-btn:hover {
    color: var(--primary-hover);
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-avatar-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.user-avatar-btn:hover {
    background: var(--border);
    color: var(--text-primary);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-lg);
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}

.user-email {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.user-balance {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 10px;
    transition: all 0.15s ease;
    text-decoration: none;
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
}

.user-dropdown-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.user-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

.logout-btn {
    color: #ef4444;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* User Dashboard */
.dashboard-container {
    position: relative;
    background: var(--bg-primary);
    border-radius: 20px;
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .dashboard-container {
    transform: translateY(0) scale(1);
}

.dashboard-sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.dashboard-user-info {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.dashboard-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
}

.dashboard-user-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.dashboard-user-email {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.dashboard-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dashboard-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 12px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
}

.dashboard-nav-item:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.dashboard-nav-item.active {
    background: var(--primary-light);
    color: var(--primary);
}

.dashboard-balance {
    padding: 20px;
    background: var(--bg-card);
    border-radius: 14px;
    margin: 24px 0;
}

.balance-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.balance-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.balance-recharge {
    font-size: 0.875rem;
    padding: 10px 16px;
}

.dashboard-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dashboard-logout:hover {
    background: rgba(239, 68, 68, 0.2);
}

.dashboard-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

.dashboard-section {
    display: none;
}

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

.dashboard-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.stat-icon-purple {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.stat-icon-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.stat-icon-green {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.stat-icon-orange {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.recent-activity {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.activity-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.activity-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.activity-empty svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.activity-empty p {
    font-size: 0.9375rem;
}

/* API Section */
.api-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.api-keys-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.api-key-empty {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-secondary);
    border: 2px dashed var(--border);
    border-radius: 16px;
    color: var(--text-muted);
}

.api-key-empty svg {
    margin-bottom: 20px;
    opacity: 0.5;
}

.api-key-empty p {
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.api-key-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.3s ease;
}

.api-key-card:hover {
    border-color: var(--primary);
}

.api-key-info {
    flex: 1;
    min-width: 0;
}

.api-key-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.api-key-value {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.875rem;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 8px 12px;
    border-radius: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.api-key-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.api-key-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.api-key-delete {
    padding: 10px;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.api-key-delete:hover {
    background: rgba(239, 68, 68, 0.2);
}

@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
        height: 90vh;
        border-radius: 16px;
    }
    
    .dashboard-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding: 16px;
        gap: 16px;
    }
    
    .dashboard-user-info {
        padding-bottom: 0;
        border-bottom: none;
        margin-bottom: 0;
        text-align: left;
    }
    
    .dashboard-avatar {
        width: 40px;
        height: 40px;
        margin: 0;
    }
    
    .dashboard-user-name,
    .dashboard-user-email {
        display: none;
    }
    
    .dashboard-nav {
        flex-direction: row;
        flex-wrap: wrap;
        flex: 1;
        gap: 8px;
    }
    
    .dashboard-nav-item {
        padding: 10px 14px;
        font-size: 0.875rem;
    }
    
    .dashboard-nav-item span {
        display: none;
    }
    
    .dashboard-balance,
    .dashboard-logout {
        display: none;
    }
    
    .dashboard-content {
        padding: 24px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .api-section-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
}

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

@media (max-width: 768px) {
    .simple-section {
        padding: 60px 0;
    }
    
    .simple-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .simple-card {
        padding: 24px 20px;
    }
    
    .simple-card-title {
        font-size: 1rem;
    }
    
    .simple-card-desc {
        font-size: 0.875rem;
    }
}

/* ===== QUICKSTART SECTION ===== */
.quickstart-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.quickstart-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.quickstart-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.quickstart-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.quickstart-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.quickstart-card {
    position: relative;
    padding: 28px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.quickstart-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.quickstart-card-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quickstart-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.quickstart-card:hover .quickstart-card-icon {
    background: var(--primary);
    color: white;
}

.quickstart-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.quickstart-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.quickstart-card--highlight {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-color: rgba(139, 92, 246, 0.2);
}

.quickstart-card--highlight .quickstart-card-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
}

.quickstart-code {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

.quickstart-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
}

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

.quickstart-code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
}

.quickstart-code-dots span:first-child {
    background: #ef4444;
}

.quickstart-code-dots span:nth-child(2) {
    background: #f59e0b;
}

.quickstart-code-dots span:nth-child(3) {
    background: #10b981;
}

.quickstart-code-body {
    padding: 24px;
    background: #1e293b;
    border: 1px solid var(--border-light);
    border-radius: 0 0 12px 12px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.875rem;
    line-height: 1.8;
    overflow-x: auto;
}

.code-line {
    white-space: pre;
}

.code-keyword {
    color: #c084fc;
}

.code-string {
    color: #86efac;
}

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

@media (max-width: 640px) {
    .quickstart-section {
        padding: 60px 0;
    }

    .quickstart-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .quickstart-card {
        padding: 24px 20px;
    }

    .quickstart-code {
        padding: 0 16px;
    }

    .quickstart-code-body {
        padding: 20px 16px;
        font-size: 0.8125rem;
    }
}
