/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
    /* Colors */
    --primary: #0066CC;
    --primary-dark: #004C99;
    --primary-light: #3385D6;
    --accent: #00C9A7;
    --accent-glow: rgba(0, 201, 167, 0.4);

    --bg-dark: #0A0E27;
    --bg-secondary: #151B3D;
    --bg-card: #1E2749;

    --text-primary: #FFFFFF;
    --text-secondary: #B8C5D6;
    --text-muted: #7A8BA3;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0066CC 0%, #00C9A7 100%);
    --gradient-bg: linear-gradient(180deg, #0A0E27 0%, #151B3D 100%);

    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;

    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ========================================
   Particle Canvas Background
   ======================================== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

/* ========================================
   Container & Utility Classes
   ======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in-up.delay-1 {
    animation-delay: 0.3s;
}

.fade-in-up.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
}

.medical-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 201, 167, 0.1) 0%, transparent 50%);
    animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -20px) scale(1.05);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.logo-container {
    margin-bottom: 40px;
}

.logo {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 102, 204, 0.3));
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 40px rgba(0, 201, 167, 0.5));
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FFFFFF 0%, #B8C5D6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 300;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 80px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 var(--accent-glow);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--accent-glow);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px transparent;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #FFFFFF 0%, #B8C5D6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-secondary) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition-smooth);
}

.about-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.about-text strong {
    color: var(--accent);
    font-weight: 600;
}

.about-image {
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    transition: var(--transition-smooth);
}

.about-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.image-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.symbol {
    max-width: 250px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 30px rgba(0, 201, 167, 0.3));
    transition: var(--transition-smooth);
}

.image-card:hover .symbol {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 15px 40px rgba(0, 201, 167, 0.5));
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    animation: glow 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes glow {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* ========================================
   Products Preview Section
   ======================================== */
.products-preview {
    background: var(--bg-secondary);
}

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

.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 201, 167, 0.3);
    box-shadow: 0 20px 60px rgba(0, 201, 167, 0.2);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-smooth);
}

.product-card:hover .product-icon {
    transform: rotateY(360deg);
}

.product-icon svg {
    width: 35px;
    height: 35px;
}

.product-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.product-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-dark) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition-smooth);
}

.contact-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: var(--primary-light);
}

/* CTA Card */
.contact-cta {
    position: sticky;
    top: 100px;
}

.cta-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.cta-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: 0;
}

.cta-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.cta-card>p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.notify-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.notify-form input {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.notify-form input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.notify-form input::placeholder {
    color: var(--text-muted);
}

.btn-primary {
    padding: 15px 30px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 201, 167, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    :root {
        --section-padding: 60px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image,
    .about-text {
        transform: none !important;
    }

    .contact-cta {
        position: static;
    }

    .image-card {
        padding: 40px;
    }

    .symbol {
        max-width: 180px;
    }
}

@media (max-width: 640px) {
    .logo {
        max-width: 220px;
    }

    .status-badge {
        font-size: 0.85rem;
        padding: 10px 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        margin-bottom: 40px;
    }
}

/* ========================================
   Intro Overlay (SVG Mask)
   ======================================== */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background-color: transparent;
    pointer-events: all;
    display: flex;
    justify-content: center;
    align-items: center;
}

#intro-overlay svg {
    width: 100%;
    height: 100%;
}

.mask-path {
    transform-box: fill-box;
    transform-origin: center;
    animation: maskReveal 2.5s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}

/* 
   Animation Concept:
   1. Start at scale 1 (normal logo size).
   2. Pause briefly to let the user see the logo.
   3. Scale up massively to clear the screen (reveal content).
*/
@keyframes maskReveal {
    0% {
        transform: scale(0.05);
    }

    40% {
        transform: scale(0.05);
    }

    100% {
        transform: scale(50);
    }
}

/* Utility to hide/remove overlay */
.hidden {
    display: none !important;
}