/* =============================================
   POLYMER TECHNOLOGY PAGE — polymers.css
   GenX PV Design System
   ============================================= */

/* ---- HERO ---- */
.polymer-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #001228 0%, #001F37 45%, #002a18 100%);
    margin-top: calc(-1 * var(--header-height));
    padding: calc(var(--header-height) + 80px) 0 80px;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.polymer-hero-bg-glow {
    position: absolute;
    top: -100px;
    right: -80px;
    width: 650px;
    height: 650px;
    background: radial-gradient(ellipse at center, rgba(76, 224, 110, 0.12) 0%, rgba(0, 183, 179, 0.08) 45%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.polymer-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

/* Left */
.polymer-badge {
    display: inline-block;
    background: rgba(76, 224, 110, 0.15);
    border: 1px solid rgba(76, 224, 110, 0.4);
    color: #4CE06E;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.polymer-hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 1.2rem;
    letter-spacing: -0.5px;
}

.polymer-hero-accent {
    color: #4CE06E;
}

.polymer-hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 2rem;
    max-width: 360px;
    line-height: 1.6;
}

.polymer-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #00B7B3, #4CE06E);
    color: #001F37;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.polymer-hero-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: #001F37;
}

/* Right: Visual */
.polymer-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.polymer-hero-chip-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(0, 183, 179, 0.2) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.polymer-hero-img {
    width: 100%;
    max-width: 380px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    drop-shadow: 0 20px 60px rgba(0,0,0,0.5);
    filter: drop-shadow(0 20px 40px rgba(0, 183, 179, 0.25));
    animation: polymer-float 4s ease-in-out infinite;
}

@keyframes polymer-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

.polymer-hero-stat-badge {
    position: absolute;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    z-index: 5;
}

.polymer-stat-1 { top: 15%; left: -10%; }
.polymer-stat-2 { bottom: 15%; right: -5%; }

.polymer-stat-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: #4CE06E;
    line-height: 1;
}

.polymer-stat-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.6);
    margin-top: 3px;
    white-space: nowrap;
}

/* ---- OVERVIEW ---- */
.polymer-overview-section {
    padding: 80px 0;
    background: #fff;
}

.polymer-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.polymer-section-badge {
    display: inline-block;
    background: rgba(0, 183, 179, 0.1);
    border: 1px solid rgba(0, 183, 179, 0.35);
    color: #00B7B3;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.polymer-badge-light {
    background: rgba(76, 224, 110, 0.12);
    border-color: rgba(76, 224, 110, 0.3);
    color: #4CE06E;
}

.polymer-section-title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--color-oxford-blue);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.polymer-accent-text {
    color: #00B7B3;
}

.polymer-title-divider {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #00B7B3, #4CE06E);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.polymer-section-desc {
    color: #4A5A68;
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.polymer-section-subtext {
    color: #4A5A68;
    font-size: 0.95rem;
    max-width: 560px;
    margin: 0.5rem auto 0;
}

/* Overview card */
.polymer-overview-card-inner {
    background: linear-gradient(135deg, #001F37 0%, #002a18 100%);
    border-radius: 20px;
    padding: 36px;
    border: 1px solid rgba(76, 224, 110, 0.2);
    box-shadow: 0 20px 60px rgba(0,31,55,0.2);
}

.polymer-card-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 4px;
}

.polymer-card-sub {
    color: #4CE06E;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.polymer-card-desc {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.polymer-card-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin-bottom: 1.5rem;
}

.polymer-card-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.polymer-adv-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.polymer-adv-list li {
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    padding-left: 20px;
    position: relative;
}

.polymer-adv-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #4CE06E;
    border-radius: 50%;
}

/* ---- ADVANTAGES ---- */
.polymer-advantages-section {
    padding: 80px 0;
    background: var(--color-bg-light);
}

.polymer-advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.polymer-adv-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #E8EEF4;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.polymer-adv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,31,55,0.1);
    border-color: rgba(0, 183, 179, 0.3);
}

.polymer-adv-card--featured {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(90deg, rgba(0, 183, 179, 0.06), rgba(76, 224, 110, 0.06));
    border-color: rgba(0, 183, 179, 0.25);
}

.polymer-adv-card--featured .polymer-adv-desc {
    margin: 0;
}

.polymer-adv-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, rgba(0, 183, 179, 0.12), rgba(76, 224, 110, 0.08));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00B7B3;
    margin-bottom: 1rem;
}

.polymer-adv-card--featured .polymer-adv-icon {
    margin-bottom: 0;
}

.polymer-adv-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-oxford-blue);
    margin: 0 0 8px;
}

.polymer-adv-desc {
    font-size: 0.88rem;
    color: #4A5A68;
    line-height: 1.65;
    margin: 0;
}

/* ---- INNOVATION (dark section) ---- */
.polymer-innovation-section {
    position: relative;
    background: linear-gradient(135deg, #001228 0%, #001F37 50%, #002a18 100%);
    padding: 80px 0;
    overflow: hidden;
}

.polymer-innovation-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -80px;
    width: 500px;
    height: auto; aspect-ratio: 4/3;
    background: radial-gradient(ellipse, rgba(0, 183, 179, 0.1) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.polymer-innovation-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.polymer-innovation-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.polymer-innovation-accent {
    color: #4CE06E;
}

.polymer-innovation-divider {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #00B7B3, #4CE06E);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.polymer-innovation-desc {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.polymer-innovation-metrics {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.polymer-metric-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 20px 24px;
    transition: background 0.25s;
}

.polymer-metric-card:hover {
    background: rgba(255,255,255,0.08);
}

.polymer-metric-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(0, 183, 179, 0.2), rgba(76, 224, 110, 0.12));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4CE06E;
}

.polymer-metric-text {
    display: flex;
    flex-direction: column;
}

.polymer-metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #4CE06E;
    line-height: 1;
}

.polymer-metric-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    margin-top: 4px;
}

/* ---- APPLICATIONS ---- */
.polymer-applications-section {
    padding: 80px 0;
    background: #fff;
}

.polymer-applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 2rem;
}

.polymer-app-card {
    border-radius: 18px;
    border: 1px solid #E8EEF4;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.polymer-app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,31,55,0.12);
}

.polymer-app-img-wrapper {
    background: var(--color-bg-light);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.polymer-app-img {
    max-height: 150px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.polymer-app-card:hover .polymer-app-img {
    transform: scale(1.06);
}

.polymer-app-body {
    padding: 24px 28px;
}

.polymer-app-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-oxford-blue);
    margin: 0 0 4px;
}

.polymer-app-sub {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #00B7B3;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.polymer-app-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.polymer-app-list li {
    font-size: 0.88rem;
    color: #4A5A68;
    padding-left: 16px;
    position: relative;
}

.polymer-app-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #4CE06E;
    border-radius: 50%;
}

.polymer-app-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #00B7B3;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.polymer-app-link:hover {
    color: #4CE06E;
    gap: 12px;
}

/* Gland callout */
.polymer-gland-callout {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(90deg, rgba(0, 183, 179, 0.06), rgba(76, 224, 110, 0.06));
    border: 1px solid rgba(0, 183, 179, 0.25);
    border-radius: 12px;
    padding: 18px 24px;
    color: #4A5A68;
    font-size: 0.92rem;
}

.polymer-gland-callout svg {
    color: #00B7B3;
    flex-shrink: 0;
}

.polymer-gland-callout p {
    margin: 0;
}

.polymer-gland-callout strong {
    color: var(--color-oxford-blue);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .polymer-hero-inner,
    .polymer-overview-grid,
    .polymer-innovation-inner {
        grid-template-columns: 1fr;
    }

    .polymer-hero-visual {
        display: none;
    }

    .polymer-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .polymer-applications-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .polymer-advantages-grid {
        grid-template-columns: 1fr;
    }

    .polymer-adv-card--featured {
        flex-direction: column;
        align-items: flex-start;
    }

    .polymer-stat-1, .polymer-stat-2 {
        display: none;
    }
}
