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

:root {
    --primary-color: #6366f1;
    /* Indigo 500 */
    --primary-dark: #4f46e5;
    /* Indigo 600 */
    --secondary-color: #ec4899;
    /* Pink 500 */
    --accent-color: #8b5cf6;
    /* Violet 500 */
    --text-dark: #0f172a;
    /* Slate 900 */
    --text-light: #475569;
    /* Slate 600 */
    --background: #ffffff;
    --background-alt: #f8fafc;
    /* Slate 50 */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --gradient: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --gradient-hover: linear-gradient(135deg, #4f46e5 0%, #db2777 100%);
    --gradient-text: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #8b5cf6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Dark Theme */
[data-theme="dark"] {
    --primary-color: #818cf8;
    /* Indigo 400 */
    --primary-dark: #6366f1;
    --secondary-color: #f472b6;
    /* Pink 400 */
    --accent-color: #a78bfa;
    /* Violet 400 */
    --text-dark: #f8fafc;
    /* Slate 50 */
    --text-light: #94a3b8;
    /* Slate 400 */
    --background: #0f172a;
    /* Slate 900 */
    --background-alt: #1e293b;
    /* Slate 800 */
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 25px rgba(129, 140, 248, 0.2);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo h2 {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Buttons */
.btn-primary {
    background: var(--gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: var(--gradient-hover);
}

.btn-hero {
    background: var(--gradient);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    background: var(--gradient-hover);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
    padding: 1rem 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
    backdrop-filter: blur(4px);
}

[data-theme="dark"] .btn-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.05) 50%, transparent 100%);
    overflow: hidden;
    position: relative;
}

[data-theme="dark"] .hero {
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, rgba(236, 72, 153, 0.1) 50%, transparent 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

[data-theme="dark"] .hero-subtitle {
    color: #94a3b8;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.badge {
    background: rgba(99, 102, 241, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    backdrop-filter: blur(4px);
}

[data-theme="dark"] .badge {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    border-color: rgba(99, 102, 241, 0.3);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-note {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

[data-theme="dark"] .hero-note {
    color: #64748b;
}

.hero-image {
    position: relative;
    height: 500px;
    animation: fadeIn 1s ease-out;
}

.floating-card {
    position: absolute;
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
    border: 1px solid var(--glass-border);
    max-width: 280px;
    z-index: 1;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.floating-card:nth-child(1) {
    top: 5%;
    left: 0;
    animation-delay: 0s;
    z-index: 3;
}

.floating-card:nth-child(2) {
    top: 40%;
    right: 0;
    animation-delay: 1.5s;
    z-index: 2;
}

.floating-card:nth-child(3) {
    bottom: 5%;
    left: 10%;
    animation-delay: 1s;
    z-index: 1;
}

.card-icon {
    font-size: 2rem;
}

.card-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
    font-weight: 700;
}

.card-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

[data-theme="dark"] .card-content p {
    color: #94a3b8;
}

[data-theme="dark"] .card-content h4 {
    color: #ffffff;
}

/* Vision Section */
.vision {
    background: var(--gradient);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .vision {
    background: linear-gradient(135deg, #4338ca 0%, #be185d 100%);
}

.vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.vision-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.vision-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: 800;
}

.vision-text {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.vision-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .vision-title {
        font-size: 2rem;
    }

    .vision-text {
        font-size: 1.1rem;
    }

    .vision-highlight {
        font-size: 1.2rem;
    }
}

/* Models Supported Section */
.models-supported {
    padding: 80px 0;
    background: var(--background-alt);
    overflow: hidden;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

[data-theme="dark"] .models-supported {
    background: rgba(30, 41, 59, 0.4);
    border-top: 1px solid rgba(129, 140, 248, 0.15);
    border-bottom: 1px solid rgba(129, 140, 248, 0.15);
}

.models-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
    margin-bottom: 3rem;
    text-align: center;
    opacity: 0.8;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.marquee {
    display: flex;
    animation: scroll 40s linear infinite;
    width: fit-content;
    gap: 3rem;
}

.marquee:hover {
    animation-play-state: paused;
}

.model-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 100px;
    padding: 1.5rem 2.5rem;
    background: var(--background);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .model-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(129, 140, 248, 0.2);
}

.model-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

[data-theme="dark"] .model-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px -5px rgba(129, 140, 248, 0.3);
}

.model-logo {
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* SVG logos should show their gradient colors even when grayscaled */
svg.model-logo {
    filter: opacity(0.6);
}

[data-theme="dark"] .model-logo {
    filter: grayscale(100%) opacity(0.4) brightness(1.2);
}

[data-theme="dark"] svg.model-logo {
    filter: opacity(0.5);
}

.model-card:hover .model-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.model-card:hover svg.model-logo {
    filter: opacity(1);
    transform: scale(1.1);
}

[data-theme="dark"] .model-card:hover .model-logo {
    filter: grayscale(0%) opacity(0.95) brightness(1);
}

[data-theme="dark"] .model-card:hover svg.model-logo {
    filter: opacity(1);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .models-supported {
        padding: 60px 0;
    }

    .models-label {
        font-size: 0.75rem;
        margin-bottom: 2rem;
    }

    .model-card {
        min-width: 160px;
        height: 80px;
        padding: 1rem 2rem;
    }

    .model-logo {
        max-width: 110px;
        max-height: 50px;
    }

    .marquee {
        animation: scroll 25s linear infinite;
        gap: 2rem;
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

[data-theme="dark"] .section-subtitle {
    color: #94a3b8;
}

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

.feature-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

[data-theme="dark"] .feature-card {
    background: var(--background-alt);
    border-color: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
}

[data-theme="dark"] .feature-icon {
    background: rgba(99, 102, 241, 0.2);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

[data-theme="dark"] .feature-card h3 {
    color: #ffffff;
}

[data-theme="dark"] .feature-card p {
    color: #94a3b8;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--background-alt);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1rem;
}

.pricing-card {
    background: var(--background);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.4s ease;
    overflow: visible;
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.pricing-card:hover::after {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border: 2px solid transparent;
    background: linear-gradient(var(--background), var(--background)) padding-box,
        var(--gradient) border-box;
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: var(--shadow-glow);
}

[data-theme="dark"] .pricing-card.featured {
    background: linear-gradient(var(--background-alt), var(--background-alt)) padding-box,
        var(--gradient) border-box;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow);
    z-index: 10;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

[data-theme="dark"] .pricing-header h3 {
    color: #ffffff;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

[data-theme="dark"] .amount {
    color: white;
}

.period {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[data-theme="dark"] .pricing-features li {
    color: #e2e8f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.btn-pricing {
    width: 100%;
    text-align: center;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: block;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.btn-pricing:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-pricing-featured {
    width: 100%;
    text-align: center;
    padding: 1rem;
    background: var(--gradient);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: block;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.btn-pricing-featured:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: var(--gradient-hover);
}

.pricing-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

[data-theme="dark"] .pricing-note {
    color: #94a3b8;
}

.pricing-details {
    text-align: center;
    margin-top: 4rem;
}

.pricing-details h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

[data-theme="dark"] .pricing-details h3 {
    color: #ffffff;
}

.credit-examples {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.credit-example {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

[data-theme="dark"] .credit-example {
    color: #e5e5ea;
}

.example-icon {
    font-size: 1.5rem;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--gradient);
    color: white;
}

.cta-container {
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-weight: 800;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-weight: 500;
}

[data-theme="dark"] .cta p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.cta-note {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.cta-container>p:last-child {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--background);
}

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

.faq-item {
    background: var(--background-alt);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    padding: 2.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
    transition: color 0.3s;
}

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

.faq-icon {
    font-size: 1.8rem;
    transition: transform 0.3s;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

[data-theme="dark"] .faq-question {
    color: white;
}

[data-theme="dark"] .faq-question:hover {
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background: var(--background);
}

.faq-answer p {
    padding: 0 2.5rem 2.5rem 2.5rem;
    color: var(--text-light);
    line-height: 2;
    font-size: 1.05rem;
}

[data-theme="dark"] .faq-answer {
    background: rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .faq-answer p {
    color: #94a3b8;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: #0f172a;
    color: #f8fafc;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .footer {
    background: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: white;
    font-weight: 700;
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-social {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: white;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    color: #64748b;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }

    25% {
        transform: translateY(-12px) translateX(8px) rotate(1deg);
    }

    50% {
        transform: translateY(-20px) translateX(0) rotate(0deg);
    }

    75% {
        transform: translateY(-12px) translateX(-8px) rotate(-1deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--background);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

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

    .hero-features {
        justify-content: center;
    }

    .credit-examples {
        flex-direction: column;
        align-items: center;
    }
}

/* Theme Toggle & Language Selector */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.theme-toggle,
.language-selector {
    background: var(--background-alt);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover,
.language-selector:hover {
    background: var(--border-color);
    transform: scale(1.05);
}

.language-selector {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a4a4e' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 12px;
}

[data-theme="dark"] .language-selector {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a8a8aa' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-size: 12px 12px;
}

@media (max-width: 768px) {
    .nav-controls {
        position: absolute;
        top: 70px;
        right: 20px;
        background: var(--background);
        padding: 10px;
        border-radius: 8px;
        box-shadow: var(--shadow);
        display: none;
    }

    .nav-controls.active {
        display: flex;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--background-alt);
}

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

.testimonial-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
}

[data-theme="dark"] .testimonial-content p {
    color: #e5e5ea;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

[data-theme="dark"] .author-info h4 {
    color: white;
}

[data-theme="dark"] .author-info p {
    color: #c7c7cc;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--background);
}

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

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

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

[data-theme="dark"] .faq-question {
    color: white;
}

[data-theme="dark"] .faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

[data-theme="dark"] .faq-answer p {
    color: #c7c7cc;
}