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

body {
    background: #1a1a1a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 55px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #76A5FF;
}

/* Hero Section */
.hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 2rem 0;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0) 0%, #1a1a1a 100%);
}

.hero-content {
    max-width: 1200px;
    white-space: nowrap;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #FF7676, #76A5FF, #B876FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.4rem;
    color: #999;
    line-height: 1.6;
}

/* Interactive Section */
.interactive-section {
    padding: 2rem 0;
    position: relative;
}

.container {
    width: 100%;
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
}

.molecule-container {
    width: 100%;
    max-width: 1421px;
    padding: 20px;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* SVG sizing */
svg {
    width: 100%;
    height: auto;
    display: block;
}

/* SVG hover areas */
#Group1 {
    pointer-events: all;
}

#hover-area-vpet,
#hover-area-preform,
#hover-area-rpet {
    cursor: pointer;
    fill: transparent;
    stroke: none;
}

/* Make all other SVG elements ignore pointer events */
#area-vpet,
#area-preform,
#area-rpet {
    pointer-events: none;
}

/* Molecule parts - initial state */
#area-vpet path,
#area-preform path,
#area-rpet path {
    stroke: black;
    stroke-width: 10;
    transition: stroke 0.3s ease;
}

/* Text elements - initial state */
#area-vpet text,
#area-preform text,
#area-rpet text,
path[id^="("],
path[id^="n"] {
    pointer-events: none;
    transition: fill 0.3s ease;
    fill: black;
    stroke: none;
    stroke-width: 0;
}

/* Popup styling */
.popup {
    position: fixed;
    display: none;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 20px;
    max-width: 300px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.popup-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-title {
    font-size: 1.4em;
    color: #ffffff;
    font-weight: 600;
    margin: 0;
}

.product-description {
    font-size: 0.95em;
    color: #999;
    line-height: 1.5;
    margin: 0;
}

/* Tagline styling */
.tagline-container {
    z-index: 900;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    pointer-events: none;
}

.tagline {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
}

.learn-more {
    color: #999;
}

/* Responsive adjustments */
@media (max-width: 1440px) {
    .molecule-container {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .molecule-container {
        max-width: 1000px;
    }
    .hero-content {
        max-width: 90%;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .molecule-container {
        max-width: 800px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .molecule-container {
        max-width: 600px;
        padding: 10px;
    }
    .container {
        padding: 10px;
    }
    .nav-content {
        padding: 0 1rem;
    }
    .hero {
        padding: 100px 1rem 2rem;
    }
    .hero-content {
        white-space: normal;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .nav-links {
        gap: 1rem;
    }
} 