:root {
    --primary-dark: #2D1B4E;
    --accent-pink: #FF4B91;
    --accent-orange: #FF8E3C;
    --accent-purple: #A855F7;
    --accent-yellow: #FBBF24;
    --white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-extra-light: #FCFCFC;
    --text-gray: #6B7280;
    --border-light: #F3F4F6;
    --border-extra-light: #F9FAFB;

    --gradient-premium: linear-gradient(135deg, #ec4ab8, #3963af);
    --gradient-chemistry: linear-gradient(90deg, #FF4B91 0%, #FF8E3C 100%);
    --gradient-soft: linear-gradient(135deg, rgba(255, 75, 145, 0.1) 0%, rgba(255, 142, 60, 0.05) 50%, rgba(168, 85, 247, 0.1) 100%);
    --gradient-bg: linear-gradient(141.34deg, #FFF5F7 0%, #FFF9F5 50%, #F5F3FF 100%);
    --shadow-premium: 0px 10px 25px -5px rgba(45, 27, 78, 0.1), 0px 8px 10px -6px rgba(45, 27, 78, 0.05);
    --shadow-large: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-btn: 0px 15px 30px -10px rgba(255, 75, 145, 0.4);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--primary-dark);
}

.gradient-txt {
    background: var(--gradient-chemistry);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Standardized Hero Typography --- */
.chem-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.chem-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.chem-hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* --- Standardized Section Titles --- */
.chem-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    line-height: 1.2;
}

/* --- Standardized CTA Section --- */
.chem-cta-box {
    background: var(--white);
    padding: 1.25rem;
    border-radius: 3rem;
    text-align: center;
    color: var(--primary-dark);
    position: relative;
    overflow: hidden;
    margin: 4rem auto;
    border: 3px solid transparent;
    background-image: linear-gradient(white, white),
        linear-gradient(to right, #ec4ab8 0%, #3963af 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 5px 15px rgba(196, 196, 196, 0.5);
    max-width: 1200px;
}

.chem-cta-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.chem-cta-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* --- Standardized Button --- */
.chem-btn-primary {
    padding: 14px 32px;
    border-radius: 0.8rem;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    border: none;
    cursor: pointer;
    background: linear-gradient(45deg, rgba(236, 74, 184, 1) 0%, rgba(57, 99, 175, 1) 100%);
    box-shadow: 0 10px 25px rgba(123, 97, 255, 0.25), 0 4px 10px rgba(255, 95, 109, 0.2);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.chem-btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ec4ab8, #3963af);
    box-shadow: 0 14px 30px rgba(123, 97, 255, 0.35), 0 6px 14px rgba(255, 95, 109, 0.25);
}

/* Shared Feature Module for Chemical Pages (M365 Style) */


.chem-features-section {
    background-color: #ffffff;
    padding: 48px 0;
}

.chem-features-frame {
    max-width: 75rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
    border-radius: 0.625rem;
}

.chem-features-header {
    text-align: center;
    margin-bottom: 50px;
}

.chem-features-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2D1B4E;
    margin-bottom: 0.9375rem;
}

.chem-features-header p {
    font-size: 1rem;
    color: #505050;
    max-width: 52rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* 
.chem-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.875rem;
} */


.chem-features-grid {

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.875rem;
    max-width: 75rem;
    margin: 0 auto;
}

.chem-features-grid-flex {

    flex-wrap: wrap;
}

.chem-feature-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2.5rem 1.875rem;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(3% - 30px);
    max-width: calc(33% - 20px);
    min-width: 300px;
    /* border: none !important; */
}

.chem-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(43, 61, 145, 0.15);
}

.chem-feature-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.chem-feature-icon {
    width: 2.8125rem;
    height: 2.8125rem;
    background: #ffffff;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: #2D1B4E;
}

.chem-feature-header-row h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.chem-feature-content p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
    margin-top: 0.625rem;
}

/* Pastel Colors matching M365 and original FR */
.chem-feature-card:nth-child(6n+1) {
    background-color: rgba(251, 191, 36, 0.1);
}

.chem-feature-card:nth-child(6n+2) {
    background-color: rgba(45, 212, 191, 0.1);
}

.chem-feature-card:nth-child(6n+3) {
    background-color: rgba(59, 130, 246, 0.1);
}

.chem-feature-card:nth-child(6n+4) {
    background-color: rgba(168, 85, 247, 0.1);
}

.chem-feature-card:nth-child(6n+5) {
    background-color: rgba(255, 75, 145, 0.1);
}

.chem-feature-card:nth-child(6n+0) {
    background-color: rgba(249, 115, 22, 0.1);
}

@media (max-width: 1024px) {
    .chem-features-header h2 {
        font-size: 2.5rem;
    }

    .chem-feature-card {
        flex: 1 1 calc(50% - 30px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .chem-feature-card {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 200px;
    }
}