/* ===== PREMIUM PHARMACEUTICAL WEBSITE ENHANCEMENTS ===== */

/* Enhanced Typography & Rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1;
    letter-spacing: -0.01em;
}

/* ===== HERO SECTION - ULTRA PREMIUM ===== */
.hero {
    background:
        radial-gradient(ellipse 120% 80% at top left, rgba(0,102,204,0.08) 0%, transparent 50%),
        radial-gradient(ellipse 100% 60% at bottom right, rgba(22,163,74,0.06) 0%, transparent 50%),
        linear-gradient(135deg, #ffffff 0%, #f0f9ff 40%, #ecfdf5 80%, #ffffff 100%);
    position: relative;
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background:
        radial-gradient(circle at 30% 40%, rgba(0,102,204,0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(13,148,136,0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(22,163,74,0.08) 0%, transparent 50%);
    z-index: 0;
    animation: heroBackgroundPulse 15s ease-in-out infinite;
    filter: blur(80px);
}

@keyframes heroBackgroundPulse {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.8; transform: scale(1.1) rotate(5deg); }
}

/* Hero Decorative Elements */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0,102,204,0.3) 20%,
        rgba(13,148,136,0.3) 50%,
        rgba(22,163,74,0.3) 80%,
        transparent 100%);
    box-shadow: 0 1px 20px rgba(0,102,204,0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    text-shadow:
        0 2px 40px rgba(0,102,204,0.15),
        0 0 80px rgba(0,102,204,0.1);
    letter-spacing: -0.03em;
}

/* Premium Animated Gradient Text */
.text-gradient {
    background: linear-gradient(120deg,
        #0066cc 0%,
        #0d9488 30%,
        #16a34a 55%,
        #0d9488 80%,
        #0066cc 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    text-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

/* ===== PREMIUM FEATURE CARDS ===== */
.feature-card {
    position: relative;
    background:
        linear-gradient(145deg,
            rgba(255,255,255,0.95) 0%,
            rgba(248,250,252,0.9) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow:
        0 10px 40px -10px rgba(0,102,204,0.15),
        0 0 0 1px rgba(0,102,204,0.05),
        inset 0 1px 0 rgba(255,255,255,0.9);
    transition: all 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg,
        rgba(0,102,204,0.3) 0%,
        rgba(13,148,136,0.25) 50%,
        rgba(22,163,74,0.3) 100%);
    border-radius: 22px;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(10px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px -15px rgba(0,102,204,0.25),
        0 0 0 1px rgba(0,102,204,0.1),
        inset 0 1px 0 rgba(255,255,255,1);
}

.feature-icon {
    box-shadow:
        0 8px 25px -5px rgba(0,102,204,0.35),
        inset 0 1px 0 rgba(255,255,255,0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.3) 0%,
        rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.08);
    box-shadow:
        0 12px 30px -8px rgba(0,102,204,0.4),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

/* ===== PREMIUM BUTTONS ===== */
.btn {
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 20px -4px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #0066cc 0%, #004a99 100%);
    box-shadow:
        0 10px 35px -8px rgba(0,102,204,0.5),
        0 0 0 1px rgba(0,102,204,0.1),
        inset 0 1px 0 rgba(255,255,255,0.25);
    position: relative;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent);
    transform: skewX(-20deg);
    animation: buttonShine 4s ease-in-out infinite;
}

@keyframes buttonShine {
    0%, 100% { left: -60%; }
    50% { left: 160%; }
}

.btn-primary:hover {
    background: linear-gradient(135deg, #004a99 0%, #003366 100%);
    box-shadow:
        0 15px 50px -10px rgba(0,102,204,0.6),
        0 0 0 2px rgba(0,102,204,0.2),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-secondary {
    background:
        linear-gradient(135deg,
            rgba(255,255,255,0.95) 0%,
            rgba(255,255,255,0.85) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0,102,204,0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #0066cc 0%, #0d9488 100%);
    border-color: transparent;
    box-shadow:
        0 12px 40px -10px rgba(0,102,204,0.5),
        0 0 0 2px rgba(0,102,204,0.15);
}

/* ===== SECTION BACKGROUNDS ===== */
.section-alt {
    background:
        radial-gradient(ellipse at top, rgba(0,102,204,0.03) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(22,163,74,0.03) 0%, transparent 50%),
        linear-gradient(180deg, #fafbfc 0%, #ffffff 50%, #f9fafb 100%);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,102,204,0.015) 2px, rgba(0,102,204,0.015) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,102,204,0.015) 2px, rgba(0,102,204,0.015) 4px);
    opacity: 0.5;
    pointer-events: none;
}

/* ===== PREMIUM PRODUCT CARDS ===== */
.product-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(0,102,204,0.08);
    box-shadow:
        0 8px 30px -8px rgba(0,0,0,0.1),
        0 0 0 1px rgba(0,0,0,0.02),
        inset 0 1px 0 rgba(255,255,255,0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg,
        rgba(0,102,204,0.3),
        rgba(13,148,136,0.25),
        rgba(22,163,74,0.3));
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    filter: blur(10px);
    transition: opacity 0.4s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-18px) scale(1.04);
    box-shadow:
        0 30px 70px -15px rgba(0,102,204,0.25),
        0 0 0 1px rgba(0,102,204,0.1),
        inset 0 1px 0 rgba(255,255,255,1);
    border-color: rgba(0,102,204,0.15);
}

.product-image {
    background: linear-gradient(135deg,
        rgba(0,102,204,0.08) 0%,
        rgba(13,148,136,0.06) 50%,
        rgba(22,163,74,0.08) 100%);
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0,102,204,0.15) 0%, transparent 50%);
    animation: productImagePulse 4s ease-in-out infinite;
}

@keyframes productImagePulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.product-card:hover .product-image::before {
    animation-play-state: paused;
    opacity: 1;
}

/* ===== FILTER BUTTONS PREMIUM ===== */
.filter-btn {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid rgba(0,102,204,0.15);
    box-shadow:
        0 4px 15px -4px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(0,102,204,0.08) 0%,
        rgba(13,148,136,0.06) 50%,
        rgba(22,163,74,0.08) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    opacity: 1;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #0066cc 0%, #0d9488 100%);
    border-color: transparent;
    box-shadow:
        0 12px 35px -8px rgba(0,102,204,0.5),
        0 0 0 2px rgba(0,102,204,0.1),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

/* ===== VALUE & BENEFIT CARDS ===== */
.value-card,
.benefit-card {
    position: relative;
    background:
        linear-gradient(145deg,
            rgba(255,255,255,0.95) 0%,
            rgba(248,250,252,0.9) 100%);
    border: 1px solid rgba(0,102,204,0.1);
    box-shadow:
        0 8px 25px -8px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card::before,
.benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(0,102,204,0.04) 0%,
        rgba(22,163,74,0.04) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.value-card:hover::before,
.benefit-card:hover::before {
    opacity: 1;
}

.value-card:hover,
.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 50px -12px rgba(0,102,204,0.2),
        0 0 0 1px rgba(0,102,204,0.15),
        inset 0 1px 0 rgba(255,255,255,1);
    border-color: rgba(0,102,204,0.2);
}

.value-icon {
    box-shadow:
        0 10px 30px -8px rgba(0,102,204,0.5),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.3) 0%,
        rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover .value-icon,
.benefit-card:hover i {
    transform: scale(1.2) rotate(-8deg);
}

.value-card:hover .value-icon::after {
    opacity: 1;
}

/* ===== QUALITY SECTION PREMIUM ===== */
.quality-card {
    background:
        linear-gradient(145deg,
            rgba(255,255,255,0.28) 0%,
            rgba(255,255,255,0.15) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow:
        0 15px 50px -10px rgba(0,0,0,0.3),
        inset 0 2px 0 rgba(255,255,255,0.5),
        inset 0 -1px 0 rgba(255,255,255,0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.quality-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.15) 0%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.quality-card:hover {
    background:
        linear-gradient(145deg,
            rgba(255,255,255,0.35) 0%,
            rgba(255,255,255,0.2) 100%);
    transform: translateY(-12px) scale(1.03);
    box-shadow:
        0 25px 70px -15px rgba(0,0,0,0.4),
        inset 0 2px 0 rgba(255,255,255,0.6),
        inset 0 -1px 0 rgba(255,255,255,0.3),
        0 0 0 1px rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

.quality-card:hover::before {
    opacity: 1;
}

/* ===== CONTACT SECTION PREMIUM ===== */
.info-card {
    background:
        linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid rgba(0,102,204,0.12);
    box-shadow:
        0 8px 30px -10px rgba(0,102,204,0.2),
        inset 0 1px 0 rgba(255,255,255,0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg,
        var(--primary-blue) 0%,
        var(--accent-teal) 50%,
        var(--secondary-green) 100%);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.info-card:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.info-card:hover {
    transform: translateX(12px);
    box-shadow:
        0 15px 50px -12px rgba(0,102,204,0.35),
        0 0 0 1px rgba(0,102,204,0.15),
        inset 0 1px 0 rgba(255,255,255,1);
    border-color: rgba(0,102,204,0.25);
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
}

.info-icon {
    box-shadow:
        0 8px 25px -8px rgba(0,102,204,0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow:
        0 12px 35px -10px rgba(0,102,204,0.5),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.form-group input,
.form-group textarea {
    background:
        linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid rgba(0,102,204,0.15);
    box-shadow:
        0 4px 20px -8px rgba(0,102,204,0.12),
        inset 0 1px 0 rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    background: #ffffff;
    border-color: rgba(0,102,204,0.4);
    box-shadow:
        0 8px 30px -10px rgba(0,102,204,0.3),
        0 0 0 3px rgba(0,102,204,0.08),
        inset 0 1px 0 rgba(255,255,255,1);
    transform: translateY(-3px);
}

/* ===== FLOATING ANIMATIONS ===== */
@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.product-card:hover {
    animation: cardFloat 3s ease-in-out infinite;
}

/* ===== NEWSLETTER FORM ===== */
.newsletter-form {
    position: relative;
}

.newsletter-form input {
    background:
        linear-gradient(145deg,
            rgba(255,255,255,0.2) 0%,
            rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow:
        0 4px 20px -8px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    box-shadow:
        0 8px 30px -10px rgba(0,0,0,0.3),
        0 0 0 2px rgba(255,255,255,0.2),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.newsletter-form button {
    background:
        linear-gradient(135deg,
            rgba(255,255,255,0.35) 0%,
            rgba(255,255,255,0.2) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow:
        0 4px 20px -8px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: rgba(255,255,255,0.45);
    border-color: rgba(255,255,255,0.5);
    box-shadow:
        0 8px 30px -10px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.5);
    transform: scale(1.05);
}

/* ===== RESEARCH CARDS ===== */
.research-card {
    background:
        linear-gradient(145deg,
            rgba(239,246,255,1) 0%,
            rgba(240,253,244,0.95) 100%);
    border: 1px solid rgba(0,102,204,0.12);
    box-shadow:
        0 8px 30px -10px rgba(0,102,204,0.15),
        inset 0 1px 0 rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.research-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(0,102,204,0.02) 20px, rgba(0,102,204,0.02) 40px);
    opacity: 0.5;
}

.research-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px -15px rgba(0,102,204,0.25),
        0 0 0 1px rgba(0,102,204,0.15),
        inset 0 1px 0 rgba(255,255,255,1);
}

/* ===== PIPELINE CARDS ===== */
.pipeline-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0,102,204,0.1);
    box-shadow:
        0 8px 25px -8px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
}

.pipeline-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0,102,204,0.04) 100%);
    transition: height 0.4s ease;
}

.pipeline-card:hover::before {
    height: 100%;
}

.pipeline-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px -12px rgba(0,102,204,0.2),
        0 0 0 1px rgba(0,102,204,0.15),
        inset 0 1px 0 rgba(255,255,255,1);
    border-color: rgba(0,102,204,0.2);
}

/* ===== SCROLL EFFECTS ===== */
@media (prefers-reduced-motion: no-preference) {
    .section-header,
    .hero-content,
    .feature-card,
    .product-card {
        animation: fadeInUp 0.8s ease-out both;
    }

    .feature-card:nth-child(2) { animation-delay: 0.1s; }
    .feature-card:nth-child(3) { animation-delay: 0.2s; }

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

/* ===== RESPONSIVE PREMIUM TOUCHES ===== */
@media (max-width: 768px) {
    .hero::before {
        width: 100%;
        filter: blur(60px);
    }

    .feature-card:hover,
    .product-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
}
