:root {
    --bg-dark: #06070e;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --neon-cyan: #00f2fe;
    --neon-purple: #8a2be2;
    --neon-pink: #ff007f;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Offline Fallback Grid (If Bootstrap CDN fails) */
.container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-md-4, .col-lg-4 { flex: 1; min-width: 280px; padding: 15px; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.text-center { text-align: center; }
.gap-2 { gap: 0.5rem; } .gap-3 { gap: 1rem; }

/* Preloader */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.neon-loader {
    width: 60px; height: 60px;
    border: 4px solid transparent;
    border-top-color: var(--neon-cyan);
    border-bottom-color: var(--neon-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.loading-text {
    margin-top: 15px;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--neon-cyan);
    animation: pulse 1.5s infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: 0.4; } }

/* Background Glowing Orbs */
.glow-orb {
    position: fixed;
    width: 400px; height: 400px;
    border-radius: 50%;
    filter: blur(130px);
    z-index: -1;
    opacity: 0.35;
}
.orb-1 { top: -100px; left: -100px; background: var(--neon-purple); }
.orb-2 { bottom: 10%; right: -100px; background: var(--neon-cyan); }

/* Typography & Gradients */
.text-gradient {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Components */
.glass-nav {
    background: rgba(6, 7, 14, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    padding: 15px 0;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Buttons & Badges */
.btn-neon {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    color: white;
    border: none;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.4);
    transition: all 0.3s ease;
}
.btn-neon:hover {
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.7);
    transform: translateY(-2px);
    color: white;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--border-glass);
    transition: 0.3s;
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--neon-cyan);
}

.badge-neon {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--neon-cyan);
    border-radius: 50px;
    font-size: 14px;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    padding-top: 80px;
}

/* AI Prompt Demo */
.prompt-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.1);
}
.prompt-box input:focus { outline: none; box-shadow: none; }

.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    transition: 0.4s;
}
.active-step {
    border-color: var(--neon-pink);
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.15);
}
.icon-box {
    width: 60px; height: 60px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    display: flex; align-items: center; justify-content: center;
}

/* Integration Logo Grid */
.logo-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}
.logo-item {
    display: flex; align-items: center; gap: 10px;
    padding: 15px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: #888;
    transition: 0.3s;
    cursor: pointer;
}
.logo-item:hover {
    color: white;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
    transform: translateY(-3px);
}

/* Pricing Switch & Cards */
.switch {
    position: relative; display: inline-block; width: 54px; height: 28px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255,255,255,0.1);
    transition: .4s; border-radius: 34px;
    border: 1px solid var(--border-glass);
}
.slider:before {
    position: absolute; content: ""; height: 20px; width: 20px;
    left: 4px; bottom: 3px; background-color: var(--neon-cyan);
    transition: .4s; border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan);
}
input:checked + .slider:before {
    transform: translateX(24px);
    background-color: var(--neon-pink);
    box-shadow: 0 0 10px var(--neon-pink);
}

.popular-card {
    border-color: var(--neon-purple);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.15);
    transform: scale(1.03);
}
.popular-badge {
    position: absolute; top: -12px; right: 20px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    font-size: 11px; font-weight: bold; padding: 4px 12px; border-radius: 20px;
}

/* Custom Accordion */
.accordion-header { cursor: pointer; user-select: none; }
.accordion-body { display: none; }
.accordion-item.active .accordion-body { display: block; }
.acc-icon { transition: transform 0.3s ease; }
.accordion-item.active .acc-icon { transform: rotate(180deg); stroke: var(--neon-cyan); }