/* ====== DESARROLLOS V2 - NEURAL DATA UX ====== */

.desarrollos-page {
    background-color: var(--base-100);
    color: var(--fg-primary);
}

/* Neural Network Background Effect */
.neural-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255, 204, 0, 0.05) 0%, transparent 70%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 60px 60px, 60px 60px;
    opacity: 0.8;
}

/* Hero Section */
.hero-dev {
    padding: 140px 20px 100px;
    text-align: center;
    position: relative;
}

.hero-dev h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-dev p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 48px;
    color: var(--fg-secondary);
}

/* Glass Gallery Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    padding: 40px 0;
}

.dev-card {
    background: var(--base-200);
    border: 1px solid var(--border-default);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
}

.dev-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 20px rgba(255, 204, 0, 0.1);
}

.dev-card-img {
    height: 240px;
    background: #000;
    position: relative;
    overflow: hidden;
}

.dev-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.5s ease;
}

.dev-card:hover .dev-card-img img {
    opacity: 1;
    transform: scale(1.05);
}

.dev-card-content {
    padding: 32px;
}

.dev-card-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.dev-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 204, 0, 0.1);
    color: var(--accent-primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

/* Pricing Section */
.pricing-dev {
    padding: 100px 20px;
    background: radial-gradient(circle at center, var(--base-200), var(--base-100));
}

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

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-default);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

.price-tag {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin: 24px 0;
}

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

/* Modal Enhancements */
.dev-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dev-modal.open { display: flex; }

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 11, 20, 0.98);
    backdrop-filter: blur(15px);
}

.modal-frame {
    position: relative;
    background: var(--base-200);
    width: 100%;
    max-width: 1000px;
    border-radius: 24px;
    border: 1px solid var(--border-strong);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header {
    padding: 24px 40px;
    border-bottom: 1px solid var(--border-default);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
}

.modal-gallery {
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9;
}

.modal-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .hero-dev h1 { font-size: 3rem; }
}
