/* ==========================================================================
   MIRILUX PAGE - INDIGO THEME
   ========================================================================== */

/* Mirilux-specific color variables */
:root {
    --ml-primary: #6366f1;
    --ml-secondary: #818cf8;
    --ml-tertiary: #a855f7;
    --ml-glow: rgba(99, 102, 241, 0.4);
    --ml-glow-secondary: rgba(168, 85, 247, 0.3);
}

/* Hero Section
   ========================================================================== */

.mirilux-hero {
    min-height: 100vh;
    padding: 140px 0 100px;
    position: relative;
    display: flex;
    align-items: center;
    background: transparent;
}

.mirilux-hero .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.mirilux-hero .hero-content {
    max-width: none;
}

/* Mirilux Badge Styles */
.ml-badge {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--ml-primary);
}

.ml-badge-dot {
    background: var(--ml-primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.hero-logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 30px var(--ml-glow));
}

.mirilux-hero .hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    margin: 0;
    background: linear-gradient(135deg, var(--ml-primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Single tagline - bold statement */
.hero-tagline-single {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

/* Mirilux Button Style */
.btn-ml {
    background: linear-gradient(135deg, var(--ml-primary), var(--ml-tertiary));
    box-shadow: 0 4px 20px var(--ml-glow);
}

.btn-ml:hover {
    box-shadow: 0 8px 30px var(--ml-glow), 0 0 40px var(--ml-glow-secondary);
}

.btn-ml .btn-glow {
    background: linear-gradient(135deg, var(--ml-tertiary), var(--ml-primary));
}

/* Hero Preview with animated bounding boxes */
.hero-preview {
    position: relative;
}

.ml-preview-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.ml-frame-glow {
    background: linear-gradient(135deg, var(--ml-primary), var(--ml-tertiary));
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.bbox-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.animated-bbox {
    position: absolute;
    border: 2px solid var(--ml-primary);
    border-radius: 4px;
    opacity: 0;
    box-shadow: 0 0 10px var(--ml-glow);
}

.bbox-1 {
    top: 25%;
    left: 20%;
    width: 15%;
    height: 20%;
}

.bbox-2 {
    top: 40%;
    left: 45%;
    width: 20%;
    height: 25%;
}

.bbox-3 {
    top: 30%;
    right: 15%;
    width: 12%;
    height: 18%;
}

/* Workflow Pipeline Section
   ========================================================================== */

.workflow-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    z-index: 10;
}

.ml-tag {
    color: var(--ml-primary);
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

.ml-gradient-text {
    background: linear-gradient(135deg, var(--ml-primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pipeline-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 2.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    transition: all var(--transition-base) ease;
    min-width: 160px;
}

.pipeline-stage:hover {
    border-color: var(--ml-primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
}

.pipeline-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(0, 212, 255, 0.15));
    border-radius: 14px;
    margin-bottom: 1rem;
}

.pipeline-icon svg {
    width: 28px;
    height: 28px;
    color: var(--ml-primary);
}

.pipeline-stage h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pipeline-stage p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.4;
}

.pipeline-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ml-primary);
    opacity: 0.5;
}

.pipeline-arrow svg {
    width: 24px;
    height: 24px;
}

/* Features Section
   ========================================================================== */

.features-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 10;
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 100px;
}

.feature-showcase:last-child {
    margin-bottom: 0;
}

.feature-reverse {
    direction: rtl;
}

.feature-reverse > * {
    direction: ltr;
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.feature-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--ml-primary), var(--accent-cyan));
    border-radius: 50%;
}

.feature-visual {
    position: relative;
}

.ml-visual-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    transition: all var(--transition-base) ease;
}

.ml-visual-frame:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 100px rgba(99, 102, 241, 0.2);
}

.ml-visual-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* Specs Bar
   ========================================================================== */

.specs-bar {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    z-index: 10;
}

.specs-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.spec-item {
    text-align: center;
    padding: 0 2rem;
}

.spec-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ml-primary);
    margin-bottom: 0.3rem;
    letter-spacing: 0.02em;
}

.spec-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-transform: lowercase;
}

.spec-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* More Features Grid
   ========================================================================== */

.more-features {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 10;
}

.features-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-feature-compact {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    transition: all var(--transition-base) ease;
}

.grid-feature-compact:hover {
    border-color: var(--ml-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.1);
}

.ml-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(0, 212, 255, 0.15));
    border-radius: 12px;
    flex-shrink: 0;
}

.ml-icon svg {
    width: 24px;
    height: 24px;
    color: var(--ml-primary);
}

.grid-feature-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.grid-feature-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin: 0;
}

/* Feature Checklist Section
   ========================================================================== */

.feature-checklist-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 10;
}

.feature-checklist-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.checklist-column {
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    transition: all var(--transition-base) ease;
}

.checklist-column:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
}

.checklist-category {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.checklist-category svg {
    width: 22px;
    height: 22px;
    color: var(--ml-primary);
    flex-shrink: 0;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checklist li:last-child {
    margin-bottom: 0;
}

.checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, var(--ml-primary), var(--accent-cyan));
    border-radius: 3px;
    opacity: 0.9;
}

.checklist li::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 0.55rem;
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--bg-primary);
    border-bottom: 2px solid var(--bg-primary);
    transform: rotate(-45deg);
}

/* Checklist CTA */
.checklist-cta {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
}

.checklist-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-value {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cta-price-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.cta-value-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ml-primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA Section
   ========================================================================== */

.cta-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.ml-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--ml-primary) 0%, transparent 70%);
    filter: blur(120px);
    opacity: 0.1;
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--ml-primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .mirilux-hero .container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-preview {
        max-width: 700px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-reverse {
        direction: ltr;
    }

    .pipeline {
        gap: 1.5rem;
    }

    .pipeline-stage {
        padding: 1.5rem 2rem;
        min-width: 140px;
    }

    .features-grid-compact {
        grid-template-columns: 1fr;
    }

    .checklist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mirilux-hero {
        padding: 120px 0 80px;
    }

    .hero-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hero-logo {
        height: 60px;
    }

    .hero-tagline-single {
        font-size: 1.3rem;
    }

    .pipeline {
        flex-direction: column;
        gap: 1rem;
    }

    .pipeline-arrow {
        transform: rotate(90deg);
    }

    .pipeline-stage {
        width: 100%;
        max-width: 300px;
    }

    .specs-row {
        flex-direction: column;
        gap: 2rem;
    }

    .spec-divider {
        width: 60px;
        height: 1px;
    }

    .feature-showcase {
        margin-bottom: 60px;
    }

    .checklist-grid {
        grid-template-columns: 1fr;
    }

    .checklist-cta-content {
        flex-direction: column;
        text-align: center;
    }

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

    .checklist-cta {
        padding: 2rem;
    }

    .cta-value-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .grid-feature-compact {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}
