:root {
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;

    /* Gen Z Palette */
    --accent-neon: #ccff00;
    /* Acid Green */
    --accent-purple: #7000ff;
    /* Electric Purple */
    --accent-pink: #ff00cc;
    /* Hot Pink */

    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --glass-blur: blur(12px);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudWRPY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBvcGFjaXR5PSIwLjA1Ii8+PC9zdmc+');
    opacity: 0.07;
    pointer-events: none;
    z-index: 9999;
}

/* Navbar */
.glass-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 1rem 2rem;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo .brand-text {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.logo .brand-text span.sub-brand {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.2em;
}

.logo .accent {
    color: var(--accent-neon);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Buttons */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
}

.cta-btn.small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.cta-btn.small:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}

.cta-btn.primary {
    background: var(--accent-neon);
    color: var(--bg-dark);
    font-size: 1.1rem;
}

.cta-btn.primary:hover {
    box-shadow: 0 0 20px var(--accent-neon);
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 1.1rem;
}

.cta-btn.secondary:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient fallback before image loads */
    background: radial-gradient(circle at 50% 50%, #1a0b2e 0%, #0a0a0a 100%);
    z-index: -1;
}

/* IMPORTANT: We will inject the generated image here via JS or inline style if needed, 
   but for now let's use a cool gradient mesh */
.hero-bg::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background:
        radial-gradient(circle at 20% 30%, rgba(112, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(204, 255, 0, 0.1) 0%, transparent 50%);
    filter: blur(80px);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 2;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: var(--accent-neon);
}

.badge-pill .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-neon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-neon);
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-neon), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(204, 255, 0, 0.3));
}

/* Removed hover pseudo-element as the main text is now the gradient */
.gradient-text::before {
    display: none;
}

/* Floating Cards Removed */

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle strong {
    color: var(--text-main);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Float animation removed */

/* Responsive */
@media (max-width: 768px) {

    /* Logo adjustments for mobile */
    .logo .brand-text {
        font-size: 0.9rem;
    }

    .logo .brand-text span.sub-brand {
        font-size: 0.6rem;
        letter-spacing: 0.15em;
    }

    /* Hero adjustments */
    .hero-title {
        font-size: 2.8rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    /* Fix Future gradient visibility on dark bg */
    .gradient-text {
        background: linear-gradient(90deg, var(--accent-neon), var(--accent-purple));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
        filter: drop-shadow(0 0 10px rgba(204, 255, 0, 0.5));
        /* Increased shadow for contrast */
        font-weight: 900;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 4rem;
        line-height: 1.5;
        padding: 0 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1.2rem;
        padding-bottom: 5rem;
        /* Space from bottom nav */
    }

    .cta-btn.primary,
    .cta-btn.secondary {
        width: 100%;
        justify-content: center;
        padding: 1.2rem;
    }
}

/* Content Sections */
.section-container {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.accent-text {
    color: var(--accent-neon);
    font-style: italic;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.subsection-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    color: var(--text-main);
    opacity: 0.8;
}

.subsection-title i {
    color: var(--accent-neon);
}

/* Product Big Blocks */
.product-blocks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.product-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 4rem;
    border-radius: 48px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.product-block.highlight {
    border-color: var(--accent-neon);
    background: linear-gradient(135deg, rgba(204, 255, 0, 0.05), rgba(0, 0, 0, 0));
}

.product-block:hover {
    border-color: var(--accent-neon);
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.02);
}

.product-block#aseptic-block {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.1), rgba(0, 0, 0, 0));
}

.category-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-neon);
    color: var(--bg-dark);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.block-content h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.block-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

/* Aseptic Detail Styles */
.aseptic-text {
    margin: 2rem 0;
    line-height: 1.8;
    color: var(--text-main);
    font-size: 1.1rem;
}

.aseptic-text h4 {
    font-family: var(--font-head);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.aseptic-text h5 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.product-spec-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 24px;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.product-spec-card:hover {
    border-color: rgba(204, 255, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.product-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.specs-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
}

.spec-row span:first-child {
    color: var(--text-muted);
    font-weight: 500;
}

.spec-row span:last-child {
    color: var(--text-main);
    font-weight: 600;
}

/* Toast Notification */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
}

.toast {
    background: var(--accent-neon);
    color: var(--bg-dark);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 10px 40px rgba(204, 255, 0, 0.3);
    animation: slideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    display: flex;
    align-items: center;
    gap: 1rem;
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
    }

    to {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .product-blocks-grid {
        grid-template-columns: 1fr;
    }

    .product-block#aseptic-block {
        grid-column: span 1;
    }

    .block-content h3 {
        font-size: 2rem;
    }
}

/* Feature Card */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 32px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(204, 255, 0, 0.05), transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    /* Ensure pseudo-element doesn't block clicks */
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(204, 255, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card.highlight {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0));
    border-color: var(--accent-neon);
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.1);
}

.absolute-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent-neon);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-neon);
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--accent-neon);
    padding-bottom: 2px;
    transition: var(--transition);
}

.card-btn:hover {
    gap: 1rem;
    color: var(--accent-neon);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-num {
    display: block;
    font-size: 3rem;
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1;
    color: var(--accent-neon);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.about-visual {
    height: 400px;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border-radius: 40px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.glass-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.icon-big {
    font-size: 4rem;
    color: var(--accent-neon);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-card {
    background: linear-gradient(145deg, #111, #050505);
    border: 1px solid var(--border-color);
    padding: 5rem;
    border-radius: 60px;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(204, 255, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: var(--accent-neon);
}

.cta-btn.huge {
    width: 100%;
    justify-content: center;
    padding: 2rem;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
}

/* Footer */
.simple-footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Responsive fixes and Mobile Overhaul */
@media (max-width: 968px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 3rem 1.5rem;
    }
}

/* --- MOBILE SPECIFIC OVERHAUL --- */
.mobile-nav {
    display: none;
}

@media (max-width: 768px) {

    /* Hide Desktop Nav Elements */
    .glass-nav {
        top: 0;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        border: none;
        border-bottom: 1px solid var(--border-color);
        background: rgba(10, 10, 10, 0.85);
        padding: 1rem 1.5rem;
        justify-content: center;
    }

    .glass-nav .cta-btn,
    .glass-nav .nav-links {
        display: none;
    }

    /* Mobile Bottom Nav - App Like Feel */
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        background: rgba(20, 20, 20, 0.8);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 20px;
        padding: 0.8rem 1.5rem;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--text-muted);
        gap: 0.3rem;
        font-size: 0.75rem;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .nav-item i {
        font-size: 1.4rem;
        margin-bottom: 2px;
    }

    .nav-item.active,
    .nav-item:active {
        color: var(--accent-neon);
        transform: scale(1.1);
    }

    /* Typography Improvements for Phone */
    .hero-title {
        font-size: 3.2rem;
        line-height: 1.1;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-container {
        padding: 6rem 1.2rem;
        /* Reduce side padding for more screen real estate */
    }

    /* Card Tweaks */
    .product-blocks-grid {
        gap: 1.5rem;
    }

    .product-block {
        padding: 2.5rem 1.5rem;
        /* Compact padding */
        border-radius: 32px;
        min-height: auto;
        /* Allow flexible height */
    }

    .block-content h3 {
        font-size: 2rem;
    }

    .block-content p {
        font-size: 1.1rem;
    }

    /* Enhance Buttons for Touch */
    .cta-btn {
        padding: 1rem 2rem;
        /* Larger touch target */
    }

    /* Footer Spacing for Bottom Nav */
    .simple-footer {
        padding-bottom: 8rem;
    }
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}