/* 
   Brimarc Global - Liquid Glass Design System 
   Reset & Core Styles
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette */
    --bg-deep: #050508;
    --bg-surface: #0a0a12;

    --brand-primary: #8a2be2;
    /* Deep Purple */
    --brand-cyan: #00ffff;
    /* Cyan Accent */
    --brand-pink: #ff00ff;
    /* Magenta Accent */

    --text-white: #ffffff;
    --text-muted: #b3b3b3;

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-blur: 20px;
    --glass-highlight: rgba(255, 255, 255, 0.1);

    /* Dimensions */
    --header-height: 80px;
    --container-width: 1280px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-white);
    overflow-x: hidden;
    min-height: 100vh;
    /* Deep Purple & Pink Theme Background */
    background-color: #050508;
    background: radial-gradient(circle at 20% 0%, #2a0e36 0%, transparent 50%),
        radial-gradient(circle at 80% 100%, #3a0ca3 0%, transparent 50%),
        linear-gradient(180deg, #050508 0%, #0f0518 100%);
}

/* =========================================
   BACKGROUND SYSTEMS
   ========================================= */

/* 1. Honeycomb / Hex Mesh Overlay (Animated) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.3;
    pointer-events: none;

    /* Honeycomb Mesh Pattern */
    background-image:
        radial-gradient(circle, var(--brand-pink) 1px, transparent 1.5px),
        radial-gradient(circle, var(--brand-primary) 1px, transparent 1.5px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;

    /* Masking for "Fade In/Out" areas */
    mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 80%);

    animation: meshPulse 8s ease-in-out infinite alternate;
}

@keyframes meshPulse {
    0% {
        opacity: 0.2;
        transform: scale(1);
    }

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

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

/* 2. Particle Canvas (Fixed behind everything) */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(120deg, #fff 0%, var(--brand-cyan) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* =========================================
   GLASS HEADER
   ========================================= */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-symbol {
    display: none;
    /* Hidden in favor of image */
}

.logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
    margin-right: 12px;
    filter: drop-shadow(0 0 10px rgba(138, 43, 226, 0.5));
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* =========================================
   ACCOUNT WIDGET
   ========================================= */
.account-wrapper {
    position: relative;
}

.account-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    cursor: pointer;
    transition: 0.3s;
}

.account-btn:hover,
.account-wrapper.active .account-btn {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.2);
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 200px;
    background: #0f0f16;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Show Dropdown State (Toggled by JS) */
.account-wrapper.active .account-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.dropdown-item {
    padding: 10px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.dropdown-item.accent {
    color: var(--brand-cyan);
}

.dropdown-item.accent:hover {
    background: rgba(0, 255, 255, 0.1);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    padding-top: 180px;
    /* Header clearance */
    padding-bottom: 100px;
    text-align: center;
    position: relative;
    z-index: 1;
    /* Above Canvas */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    color: var(--brand-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    font-weight: 600;
}

.pulsing-dot {
    width: 6px;
    height: 6px;
    background: var(--brand-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-primary);
    animation: pulse 2s infinite;
}

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

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }

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

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), #6a0dad);
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.6);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 32px;
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-section {
    position: relative;
    padding: 100px 0;
    z-index: 2;
    /* Above canvas */
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    margin-top: 10px;
}

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px;
}

/* Glass Card */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    /* Perf hack */
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Icon Bubble */
.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--brand-primary);
    transition: 0.4s;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.service-card:hover .icon-box {
    background: var(--brand-primary);
    color: white;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.6);
    transform: rotateY(180deg);
}

.service-card:hover .icon-box svg {
    transform: rotateY(-180deg);
    /* Keep icon upright */
    transition: 0.4s;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: white;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Glint Effect on Hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
    pointer-events: none;
}

.service-card:hover::before {
    left: 100%;
}

/* =========================================
   PRODUCTS SECTION
   ========================================= */
.products-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.product-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 150px;
}

/* Alternate Layout */
.product-row:nth-child(even) {
    flex-direction: row-reverse;
}

.product-content {
    flex: 1;
}

.product-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--brand-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.product-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.product-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.product-image-block {
    flex: 1;
    position: relative;
}

.product-image-container {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.1);
    transform: perspective(1000px) rotateY(0deg);
    transition: 0.5s ease;
}

.product-row:hover .product-image-container {
    transform: perspective(1000px) rotateY(2deg) scale(1.02);
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.25);
    border-color: rgba(138, 43, 226, 0.3);
}

.product-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Tablet/Mobile Response */
@media (max-width: 900px) {

    .product-row,
    .product-row:nth-child(even) {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 100px;
        text-align: center;
    }

    .product-tags,
    .hero-actions {
        justify-content: center;
    }
}


/* =========================================
   NEW PRODUCT CARD STYLES (Reflective Glass)
   ========================================= */

.glass-product-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 60px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Reflective/Glow Effect on Hover */
.glass-product-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.glass-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.08),
            transparent);
    transform: skewX(-25deg);
    transition: 0.7s;
    pointer-events: none;
}

.glass-product-card:hover::before {
    left: 150%;
}

.product-card-image {
    flex: 0 0 40%;
    /* Reduced width */
    max-width: 400px;
}

.product-card-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: 0.4s;
}

.glass-product-card:hover .product-card-image img {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.2);
}

.product-card-content {
    flex: 1;
}

.product-card-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.product-card-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.product-features-mini {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.mini-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-white);
    background: rgba(138, 43, 226, 0.1);
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

/* Responsive */
@media (max-width: 900px) {
    .glass-product-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        gap: 30px;
    }

    .product-card-image {
        flex: 0 0 auto;
        max-width: 100%;
        width: 80%;
        /* Smaller on mobile */
    }

    .product-features-mini {
        justify-content: center;
    }

    .glass-product-card::before {
        display: none;
        /* Disable heavy animation on mobile */
    }
}

footer {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--brand-cyan);
    padding-left: 8px;
    /* Slide effect */
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    color: #555;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 20px auto;
    }
}

/* Default state for desktop */
.mobile-menu-btn,
.mobile-nav-overlay {
    display: none;
}

/* Header Responsiveness & Mobile Menu */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .account-wrapper {
        display: none;
    }

    .header-content {
        padding: 0 20px;
    }

    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1002;
        /* Above overlay */
        padding: 10px;
    }

    .mobile-menu-btn span {
        width: 30px;
        height: 3px;
        background: white;
        border-radius: 2px;
        transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    /* Hamburger Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -5px);
    }

    /* Mobile Overlay */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 8, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1001;
        /* Below button, above header */
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: 0.4s ease;
        transform: translateY(-20px);
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .mobile-nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        color: white;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .mobile-nav-links a:hover {
        color: var(--brand-cyan);
        transform: scale(1.1);
    }

    .mobile-nav-links .btn-primary {
        text-transform: none;
        letter-spacing: normal;
        font-size: 1.1rem;
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }


    .mobile-divider {
        width: 50px;
        height: 2px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        margin: 10px 0;
    }
}



/* =========================================
   AUTHENTICATION PAGES (Login / Sign Up)
   ========================================= */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    padding: 20px;
}

/* Liquid Glass Container */
.auth-card,
.LiquidglassContainer {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 50px 40px;
    border-radius: 30px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(255, 255, 255, 0.02);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Liquid shine effect */
.auth-card::before,
.LiquidglassContainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    animation: liquidShine 6s infinite;
}

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

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.auth-header {
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff, var(--brand-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 5px;
}

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 18px;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-cyan);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 20px rgba(4, 217, 255, 0.2);
}

.auth-btn {
    width: 100%;
    padding: 14px;
    margin-top: 15px;
    border-radius: 12px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.auth-footer {
    margin-top: 25px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.auth-link {
    color: var(--brand-cyan);
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.auth-link:hover {
    color: white;
    text-shadow: 0 0 10px var(--brand-cyan);
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-hero {
    text-align: center;
    padding: 180px 0 100px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 150px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--brand-primary);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-cyan));
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.team-card h3 {
    margin-bottom: 5px;
}

.team-role {
    color: var(--brand-cyan);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* =========================================
   MOBILE TUNING (Overrides)
   ========================================= */
@media (max-width: 768px) {

    /* Reduce Hero Scale */
    .hero-title {
        font-size: 3rem !important;
        /* Force override */
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 30px;
    }

    .hero-section {
        padding-top: 140px;
        /* Reduced from 180px */
        padding-bottom: 60px;
    }

    /* Compact Buttons */
    .btn-primary,
    .btn-glass {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    /* Section Spacing */
    .services-section,
    .products-section {
        padding: 60px 0;
        /* Reduced from 100/120px */
    }

    .section-title {
        font-size: 2.2rem;
    }

    /* Card Spacing */
    .service-card,
    .glass-product-card {
        padding: 24px;
        /* Reduced from 40px */
    }

    .glass-product-card {
        gap: 20px;
        margin-bottom: 40px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .services-section .section-title {
        font-size: 2rem;
    }

    .services-grid {
        padding: 0 10px;
        gap: 20px;
    }

    .service-card {
        padding: 24px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Product Page Specifics */
    .product-detail-hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .product-detail-hero h1 {
        font-size: 2.8rem;
    }
}

/* =========================================
   PRODUCT SLIDER SECTION
   ========================================= */
.products-slider-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.product-slider-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.product-slider-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    min-height: 450px;
}

/* Text Slider */
.slider-text-wrapper {
    position: relative;
    height: 100%;
}

.product-text-item {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(50px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    width: 100%;
}

.product-text-item.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(-50%) translateX(0);
}

.product-text-item h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.product-text-item p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Image Flip Slider */
.slider-image-wrapper {
    position: relative;
    height: 400px;
}

.product-image-card {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.product-image-card.active {
    opacity: 1;
    transform: scale(1);
    z-index: 5;
    pointer-events: all;
}

.product-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dots */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.slider-dot.active {
    background: var(--brand-primary);
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--brand-primary);
}

/* Academy Preview */
.academy-preview-section {
    padding: 100px 0;
    margin-top: 50px;
    background: rgba(138, 43, 226, 0.02);
}

@media (max-width: 900px) {
    .product-slider-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
        /* Tighter gap */
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .slider-image-wrapper {
        order: 1;
        /* Image first */
        height: 180px;
        /* Reduced further for compactness */
        width: 100%;
        max-width: 250px;
        margin: 0 auto 10px;
        z-index: 1;
    }

    .slider-text-wrapper {
        order: 2;
        /* Text below image */
        min-height: 220px;
        width: 100%;
        position: relative;
        z-index: 10;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .product-text-item {
        transform: translateX(30px);
        top: 0;
        width: 100%;
        position: absolute;
    }

    .product-text-item h2 {
        font-size: 1.8rem;
        /* Scaled down */
        margin-bottom: 10px;
    }

    .product-text-item p {
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .product-text-item.active {
        transform: translateX(0);
        position: relative;
        /* Allow flow to take up space */
        opacity: 1;
    }

    /* Keep absolute for animation layer but handle active state flow */
    .product-text-item:not(.active) {
        position: absolute;
        pointer-events: none;
    }

    .product-image-card img {
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .slider-controls {
        margin-top: 20px;
        /* Space between text and dots */
    }
}