@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Outfit:wght@500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
.font-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 42, 109, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Glow Effects */
.glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.glow-primary {
    background: var(--primary);
}

.glow-secondary {
    background: var(--secondary);
}

.glow-accent {
    background: var(--accent);
}

@keyframes animate-glow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 20px) scale(1.1);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.animate-glow {
    animation: animate-glow 10s infinite alternate ease-in-out;
}

/* Typography */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 0 20px rgba(255, 42, 109, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(255, 42, 109, 0.6);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Character Cards */
.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.character-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: #111;
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

.character-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.character-img-wrapper {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #222;
    /* Placeholder bg */
    position: relative;
}

.character-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.character-card:hover .character-img-wrapper img {
    transform: scale(1.05);
}

.character-info {
    padding: 30px;
    background: linear-gradient(0deg, rgba(5, 2, 18, 1) 0%, rgba(5, 2, 18, 0.8) 50%, transparent 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* FAQ Accordion */
.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 24px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-answer {
    display: none;
    color: var(--text-muted);
    overflow: hidden;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

/* Other Bots Section */
.bots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.bot-card {
    text-align: center;
    padding: 50px 40px;
}

.bot-icon {
    font-size: 4rem;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 10px var(--primary));
}

/* New Sections Styles */
.section-tag {
    background: rgba(255, 42, 109, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 42, 109, 0.2) 0%, rgba(255, 122, 0, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    border: 1px solid rgba(255, 42, 109, 0.2);
}

.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 42, 109, 0.1);
    margin-bottom: 10px;
    line-height: 1;
}

/* Character Preview for Hero */
.preview-card {
    background: #0a0a1a;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin: 60px auto 0;
    position: relative;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.preview-avatar {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient-primary);
}

.preview-body {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 20px;
    min-height: 150px;
    border: 1px dashed var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* Animations */
.reveal {
    opacity: 1 !important;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer { display: block; }
.faq-icon { flex: 0 0 28px; text-align: center; font-size: 1.4rem; }

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Animation */
@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: floating 4s infinite ease-in-out;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
        margin-bottom: 20px !important;
    }

    .preview-card {
        padding: 20px;
        margin-top: 40px;
    }

    .section-padding {
        padding: 60px 0 !important;
    }
}
