/* ==========================================================================
   ProduccionPRO Premium SaaS Landing Page Styles
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #030712; /* Tailwind gray-950 equivalent for ultra dark */
    --surface: rgba(17, 24, 39, 0.6); /* Gray-900 glass */
    --surface-light: rgba(31, 41, 55, 0.8);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    
    /* Typography */
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Brand Neons */
    --neon-blue: #3b82f6;
    --neon-blue-glow: rgba(59, 130, 246, 0.4);
    
    --neon-green: #10b981;
    --neon-green-glow: rgba(16, 185, 129, 0.4);
    
    --neon-cyan: #06b6d4;
    --neon-orange: #f59e0b;
    --neon-pink: #ec4899;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-green) 100%);
    --gradient-text: linear-gradient(to right, #ffffff, #9ca3af);
    --gradient-border: linear-gradient(to bottom right, rgba(255,255,255,0.2), rgba(255,255,255,0));
    
    /* Shadows */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-neon: 0 0 20px rgba(59, 130, 246, 0.3);
    
    /* Layout */
    --max-width: 1200px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .brand, .plan-price {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 8rem 0;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.icon-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-blue { color: var(--neon-blue); }
.text-green { color: var(--neon-green); }
.text-orange { color: var(--neon-orange); }
.text-pink { color: var(--neon-pink); }
.text-cyan { color: var(--neon-cyan); }

.mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* ==========================================================================
   Buttons & Tags
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-full {
    width: 100%;
}

.btn-glow {
    background: var(--gradient-hero);
    color: #fff;
    box-shadow: 0 10px 25px var(--neon-blue-glow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-blue) 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px var(--neon-green-glow);
}

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

.btn-outline {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--surface-light);
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--neon-blue);
}

.tag-blue {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--neon-blue);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--neon-blue);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 50%;
    border: 2px solid var(--neon-blue);
    animation: pulse 2s infinite;
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */
.glass-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    padding: 1rem 0;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

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

.btn-nav-outline {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid var(--border-glass);
    background: rgba(255,255,255,0.05);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-nav-outline:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    overflow: hidden;
}

.hero-glow-1 {
    position: absolute;
    top: -10%; left: 20%;
    width: 600px; height: 600px;
    background: var(--neon-blue-glow);
    filter: blur(120px);
    border-radius: 50%;
    z-index: 0;
}

.hero-glow-2 {
    position: absolute;
    top: 20%; right: -10%;
    width: 500px; height: 500px;
    background: var(--neon-green-glow);
    filter: blur(120px);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.hero .cta-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-dashboard-wrapper {
    width: 100%;
    max-width: 1100px;
    perspective: 1000px;
}

.dashboard-frame {
    border-radius: 16px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(59, 130, 246, 0.1);
    transform: rotateX(5deg) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dashboard-frame:hover {
    transform: rotateX(0deg) scale(1);
    box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 60px rgba(16, 185, 129, 0.15);
}

.dashboard-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    border: 1px solid rgba(0,0,0,0.5);
    background-color: var(--surface);
    min-height: 300px; /* placeholder height */
    object-fit: cover;
}

/* ==========================================================================
   Objective Section
   ========================================================================== */
.objective-section {
    background: linear-gradient(to bottom, var(--bg-dark), #050b14);
    border-top: 1px solid var(--border-glass);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.align-center {
    align-items: center;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 4rem;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.regular-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.glass-card {
    background: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.target-card {
    border-top: 2px solid rgba(16, 185, 129, 0.5);
}

.card-glow {
    position: absolute;
    top: -50px; right: -50px;
    width: 150px; height: 150px;
    background: var(--neon-green-glow);
    filter: blur(60px);
    border-radius: 50%;
}

.target-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.target-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.target-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 500;
}

.target-list li:last-child {
    border-bottom: none;
}

/* ==========================================================================
   Bento Grid (Features)
   ========================================================================== */
.dark-section {
    background-color: #02040a;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 1.5rem;
}

.bento-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-hover);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    padding: 3rem;
}

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

.bento-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
}

.bento-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    z-index: 2;
}

.bento-large h3 {
    font-size: 2rem;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    z-index: 2;
    text-align: justify;
}

.bento-large p {
    font-size: 1.15rem;
}

.icon-blue { color: var(--neon-blue); }
.icon-green { color: var(--neon-green); }
.icon-orange { color: var(--neon-orange); }
.icon-pink { color: var(--neon-pink); }
.icon-cyan { color: var(--neon-cyan); }

.bento-bg-gradient {
    position: absolute;
    bottom: 0; right: 0;
    width: 60%; height: 60%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 0;
    border-radius: 50%;
}

.gradient-blue { background: var(--neon-blue); }
.gradient-green { background: var(--neon-green); }
.gradient-cyan { background: var(--neon-cyan); }

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.4s ease, border-color 0.4s ease;
    background-color: var(--surface);
    aspect-ratio: 16 / 9;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--border-glass-hover);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 20px rgba(59, 130, 246, 0.2);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}

.gallery-wide {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-wide {
        grid-column: span 1;
    }
}

/* ==========================================================================
   Customization (4 Cols)
   ========================================================================== */
.customization-section {
    background: radial-gradient(circle at 50% 0%, rgba(31, 41, 55, 0.4) 0%, var(--bg-dark) 70%);
    border-top: 1px solid var(--border-glass);
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-box {
    background: transparent;
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-box h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: justify;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
    position: relative;
}

.pricing-bg-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 600px;
    background: radial-gradient(circle, var(--neon-blue-glow) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.pricing-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.premium-card {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.card-glow-border {
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5) 0%, rgba(16, 185, 129, 0.5) 100%);
    z-index: -1;
}

.pricing-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-glass);
}

.plan-name {
    color: var(--neon-blue);
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
}

.plan-price {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    margin: 1rem 0 0.5rem;
}

.period {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.plan-annual {
    color: var(--neon-green);
    font-weight: 600;
}

.pricing-features {
    margin: 2rem 0;
}

.pricing-features li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
}

.pricing-features li.highlight {
    color: var(--text-primary);
    font-weight: 500;
}

.pricing-features i {
    color: var(--neon-green);
    margin-top: 4px;
}

.pricing-footer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.glass-footer {
    border-top: 1px solid var(--border-glass);
    padding: 4rem 0;
    background: #000;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero .cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-large, .bento-wide {
        grid-column: span 1;
    }
    
    .bento-large {
        grid-row: span 1;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .grid-4-col {
        grid-template-columns: 1fr;
    }
    .premium-card {
        padding: 2rem 1.5rem;
    }
    .plan-price {
        font-size: 3.5rem;
    }
}
