/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    /* Theme: Dark Electric Blue & White */
    --rave-bg: #021a35;
    /* Deep Dark Blue */
    --rave-bg-secondary: #021a35;
    /* Lighter Dark Blue */
    --rave-primary: #00f0ff;
    /* Electric Blue */
    --rave-secondary: #ffffff;
    /* White */
    --rave-accent: #2e5cff;
    /* Deep Royal Blue */
    --rave-text: #ffffff;
    --rave-text-muted: #a0aab8;
    --rave-glass: rgba(0, 240, 255, 0.03);
    --rave-glass-strong: rgba(0, 240, 255, 0.08);
    --rave-glass-border: rgba(0, 240, 255, 0.15);
    --rave-gradient: linear-gradient(135deg, var(--rave-accent), var(--rave-primary));
    --rave-gradient-glow: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
}

.rave-wrapper {
    background-color: var(--rave-bg);
    color: var(--rave-text);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(46, 92, 255, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(0, 240, 255, 0.05) 0%, transparent 30%);
}

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

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

    50% {
        transform: translateY(-10px);
    }

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

/* Typography */
.rave-title {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--rave-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease-out forwards;
}

.rave-subtitle {
    font-size: 1.25rem;
    color: var(--rave-text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 300;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.rave-heading {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--rave-text);
    text-align: center;
}

.rave-section-desc {
    text-align: center;
    color: var(--rave-text-muted);
    max-width: 600px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
}

/* Buttons */
.rave-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: var(--rave-gradient);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.rave-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
    color: white;
}

.rave-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--rave-glass-border);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.rave-btn-secondary:hover {
    background: var(--rave-primary);
    border-color: var(--rave-primary);
    color: #000;
}

/* Hero */
.rave-hero {
    padding: 12rem 2rem 8rem;
    text-align: center;
    position: relative;
}

.rave-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: var(--rave-gradient-glow);
    filter: blur(100px);
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
    animation: pulse 8s infinite ease-in-out;
}

.rave-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.rave-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.rave-card {
    background: var(--rave-glass);
    border: 1px solid var(--rave-glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.rave-card:hover {
    transform: translateY(-5px);
    border-color: var(--rave-primary);
    background: var(--rave-glass-strong);
    box-shadow: 0 10px 30px -10px rgba(0, 240, 255, 0.15);
}

.rave-card h3 {
    color: var(--rave-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rave-card p {
    color: var(--rave-text-muted);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

/* Feature/Benefit specific styles */
.feature-icon {
    font-size: 1.5rem;
    background: rgba(0, 240, 255, 0.1);
    color: var(--rave-primary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

/* Pricing */
.rave-pricing {
    padding: 6rem 2rem;
}

.pricing-card {
    background: var(--rave-bg-secondary);
    border: 1px solid var(--rave-glass-border);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border: 1px solid var(--rave-primary);
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.05) 0%, var(--rave-bg-secondary) 100%);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.1);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--rave-text);
    margin: 1.5rem 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.price span {
    font-size: 1rem;
    color: var(--rave-text-muted);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 1rem;
    color: var(--rave-text-muted);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.features-list li::before {
    content: '✓';
    color: var(--rave-primary);
    font-weight: bold;
}

.features-list li.disabled {
    opacity: 0.5;
}

.features-list li.disabled::before {
    content: '×';
    color: #666;
}

/* Architecture Graphic (CSS Shapes) - Legacy */
.arch-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
}

.arch-node {
    background: var(--rave-glass-strong);
    border: 1px solid var(--rave-primary);
    padding: 1rem 2rem;
    border-radius: 12px;
    color: var(--rave-primary);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.arch-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.arch-connector {
    width: 2px;
    height: 30px;
    background: var(--rave-glass-border);
}

/* Badge */
.module-badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 20px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--rave-primary);
    border: 1px solid rgba(0, 240, 255, 0.2);
    display: inline-block;
}

.module-badge.premium {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .rave-title {
        font-size: 3rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .rave-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Rave Architecture Tree - NEW */
.arch-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 2rem 0;
    width: 100%;
}

.arch-root {
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
    animation: float 6s ease-in-out infinite;
}

.arch-root .node {
    background: linear-gradient(135deg, var(--rave-primary), var(--rave-accent));
    color: #000;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

/* Vertical line from root */
.arch-root::after {
    content: '';
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 3rem;
    background: var(--rave-primary);
    box-shadow: 0 0 10px var(--rave-primary);
}

.arch-children {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    padding-top: 2rem;
    width: 100%;
}

/* Horizontal line connecting children */
.arch-children::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--rave-primary);
    box-shadow: 0 0 10px var(--rave-primary);
}

.child-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Vertical line to each child */
.child-node::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 2rem;
    background: var(--rave-primary);
    box-shadow: 0 0 10px var(--rave-primary);
}

.child-card {
    background: var(--rave-glass);
    border: 1px solid var(--rave-glass-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--rave-text);
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.child-card:hover {
    transform: translateY(-5px);
    border-color: var(--rave-primary);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.2);
}

/* Version List Styling */
.version-list {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.version-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.2s;
}

.version-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.ver-tag {
    font-family: monospace;
    color: var(--rave-primary);
    font-weight: bold;
    font-size: 1.1rem;
}