/* ============================================
   UIVERSE-INSPIRED NEON COMPONENTS
   Modern, Glowing, Multi-theme Compatible
   ============================================ */

/* ============================================
   NEON BUTTON - Primary Action
   Glowing effect with hover animation
   ============================================ */
.btn-neon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-purple));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    z-index: 1;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--brand-pink-light), var(--brand-pink));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-neon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-purple), var(--brand-pink));
    border-radius: 14px;
    z-index: -2;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.3s ease;
}

.btn-neon:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(242, 5, 226, 0.4);
}

.btn-neon:hover::before {
    opacity: 1;
}

.btn-neon:hover::after {
    opacity: 1;
    animation: neonPulse 1.5s ease-in-out infinite;
}

.btn-neon:active {
    transform: translateY(-1px);
}

@keyframes neonPulse {

    0%,
    100% {
        opacity: 0.6;
        filter: blur(15px);
    }

    50% {
        opacity: 1;
        filter: blur(20px);
    }
}

/* ============================================
   NEON BUTTON - Secondary/Outline
   ============================================ */
.btn-neon-outline {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-pink);
    background: transparent;
    border: 2px solid var(--brand-pink);
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-neon-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 5, 226, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-neon-outline:hover {
    color: #fff;
    background: var(--brand-pink);
    box-shadow: 0 0 30px rgba(242, 5, 226, 0.4);
    transform: translateY(-2px);
}

.btn-neon-outline:hover::before {
    left: 100%;
}

/* ============================================
   GLASS CARD - Glassmorphism Effect
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Thinner border */
    border-radius: 20px;
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    text-align: center;
    /* Center content globally */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center flex items (icon) */
}

[data-theme="light"] .glass-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-pink), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(242, 5, 226, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(242, 5, 226, 0.15) inset;
}

[data-theme="light"] .glass-card:hover {
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.08),
        0 0 15px rgba(242, 5, 226, 0.05) inset;
    border-color: rgba(242, 5, 226, 0.2);
}

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

/* Glass Card Icon */
.glass-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--brand-pink);
    transition: all 0.3s ease;
}

.glass-card:hover .glass-card-icon {
    border-color: var(--brand-pink);
    color: #fff;
    background: var(--brand-pink);
    box-shadow: 0 0 20px rgba(242, 5, 226, 0.4);
    transform: scale(1.1) rotate(5deg);
}

.glass-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.glass-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   NEON INPUT - Glowing Form Field
   ============================================ */
.neon-input-wrapper {
    position: relative;
    width: 100%;
}

.neon-input {
    width: 100%;
    padding: 16px 20px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

[data-theme="light"] .neon-input {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

.neon-input::placeholder {
    color: var(--text-muted);
}

.neon-input:focus {
    border-color: var(--brand-pink);
    box-shadow:
        0 0 0 4px rgba(242, 5, 226, 0.1),
        0 0 20px rgba(242, 5, 226, 0.15);
}

.neon-input:focus::placeholder {
    opacity: 0.5;
}

/* ============================================
   NEON BADGE - Animated Tag
   ============================================ */
.neon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-purple));
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.neon-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.neon-badge-pulse {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(242, 5, 226, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(242, 5, 226, 0.6);
    }
}

/* ============================================
   NEON DIVIDER - Glowing Line
   ============================================ */
.neon-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-pink), transparent);
    border: none;
    margin: 40px 0;
    opacity: 0.5;
}

/* ============================================
   FLOATING ORBS - Background Decorations
   ============================================ */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-pink {
    background: var(--brand-pink);
}

.orb-purple {
    background: var(--brand-purple);
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, -20px) scale(1.1);
    }

    66% {
        transform: translate(-10px, 10px) scale(0.95);
    }
}

/* ============================================
   NEON LINK - Underline Animation
   ============================================ */
.neon-link {
    color: var(--brand-pink);
    text-decoration: none;
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.neon-link:hover {
    color: var(--brand-pink-light);
    text-shadow: 0 0 10px rgba(242, 5, 226, 0.5);
}

.neon-link.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(242, 5, 226, 0.8);
    border-bottom: 2px solid var(--brand-pink);
}

[data-theme="light"] .neon-link.active {
    color: #0f0f1a;
    text-shadow: none;
    font-weight: 700;
}

/* ============================================
   NEON TOOLTIP
   ============================================ */
.neon-tooltip {
    position: relative;
}

.neon-tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    padding: 8px 16px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 13px;
    border-radius: 8px;
    border: 1px solid var(--brand-pink);
    box-shadow: 0 0 20px rgba(242, 5, 226, 0.2);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.neon-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* ============================================
   SOCIAL ICON BUTTONS
   ============================================ */
.social-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

[data-theme="light"] .social-icon {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

.social-icon:hover {
    color: #fff;
    background: var(--brand-pink);
    border-color: var(--brand-pink);
    box-shadow: 0 0 20px rgba(242, 5, 226, 0.4);
    transform: translateY(-3px);
}

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

/* ============================================
   LOADER / SPINNER
   ============================================ */
.neon-loader {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--brand-pink);
    border-radius: 50%;
    animation: neonSpin 1s linear infinite;
}

@keyframes neonSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   STAT COUNTER
   ============================================ */
.stat-counter {
    text-align: center;
    padding: 24px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

/* ============================================
   BENTO GRID - Advanced Feature Layout
   ============================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(250px, auto));
    gap: 24px;
    width: 100%;
    margin-bottom: 80px;
}

.bento-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    padding: 32px;
}

[data-theme="light"] .bento-item {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-item:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(242, 5, 226, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .bento-item:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(242, 5, 226, 0.2);
}

.bento-span-2 {
    grid-column: span 2;
}

.bento-row-2 {
    grid-row: span 2;
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bento-span-2,
    .bento-row-2 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ============================================
   VERTICALS TIMELINE - Progressive Rollout
   ============================================ */
.verticals-section {
    position: relative;
    padding: 100px 0;
}

.vertical-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.vertical-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--brand-purple) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(20px);
}

.vertical-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   GLOW TEXT & EFFECTS
   ============================================ */
.text-glow {
    text-shadow: 0 0 20px rgba(242, 5, 226, 0.5);
}

.gradient-border-bottom {
    position: relative;
}

.gradient-border-bottom::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-pink), var(--brand-purple));
    border-radius: 3px;
}

/* ============================================
   LOGO STRIP (Infinite Marquee)
   ============================================ */
.logo-strip {
    width: 100%;
    overflow: hidden;
    padding: 24px 0;
    position: relative;
    background: transparent;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 40s linear infinite;
    align-items: center;
}

.logo-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    transition: opacity 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    user-select: none;
}

.logo-item:hover {
    opacity: 1;
    color: var(--brand-pink);
    cursor: default;
}

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

    100% {
        transform: translateX(-50%);
    }
}


/* ============================================
   TESTIMONIALS SLIDER (Custom Design)
   ============================================ */
.testimonials-slider-section {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-slider-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .testimonial-slider-container {
        grid-template-columns: 300px 1fr;
        /* Image Left, Text Right */
        gap: 60px;
    }
}

/* Images Area */
.testimonial-images-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    /* Center on mobile */
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-halo {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--brand-pink);
    opacity: 0.2;
    animation: pulseHalo 4s infinite;
}

@keyframes pulseHalo {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

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

.testimonial-images-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.testimonial-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.4;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(100%);
    border: 2px solid transparent;
}

/* Active State (Center) */
.testimonial-img.active {
    width: 140px;
    height: 140px;
    opacity: 1;
    filter: grayscale(0%);
    transform: translate(-50%, -50%) scale(1);
    border-color: var(--brand-pink);
    z-index: 10;
    box-shadow: 0 0 30px rgba(242, 5, 226, 0.4);
}

/* Prev/Next States (Orbiting) */
.testimonial-img.prev {
    transform: translate(-140%, -20%) scale(0.6);
    opacity: 0.3;
}

.testimonial-img.next {
    transform: translate(60%, -20%) scale(0.6);
    opacity: 0.3;
}

/* Text Area */
.testimonial-content-wrapper {
    text-align: center;
}

@media (min-width: 768px) {
    .testimonial-content-wrapper {
        text-align: left;
    }
}

.testimonial-quote-container {
    min-height: 150px;
    /* Reserve space */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-quote {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-style: italic;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInText 0.5s ease forwards;
}

.testimonial-author {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--brand-pink);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

/* Controls */
.testimonial-controls {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .testimonial-controls {
        justify-content: flex-start;
    }
}

.testimonial-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover {
    border-color: var(--brand-pink);
    color: var(--brand-pink);
    transform: translateY(-2px);
}

/* ============================================
   ACCORDION (FAQ)
   ============================================ */
.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    padding: 24px 0;
    text-align: left;
    background: none;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: var(--brand-pink);
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.accordion-item.active .accordion-header {
    color: var(--brand-pink);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
    padding-bottom: 24px;
    max-height: 200px;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table-wrapper {
    overflow-x: auto;
    width: 100%;
    margin-bottom: 80px;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .comparison-table th,
[data-theme="light"] .comparison-table td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-table th {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .comparison-table th {
    background: rgba(0, 0, 0, 0.02);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
    position: sticky;
    left: 0;
    background: var(--bg-primary);
    /* Ensure sticky header hides content */
    z-index: 10;
}

.comparison-check {
    color: #10b981;
    font-weight: 700;
    font-size: 1.2rem;
}

/* ============================================
   SPACES CAROUSEL (3D SLIDER)
   ============================================ */
.spaces-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 0;
    /* Huge padding to ensure nothing is cut */
    overflow: hidden;
}

.spaces-carousel {
    position: relative;
    height: 600px;
    /* Adjust based on card height */
    perspective: 1000px;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
}

.space-card {
    width: 320px;
    /* Standard width */
    height: 480px;
    /* Height to fit everything */
    background: rgba(10, 10, 20, 0.85);
    /* Dark Glass */
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    transform: translateX(0) scale(0.8);
    z-index: 1;

    /* Auto Layout Container */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    overflow: visible !important;

    /* Padding: Top 54px for Logo, Bottom 16px for Button Spacing */
    padding: 54px 24px 16px 24px;
    gap: 0;
}

/* Content Wrapper - Fits tightly around content */
.space-card .card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Takes available space */
    justify-content: flex-start;
    text-align: center;
    width: 100%;
}

/* Typography & Layout */
.space-card h2 {
    font-size: 1.6rem;
    margin: 0;
    padding-top: 12px;
}

.space-card .card-desc {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.4;
}

.space-card .card-features {
    text-align: center;
    font-size: 0.8rem;
    padding: 0;
    margin: 20px 0;
    /* Space above/below */
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Simple gap */
    list-style: none !important;
}

.space-card .card-features li {
    margin: 0;
    display: block;
    color: var(--text-secondary);
    background: none !important;
    /* No pills */
    padding: 0;
    font-weight: 500;
}

.space-card .status-badge {
    align-self: center;
    font-size: 0.75rem;
    padding: 4px 10px;
}

.iso-wrapper {
    width: 72px;
    height: 48px;
    /* Slightly taller for overlap */
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    /* Gradient Mask: Solid top (matches page), transparent bottom (inside card) */
    background: linear-gradient(to bottom, var(--bg-primary) 50%, transparent 50%);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none !important;
    border: none !important;
    pointer-events: none;
}

/* Icon sits inside wrapper, needs to be centered relative to the whole visual block */
.card-iso {
    width: 64px;
    height: 64px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centered in wrapper */
    z-index: 11;
}

[data-theme="light"] .iso-wrapper {
    background: linear-gradient(to bottom, var(--bg-primary) 52%, transparent 53%);
}

[data-theme="dark"] .iso-wrapper {
    background: linear-gradient(to bottom, #0f0f1a 52%, transparent 53%);
    /* Explicit Dark */
    /* Assuming #0f0f1a is the bg primary from inspection */
}

/* Ensure card bg matches mask so it looks seamless? No, usage request: "colores de fill... antes era negro ahora lo pusiste de otro tono". */
/* Original was rgba(30,30,40,0.6). Be careful. If the mask is solid page-bg, and card is transparent, the mask will look like a cutout. Correct. */

.card-iso {
    width: 64px;
    height: 64px;
    position: relative;
    z-index: 11;
}

/* Default state (Inactive) - Gray */
.space-card:not(.active) .iso-wrapper {
    background-color: var(--bg-primary);
}

.space-card:not(.active) .card-iso {
    filter: grayscale(100%) opacity(0.5) !important;
}

/* Active Card */
.space-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 20;
    /* Revert to Glassy as requested */
    background: rgba(30, 30, 40, 0.6);
    backdrop-filter: blur(12px);
    border-color: var(--brand-pink);
    box-shadow: 0 20px 80px rgba(242, 5, 226, 0.25);
}

.space-card.active .iso-wrapper {
    /* No shadow/border on wrapper */
}

.space-card.active .card-iso {
    filter: drop-shadow(0 0 10px rgba(242, 5, 226, 0.8));
    filter: grayscale(0%) opacity(1) !important;
}

/* Button Visibility - Outside Content, Inside Card */
.space-card .btn-neon,
.space-card .small {
    display: none;
}

.space-card.active .btn-neon,
.space-card.active .small {
    display: block;
    position: relative;
    /* In flow */
    width: 100%;
    margin-top: auto;
    /* Push to bottom if flex container allows */
    /* Since card is flex col, and button is last child, this works if content grows or we just let it sit */
    /* User said "separacion con la card de 16 pixeles". Card padding-bottom is 16px. */
    /* So button sits 16px from bottom edge. */
    animation: fadeIn 0.5s ease;
    z-index: 25;
}

/* Coming Soon Text */
.coming-soon-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    opacity: 0.7;
}

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

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

/* Next Card (Right) - Increased translateX for "more open" look */
.space-card.next {
    opacity: 0.5;
    transform: translateX(350px) scale(0.85) rotateY(-15deg);
    z-index: 5;
    filter: blur(4px);
    /* Requested Blur */
    cursor: pointer;
}

/* Prev Card (Left) */
.space-card.prev {
    opacity: 0.5;
    transform: translateX(-350px) scale(0.85) rotateY(15deg);
    z-index: 5;
    filter: blur(4px);
    /* Requested Blur */
    cursor: pointer;
}

/* Hidden Cards */
.space-card.hidden {
    opacity: 0;
    transform: scale(0.5);
    z-index: 0;
    pointer-events: none;
}

/* Inner Content */
/* .card-iso defined above within .space-card block for specificity */

.card-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.status-badge.soon {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.status-badge:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

.card-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

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

.card-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

/* Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.control-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    /* Flex to center the icon */
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: var(--brand-pink);
    border-color: var(--brand-pink);
    transform: scale(1.1);
}

/* Indicators Removed */

/* ============================================
   GRID UTILITIES (Moved from pages.css)
   ============================================ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-2-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (max-width: 768px) {

    .grid-3,
    .grid-2,
    .grid-2-feature {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ============================================
   BLOG GRID & PREMIUM CARDS
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
    width: 100%;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Ensure blog article related section is full width */
.blog-post-page .container>section {
    width: 100%;
    max-width: 100%;
}

.related-articles {
    width: 100%;
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .related-articles {
    border-top-color: rgba(0, 0, 0, 0.05);
}

.related-articles .blog-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px;
    width: 100%;
}

@media (max-width: 992px) {
    .related-articles .blog-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        /* Keep 3 on tablets if possible */
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .related-articles .blog-grid {
        grid-template-columns: 1fr !important;
    }
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(242, 5, 226, 0.4);
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(242, 5, 226, 0.1) inset;
}



.blog-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a0845, #6441a5, #fe3dce);
    transition: transform 0.6s ease;
}

/* Specific Gradients for Variety */
.blog-card:nth-child(2n) .blog-image-placeholder {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.blog-card:nth-child(3n) .blog-image-placeholder {
    background: linear-gradient(135deg, #1A2980, #26D0CE);
}

.blog-card:nth-child(4n) .blog-image-placeholder {
    background: linear-gradient(135deg, #f12711, #f5af19);
}

.blog-card:nth-child(5n) .blog-image-placeholder {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
}

.blog-card:nth-child(6n) .blog-image-placeholder {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.blog-card:hover .blog-image-placeholder,
.blog-card:hover img {
    transform: scale(1.1);
}

.blog-category-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta-row {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    align-items: center;
}

.blog-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.blog-card:hover h3 {
    color: var(--brand-pink);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
    /* Pushes footer down */
}

.blog-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============================================
   FLOATING DROID
   ============================================ */
.floating-droid {
    position: absolute;
    width: 80px;
    height: auto;
    z-index: 20;
    /* Increased visibility */
    opacity: 0.9;
    pointer-events: none;
    animation: float-y 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes float-y {

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

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

.floating-droid.droid-flip {
    transform: scaleX(-1);
    /* Flip horizontally */
    animation: float-y-flip 6s ease-in-out infinite;
}

@keyframes float-y-flip {

    0%,
    100% {
        transform: scaleX(-1) translateY(0);
    }

    50% {
        transform: scaleX(-1) translateY(-20px);
    }
}

.article-hero {
    position: relative;
    padding: 160px 0 60px;
    /* Reduced bottom padding */
    text-align: center;
    overflow: hidden;
}

/* Fix for spacing issues */
.article-hero .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: auto !important;
    justify-content: flex-start;
}

.article-hero h1 {
    font-size: 2.5rem !important;
    /* Override standard H1 */
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(242, 5, 226, 0.15), transparent 70%);
    z-index: -1;
}

.article-meta {
    display: inline-flex;
    gap: 16px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-content h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-top: 60px;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.article-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 16px;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 12px;
}

.neon-quote {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-left: 4px solid var(--brand-pink);
    padding: 32px;
    border-radius: 0 16px 16px 0;
    margin: 40px 0;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    position: relative;
}

.neon-quote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(242, 5, 226, 0.2);
    font-family: serif;
    line-height: 1;
}

.article-cta-box {
    background: linear-gradient(135deg, rgba(242, 5, 226, 0.1), rgba(147, 51, 234, 0.1));
    border: 1px solid rgba(242, 5, 226, 0.3);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    margin: 60px 0;
    box-shadow: 0 0 30px rgba(242, 5, 226, 0.1);
}

.author-bio {
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 24px;
    margin-top: 80px;
}

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