/* ========================================
   BLEUEMAGENTA CONSULTANCY SERVICES
   Clinical & Scientific Design
   ======================================== */

/* CSS Variables */
:root {
    /* Colors - Based on Logo */
    --color-primary: #00B4D8;
    --color-primary-dark: #0096B4;
    --color-primary-light: #48CAE4;
    --color-primary-alpha: rgba(0, 180, 216, 0.1);
    --color-primary-alpha-20: rgba(0, 180, 216, 0.2);

    --color-secondary: #023E8A;
    --color-accent: #90E0EF;

    --color-dark: #0A1628;
    --color-dark-secondary: #1A2744;
    --color-gray-900: #1E293B;
    --color-gray-800: #334155;
    --color-gray-700: #475569;
    --color-gray-600: #64748B;
    --color-gray-500: #94A3B8;
    --color-gray-400: #CBD5E1;
    --color-gray-300: #E2E8F0;
    --color-gray-200: #F1F5F9;
    --color-gray-100: #F8FAFC;
    --color-white: #FFFFFF;

    --color-success: #10B981;
    --color-error: #EF4444;

    /* Typography */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

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

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 10px 30px rgba(0, 180, 216, 0.3);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* Molecular Background Pattern */
.molecular-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L52 15v30L30 60 8 45V15z' fill='none' stroke='%2300B4D8' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 60px 60px;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo img {
    height: 100px;
    width: auto;
    transition: var(--transition-base);
}

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

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-700);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    background: var(--color-primary-alpha);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.header-cta:hover {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-primary);
    transform: translateY(-2px);
}

.header-cta svg {
    width: 18px;
    height: 18px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: var(--transition-base);
}

.menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

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

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

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(0, 180, 216, 0.15) 50%,
        rgba(10, 22, 40, 0.88) 100%
    );
}

/* Animated Molecules */
.molecules-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.molecule {
    position: absolute;
    color: var(--color-primary);
    opacity: 0.6;
}

.molecule-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    animation: floatMolecule 8s ease-in-out infinite;
}

.molecule-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 5%;
    animation: floatMolecule 10s ease-in-out infinite 2s;
}

.molecule-3 {
    width: 60px;
    height: 60px;
    top: 25%;
    right: 10%;
    animation: floatMolecule 7s ease-in-out infinite 1s;
}

.molecule-4 {
    width: 150px;
    height: 75px;
    bottom: 20%;
    right: 8%;
    animation: floatMolecule 9s ease-in-out infinite 3s;
}

.dna-helix {
    position: absolute;
    width: 50px;
    height: 250px;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    opacity: 0.4;
    animation: rotateDNA 15s linear infinite;
}

@keyframes floatMolecule {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -15px) rotate(5deg);
    }
    50% {
        transform: translate(5px, -25px) rotate(-3deg);
    }
    75% {
        transform: translate(-5px, -10px) rotate(2deg);
    }
}

@keyframes rotateDNA {
    0% { transform: translateY(-50%) rotateY(0deg); }
    100% { transform: translateY(-50%) rotateY(360deg); }
}

/* Hero Content - Centered */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.label-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary));
}

.label-line:last-child {
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.label-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.title-accent {
    display: block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--color-gray-300);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.4);
}

.btn-hero-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.5);
}

.btn-hero-primary svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-base);
}

.btn-hero-primary:hover svg {
    transform: translateX(4px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 36px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-primary);
}

/* Floating Stat Cards */
.hero-stats-floating {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.stat-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    pointer-events: auto;
    animation: floatCard 4s ease-in-out infinite;
}

.stat-card-1 {
    top: 25%;
    left: 5%;
    animation-delay: 0s;
}

.stat-card-2 {
    top: 55%;
    left: 3%;
    animation-delay: 1.5s;
}

.stat-card-3 {
    bottom: 25%;
    right: 5%;
    animation-delay: 0.8s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-alpha);
    border-radius: var(--radius-md);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
}

.stat-number::after {
    content: '+';
    font-size: 18px;
    color: var(--color-primary);
    margin-left: 2px;
}

.stat-label {
    font-size: 12px;
    color: var(--color-gray-600);
    margin-top: 4px;
    white-space: nowrap;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
    animation: bounceScroll 2s infinite;
}

.scroll-down span {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.scroll-arrow svg {
    width: 20px;
    height: 20px;
    animation: arrowBounce 1.5s infinite;
}

@keyframes bounceScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(5px); opacity: 0.5; }
}

/* Keep text-highlight for other sections */
.text-highlight {
    color: var(--color-primary);
    position: relative;
}

/* Button styles for other sections */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-primary);
    transform: translateY(-3px);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-base);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: transparent;
    color: var(--color-dark);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ========================================
   SECTION COMMON STYLES
   ======================================== */
.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 17px;
    color: var(--color-gray-600);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header .section-description {
    margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

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

.about-image-section {
    position: relative;
}

.about-main-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-main-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-secondary-image {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-white);
}

.about-secondary-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.about-experience {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
}

.exp-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
}

.exp-text {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.about-content {
    padding-right: 20px;
}

.about-lead {
    font-size: 18px;
    color: var(--color-gray-700);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-text {
    font-size: 16px;
    color: var(--color-gray-600);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.feature-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.feature-box:hover {
    background: var(--color-primary-alpha);
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.feature-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 13px;
    color: var(--color-gray-500);
    line-height: 1.5;
}

/* ========================================
   SERVICES SECTION - TABS
   ======================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--color-gray-100);
}

.services-tabs {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--color-gray-200);
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-gray-600);
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    white-space: nowrap;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.tab-btn:hover {
    color: var(--color-dark);
    background: var(--color-gray-50);
}

.tab-btn.active {
    color: var(--color-primary);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-btn svg {
    width: 22px;
    height: 22px;
}

.tabs-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

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

.panel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.panel-info {
    padding: 48px;
    display: flex;
    flex-direction: column;
}

.panel-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.panel-info > p {
    font-size: 16px;
    color: var(--color-gray-600);
    margin-bottom: 24px;
    line-height: 1.7;
}

.panel-list {
    margin-bottom: 32px;
}

.panel-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--color-gray-700);
    border-bottom: 1px solid var(--color-gray-100);
}

.panel-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

.panel-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: auto;
}

.panel-cta:hover {
    gap: 12px;
}

.panel-cta svg {
    width: 20px;
    height: 20px;
}

.panel-image {
    position: relative;
    overflow: hidden;
}

.panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   PRODUCTS SECTION - Magic Card Animation
   ======================================== */

/* Custom property for rotation animation */
@property --rotate {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.products {
    padding: var(--section-padding) 0;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

/* Subtle grid pattern on dark background */
.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 180, 216, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 216, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.products .section-header {
    position: relative;
    z-index: 1;
}

.products .section-label {
    color: var(--color-primary-light);
}

.products .section-title {
    color: var(--color-white);
}

.products .section-title .text-highlight {
    color: var(--color-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

/* Magic Card Effect */
.product-card {
    background: var(--color-dark-secondary);
    padding: 3px;
    position: relative;
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

/* Glowing border animation */
.product-card::before {
    content: "";
    width: 102%;
    height: 102%;
    border-radius: var(--radius-xl);
    background-image: linear-gradient(
        var(--rotate),
        #00B4D8,
        #48CAE4 25%,
        #023E8A 50%,
        #90E0EF 75%,
        #00B4D8
    );
    position: absolute;
    z-index: -1;
    top: -1%;
    left: -1%;
    animation: spinBorder 3s linear infinite;
}

/* Glow effect below card */
.product-card::after {
    content: "";
    position: absolute;
    top: 20%;
    left: 5%;
    right: 5%;
    z-index: -1;
    height: 100%;
    width: 90%;
    margin: 0 auto;
    transform: scale(0.9);
    filter: blur(40px);
    background-image: linear-gradient(
        var(--rotate),
        #00B4D8,
        #48CAE4 25%,
        #023E8A 50%,
        #90E0EF 75%,
        #00B4D8
    );
    opacity: 0.6;
    transition: opacity 0.4s ease;
    animation: spinBorder 3s linear infinite;
}

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

@keyframes spinBorder {
    0% {
        --rotate: 0deg;
    }
    100% {
        --rotate: 360deg;
    }
}

/* Card inner content */
.product-card-inner {
    background: var(--color-dark-secondary);
    border-radius: calc(var(--radius-xl) - 3px);
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.product-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    transition: var(--transition-base);
}

.product-card:hover .product-icon {
    background: rgba(0, 180, 216, 0.25);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.3);
}

.product-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-primary);
}

.product-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
    transition: var(--transition-base);
}

.product-card:hover h3 {
    color: var(--color-primary-light);
}

.product-card p {
    font-size: 14px;
    color: var(--color-gray-400);
    margin-bottom: 20px;
    line-height: 1.7;
    flex-grow: 1;
}

.product-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-base);
}

.product-link::after {
    content: '→';
    transition: var(--transition-base);
}

.product-link:hover {
    color: var(--color-primary-light);
}

.product-link:hover::after {
    transform: translateX(6px);
}

/* ========================================
   PROCESS SECTION - VERTICAL TIMELINE
   ======================================== */
.process {
    padding: var(--section-padding) 0;
    background: var(--color-gray-100);
}

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

.process-header {
    position: sticky;
    top: 120px;
}

.timeline {
    position: relative;
    padding-left: 60px;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 23px;
    width: 2px;
    height: 100%;
    background: var(--color-gray-300);
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -60px;
    top: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-marker span {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-primary);
}

.timeline-content {
    background: var(--color-white);
    padding: 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.timeline-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-alpha);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.timeline-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 600px;
}

.cta-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.cta-title {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 16px;
    color: var(--color-gray-400);
    margin-bottom: 32px;
    line-height: 1.7;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.btn-cta:hover {
    background: var(--color-primary-light);
    box-shadow: var(--shadow-primary);
    transform: translateY(-3px);
}

.btn-cta svg {
    width: 20px;
    height: 20px;
}

.cta-decoration {
    position: relative;
    width: 200px;
    height: 200px;
}

.deco-hex {
    position: absolute;
    background: var(--color-primary-alpha-20);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.deco-hex.hex-1 {
    width: 100px;
    height: 115px;
    top: 0;
    right: 0;
    animation: float 4s ease-in-out infinite;
}

.deco-hex.hex-2 {
    width: 70px;
    height: 81px;
    bottom: 20px;
    left: 20px;
    animation: float 4s ease-in-out infinite 1s;
}

.deco-hex.hex-3 {
    width: 50px;
    height: 58px;
    top: 40%;
    left: 40%;
    animation: float 4s ease-in-out infinite 2s;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

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

.contact-info {
    position: sticky;
    top: 120px;
}

.contact-description {
    font-size: 16px;
    color: var(--color-gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.contact-card:hover {
    background: var(--color-primary-alpha);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-primary);
}

.contact-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
    line-height: 1.5;
}

/* Contact Form */
.contact-form-section {
    background: var(--color-gray-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.form-container {
    padding: 48px;
}

.form-header {
    margin-bottom: 32px;
}

.form-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.form-header p {
    font-size: 15px;
    color: var(--color-gray-600);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--color-dark);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-primary-alpha);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
    padding-right: 48px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-primary);
    transform: translateY(-2px);
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

.btn-loading {
    display: none;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-icon {
    opacity: 0;
}

.btn-submit.loading .btn-loading {
    display: block;
    position: absolute;
}

.btn-loading svg {
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-dark);
    padding: 80px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 100px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-gray-500);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-gray-500);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-contact p {
    font-size: 14px;
    color: var(--color-gray-500);
    margin-bottom: 8px;
}

.footer-address {
    line-height: 1.7;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-gray-600);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--color-gray-600);
    transition: var(--transition-base);
}

.footer-legal a:hover {
    color: var(--color-primary);
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 10000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-success);
    border-radius: 50%;
}

.toast-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-white);
}

.toast-content strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 2px;
}

.toast-content span {
    font-size: 13px;
    color: var(--color-gray-600);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .hero-container {
        gap: 60px;
    }

    .about-grid,
    .contact-wrapper {
        gap: 60px;
    }

    .process-wrapper {
        grid-template-columns: 350px 1fr;
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hero responsive */
    .stat-card {
        padding: 16px 20px;
    }

    .stat-card-1 {
        top: 18%;
        left: 2%;
    }

    .stat-card-2 {
        top: 48%;
        left: 2%;
    }

    .stat-card-3 {
        bottom: 18%;
        right: 2%;
    }

    .molecule-1,
    .molecule-2 {
        left: 2%;
    }

    .molecule-3,
    .molecule-4 {
        right: 2%;
    }

    .dna-helix {
        display: none;
    }

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

    .about-image-section {
        margin-bottom: 60px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .process-header {
        position: static;
        text-align: center;
    }

    .process-header .section-description {
        margin: 0 auto;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        position: static;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .cta-decoration {
        display: none;
    }

    /* Mobile Nav */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 999;
        transform: translateX(-100%);
        transition: var(--transition-base);
    }

    .nav.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-link {
        font-size: 24px;
        padding: 12px 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 48px);
    }

    .hero-label {
        margin-bottom: 24px;
    }

    .label-line {
        width: 30px;
    }

    .label-text {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Hide stat cards on mobile */
    .hero-stats-floating {
        display: none;
    }

    /* Hide molecules on mobile */
    .molecules-container {
        opacity: 0.3;
    }

    .molecule {
        transform: scale(0.6);
    }

    .scroll-down {
        bottom: 24px;
    }

    .about-main-image img {
        height: 350px;
    }

    .about-secondary-image {
        position: static;
        width: 100%;
        margin-top: 16px;
    }

    .about-secondary-image img {
        height: 200px;
        width: 100%;
    }

    .about-experience {
        top: 16px;
        left: 16px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .tabs-nav {
        flex-direction: column;
    }

    .tab-btn {
        justify-content: flex-start;
        padding: 16px 20px;
    }

    .tab-btn::after {
        display: none;
    }

    .tab-btn.active {
        background: var(--color-primary-alpha);
    }

    .panel-content {
        grid-template-columns: 1fr;
    }

    .panel-info {
        padding: 32px;
    }

    .panel-image {
        height: 250px;
    }

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

    .timeline {
        padding-left: 48px;
    }

    .timeline-line {
        left: 15px;
    }

    .timeline-marker {
        left: -48px;
        width: 36px;
        height: 36px;
    }

    .timeline-marker span {
        font-size: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 32px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 28px;
    }

    .header-cta {
        display: none;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-card-icon {
        margin: 0 auto;
    }

    .toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}
