@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #0C4B82;
    --primary-rgb: 12, 75, 130;
    --primary-hover: #083761;
    --accent: #00A3E0;
    --accent-rgb: 0, 163, 224;
    --accent-hover: #0088BC;
    --bg-primary: #FAFAFA;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;
    --text-primary: #171717;
    --text-secondary: #525252;
    --text-muted: #8E8E93;
    --border-color: #E5E5E5;
    
    /* Layout Constants */
    --max-width: 1280px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.02);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
}

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

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

/* Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

/* Navigation Header */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
}

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

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF !important;
    box-shadow: 0px 1px 2px rgba(12, 75, 130, 0.15), 0px 4px 10px rgba(12, 75, 130, 0.12), 0px 12px 24px rgba(12, 75, 130, 0.08);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0px 2px 4px rgba(12, 75, 130, 0.2), 0px 8px 20px rgba(12, 75, 130, 0.16), 0px 24px 40px rgba(12, 75, 130, 0.12);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.04), 0px 4px 10px rgba(0, 0, 0, 0.03);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(12, 75, 130, 0.02);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* Hero Section */
.hero-section {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    background-color: #FAFBFF;
    /* Subtle mesh gradient */
    background-image:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 163, 224, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 90% 20%, rgba(12, 75, 130, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 30% 30% at 10% 80%, rgba(0, 163, 224, 0.03) 0%, transparent 60%);
}

/* Floating decorative orbs */
.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(0, 163, 224, 0.06) 0%, transparent 65%);
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 80px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(12, 75, 130, 0.03) 0%, transparent 65%);
    pointer-events: none;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

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

.hero-centered-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-tiny-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--primary);
    border: 1px solid rgba(0, 163, 224, 0.2);
    padding: 7px 18px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
    box-shadow: 0 4px 16px rgba(0, 163, 224, 0.08), inset 0 1px 0 rgba(255,255,255,0.8);
    opacity: 0;
    animation: zoomFit 1.0s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0s;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    margin-right: 8px;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--accent);
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}

.hero-title {
    font-size: 68px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -2.5px;
    color: var(--text-primary);
    margin-bottom: 24px;
    max-width: 860px;
    opacity: 0;
    animation: zoomFit 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.2s;
}

/* Gradient accent on key words */
.hero-title .accent-word {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 680px;
    opacity: 0;
    animation: zoomFit 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.4s;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
    opacity: 0;
    animation: zoomFit 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.6s;
}

/* ─── Hero Stats Row ─── */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 56px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 163, 224, 0.1);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(12, 75, 130, 0.04), inset 0 1px 0 rgba(255,255,255,0.9);
    opacity: 0;
    animation: zoomFit 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.75s;
    width: fit-content;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 40px;
    position: relative;
}

.hero-stat-item + .hero-stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(0, 163, 224, 0.12);
}

.hero-stat-number {
    font-size: 26px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.hero-stat-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.05);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 1120px;
    aspect-ratio: 16/9;
    margin-bottom: 64px;
    opacity: 0;
    animation: zoomIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.02);
}

/* 4-Image Greenleaf Grid */
.hero-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 1120px;
    margin-bottom: 56px;
    opacity: 0;
    animation: zoomFit 1.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.8s;
}

.hero-img-card {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 8px 32px rgba(12, 75, 130, 0.07), 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
    position: relative;
}

/* Gradient overlay on each card */
.hero-img-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(12, 75, 130, 0.25) 100%);
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-img-card:hover::after {
    opacity: 1;
}

.hero-img-card:first-child,
.hero-img-card:last-child {
    margin-top: 28px;
}

.hero-img-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 24px 56px rgba(12, 75, 130, 0.12), 0 4px 12px rgba(0,0,0,0.06);
    border-color: rgba(0, 163, 224, 0.3);
}

.hero-img-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-img-card:hover .hero-img-item {
    transform: scale(1.06);
}

.hero-logo-wall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 40px;
    opacity: 0;
    animation: zoomFit 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 1.1s;
}

.logo-wall-item {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-wall-item::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    flex-shrink: 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Zoom-to-fit — used by hero elements */
@keyframes zoomFit {
    from {
        opacity: 0;
        filter: blur(6px);
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        filter: blur(0px);
        transform: scale(1);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ─── Premium Blur-Reveal Text Animation System ─── */

/* 1. Blur-fade up — for H1, H2 headings */
@keyframes blurReveal {
    from {
        opacity: 0;
        filter: blur(12px);
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        filter: blur(0px);
        transform: translateY(0);
    }
}

/* 2. Subtle fade up — for paragraphs, subtitles */
@keyframes subtleFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3. Clip reveal — slides content up from bottom like curtain */
@keyframes clipReveal {
    from {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0% 0);
    }
}

/* ─── Scroll-Reveal Trigger Classes ─── */
/* Default scroll-reveal (used on sections) — gentle zoom */
.scroll-reveal {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.in-view {
    opacity: 1;
    transform: scale(1);
}

/* Text blur-reveal — blur + zoom for h2 headings */
.text-blur-reveal {
    opacity: 0;
    filter: blur(10px);
    transform: scale(0.96);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
                filter 1.2s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.15s;
}

.text-blur-reveal.in-view {
    opacity: 1;
    filter: blur(0px);
    transform: scale(1);
}

/* Badge reveal — tiny zoom pop */
.badge-reveal {
    opacity: 0;
    transform: scale(0.90);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0s;
}

.badge-reveal.in-view {
    opacity: 1;
    transform: scale(1);
}

/* Paragraph subtle zoom-fade */
.para-reveal {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.3s;
}

.para-reveal.in-view {
    opacity: 1;
    transform: scale(1);
}

/* Staggered child zoom reveals */
.stagger-reveal > * {
    opacity: 0;
    transform: scale(0.93);
    transition: opacity 1.0s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger-reveal.in-view > *:nth-child(1) { opacity: 1; transform: scale(1); transition-delay: 0.05s; }
.stagger-reveal.in-view > *:nth-child(2) { opacity: 1; transform: scale(1); transition-delay: 0.18s; }
.stagger-reveal.in-view > *:nth-child(3) { opacity: 1; transform: scale(1); transition-delay: 0.31s; }
.stagger-reveal.in-view > *:nth-child(4) { opacity: 1; transform: scale(1); transition-delay: 0.44s; }
.stagger-reveal.in-view > *:nth-child(5) { opacity: 1; transform: scale(1); transition-delay: 0.57s; }

/* Responsiveness */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 17px;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 72px;
    }
    
    .nav-menu {
        display: none; /* Add dynamic mobile drawer later if needed */
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: -0.5px;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }
    
    .hero-actions {
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-logo-wall {
        gap: 20px;
        padding-top: 32px;
    }
    
    .logo-wall-item {
        font-size: 11px;
    }
    
    .hero-image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .hero-img-card:first-child,
    .hero-img-card:last-child {
        margin-top: 0;
    }
}

/* Klaros Standard & Foundation Section */
.standard-section {
    padding: 140px 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

.standard-header {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    margin-bottom: 96px;
    align-items: flex-start;
}

.standard-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(12, 75, 130, 0.06);
    color: var(--primary);
    border: 1px solid rgba(12, 75, 130, 0.12);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 38px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.section-description {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.section-description p:not(:last-child) {
    margin-bottom: 20px;
}

/* Foundation Layout Grid */
.foundation-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: stretch;
}

.foundation-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.foundation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.foundation-image-wrapper:hover .foundation-image {
    transform: scale(1.03);
}

/* Foundation 2x2 Grid */
.foundation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.foundation-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.foundation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(var(--accent-rgb), 0.04), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

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

.foundation-card:hover {
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(12, 75, 130, 0.05);
    transform: translateY(-8px) scale(1.02);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--border-radius-md);
    background-color: rgba(12, 75, 130, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: var(--transition-smooth);
    z-index: 2;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    transition: var(--transition-smooth);
}

.foundation-card:hover .card-icon {
    background-color: var(--primary);
    color: #FFFFFF;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    z-index: 2;
}

.card-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    z-index: 2;
}

/* Responsiveness overrides inside the media query block and for standard page size */
@media (max-width: 991px) {
    .standard-section {
        padding: 80px 0;
    }
    
    .standard-header {
        display: grid;
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 48px;
        align-items: flex-start;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .foundation-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .foundation-card {
        padding: 32px;
    }
}

/* Scroll Reveal Base CSS */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Klaros Difference Section */
.difference-section {
    padding: 140px 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-white);
}

.difference-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
}

.difference-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: sticky;
    top: 120px;
}

.section-subtitle-small {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 24px;
    line-height: 1.65;
    max-width: 440px;
}

.difference-accordion {
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
    padding: 32px 0;
    transition: var(--transition-smooth);
}

.accordion-item:first-child {
    border-top: 1px solid var(--border-color);
}

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.accordion-number {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    margin-right: 24px;
    font-family: var(--font-sans);
}

.accordion-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    flex-grow: 1;
    letter-spacing: -0.5px;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}

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

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.accordion-inner {
    padding-top: 18px;
    padding-left: 42px;
}

.accordion-inner p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Accordion Active States */
.accordion-item.active .accordion-title {
    color: var(--primary);
}

.accordion-item.active .accordion-icon {
    transform: rotate(135deg);
    color: var(--primary);
}

.accordion-item.active .accordion-content {
    opacity: 1;
}

.accordion-item:hover .accordion-title {
    color: var(--primary);
}

@media (max-width: 991px) {
    .difference-section {
        padding: 80px 0;
    }
    
    .difference-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .difference-info {
        position: static;
    }
    
    .section-subtitle-small {
        max-width: 100%;
        margin-top: 16px;
    }
    
    .accordion-item {
        padding: 24px 0;
    }
    
    .accordion-title {
        font-size: 18px;
    }
    
    .accordion-inner {
        padding-left: 36px;
    }
}

/* Interactive Portfolio Section */
.portfolio-teaser-section {
    padding: 140px 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

.portfolio-teaser-header {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    margin-bottom: 96px;
    align-items: flex-start;
}

.portfolio-teaser-subtitle {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.product-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.product-card:hover {
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(12, 75, 130, 0.04);
    transform: translateY(-6px);
}

.product-card-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    background-color: #F8F9FA;
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.product-card:hover .product-card-image {
    transform: scale(1.04);
}

.prescription-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(220, 53, 69, 0.9);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-sans);
}

.product-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: flex-start;
}

.product-segment {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.product-name {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.product-teaser-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-card-body .btn-view-details {
    align-self: stretch;
}

/* Product Details Slide-Out Drawer */
.product-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    visibility: hidden;
    transition: visibility 0.4s;
}

.product-drawer.open {
    visibility: visible;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    backdrop-filter: blur(4px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-drawer.open .drawer-overlay {
    opacity: 1;
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 580px;
    height: 100%;
    background-color: var(--bg-card);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.product-drawer.open .drawer-panel {
    transform: translateX(0);
}

.drawer-close {
    position: absolute;
    top: 24px;
    left: -60px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.drawer-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.drawer-close svg {
    width: 20px;
    height: 20px;
}

.drawer-body {
    padding: 60px 48px;
    overflow-y: auto;
    height: 100%;
}

/* Detail styling inside drawer */
.drawer-product-segment {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.drawer-product-name {
    font-size: 36px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.drawer-image-wrapper {
    width: 100%;
    height: 280px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 32px;
    background-color: #F8F9FA;
}

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

.drawer-detail-section {
    margin-bottom: 32px;
}

.drawer-detail-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.drawer-detail-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Composition Table inside drawer */
.composition-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.composition-table th,
.composition-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.composition-table th {
    font-weight: 600;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.composition-table td {
    color: var(--text-secondary);
}

.composition-table tr:hover td {
    color: var(--primary);
    background-color: rgba(12, 75, 130, 0.01);
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.meta-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: var(--border-radius-sm);
}

.meta-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.meta-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

@media (max-width: 991px) {
    .portfolio-teaser-section {
        padding: 80px 0;
    }
    
    .portfolio-teaser-header {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 48px;
    }
    
    .product-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .drawer-panel {
        max-width: 100%;
    }
    
    .drawer-close {
        left: auto;
        right: 20px;
        top: 20px;
        background-color: var(--bg-primary);
    }
    
    .drawer-body {
        padding: 80px 24px 40px;
    }
}

/* Connect Teaser Section */
.connect-teaser-section {
    padding: 140px 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-white);
}

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

.connect-teaser-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
    width: 100%;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(12, 75, 130, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-detail-content {
    display: flex;
    flex-direction: column;
}

.contact-detail-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
}

.contact-detail-value a {
    color: inherit;
    transition: var(--transition-smooth);
}

.contact-detail-value a:hover {
    color: var(--primary);
}

.connect-teaser-categories {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.categories-grid-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.categories-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
    width: 100%;
}

.category-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    transition: var(--transition-smooth);
}

.category-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(12, 75, 130, 0.02);
}

.category-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.category-card-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.get-in-touch-btn {
    align-self: stretch;
}

/* Footer Section */
/* ─── Premium Dark Footer ─── */
.footer-wrapper {
    background-color: #0A0C0F;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

/* Subtle top glow */
.footer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 163, 224, 0.4), transparent);
}

/* Top Row */
.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 80px;
    padding-bottom: 64px;
    align-items: flex-start;
}

/* Brand column */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    max-width: 280px;
}

.footer-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.footer-cert-badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.04);
}

/* Nav Columns */
.footer-nav-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 4px;
}

.footer-col-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-links a {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.25s ease;
    display: inline-block;
    position: relative;
}

.footer-col-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(0, 163, 224, 0.7);
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-col-links a:hover {
    color: #FFFFFF;
}

.footer-col-links a:hover::after {
    width: 100%;
}

/* Divider */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin-bottom: 28px;
}

/* Disclaimer */
.footer-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 100%;
}

.footer-disclaimer strong {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

/* Bottom bar */
.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 400;
}

@media (max-width: 991px) {
    .connect-teaser-section {
        padding: 80px 0;
    }
    
    .connect-teaser-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-nav-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .foundation-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .foundation-image-wrapper {
        height: 360px;
    }
}

@media (max-width: 576px) {
    .categories-bento-grid {
        grid-template-columns: 1fr;
    }
    
    .connect-teaser-categories {
        padding: 32px 24px;
    }
}

/* Manufacturing Lifecycle Section */
.lifecycle-section {
    padding: 140px 0;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle background orb */
.lifecycle-section::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0, 163, 224, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.lifecycle-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 100px;
    position: relative;
    z-index: 1;
}

.lifecycle-subtitle {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-top: 20px;
}

/* ─── Animated connector track ─── */
.lifecycle-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

/* The full-width track line sitting behind all badges */
.lifecycle-flow::before {
    content: '';
    position: absolute;
    top: 23px;
    left: 12%;
    width: 76%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--border-color) 10%,
        var(--accent) 50%,
        var(--border-color) 90%,
        transparent 100%);
    z-index: 0;
    animation: trailGlow 4s ease-in-out infinite;
}

@keyframes trailGlow {
    0%   { opacity: 0.4; }
    50%  { opacity: 1;   }
    100% { opacity: 0.4; }
}

.lifecycle-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: default;
}

/* Glowing numbered badge */
.step-number-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease,
                box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.lifecycle-step:hover .step-number-badge {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(12, 75, 130, 0.1), 0 8px 24px rgba(12, 75, 130, 0.2);
}

/* Hide old per-step connector (using ::before on parent instead) */
.step-connector {
    display: none;
}

/* Rich card */
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px 24px 28px;
    text-align: center;
    transition: border-color 0.4s ease, box-shadow 0.4s ease,
                transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Accent top stripe that grows on hover */
.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 0 0 4px 4px;
}

.lifecycle-step:hover .step-card {
    border-color: rgba(0, 163, 224, 0.25);
    box-shadow: 0 12px 40px rgba(12, 75, 130, 0.06);
    transform: translateY(-6px);
}

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

.step-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.4px;
    transition: color 0.3s ease;
}

.lifecycle-step:hover .step-card-title {
    color: var(--primary);
}

.step-card-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

@media (max-width: 991px) {
    .lifecycle-section {
        padding: 80px 0;
    }
    
    .lifecycle-header {
        margin-bottom: 48px;
    }
    
    .lifecycle-flow {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* Hide the horizontal track on single-column */
    .lifecycle-flow::before {
        display: none;
    }
    
    .lifecycle-step {
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
    }
    
    .step-number-badge {
        margin-bottom: 0;
        margin-right: 24px;
        flex-shrink: 0;
    }
    
    .step-card {
        text-align: left;
        align-items: flex-start;
        padding: 24px;
    }
}

/* Subtle Section Background Alternations */
.hero-section {
    background-color: var(--bg-white);
}

.standard-section {
    background-color: var(--bg-primary);
}

.difference-section {
    background-color: var(--bg-white);
}

.portfolio-teaser-section {
    background-color: var(--bg-primary);
}

.lifecycle-section {
    background-color: var(--bg-white);
}

.connect-teaser-section {
    background-color: var(--bg-primary);
}

.footer-wrapper {
    background-color: #0A0C0F;
}

/* Brand Clarity Callout Banner */
.brand-banner-section {
    position: relative;
    height: 480px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url('../images/klaros_banner_clarity.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.brand-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(12, 75, 130, 0.6) 0%, rgba(12, 75, 130, 0.75) 100%);
    z-index: 1;
}

.brand-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brand-banner-quote {
    font-size: 36px;
    font-weight: 500;
    color: #FFFFFF;
    max-width: 800px;
    line-height: 1.3;
    letter-spacing: -1px;
    margin-top: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .brand-banner-section {
        height: 360px;
        background-attachment: scroll;
    }
    .brand-banner-quote {
        font-size: 24px;
    }
}

/* ─── Scroll To Top Button ─── */
.scroll-top-btn {
    position: fixed;
    bottom: 36px;
    right: 36px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0A0C0F;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    /* Hidden by default */
    opacity: 0;
    transform: translateY(16px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.3s ease,
                box-shadow 0.3s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.scroll-top-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 8px 32px rgba(12, 75, 130, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.scroll-top-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.scroll-top-btn:hover svg {
    transform: translateY(-2px);
}
