/* Global Variables - Premium Science Palette */
:root {
    /* Primary Colors */
    --color-primary: #0A1628;
    /* Deep Navy - Primary brand color */
    --color-secondary: #0D7377;
    /* Scientific Teal - Innovation, R&D */
    --color-accent: #D4A574;
    /* Rose Gold - Premium, Luxury */

    /* Backgrounds */
    --color-bg: #F8F9FA;
    /* Laboratory White - Clean background */
    --color-white: #FFFFFF;

    /* Text Colors */
    --color-text-primary: #1A1A1A;
    /* Dark text */
    --color-text-secondary: #8B95A5;
    /* Platinum Gray - Secondary text */
    --color-text-light: #B0B8C1;
    /* Light gray for hints */

    /* Legacy support (gradual migration) */
    --color-navy: #0A1628;
    --color-navy-light: #1a2a3f;
    --color-gold: #D4A574;

    /* Typography */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --bp-mobile: 768px;

    /* CARBON DESIGN SYSTEM SYSTEM TOKENS */
    /* Spacing Scale (Base 16px) */
    /* Source: IBM Carbon Layout */
    --spacing-01: 0.125rem;
    /* 2px */
    --spacing-02: 0.25rem;
    /* 4px */
    --spacing-03: 0.5rem;
    /* 8px */
    --spacing-04: 0.75rem;
    /* 12px */
    --spacing-05: 1rem;
    /* 16px */
    --spacing-06: 1.5rem;
    /* 24px */
    --spacing-07: 2rem;
    /* 32px */
    --spacing-08: 2.5rem;
    /* 40px */
    --spacing-09: 3rem;
    /* 48px */
    --spacing-10: 4rem;
    /* 64px */
    --spacing-11: 5rem;
    /* 80px */
    --spacing-12: 6rem;
    /* 96px */
    --spacing-13: 10rem;
    /* 160px */

    /* Typography Scale */
    /* Source: IBM Carbon Type */
    --heading-01: 0.875rem;
    /* 14px */
    --heading-02: 1rem;
    /* 16px */
    --heading-03: 1.25rem;
    /* 20px */
    --heading-04: 1.75rem;
    /* 28px */
    --heading-05: 2rem;
    /* 32px */
    --heading-06: 2.625rem;
    /* 42px */
    --heading-07: 3.375rem;
    /* 54px */
    --heading-display: 4.25rem;
    /* 68px */

    /* Layout & Radius */
    --container-max: 1200px;
    /* Standard Max Width */
    --radius-sm: 2px;
    /* Carbon uses sharp/minimal radius */
    --radius-md: 4px;
    --header-height: var(--spacing-11);
    /* 80px */

    /* Effects */
    --shadow-subtle: 0 2px 6px rgba(0, 0, 0, 0.05);
    /* Minimal elevation */
    --transition: cubic-bezier(0.2, 0, 0.38, 0.9);
    /* Carbon Motion (Standard) */
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
    /* 16px Base */
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--color-bg);
    /* Use solid color, remove bg image */
    background-image: none;
    color: var(--color-text-primary);
    line-height: 1.5;
    /* Carbon Body Line-height */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Crisp text */
}

/* Clear overlay - no longer needed with clean bg */
body::before {
    display: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 110ms var(--transition);
}

ul {
    list-style: none;
}

/* TYPOGRAPHY SYSTEM (Carbon Scale) */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.25;
    /* Stricter Heading Line-height */
    letter-spacing: 0;
    /* Carbon favors neutral tracking */
    margin-bottom: var(--spacing-05);
}

h1 strong,
.logo-text,
.hero-subtitle {
    font-family: 'Playfair Display', serif;
}

/* H1 - Display / Hero */
h1 {
    font-size: var(--heading-07);
    /* 54px */
}

/* H2 - Section Headers */
h2 {
    font-size: var(--heading-05);
    /* 32px */
}

h3 {
    font-size: var(--heading-04);
    /* 28px */
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-06);
    max-width: 64ch;
    /* Optimal Reading Width */
}

/* GLOBAL LAYOUT */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-05);
    /* 16px gutter */
    width: 100%;
}

/* Consistent Section Spacing */
section {
    padding: var(--spacing-12) 0;
    /* 96px Vertical Rhythm */
}

.section-header {
    margin-bottom: var(--spacing-10);
    /* 64px */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.center-text {
    text-align: center;
}

/* Typography Scale */
h2 {
    font-size: var(--heading-05);
    /* 32px */
    font-weight: 500;
    letter-spacing: -0.03em;
}

.section-header p {
    font-size: 1.125rem;
    /* Larger lead paragraph */
    color: var(--color-text-secondary);
    margin-top: var(--spacing-05);
}

/* Mobile Responsiveness for Global Styles */
@media (max-width: 768px) {
    section {
        padding: var(--spacing-10) 0;
        /* 64px */
    }

    .section-header {
        margin-bottom: var(--spacing-07);
        /* 32px */
    }

    h1 {
        font-size: var(--heading-05);
    }

    /* 32px */
    h2 {
        font-size: var(--heading-04);
    }

    /* 28px */

    .container {
        padding: 0 var(--spacing-05);
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

/* Buttons */
/* Buttons */
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3.25rem;
    /* ~52px (Carbon XL variant adjacent) */
    padding: 0 var(--spacing-07);
    /* 32px */
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 500;
    border-radius: 50px;
    /* Pill shape */
    border: 1px solid var(--color-primary);
    box-shadow: var(--shadow-subtle);
    transition: background-color 0.3s, color 0.3s, transform 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Remove gradient bloom */
.bloom-effect::after {
    display: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3.25rem;
    padding: 0 var(--spacing-07);
    /* 32px */
    background-color: transparent;
    color: var(--color-primary);
    font-weight: 500;
    margin-left: 0;
    /* Handled by flex gap */
    border: 1px solid rgba(10, 22, 40, 0.2);
    /* Subtle heavy border */
    border-radius: 50px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn-secondary:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background-color: rgba(0, 0, 0, 0.03);
}

/* Accessibility Focus (Carbon A11y) */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

/* Header & Glassmorphism */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(10, 25, 47, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-primary);
    transition: color 0.3s ease;
}


.nav-link:hover {
    color: var(--color-accent);
}

/* Fix for Button Overlap in Header */
.nav-menu .btn-primary {
    height: 42px;
    /* Reduced to ~2.625rem to prevent dropdown overlap */
    padding: 0 1.5rem;
    font-size: 15px;
    /* Match nav link size */
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-image: url('images/hero-bg-glow.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Removed static gradient, now handled by Body dynamic background */
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
    z-index: 2;
}

.hero-text h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-primary);
    font-weight: 500;
    max-width: 500px;
    margin-bottom: 24px;
}

.hero-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(10, 22, 40, 0.75);
}

.check-icon {
    width: 20px;
    height: 20px;
    fill: var(--color-accent);
    flex-shrink: 0;
}

.hero-text p {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 480px;
    margin-bottom: 40px;
}

/* Device Placeholder / Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-placeholder {
    width: 300px;
    height: 500px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 40px;
    position: relative;
    box-shadow:
        20px 20px 60px rgba(0, 0, 0, 0.05),
        -20px -20px 60px rgba(255, 255, 255, 0.8);
    /* "Sunlight" effect */
}

.device-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 90%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 30px;
}

.light-beam {
    position: absolute;
    width: 150%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 220, 0.2) 50%, rgba(255, 255, 255, 0) 60%);
    top: -20%;
    left: -20%;
    pointer-events: none;
    transform: rotate(20deg);
}

/* Hero Product Image */
.hero-product-image {
    max-width: 200%;
    max-height: 2100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(10, 22, 40, 0.15));
    transition: transform 0.4s ease;
    animation: floatAndRotate 8s ease-in-out infinite;
}

.hero-product-image:hover {
    animation-play-state: paused;
}

/* Floating + Rotation Animation */
@keyframes floatAndRotate {
    0% {
        transform: translateY(0) rotateY(-5deg);
    }

    25% {
        transform: translateY(-15px) rotateY(0deg);
    }

    50% {
        transform: translateY(-20px) rotateY(5deg);
    }

    75% {
        transform: translateY(-15px) rotateY(0deg);
    }

    100% {
        transform: translateY(0) rotateY(-5deg);
    }
}

/* Company Identity Section */
.identity-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.pillar-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    padding: var(--spacing-08);
    /* 40px */
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-subtle);
    border-color: rgba(0, 0, 0, 0.15);
}

.pillar-icon {
    font-size: 56px;
    margin-bottom: 24px;
    display: block;
}

.pillar-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.pillar-card p {
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Showcase Section */
.showcase-section {
    padding: 100px 0;
    background-color: white;
}

.center-text {
    text-align: center;
    margin-bottom: 60px;
}

.center-text h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.center-text p {
    color: var(--color-text-light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: var(--spacing-08);
    /* 40px */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: none;
    /* Flat Start */
}

/* Category Tag */
.category-tag {
    display: inline-block;
    font-size: 0.75rem;
    /* 12px */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-05);
    /* 16px */
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--color-text-primary);
}

/* Type variations - Keep borders subtle */
.type-device,
.type-cosmetic {
    border-color: rgba(0, 0, 0, 0.08);
}

/* Remove colored backgrounds on tags for cleaner look */
.type-device .category-tag,
.type-cosmetic .category-tag {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--color-text-secondary);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-subtle);
    border-color: rgba(0, 0, 0, 0.2);
}

/* Disable glow */
.card-glow {
    display: none;
}

/* Placeholder Image Area - Stable Height */
.card-image {
    height: 14rem;
    /* 224px - Carbon Scale approx */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-06);
    /* 24px */
    background-color: #FAFAFA;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Flat Minimal Placeholder */
.mock-device {
    width: 6.25rem;
    /* 100px */
    height: 10rem;
    /* 160px */
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-sm);
    box-shadow: none;
}

.device-1 {
    height: 10rem;
    width: 6.25rem;
}

.device-2 {
    height: 8rem;
    width: 4rem;
    border-radius: var(--radius-md);
}

.device-3 {
    height: 10rem;
    width: 5rem;
}

/* Mobile Card Polish */
@media (max-width: 640px) {

    .product-card,
    .pillar-card {
        padding: var(--spacing-06);
        /* 24px on mobile */
    }

    .card-image {
        height: 11rem;
        /* Reduced height on mobile */
    }
}

/* Laser */

.card-info h3 {
    margin-bottom: 8px;
    font-size: 24px;
}

.card-info p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-size: 15px;
}

.link-gold {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.link-gold:hover {
    color: var(--color-secondary);
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background-color: var(--color-navy);
    /* Dark bg for contrast */
    color: white;
}

.process-section h2 {
    color: white;
    margin-bottom: 16px;
}

.process-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
}

.process-flow {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
}

.process-line {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.line-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    box-shadow: 0 0 15px var(--color-accent);
    transition: width 0.1s linear;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    transition: opacity 0.5s ease;
    opacity: 0.5;
}

.process-step.lit {
    opacity: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--color-navy-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 24px;
    transition: all 0.5s ease;
    position: relative;
}

/* Glowing effect when lit */
.process-step.lit .step-icon {
    border-color: var(--color-accent);
    background: var(--color-primary);
    box-shadow: 0 0 30px rgba(212, 165, 116, 0.5);
    transform: scale(1.1);
}

.process-step.lit .icon-text {
    color: #FFF;
    text-shadow: 0 0 10px var(--color-accent);
}

.icon-text {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-accent);
}

.process-step h4 {
    color: white;
    margin-bottom: 8px;
    font-size: 18px;
}

.process-step p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
}

.quote-mark {
    font-size: 80px;
    color: rgba(212, 165, 116, 0.15);
    position: absolute;
    top: 10px;
    left: 30px;
    font-family: serif;
}

.quote-text {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-img {
    width: 60px;
    height: 60px;
    background: #ccc;
    border-radius: 50%;
    filter: grayscale(100%);
    /* B&W photos */
}

.author-info h5 {
    font-size: 16px;
    margin-bottom: 4px;
}

.author-info span {
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 500;
}

/* Footer */
.footer {
    background: white;
    padding: 80px 0 20px;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand h3 {
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.link-group h4 {
    margin-bottom: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-navy);
}

.link-group a {
    display: block;
    margin-bottom: 12px;
    color: var(--color-text-light);
    font-size: 14px;
}

.link-group a:hover {
    color: var(--color-navy);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f5f5f5;
    color: #ccc;
    font-size: 12px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1,
.process-step.delay-1 .step-icon {
    transition-delay: 0.3s;
}

.delay-2,
.process-step.delay-2 .step-icon {
    transition-delay: 0.6s;
}

.delay-3,
.process-step.delay-3 .step-icon {
    transition-delay: 0.9s;
}

.delay-4,
.process-step.delay-4 .step-icon {
    transition-delay: 1.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Science / Data Viz */
.science-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.science-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.data-wave-container {
    height: 300px;
    width: 100%;
    position: relative;
    background: rgba(10, 25, 47, 0.02);
    border-radius: 20px;
    overflow: hidden;
}

.wave-line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="rgba(212, 175, 55, 0.2)" d="M0,160L48,176C96,192,192,224,288,224C384,224,480,192,576,165.3C672,139,768,117,864,128C960,139,1056,181,1152,197.3C1248,213,1344,203,1392,197.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: 200% 100%;
    animation: waveMove 10s linear infinite;
}

.wave-2 {
    bottom: 20px;
    animation-duration: 15s;
    opacity: 0.7;
    filter: hue-rotate(10deg);
}

.wave-3 {
    bottom: -10px;
    animation-duration: 7s;
    opacity: 0.5;
}

@keyframes waveMove {
    0% {
        background-position-x: 0;
    }

    100% {
        background-position-x: 100%;
    }
}

.stat-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-num {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--color-secondary);
}

.stat-label {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 600;
}

/* Global Section */
.global-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8));
}

.map-visual {
    height: 400px;
    position: relative;
    margin: 40px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    /* Simplistic map bg representation */
    background: radial-gradient(circle at 50% 50%, #fff 0%, #f0f0f5 100%);
}

.map-lines {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.path-line {
    fill: none;
    stroke: var(--color-gold);
    stroke-width: 1;
    stroke-dasharray: 10;
    animation: dashMove 30s linear infinite;
    opacity: 0.4;
}

@keyframes dashMove {
    to {
        stroke-dashoffset: -1000;
    }
}

.map-node {
    width: 12px;
    height: 12px;
    background: var(--color-navy);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 10px var(--color-gold);
}

.node-1 {
    top: 30%;
    left: 70%;
}

/* Asia */
.node-2 {
    top: 40%;
    left: 30%;
}

/* US */
.node-3 {
    top: 35%;
    left: 50%;
}

/* Europe */
.node-4 {
    top: 50%;
    left: 60%;
}

/* ME */

.exclusive-card {
    text-align: center;
    background: white;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--color-gold);
}

.exclusive-card h3 {
    margin-bottom: 8px;
}

.exclusive-card p {
    margin-bottom: 24px;
    color: var(--color-text-light);
}

/* Footer & Mobile Tweaks */
@media (max-width: 768px) {
    .science-content {
        grid-template-columns: 1fr;
    }

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    a {
        cursor: pointer;
    }
}

/* News & Exhibition Section */
.news-exhibition-section {
    padding: 100px 0;
    background: var(--color-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid rgba(13, 115, 119, 0.1);
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--color-secondary);
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8eaed 0%, #f1f3f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-secondary);
    text-align: center;
    padding: 30px;
}

.news-content {
    padding: 32px;
}

.news-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.news-tag.news {
    color: #E53935;
    background: rgba(229, 57, 53, 0.12);
}

.news-tag.exhibition {
    color: #5E35B1;
    background: rgba(94, 53, 177, 0.12);
}

.news-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--color-primary);
    line-height: 1.4;
    font-weight: 700;
}

.news-card p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Responsive */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .news-image {
        height: 250px;
    }

    .news-content {
        padding: 24px;
    }

    .glass-header {
        height: 60px;
    }

    .logo {
        font-size: 20px;
    }

    .nav-menu {
        display: none;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-text {
        order: 1;
        margin-bottom: 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-credentials {
        justify-content: center;
    }

    .hero-visual {
        order: 2;
    }
}

/* ==================== Contact Modal ==================== */
.contact-modal {
    display: flex;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s ease;
}

.contact-modal.active,
.contact-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(15, 30, 50, 0.95) 0%, rgba(10, 22, 40, 0.98) 100%);
    border: 1px solid var(--color-secondary);
    border-radius: 20px;
    padding: 50px 60px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(212, 165, 116, 0.1);
    z-index: 10001;
    backdrop-filter: blur(20px);
}

/* Close Button Positioning - Top Right Corner */
.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    bottom: auto;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    /* Subtle initial color */
    font-size: 32px;
    line-height: 1;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: transparent;
    color: var(--color-secondary);
    /* Gold on hover */
    transform: rotate(90deg) scale(1.1);
}

.modal-header {
    text-align: center;
    margin-bottom: 40px;
}

.modal-header h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 600;
}

.modal-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.required {
    color: var(--color-secondary);
    margin-left: 2px;
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 15px;
    padding: 12px 0;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--color-secondary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-secondary);
}

.form-checkbox label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    cursor: pointer;
}

.privacy-link {
    color: var(--color-secondary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--color-accent);
}

.form-submit {
    align-self: center;
    margin-top: 12px;
    padding: 14px 60px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--color-primary);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        padding: 40px 30px;
    }

    .modal-header h2 {
        font-size: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .form-submit {
        width: 100%;
    }
}

/* ==================== Product Catalog Modal ==================== */
/* ==================== Product Catalog Modal ==================== */
.product-modal {
    /* display: none; Removed to allow transition */
    display: flex;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s ease;
}

.product-modal.active {
    /* display: flex; Already flex */
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.product-modal-content {
    position: relative;
    max-width: 1200px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(15, 30, 50, 0.95) 0%, rgba(10, 22, 40, 0.98) 100%);
    border: 1px solid var(--color-secondary);
    border-radius: 20px;
    padding: 50px 60px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(212, 165, 116, 0.1);
    z-index: 10001;
    backdrop-filter: blur(20px);
    /* Add scale animation */
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.product-modal.active .product-modal-content {
    transform: scale(1) translateY(0);
}

.product-modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    gap: 10px;
    margin-bottom: 50px;
    margin-top: 10px;
    /* Slight top spacing for the close button visual balance */
}

.modal-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.product-modal-header h2 {
    font-size: 40px;
    color: #ffffff;
    font-weight: 600;
    margin: 0;
    line-height: 1;
    /* Fix line-height for easier vertical centering */
    padding-top: 4px;
    /* Optical adjustment for font baseline */
}

/* The Circle Button */
.modal-nav-btn {
    width: 32px;
    /* Small circle as requested */
    height: 32px;
    border: 2px solid rgba(212, 165, 116, 0.5);
    /* Gold thicker border */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-secondary);
    /* Gold icon color */
    flex-shrink: 0;
}

/* Icon size inside */
.modal-nav-btn svg {
    width: 14px;
    height: 14px;
    stroke-width: 2px;
    fill: none;
    stroke: currentColor;
}

/* Hover Effect */
.modal-nav-btn:hover {
    background: var(--color-secondary);
    color: #0a1628;
    /* Dark Navy */
    transform: scale(1.1) translateX(3px);
    /* Scale up and move right */
    box-shadow: 0 0 15px rgba(212, 165, 116, 0.4);
    /* Glow effect */
}

.product-modal-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.product-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-item:hover {
    transform: translateY(-8px);
    border-color: var(--color-secondary);
    box-shadow: 0 12px 30px rgba(212, 165, 116, 0.2);
}

.product-item-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1a2a40 0%, #0f1e32 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-item:hover .product-item-image img {
    transform: scale(1.1);
}

.product-item-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 40%, rgba(212, 165, 116, 0.1) 50%, transparent 60%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.product-placeholder-icon {
    font-size: 48px;
    color: var(--color-secondary);
    opacity: 0.3;
}

.product-item-info {
    padding: 24px;
}

.product-item-info h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-item-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 16px;
}

.product-item-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.product-item-link:hover {
    color: var(--color-accent);
}

/* Responsive */
@media (max-width: 1200px) {
    .product-list-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .product-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .product-modal-content {
        padding: 40px 30px;
    }

    .product-modal-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .product-list-grid {
        grid-template-columns: 1fr;
    }

    .product-item-image {
        height: 160px;
    }

    /* Mobile Modal Adjustments */
    .product-modal-content {
        padding: 30px 20px;
    }

    .product-modal-header h2 {
        font-size: 26px;
    }

    .modal-title-wrapper {
        gap: 12px;
    }

    .modal-nav-btn {
        width: 28px;
        height: 28px;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 32px;
        /* Smaller touch target but visually balanced */
        height: 32px;
        font-size: 24px;
    }
}


/* ==================== Product Detail Page ==================== */
.detail-hero {
    padding: 60px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-visual {
    background: white;
    border-radius: 20px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        20px 20px 60px rgba(0, 0, 0, 0.05),
        -20px -20px 60px rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.visual-placeholder {
    font-size: 80px;
    opacity: 0.2;
}

.product-info-col {
    padding-right: 20px;
}

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.back-link:hover {
    color: var(--color-primary);
}

.detail-category {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 12px;
    font-weight: 700;
}

.detail-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--color-primary);
    line-height: 1.1;
}

.detail-desc {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.key-features-list {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--color-primary);
}

.feature-icon {
    color: var(--color-secondary);
}

.detail-content {
    padding: 80px 0;
}

.tabs-nav {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.tab-btn {
    background: none;
    border: none;
    padding-bottom: 16px;
    font-size: 16px;
    color: var(--color-text-secondary);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--color-primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid #eee;
}

.spec-table th {
    text-align: left;
    padding: 16px;
    color: var(--color-primary);
    width: 30%;
    background: #fcfcfc;
}

.spec-table td {
    padding: 16px;
    color: var(--color-text-secondary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-visual {
        height: 350px;
    }

    .detail-title {
        font-size: 36px;
    }
}

/* ==================== Navigation Dropdown Menu ==================== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    position: relative;
}

.nav-dropdown .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e74c3c;
    /* Red underline like reference */
    transition: width 0.3s ease;
}

.nav-dropdown:hover .nav-link::after {
    width: 100%;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: linear-gradient(135deg, rgba(15, 30, 50, 0.98) 0%, rgba(10, 22, 40, 0.98) 100%);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: rgba(212, 165, 116, 0.1);
    color: var(--color-secondary);
    padding-left: 25px;
}

/* ==================== Scroll to Top Button ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 124px;
    /* Increased gap for larger buttons (32px + 60px + 32px gap) */
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.9) 0%, rgba(180, 140, 95, 0.9) 100%);
    border: 1px solid rgba(212, 165, 116, 0.5);
    border-radius: 50%;
    color: var(--color-primary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, rgba(212, 165, 116, 1) 0%, rgba(180, 140, 95, 1) 100%);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 24px;
        /* Matched with social dock mobile */
        right: 90px;
        width: 54px;
        /* Matched with social dock mobile */
        height: 54px;
        /* Matched with social dock mobile */
    }
}

/* Social Media Floating Dock */
.social-dock {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9000;
    display: flex;
    flex-direction: column-reverse;
    /* Expand upwards */
    align-items: center;
    gap: 12px;
    pointer-events: none;
    /* Let clicks pass through when collapsed */
}

/* The Trigger Button (Main Icon) */
.social-dock-trigger {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-navy-light) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.3);
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Invisible bridge extending upwards to catch hover in the gap */
.social-dock-trigger::after {
    content: '';
    position: absolute;
    bottom: 100%;
    /* Start at top of trigger */
    left: 0;
    width: 100%;
    height: 40px;
    /* Cover the gap */
    background: transparent;
}

.social-dock-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.25);
    border-color: var(--color-accent);
}

.cross-icon {
    font-size: 28px;
    color: var(--color-white);
    transition: transform 0.4s ease;
    line-height: 1;
}

.message-text {
    position: absolute;
    right: 70px;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.social-dock-trigger:hover .message-text {
    opacity: 1;
    transform: translateX(0);
}

/* Active State (Expanded) - Supported for both Click (.active) and Hover */
.social-dock:hover .cross-icon,
.social-dock.active .cross-icon {
    transform: rotate(45deg);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Changed from absolute to flow for smoother hover area */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    /* Removed absolute positioning */
    margin-bottom: 0;
    position: relative;
    z-index: 20;
    /* Ensure links sit above the trigger bridge */
    padding: 10px;
    /* Space for hover scaling */
    padding-bottom: 15px;
    align-items: center;
}

.social-dock:hover .social-links,
.social-dock.active .social-links {
    opacity: 1;
    max-height: 500px;
    /* Allow expansion */
    transform: translateY(0);
    pointer-events: auto;
    margin-bottom: 12px;
    /* Add spacing between links and trigger */
}


.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(13, 115, 119, 0.1);
    position: relative;
}

.social-link:hover {
    transform: scale(1.15);
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: var(--color-primary);
    transition: fill 0.3s ease;
}

.social-link:hover .social-icon {
    fill: var(--color-accent);
    /* Gold icon on hover */
}

@media (max-width: 768px) {
    .social-dock {
        bottom: 24px;
        right: 24px;
    }

    .social-dock-trigger {
        width: 54px;
        height: 54px;
    }

    .message-text {
        display: none;
        /* Hide text on mobile to avoid clutter */
    }
}

/* ==================== Navigation Dropdown ==================== */
.nav-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 220px;
    padding: 10px 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 24px;
    color: var(--color-text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: rgba(212, 165, 116, 0.1);
    color: var(--color-accent);
}