/* BotPanel Landing CSS - White Theme - FIXED VERSION */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --accent: #8b5cf6;
    --bg-color: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography & Utils */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-main);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 17px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f9ff;
}

.btn-text {
    background: transparent;
    border: none;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.full-width {
    display: block;
    width: 100%;
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 5px;
}

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

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

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.nav-auth {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.bg-blur {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid #dbeafe;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    margin-bottom: 60px;
    align-items: center;
}

.hero-stats {
    display: flex;
    gap: 48px;
    border-top: 1px solid var(--border);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

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

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    height: auto;
    perspective: 1000px;
}

.floating-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
    position: relative;
}

.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    animation: float 8s ease-in-out infinite reverse;
}

.glass-card i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.glass-card span {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.glass-card small {
    color: var(--secondary);
    font-size: 0.75rem;
}

.card-1 {
    top: 40%;
    left: -40px;
    width: 180px;
}

.card-1 i {
    background: #e0e7ff;
    color: var(--primary);
}

.card-2 {
    bottom: 25%;
    right: -20px;
    width: 160px;
    animation-delay: 1s;
}

.card-2 i {
    background: #dcfce7;
    color: #16a34a;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotateX(0deg);
    }

    50% {
        transform: translateY(-20px) rotateX(5deg);
    }

    100% {
        transform: translateY(0px) rotateX(0deg);
    }
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--secondary);
    font-size: 1.125rem;
}

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

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

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

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.icon-box.blue {
    background: #eff6ff;
    color: var(--primary);
}

.icon-box.purple {
    background: #f3e8ff;
    color: #9333ea;
}

.icon-box.green {
    background: #dcfce7;
    color: #16a34a;
}

.icon-box.orange {
    background: #ffedd5;
    color: #ea580c;
}

.icon-box.red {
    background: #fee2e2;
    color: #dc2626;
}

.icon-box.teal {
    background: #ccfbf1;
    color: #0d9488;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--secondary);
    font-size: 0.95rem;
}

/* How It Works - FIXED */
.how-it-works {
    padding: 100px 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
}

.text-content {
    position: relative;
    z-index: 20;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 48px;
    margin-top: 16px;
}

.mode-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding: 24px;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.mode-item:hover {
    background: var(--bg-light);
}

.mode-item.active {
    background: white;
    border: 1px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.mode-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.25rem;
}

.mode-info h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.mode-info p {
    color: var(--secondary);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.mode-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.mode-badge.lite {
    background: #dbeafe;
    color: var(--primary);
}

.mode-badge.pro {
    background: #fae8ff;
    color: #a855f7;
}

/* Visual Chat Interface */
.visual-content {
    position: relative;
    height: 420px;
    width: 100%;
}

.visual-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    z-index: 1;
}

.visual-group.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 10;
}

.chat-interface {
    background: white;
    box-shadow: var(--shadow-xl);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.chat-header {
    background: #f1f5f9;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    color: var(--text-muted);
}

.dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    margin-right: 4px;
}

.chat-body {
    display: grid;
    grid-template-columns: 140px 1fr;
    height: 300px;
}

.topic-list {
    background: #f8fafc;
    border-right: 1px solid var(--border);
    padding: 10px;
}

.topic {
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--secondary);
    margin-bottom: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.topic.active {
    background: #e0e7ff;
    color: var(--primary);
    font-weight: 600;
}

.messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msg {
    max-width: 80%;
    padding: 10px 16px;
    border-radius: 16px;
    font-size: 0.875rem;
}

.msg.received {
    background: #f1f5f9;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: var(--text-main);
}

.msg.sent {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* Pricing */
.pricing {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.badge-pop {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card-header {
    text-align: center;
    margin-bottom: 32px;
}

.card-header h3 {
    color: var(--secondary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
}

.price span {
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 400;
}

.features-list {
    margin-bottom: 32px;
}

.features-list li {
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.features-list li i {
    color: var(--primary);
    font-size: 0.9rem;
}

.features-list li.faded {
    color: #cbd5e1;
    text-decoration: line-through;
}

.features-list li.faded i {
    color: #cbd5e1;
}

/* FAQ Fixed Accordion */
.faq {
    padding: 100px 0;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 1.125rem;
    margin: 0;
    font-weight: 600;
    color: var(--text-main);
}

.faq-question i {
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    background: #f8fafc;
}

.faq-item.active .faq-answer {
    opacity: 1;
}

.faq-content {
    padding: 24px;
    border-top: 1px solid var(--border);
    color: var(--secondary);
    line-height: 1.6;
}

/* Simple Footer */
.simple-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    margin-top: 60px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links-simple a {
    color: var(--secondary);
    margin-left: 24px;
    font-size: 0.95rem;
}

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

.copyright {
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

/* Video Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-content {
    background: black;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .glass-card {
        display: none;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        text-align: center;
        gap: 20px;
        border-radius: 0 0 24px 24px;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

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

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

    .mobile-menu-btn {
        display: block;
    }

    .nav-auth {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links-simple a {
        margin: 0 10px;
    }

    .visual-content {
        height: 350px;
    }
}

/* Mobile Adjustments (Phones) */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-image {
        display: none;
    }

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

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

    .hero-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 85% !important;
        max-width: 320px;
        margin: 0 !important;
        text-align: center;
        justify-content: center;
        white-space: nowrap;
    }

    .hero-description {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center;
    }

    .btn-lg {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

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

    .mode-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 16px;
    }

    .pricing-card {
        padding: 24px 16px;
    }

    .footer-links-simple {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .footer-links-simple a {
        margin: 0;
    }

    .footer-logo-simple {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo-simple span {
        margin-left: 0 !important;
        margin-top: 8px;
    }

    /* Features Grid Small */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .feature-card {
        padding: 16px;
        border-radius: 16px;
    }

    .icon-box {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        border-radius: 10px;
        margin-bottom: 12px;
    }

    .feature-card h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .feature-card p {
        font-size: 0.75rem;
        line-height: 1.4;
        color: #64748b;
    }
}

/* Creator Bar */
.creator-bar {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--secondary);
    width: 100%;
}

.creator-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s ease;
}

.creator-link:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.creator-link img {
    height: 18px;
    width: auto;
}