:root {
    --primary: #579CD4;
    --text-dark: #353535;
    --text-mid: #555555;
    --accent: #D9DFE4;
    --white: #FFFFFF;
    --bg-light: #F8FAFC;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html,
body {
    scroll-behavior: smooth;
    scroll-padding-top: 200px;
    /* Large anchor offset to account for high fixed header */
}

body {
    font-family: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    line-height: normal;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo img {
    height: 80px;
    /* Large initial size for readability */
    width: auto;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
    top: 0.75rem;
    left: 1rem;
    width: calc(100% - 2rem);
    padding: 0.5rem 0;
    background: var(--white);
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

header.scrolled .nav-container {
    padding: 0 6rem;
}

@media (max-width: 768px) {
    .logo img {
        height: 48px;
    }

    header {
        padding: 0.75rem 0;
    }

    header.scrolled {
        top: 0;
        border-radius: 0;
    }

    header.scrolled .nav-container {
        padding: 0 1.5rem;
    }

    header.scrolled .logo img {
        height: 40px;
    }
}

header.scrolled .nav-links-wrapper:not(.mobile-active) {
    background: rgba(0, 0, 0, 0.025);
    padding: 0.15rem;
}

header.scrolled .nav-links a {
    padding: 0.45rem 1.1rem;
    font-size: 0.9rem;
}

header.scrolled .cta-button.primary {
    padding: 0.7rem 1.75rem;
}

.nav-links-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.035);
    padding: 0.25rem;
    border-radius: 50px;
    min-width: fit-content;
}

.nav-pill {
    position: absolute;
    background: var(--text-dark);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.9);
    top: 4px;
    bottom: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-pill.active {
    opacity: 1;
    transform: scale(1);
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.nav-links li {
    padding: 0 0.15rem;
}

.nav-links>li {
    position: relative;
}

.nav-links a {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text-mid);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    transition: color 0.3s ease;
}

.nav-links a.hovered {
    color: var(--white) !important;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 0.75rem;
    min-width: 240px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 200;
    margin-top: 5px;
}

/* Invisible bridge to prevent hover loss */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block !important;
    padding: 0.8rem 1.25rem !important;
    font-size: 0.9rem !important;
    color: var(--text-dark) !important;
    border-radius: 12px !important;
    transition: all 0.25s ease !important;
    white-space: nowrap;
    background: transparent !important;
    text-align: left;
}

.dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.04) !important;
    color: var(--primary) !important;
    padding-left: 1.5rem !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-button {
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.cta-button.primary {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 2rem;
}

.cta-button.primary:hover {
    background: #4A8CC4;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(87, 156, 210, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn i,
.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
}

/* Hero Section */
.hero {
    height: 100vh;
    padding: 0;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content-minimal {
    max-width: 900px;
    margin: 0 auto;
}

.hero-headline {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.hero-headline .highlight {
    color: var(--primary);
}

.hero-meta {
    max-width: 600px;
    margin: 0 auto;
}

.hero-meta p {
    font-size: 1.25rem;
    color: var(--text-mid);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 8rem 0 5rem;
    }

    .hero-headline {
        font-size: 4rem;
    }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.section-head {
    text-align: center;
    margin-bottom: 4rem;
}

.section-head h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-head p {
    color: var(--text-mid);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: left;
    border: 1px solid #EFEFEF;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: left;
    border-radius: 0;
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.5;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;
}

.system-layout {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.system-info.side-by-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.system-info.side-by-side:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.system-info.side-by-side:nth-child(even) .video-container {
    order: 2;
}

.system-info.side-by-side:nth-child(even) .system-text {
    order: 1;
}

.system-text h2 {
    margin-bottom: 0.25rem;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    /* Shared style with other sections */
}



.benefit-list {
    list-style: none;
    margin: 2rem 0;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-mid);
    line-height: 1.4;
}

.benefit-list li i,
.benefit-list li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.check-circle {
    border-radius: 6px;
    /* Slightly rounded corners for the box */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.pill-button-solid {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.pill-button-solid:hover {
    background: var(--text-dark);
    transform: translateY(-2px);
}

.video-placeholder {
    aspect-ratio: 1/1;
    background: #E5E9EC;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transform: scale(1.02);
}

.play-button-square {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
    z-index: 2;
}

.video-placeholder:hover .play-button-square {
    transform: scale(1.05);
    background: #4a8cc4;
}

.play-button {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 0 10px rgba(87, 156, 212, 0.2);
    transition: var(--transition);
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
}

/* Papers Section */
.papers {
    padding: 6rem 0;
    background: var(--accent);
}

.papers-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Clinical Study Cards (Rhaeos Style) */
.paper-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 0;
    border-bottom: 1px solid #EEE;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.paper-card:last-child {
    border-bottom: none;
}

.paper-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.paper-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
}

.meta-value {
    color: var(--text-dark);
    display: block;
    margin-top: 0.25rem;
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.enrolling {
    background: #E8F5E9;
    color: #2E7D32;
}

.status-badge.review {
    background: #FFF3E0;
    color: #EF6C00;
}

.status-badge.published {
    background: #E3F2FD;
    color: #1565C0;
}

/* Footer */
footer {
    padding: 4rem 0;
    background: var(--text-dark);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    opacity: 0.7;
}

/* Product Specifications (Sylke Style) */
.specs-section {
    padding: 6rem 0;
    background: #FFF;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.spec-item {
    padding: 1.5rem;
    border: 1px solid #EEE;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sku-code {
    font-family: monospace;
    font-weight: 600;
    color: var(--primary);
    background: #F4F8FB;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.85rem;
}

.sku-desc {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.pill-button {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pill-button:hover {
    background: var(--primary);
    color: white;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: var(--primary);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 24px;
    text-align: left;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.cta-section .cta-button.primary {
    width: 100%;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 0;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
        border-radius: 16px;
        width: 95%;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 968px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-grid,
    .hero-content,
    .system-info.side-by-side {
        display: flex !important;
        flex-direction: column !important;
        text-align: center;
        gap: 3rem;
    }

    .system-info.side-by-side .video-container {
        order: 1 !important;
    }

    .system-info.side-by-side .system-text {
        order: 2 !important;
    }

    .system-text h2 {
        font-size: 1.75rem !important;
    }

    .system-text p {
        font-size: 1rem !important;
    }

    .benefit-list li {
        font-size: 0.95rem !important;
    }

    #refill-pack-row {
        display: flex !important;
        flex-direction: column !important;
    }

    #refill-pack-row .video-container {
        order: -1 !important;
        /* Forces image to top */
        margin-bottom: 2rem;
    }

    #refill-pack-row .system-text {
        order: 1 !important;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-headline {
        font-size: 3rem;
    }

    /* Mobile Navigation */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 3000;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn .close-icon {
        display: none;
    }

    .mobile-menu-btn.mobile-active {
        position: fixed;
        top: 1.5rem;
        right: 1.5rem;
    }

    .mobile-menu-btn.mobile-active .menu-icon {
        display: none;
    }

    .mobile-menu-btn.mobile-active .close-icon {
        display: block;
        color: var(--text-dark);
    }

    .desktop-only {
        display: none !important;
    }

    .nav-links-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        border-radius: 0;
    }

    .nav-links-wrapper.mobile-active {
        transform: translateY(0);
        opacity: 1;
        background: #FFFFFF !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        visibility: visible !important;
        z-index: 2001 !important;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0.5rem;
        padding: 0 2rem;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links a {
        font-size: 1.25rem;
        padding: 1.25rem 0;
        width: 100%;
        text-align: left;
        color: var(--text-dark);
        font-weight: 600;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links a::after {
        display: none !important;
    }

    .has-dropdown .dropdown-menu,
    .has-dropdown:hover .dropdown-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .has-dropdown .dropdown-menu a {
        font-size: 1.1rem !important;
        opacity: 0.8;
        padding: 0.5rem !important;
        text-align: center;
    }

    .nav-pill {
        display: none !important;
    }
}

/* Interactive Showcase */
.interactive-showcase {
    position: relative;
    background: var(--white);
    overflow: visible;
}

.showcase-content {
    text-align: center;
    z-index: 2;
}

.showcase-header {
    margin-bottom: 4rem;
}

.showcase-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    /* Match excellence and system section */
    color: var(--text-dark);
}

.interactive-device-container {
    position: relative;
    width: 100%;
    max-width: 360px;
    /* Let it get larger on desktop */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav-btn {
    background: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    cursor: pointer;
    position: absolute;
    z-index: 30;
    transition: var(--transition);
}

.carousel-nav-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.carousel-nav-btn.prev-btn {
    left: -80px;
}

.carousel-nav-btn.next-btn {
    right: -80px;
}

.carousel-dots-container {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.carousel-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D1D5DB;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-nav-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .interactive-showcase .carousel-nav-dot {
        width: 5px !important;
        height: 5px !important;
    }

    .interactive-showcase .carousel-dots-container {
        gap: 0.4rem !important;
        margin-top: 1rem !important;
    }
}

@media (max-width: 768px) {
    .carousel-nav-btn {
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        top: 40%;
        /* Better alignment with product center */
    }

    .carousel-nav-btn.prev-btn {
        left: 0 !important;
    }

    .carousel-nav-btn.next-btn {
        right: 0 !important;
    }
}

.carousel-text-area {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: opacity 0.4s ease, transform 0.4s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-text-area h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 700;
}

.carousel-text-area p {
    color: var(--text-mid);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 80%;
}

@media (max-width: 768px) {
    .carousel-text-area {
        margin-top: 1rem;
        padding: 1rem;
        width: 95%;
    }

    .carousel-text-area h4 {
        font-size: 1rem;
    }

    .carousel-text-area p {
        font-size: 0.85rem;
        max-width: 100%;
    }
}

.product-render-wrap {
    position: relative;
    width: 100%;
    /* Scale smoothly with container */
    max-width: 100%;
    margin: 0 auto;
    overflow: visible;
}

.product-render-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.2s ease-out, opacity 0.5s ease;
}

/* Feature Pins */
.feature-pin {
    position: absolute;
    z-index: 10;
    opacity: 0;
    transform: scale(0) translateY(20px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.feature-pin.active {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
    pointer-events: auto;
    z-index: 25;
}

.pin-dot {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(87, 156, 212, 0.6);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .interactive-showcase .pin-dot {
        width: 8px !important;
        height: 8px !important;
        border-width: 1.5px !important;
    }

    .interactive-showcase .pin-dot::after {
        top: -6px !important;
        left: -6px !important;
        right: -6px !important;
        bottom: -6px !important;
    }
}

.pin-dot::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    animation: pin-pulse 2s infinite;
}

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

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.pin-label {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    width: 220px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary);
    pointer-events: none;
    z-index: 20;
}

/* Offset labels to prevent clumping */
.feature-pin[data-scroll-step="1"] .pin-label {
    left: auto;
    right: 40px;
}

.feature-pin[data-scroll-step="2"] .pin-label {
    top: -10px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
}

.feature-pin[data-scroll-step="3"] .pin-label {
    top: 50%;
    left: 40px;
}

.pin-label h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.pin-label p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.4;
    margin-bottom: 0;
}

/* Media Queries for Pins */
@media (max-width: 768px) {
    .interactive-device-container {
        transform: scale(1);
        width: 100% !important;
        max-width: 100% !important;
        /* Allow full expansion on mobile */
    }

    .interactive-showcase .product-render-wrap {
        width: 100% !important;
        max-width: 600px !important;
        margin: 0 auto !important;
        display: block !important;
        padding: 0 45px !important;
        /* Provide literal space for 36px arrows to prevent overlap */
        box-sizing: border-box !important;
    }

    .interactive-showcase .product-render-wrap img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .section-head h2 {
        font-size: 2.25rem;
    }

    .system-text h2,
    .showcase-header h2 {
        font-size: 2rem;
    }

    .carousel-text-area {
        padding: 1rem;
        margin-top: 0.5rem;
        min-height: 100px;
    }

    .showcase-header {
        margin-bottom: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: left;
    }

    .footer-col h4 {
        margin-bottom: 1rem;
    }

    .footer-logo img {
        margin: 0 0 1.5rem 0;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .footer-col p {
        margin: 0 !important;
        text-align: left !important;
        max-width: 90% !important;
    }

    .contact-form-container>form>div:first-child {
        grid-template-columns: 1fr !important;
    }
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* Document Cards */
.document-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.document-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    border-color: var(--primary);
}

.document-card .icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(87, 156, 212, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-right: 1.25rem;
}

.document-card h4 {
    margin: 0 0 0.35rem 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
}

.document-card p {
    margin: 0;
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.4;
}

.document-card .view-badge {
    color: var(--primary);
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(87, 156, 212, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

/* Paradigm Shift Section */
.paradigm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.paradigm-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid #E2E8F0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}


.paradigm-card.proactive {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(87, 156, 212, 0.05);
}

.paradigm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.paradigm-card.proactive:hover {
    box-shadow: 0 15px 35px rgba(87, 156, 212, 0.1);
}

.paradigm-card-header {
    margin-bottom: 1.5rem;
}

.paradigm-card-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-top: 1rem;
}

.paradigm-desc {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.paradigm-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.paradigm-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.5;
}

.paradigm-list li:last-child {
    margin-bottom: 0;
}

.paradigm-list li i,
.paradigm-list li svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

@media (max-width: 968px) {
    .paradigm-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .paradigm-card {
        padding: 2rem 1.5rem;
    }
    
    .paradigm-card-header h3 {
        font-size: 1.5rem;
    }
}

/* Image-only placeholder fixes */
.video-placeholder.image-only {
    background: #FFFFFF;
    cursor: default;
    border: 1px solid #E2E8F0;
    padding: 3rem 3rem 4rem 3rem;
}

.video-placeholder.image-only img {
    object-fit: contain;
    transform: none;
    width: 100%;
    height: 100%;
}