/* ============================================================ 
   ULTRA-PREMIUM BRAND CORPORATE DESIGN - VENIGEM ADVANCED
   ============================================================ */

:root {
    --brand-blue: #059899;
    --brand-cyan: #06b6d4;
    --brand-dark: #020617;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    background-color: var(--bg-white);
    color: var(--text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

/* ==================== EXPANSIVE BRAND HERO ==================== */
.products-hero {
    position: relative;
    padding: 220px 0 140px;
    background: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.hero-visual-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2,6,23,0.4) 0%, var(--brand-dark) 100%), url('hero-ras.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 1;
    filter: grayscale(80%) contrast(1.2);
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-pre-title {
    display: block;
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 35px;
    letter-spacing: -2px;
}

.hero-desc {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}



/* ==================== ULTRA-PREMIUM PRODUCT SECTIONS ==================== */
.premium-showcase {
    display: flex;
    flex-direction: column;
}

.pro-section {
    padding: 140px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pro-section.bg-light {
    background-color: var(--bg-light);
}

.pro-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.pro-container.reverse {
    flex-direction: row-reverse;
}

.pro-content {
    flex: 1;
    max-width: 600px;
}

.pro-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.pro-index {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 700;
}

.pro-divider {
    width: 40px;
    height: 1px;
    background: var(--text-muted);
    opacity: 0.5;
}

.pro-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-blue);
}

.pro-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.pro-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 50px;
    font-weight: 400;
}

/* Minimalist Editorial Specs Link */
/* Professional Insights Grid */
.pro-insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    margin-top: 30px;
}

.insight-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.insight-icon {
    width: 40px;
    height: 40px;
    background: rgba(5, 152, 153, 0.1);
    color: var(--brand-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.insight-text h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.insight-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .pro-insights-grid {
        grid-template-columns: 1fr;
    }
}

.pro-specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.pro-specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-size: 1rem;
}

.pro-specs-list span {
    color: var(--text-secondary);
}

.pro-specs-list strong {
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.pro-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.pro-btn-primary {
    background: var(--brand-dark);
    color: #fff;
    padding: 20px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.pro-btn-primary:hover {
    background: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(5,152,153,0.3);
}

.pro-btn-secondary {
    display: flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    border: 1.5px solid var(--text-primary);
    color: var(--text-primary);
    padding: 20px 40px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pro-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--text-primary);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.pro-btn-secondary:hover {
    color: #fff;
}

.pro-btn-secondary:hover::before {
    width: 100%;
}

.pro-btn-secondary i {
    font-size: 14px;
}

.pro-btn-link:hover {
    color: var(--brand-blue);
    gap: 12px;
}

/* The Visual Side */
.pro-visual {
    flex: 1.2;
    position: relative;
    width: 100%;
}

.pro-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    width: 100%;
}

.pro-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pro-section:hover .pro-image-wrapper img {
    transform: scale(1.03);
}

.dark-mockup {
    background: #0f172a;
}

.water-mark-icon {
    font-size: 150px;
    color: rgba(255,255,255,0.03);
}

/* ==================== GLOBAL FOOTER CTA (WIDE) ==================== */
.cta-banner {
    padding: 120px 5%;
    background: var(--bg-white);
}

.cta-wide-box {
    background: var(--brand-dark);
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.cta-info {
    margin-bottom: 40px;
}

.cta-info h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.cta-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

.btn-cta-wide {
    display: inline-block;
    padding: 24px 60px;
    background: #fff;
    color: var(--brand-dark);
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.btn-cta-wide:hover {
    background: var(--brand-blue);
    color: #fff;
    transform: translateY(-5px);
}

/* ==================== RESPONSIVE ARCHITECTURE ==================== */

/* Tablet & Smaller Desktop */
@media (max-width: 1024px) {
    .pro-container, .pro-container.reverse {
        flex-direction: column;
        gap: 60px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .cta-info h2 {
        font-size: 3rem;
    }
    
    .cta-wide-box {
        padding: 60px 40px;
    }
}

/* Highly Professional Mobile View (Phones) */
@media (max-width: 768px) {
    
    /* Cinematic Hero - Bottom Aligned & Full Height */
    .products-hero {
        padding: 0 24px 80px;
        min-height: 85vh;
        align-items: flex-end;
        text-align: left;
        background-position: top center;
    }
    
    .hero-content {
        align-items: flex-start;
        text-align: left;
        margin: 0;
        width: 100%;
        background: rgba(2, 6, 23, 0.4);
        padding: 30px;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
    }
    
    .hero-pre-title {
        margin-bottom: 15px;
        letter-spacing: 5px;
        font-size: 0.75rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
        letter-spacing: -1.5px;
        line-height: 1.1;
        margin-bottom: 15px;
        text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    
    .hero-desc {
        font-size: 1.05rem;
        padding: 0;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.9);
    }
    
    /* Product Sections - Overlapping App Interface */
    .pro-section {
        padding: 0; 
        margin-bottom: 40px;
        border: none;
        background: var(--bg-light);
    }
    
    .pro-container, .pro-container.reverse {
        padding: 0;
        gap: 0;
        text-align: left;
        flex-direction: column-reverse; /* Force visual to top */
    }
    
    /* The Visual Side - Locked to Top */
    .pro-visual {
        width: 100%;
        margin: 0;
        height: 45vh; /* Massive cinematic image */
        position: relative;
    }
    
    .pro-image-wrapper {
        width: 100%;
        height: 100%;
        aspect-ratio: auto; /* Let height dictate */
        border-radius: 0;
        border: none;
    }
    
    .pro-image-wrapper img {
        object-position: center 30%; /* Focus slightly above center */
    }
    
    /* The Content Side - Overlapping Glass Card */
    .pro-content {
        background: #ffffff;
        width: 100%;
        max-width: 100%;
        position: relative;
        z-index: 10;
        margin-top: -60px; /* Pulls the card OVER the image */
        border-radius: 30px 30px 0 0;
        padding: 40px 24px 60px;
        box-shadow: 0 -15px 40px rgba(0,0,0,0.08);
    }
    
    .pro-section.bg-light .pro-content {
        background: #ffffff; /* Always keep card white even if section is light */
    }
    
    /* Meta Index as a Floating Badge */
    .pro-meta {
        justify-content: flex-start;
        margin-bottom: 24px;
        background: rgba(5, 152, 153, 0.08); /* Brand blue tint */
        display: inline-flex;
        padding: 8px 16px;
        border-radius: 50px;
        border: 1px solid rgba(5, 152, 153, 0.2);
    }
    
    .pro-index {
        font-size: 0.9rem;
        color: var(--brand-dark);
    }
    
    .pro-divider {
        width: 20px;
        background: var(--brand-blue);
    }
    
    .pro-category {
        font-size: 0.7rem;
    }
    
    .pro-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
        line-height: 1.15;
        margin-bottom: 16px;
    }
    
    .pro-desc {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 30px;
        color: var(--text-secondary);
    }
    
    /* Technical Specs - Sleek Modern Rows */
    .pro-specs-list {
        margin: 0 0 40px 0;
        border-top: 1px solid rgba(0,0,0,0.05);
        background: rgba(248, 250, 252, 0.5); /* Very subtle table bg */
        border-radius: 12px;
        padding: 0 16px;
    }
    
    .pro-specs-list li {
        flex-direction: row; 
        justify-content: space-between;
        align-items: flex-start;
        padding: 16px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        gap: 20px;
    }
    
    .pro-specs-list li:last-child {
        border-bottom: none;
    }
    
    .pro-specs-list span {
        font-size: 0.9rem;
        color: var(--text-muted);
        min-width: 100px;
    }
    
    .pro-specs-list strong {
        font-size: 0.95rem;
        text-align: right;
        color: var(--brand-dark);
    }
    
    /* Buttons - Architectural Stack */
    .pro-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .pro-btn-primary {
        text-align: center;
        padding: 18px;
        border-radius: 12px;
        font-size: 0.95rem;
        box-shadow: 0 10px 25px rgba(2, 6, 23, 0.15);
    }
    
    .pro-btn-link {
        justify-content: center;
        padding: 18px;
        background: transparent;
        border: 1px solid rgba(0,0,0,0.1);
        border-radius: 12px;
    }
    
    /* CTA Banner - Powerful & Overlapping */
    .cta-banner {
        padding: 40px 20px 80px;
        background: var(--bg-light); 
    }
    
    .cta-wide-box {
        padding: 60px 24px;
        border-radius: 24px;
        box-shadow: 0 20px 50px rgba(5, 152, 153, 0.15);
        text-align: left;
        align-items: flex-start;
        background: linear-gradient(135deg, var(--brand-dark) 0%, #061e38 100%);
    }
    
    .cta-info h2 {
        font-size: 2.2rem;
        line-height: 1.15;
        margin-bottom: 16px;
    }
    
    .cta-info p {
        font-size: 1.1rem;
    }
    
    .btn-cta-wide {
        width: 100%;
        text-align: center;
        padding: 20px;
        border-radius: 12px;
        font-size: 0.95rem;
    }
}

/* ==================== PRODUCT DEEP DIVE MODAL ==================== */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}

.product-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay-content {
    background: #ffffff;
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    margin: 50px; /* Force outer margin as requested */
}

.modal-scroll-area {
    overflow-y: auto;
    padding: 60px;
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.modal-scroll-area::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    font-size: 30px;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--brand-blue);
    color: #fff;
    transform: rotate(90deg);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px; /* 60px gap for clarity */
}

.modal-visual-side img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.modal-tag {
    color: var(--brand-blue);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 15px;
    display: block;
}

.modal-heading {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.1;
}

.modal-divider {
    width: 80px;
    height: 6px;
    background: var(--brand-blue);
    margin-bottom: 30px;
    border-radius: 10px;
}

.modal-para {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Professional Corporate Briefing Stack */
.modal-briefing-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 50px;
}

.brief-row {
    display: flex;
    gap: 25px;
    padding: 28px;
    background: #f8fafc;
    border-left: 5px solid var(--brand-blue);
    border-radius: 8px;
    transition: all 0.3s ease;
    align-items: center;
}

.brief-row:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateX(10px);
}

.brief-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--brand-blue);
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.brief-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.brief-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Highlight Box */
.modal-highlight-box {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(5, 152, 153, 0.05), rgba(6, 182, 212, 0.05));
    border-radius: 25px;
    border: 1px solid rgba(5, 152, 153, 0.1);
}

.modal-highlight-box i {
    width: 60px;
    height: 60px;
    background: var(--brand-blue);
    color: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.highlight-txt {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.6;
}

@media screen and (max-width: 1024px) {
    .modal-overlay-content { width: 90%; height: 95vh; margin: 20px; }
    .modal-grid { grid-template-columns: 1fr; gap: 30px; }
    .modal-heading { font-size: 2rem; }
}

@media screen and (max-width: 768px) {
    .modal-overlay-content { width: 95%; margin: 10px; }
    .modal-scroll-area { padding: 30px; }
}
