/* ===================================================================
   MARTERM.COM.TR — Premium Design System
   Apple-inspired, scroll-animated, dark theme
   =================================================================== */

/* --- CSS Custom Properties --- */
:root {
    /* Colors */
    --c-bg:          #0a0a0a;
    --c-bg-elevated: #141414;
    --c-bg-card:     #1a1a1a;
    --c-bg-glass:    rgba(20, 20, 20, 0.72);
    --c-border:      rgba(255, 255, 255, 0.08);
    --c-border-hover:rgba(255, 255, 255, 0.16);

    --c-text:        #f5f5f7;
    --c-text-secondary: #a1a1a6;
    --c-text-muted:  #6e6e73;

    --c-accent:      #34d399;
    --c-accent-glow: rgba(52, 211, 153, 0.25);
    --c-accent-dark: #059669;
    --c-accent-soft: rgba(52, 211, 153, 0.1);

    --c-white:       #ffffff;
    --logo-filter:   none;

    /* Gradients */
    --g-hero-1: linear-gradient(135deg, #0a0a0a 0%, #0d2818 40%, #134e2a 70%, #0a0a0a 100%);
    --g-hero-2: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 40%, #16213e 70%, #0a0a0a 100%);
    --g-hero-3: linear-gradient(135deg, #0a0a0a 0%, #2d1b0e 40%, #3d2914 70%, #0a0a0a 100%);
    --g-card:   linear-gradient(145deg, var(--c-bg-card) 0%, var(--c-bg-elevated) 100%);

    /* Typography */
    --f-display: 'Outfit', -apple-system, sans-serif;
    --f-body:    'Inter', -apple-system, sans-serif;

    --fs-hero:   clamp(3.5rem, 10vw, 8rem);
    --fs-h2:     clamp(2rem, 5vw, 3.5rem);
    --fs-h3:     clamp(1.25rem, 2.5vw, 1.75rem);
    --fs-body:   clamp(1rem, 1.5vw, 1.125rem);
    --fs-small:  0.875rem;
    --fs-eyebrow:0.8125rem;

    /* Spacing */
    --s-section: clamp(6rem, 12vh, 10rem);
    --s-gap:     clamp(1.5rem, 3vw, 2.5rem);

    /* Radius */
    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;

    /* Transitions */
    --t-fast:   0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --t-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --t-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Header */
    --header-h: 72px;
}

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

/* --- Light Mode Custom Properties --- */
[data-theme="light"] {
    --c-bg:          #ffffff;
    --c-bg-elevated: #f4f4f5;
    --c-bg-card:     #ffffff;
    --c-bg-glass:    rgba(255, 255, 255, 0.72);
    --c-border:      rgba(0, 0, 0, 0.1);
    --c-border-hover:rgba(0, 0, 0, 0.2);

    --c-text:        #18181b;
    --c-text-secondary: #52525b;
    --c-text-muted:  #a1a1aa;

    --g-hero-1:      radial-gradient(circle at 50% 50%, rgba(52, 211, 153, 0.15) 0%, rgba(255, 255, 255, 0) 50%);
    --g-hero-2:      radial-gradient(circle at 80% 20%, rgba(52, 211, 153, 0.1) 0%, rgba(255, 255, 255, 0) 40%);
    --g-hero-3:      radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1) 0%, rgba(255, 255, 255, 0) 40%);
    --g-card:        linear-gradient(145deg, #ffffff 0%, #f4f4f5 100%);
    
    --logo-filter:   invert(1);
}

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

body {
    font-family: var(--f-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
    overflow-x: hidden;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.text-accent { color: var(--c-accent); }

/* --- Preloader --- */
.preloader { display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--c-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.preloader__logo {
    width: 60px;
    height: auto;
    filter: var(--logo-filter);
    animation: pulseLogo 2s infinite ease-in-out;
}

.preloader__spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--c-border);
    border-top-color: var(--c-accent);
    border-radius: 50%;
    animation: spinLoader 0.8s linear infinite;
}

@keyframes spinLoader {
    to { transform: rotate(360deg); }
}

@keyframes pulseLogo {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--f-body);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all var(--t-smooth);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--c-accent);
    color: #0a0a0a;
}

.btn--primary:hover {
    background: #6ee7b7;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--c-accent-glow);
}

.btn--ghost {
    background: transparent;
    color: var(--c-text);
    border: 1px solid var(--c-border-hover);
}

.btn--ghost:hover,
.btn--ghost.active {
    border-color: var(--c-accent);
    color: var(--c-accent);
    transform: translateY(-2px);
}

.btn--large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

/* ===================================================================
   HEADER — Glassmorphism, fixed
   =================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: transparent;
    transition: all var(--t-smooth);
}


.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.header__logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.header__logo-img {
    height: auto;
    width: clamp(120px, 13.5vw, 165px);
    object-fit: contain;
    transition: transform var(--t-spring), opacity var(--t-fast), filter var(--t-fast);
    filter: var(--logo-filter);
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--c-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text);
    cursor: pointer;
    transition: all var(--t-fast);
    margin-right: 1rem;
    padding: 0;
}

[dir="rtl"] .theme-toggle {
    margin-right: 0;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: var(--c-bg-elevated);
    border-color: var(--c-border-hover);
    color: var(--c-accent);
}

.header__logo:hover .header__logo-img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Footer logo */
.footer__logo-img {
    height: auto;
    width: clamp(120px, 13.5vw, 180px);
    object-fit: contain;
    margin-bottom: 1rem;
    filter: var(--logo-filter);
    transition: filter var(--t-fast);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header__nav-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 100px;
    padding: 0.25rem;
    gap: 0.25rem;
}

.header__nav-link {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-text-secondary);
    border-radius: 100px;
    background: transparent;
    border: 1px solid transparent;
    transition: all var(--t-fast);
}

.header__nav-link:hover,
.header__nav-link.active {
    color: var(--c-text);
    background: rgba(255, 255, 255, 0.15);
}

.header__nav-link--cta {
    background: var(--c-accent-soft);
    border: 1px solid transparent;
    color: var(--c-accent) !important;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    border-radius: 100px;
}

.header__nav-link--cta:hover {
    background: var(--c-accent) !important;
    color: #0a0a0a !important;
}

/* Hamburger */
.header__menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.header__menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header__menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.header__menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.header__menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-smooth);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mobile-menu__link {
    font-family: var(--f-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-text-secondary);
    transition: all var(--t-fast);
    transform: translateY(20px);
    opacity: 0;
}

.mobile-menu.active .mobile-menu__link {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.active .mobile-menu__link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu__link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu__link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu__link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu__link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu__link:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu__link:hover,
.mobile-menu__link.active {
    color: var(--c-accent);
}

.mobile-menu__lang {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.mobile-menu__lang-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--c-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    transition: all var(--t-fast);
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
}

.mobile-menu.active .mobile-menu__lang-btn {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
    transition-delay: 0.4s;
}

.mobile-menu__lang-btn:hover {
    color: var(--c-accent);
    border-color: var(--c-accent);
}

.mobile-menu__lang-btn img {
    width: 18px;
    height: auto;
    border-radius: 2px;
}

.mobile-menu__footer {
    margin-top: 3rem;
    text-align: center;
    color: var(--c-text-muted);
    font-size: var(--fs-small);
}

.mobile-menu__footer p {
    margin-top: 0.5rem;
}

/* ===================================================================
   HERO — Apple-Style Canvas Scroll Animation
   =================================================================== */
.hero-scroll {
    position: relative;
    height: 1400vh; /* Scroll space for 7 videos (200vh each) */
    width: 100%;
}

.hero-scroll__sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

[id^="hero-canvas"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-scroll__overlay {
    position: absolute;
    inset: 0;
    /* Soft dark gradient from left to right, narrower so image is more visible */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 30%, transparent 50%);
    pointer-events: none;
    z-index: 2;
    transition: background 0.4s ease;
}

.hero-scroll__overlay--right {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 30%, transparent 50%);
}

.hero-scroll__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left align */
    justify-content: center;
    z-index: 3;
    text-align: left; /* Left align */
    padding: 0 clamp(2rem, 10vw, 8rem); /* 10-12% left padding approximately */
    transition: opacity 0.4s ease;
    width: 100%;
}

.hero-scroll__content.fade-out {
    opacity: 0;
    pointer-events: none;
}

.hero-scroll__content--right {
    align-items: flex-end !important;
    text-align: right !important;
}

.hero-scroll__content--right .hero__actions {
    justify-content: flex-end !important;
}

.hero-scroll__content.hero-content-hidden {
    opacity: 0;
    pointer-events: none;
}

.hero__eyebrow {
    display: inline-block;
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--c-accent-soft);
    border-radius: 100px;
    border: 1px solid rgba(52, 211, 153, 0.15);
}

.hero__title {
    font-family: var(--f-display);
    font-size: clamp(2.5rem, 4.5vw, 4rem); /* Reduced font size */
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    max-width: 650px; /* Reduced max-width */
}

.hero__title-line {
    display: block;
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
}

.hero__title-line--accent {
    background: linear-gradient(135deg, var(--c-accent), #a7f3d0, var(--c-accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

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

.hero__subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--c-text-secondary);
    line-height: 1.5;
    max-width: 400px; /* Reduced width */
    margin: 0 0 2rem 0; 
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start; /* Left align */
    flex-wrap: wrap;
}

/* Scroll Indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--c-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 1;
    transition: opacity var(--t-smooth);
}

.hero__scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.hero__scroll-arrow {
    animation: bounceDown 2s infinite;
}

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

/* ===================================================================
   SECTION HEADERS
   =================================================================== */
.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header__eyebrow {
    display: inline-block;
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 1rem;
}

.section-header__title {
    font-family: var(--f-display);
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-header__desc {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--c-text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-header__desc--wide {
    max-width: 100%;
}

/* ===================================================================
   FEATURES — Card Grid
   =================================================================== */
.features {
    padding: var(--s-section) 0;
    background: var(--c-bg);
    position: relative;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-gap);
}

.feature-card {
    background: var(--g-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 2.5rem 2rem;
    transition: all var(--t-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
    opacity: 0;
    transition: opacity var(--t-smooth);
}

.feature-card:hover {
    border-color: var(--c-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.feature-card__icon {
    color: var(--c-accent);
    margin-bottom: 1.5rem;
    transition: transform var(--t-spring);
}

.feature-card:hover .feature-card__icon {
    transform: scale(1.1);
}

.feature-card__title {
    font-family: var(--f-display);
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card__desc {
    color: var(--c-text-secondary);
    font-size: var(--fs-small);
    line-height: 1.7;
}

/* ===================================================================
   SHOWCASE — Product Stats
   =================================================================== */
.showcase {
    padding: var(--s-section) 0;
    position: relative;
    background: var(--c-bg-elevated);
    overflow: hidden;
}

.showcase::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--c-accent-glow), transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
    opacity: 0.3;
}

.showcase__content {
    max-width: 700px;
}

.showcase__title {
    font-family: var(--f-display);
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.showcase__desc {
    color: var(--c-text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-size: clamp(1rem, 1.5vw, 1.0625rem);
}

.showcase__stats {
    display: flex;
    gap: clamp(2rem, 4vw, 4rem);
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.stat-item__number {
    font-family: var(--f-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--c-accent);
    line-height: 1;
}

.stat-item__suffix {
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--c-accent);
}

.stat-item__label {
    font-size: var(--fs-small);
    color: var(--c-text-muted);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* ===================================================================
   VALUES
   =================================================================== */
.values {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--s-gap);
}

.value-card {
    padding: 2.5rem;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    background: var(--g-card);
    transition: all var(--t-smooth);
    position: relative;
}

.value-card:hover {
    border-color: var(--c-accent);
    transform: translateY(-4px);
    box-shadow: 0 0 30px var(--c-accent-glow);
}

.value-card__number {
    font-family: var(--f-display);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(52, 211, 153, 0.1);
    line-height: 1;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
}

.value-card__title {
    font-family: var(--f-display);
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--c-text);
}

.value-card__desc {
    color: var(--c-text-secondary);
    line-height: 1.7;
    font-size: var(--fs-small);
}

/* ===================================================================
   NEWS & EVENTS
   =================================================================== */
.news {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--s-gap);
    margin-bottom: 3rem;
}

.news-card {
    background: var(--g-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: all var(--t-smooth);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: var(--c-accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.news-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card__image img {
    transform: scale(1.05);
}

.news-card__date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--c-accent);
    color: #0a0a0a;
    padding: 0.5rem;
    border-radius: var(--r-sm);
    text-align: center;
    min-width: 60px;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

html[dir="rtl"] .news-card__date {
    right: auto;
    left: 1rem;
}

.news-card__date span:first-child {
    font-size: 1.25rem;
    line-height: 1;
}

.news-card__date span:last-child {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 3px;
}

.news-card__content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card__category {
    font-size: 0.75rem;
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.news-card__title {
    font-family: var(--f-display);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--c-text);
}

.news-card__desc {
    color: var(--c-text-secondary);
    font-size: var(--fs-small);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.news-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--c-text);
    font-weight: 600;
    font-size: 0.875rem;
    transition: color var(--t-fast);
    margin-top: auto;
}

.news-card__link:hover {
    color: var(--c-accent);
}

.news-card__link svg {
    transition: transform var(--t-fast);
}

html[dir="ltr"] .news-card__link:hover svg {
    transform: translateX(4px);
}

html[dir="rtl"] .news-card__link svg {
    transform: rotate(180deg);
}

html[dir="rtl"] .news-card__link:hover svg {
    transform: rotate(180deg) translateX(4px);
}

.news__more {
    text-align: center;
    margin-top: 2rem;
}

/* ===================================================================
   CTA SECTION
   =================================================================== */
.cta-section {
    padding: var(--s-section) 0;
    background: var(--c-bg-elevated);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.08), transparent 70%);
    bottom: -400px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.cta-section__inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section__title {
    font-family: var(--f-display);
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.cta-section__desc {
    color: var(--c-text-secondary);
    margin-bottom: 2.5rem;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
}

.cta-section__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
    padding: clamp(4rem, 8vh, 6rem) 0 2rem;
    background: var(--c-bg);
    border-top: 1px solid var(--c-border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    margin-bottom: 3rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.footer__tagline {
    color: var(--c-text-secondary);
    font-size: var(--fs-small);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer__social {
    display: flex;
    gap: 0.75rem;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    color: var(--c-text-muted);
    transition: all var(--t-fast);
}

.footer__social a:hover {
    color: var(--c-accent);
    border-color: var(--c-accent);
    transform: translateY(-2px);
}

.footer__heading {
    font-family: var(--f-display);
    font-size: var(--fs-small);
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer__link {
    display: block;
    font-size: var(--fs-small);
    color: var(--c-text-muted);
    margin-bottom: 0.75rem;
    transition: color var(--t-fast);
}

.footer__link:hover {
    color: var(--c-accent);
}

.footer__link--static {
    cursor: default;
    line-height: 1.8;
}

.footer__link--muted {
    opacity: 0.6;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--c-border);
    font-size: 0.8125rem;
    color: var(--c-text-muted);
}

.footer__bottom a {
    color: var(--c-accent);
}

.footer__bottom a:hover {
    text-decoration: underline;
}

/* ===================================================================
   SCROLL REVEAL ANIMATIONS
   =================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 968px) {
    .header__nav { display: none; }
    .header__menu-btn { display: flex; }

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

@media (max-width: 640px) {
    :root {
        --header-h: 64px;
    }

    .hero__progress {
        right: 1rem;
    }

    .showcase__stats {
        gap: 2rem;
    }

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

    .footer__bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ===================================================================
   PAGES — Shared Components (Page Hero, etc.)
   =================================================================== */

/* --- Page Hero --- */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 4rem;
    overflow: hidden;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero__gradient {
    width: 100%;
    height: 100%;
    background: var(--g-hero-1);
    opacity: 0.7;
}

.page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.page-hero__title {
    font-family: var(--f-display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--c-text);
    margin-bottom: 1.25rem;
}

.page-hero__desc {
    font-size: var(--fs-body);
    color: var(--c-text-secondary);
    line-height: 1.7;
    max-width: 560px;
}

/* ===================================================================
   PRODUCTS PAGE — Product Cards
   =================================================================== */

.products-range {
    padding: var(--s-section) 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--s-gap);
    margin-top: 3rem;
}

.product-card {
    background: var(--g-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform var(--t-smooth), border-color var(--t-smooth), box-shadow var(--t-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--c-accent);
    box-shadow: 0 20px 60px rgba(52, 211, 153, 0.08), 0 0 0 1px rgba(52, 211, 153, 0.15);
}

.product-card__visual {
    position: relative;
    padding: 2.5rem 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(52, 211, 153, 0.04) 0%, transparent 100%);
}

.product-card__icon-wrap {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 211, 153, 0.06);
    border: 1px solid rgba(52, 211, 153, 0.12);
    color: var(--c-accent);
    transition: background var(--t-smooth), transform var(--t-smooth);
}

.product-card:hover .product-card__icon-wrap {
    background: rgba(52, 211, 153, 0.12);
    transform: scale(1.08);
}

.product-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-bg);
    background: var(--c-accent);
    border-radius: 999px;
}

.product-card__badge--pro {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.product-card__body {
    padding: 0 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card__title {
    font-family: var(--f-display);
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 0.75rem;
}

.product-card__desc {
    font-size: var(--fs-small);
    color: var(--c-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-card__features {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-top: 1px solid var(--c-border);
    padding-top: 1.25rem;
}

.product-card__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-small);
    color: var(--c-text-secondary);
}

.product-card__features li svg {
    flex-shrink: 0;
}

/* ===================================================================
   PRODUCTS PAGE — Material Specs
   =================================================================== */

.material-specs {
    padding: var(--s-section) 0;
    background: var(--c-bg-elevated);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    transition: border-color var(--t-smooth), transform var(--t-smooth);
}

.spec-item:hover {
    border-color: var(--c-border-hover);
    transform: translateY(-2px);
}

.spec-item__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    background: var(--c-accent-soft);
    color: var(--c-accent);
}

.spec-item__title {
    font-family: var(--f-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 0.25rem;
}

.spec-item__value {
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--c-accent);
    margin-bottom: 0.25rem;
}

.spec-item__desc {
    font-size: var(--fs-small);
    color: var(--c-text-muted);
}

/* ===================================================================
   PRODUCTS PAGE — Comparison Table
   =================================================================== */

.comparison {
    padding: var(--s-section) 0;
}

.comparison-table {
    margin-top: 3rem;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--c-border);
    background: var(--c-bg-card);
}

.comparison-table__header {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    background: var(--c-bg-elevated);
    border-bottom: 1px solid var(--c-border);
}

.comparison-table__row {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    border-bottom: 1px solid var(--c-border);
    transition: background var(--t-fast);
}

.comparison-table__row:last-child {
    border-bottom: none;
}

.comparison-table__row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table__cell {
    padding: 1rem 1.25rem;
    font-size: var(--fs-small);
    color: var(--c-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-table__header .comparison-table__cell {
    font-weight: 600;
    font-size: var(--fs-small);
    color: var(--c-text);
    padding: 1.25rem 1.25rem;
}

.comparison-table__cell--label {
    font-weight: 500;
    color: var(--c-text);
}

.comparison-table__cell--highlight {
    color: var(--c-accent);
    font-weight: 600;
    background: rgba(52, 211, 153, 0.04);
}

.comparison-table__header .comparison-table__cell--highlight {
    background: rgba(52, 211, 153, 0.08);
    color: var(--c-accent);
}

/* --- Product Variants (Thickness-Based) --- */
.product-variants {
    padding: var(--s-section) 0;
    background: var(--c-bg);
    position: relative;
    overflow: hidden;
}

.product-variants__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.product-variants__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% center; 
}

.product-variants__gradient {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 14, 0.4);
}

.product-variants__container {
    position: relative;
    z-index: 1;
    width: 100%;
}



.variants-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}

.variant-card {
    background: var(--g-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 2rem 1.5rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.variant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-accent), var(--c-accent-dark));
    opacity: 0;
    transition: opacity 0.3s;
}

.variant-card:hover {
    border-color: var(--c-accent);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(52, 211, 153, 0.1);
}

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

.variant-card__thickness {
    font-family: var(--f-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--c-accent);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.variant-card__thickness span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--c-text-secondary);
}

.variant-card__weight {
    font-size: var(--fs-small);
    color: var(--c-text-muted);
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--c-border);
}

.variant-card__specs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.variant-card__specs li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--c-text-secondary);
}

.variant-card__specs li span {
    color: var(--c-text);
    font-weight: 600;
    font-size: 0.875rem;
    text-align: right;
    flex-shrink: 0;
    width: 45%; /* Değer kısımlarının tam hizalı gelmesini sağlar */
}

.variant-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--c-accent-soft);
    color: var(--c-accent);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Application Areas (Expanded Grid) --- */
.app-areas {
    padding: var(--s-section) 0;
    background: var(--c-bg-elevated);
    position: relative;
}

.app-areas .container {
    max-width: 1920px;
    width: 96%;
}

.app-areas-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.app-area-card {
    background: rgba(18, 18, 18, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--r-md);
    padding: 1.25rem 1.25rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.app-area-card:hover {
    border-color: rgba(52, 211, 153, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.app-area-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    background: var(--c-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--c-accent);
}

.app-area-card__title {
    font-family: var(--f-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 0.5rem;
}

.app-area-card__desc {
    font-size: 0.8125rem;
    color: var(--c-text-muted);
    line-height: 1.6;
}

.app-area-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.75rem;
}

.app-area-card__tag {
    font-size: 0.6875rem;
    color: var(--c-text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.2rem 0.5rem;
    border-radius: 100px;
}

/* --- Health & Safety Section --- */
.health-safety {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

.health-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.health-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
}

.health-item__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--c-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-accent);
}

.health-item__content h4 {
    font-family: var(--f-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 0.25rem;
}

.health-item__content p {
    font-size: 0.8125rem;
    color: var(--c-text-muted);
    line-height: 1.5;
}

/* --- Responsive: Products Page --- */
@media (max-width: 1024px) {
    .variants-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .app-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* --- Mobile Responsive Fix for Header --- */
    .header {
        background: var(--c-bg) !important;
    }

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

    /* --- Mobile Responsive Fix for Hero Section --- */
    .hero-scroll__sticky {
        height: 100vh; /* Restored original height */
        top: 0;
    }

    [id^="hero-canvas"] {
        object-fit: cover; /* Back to original crop cover */
    }

    .hero-scroll__content {
        justify-content: flex-start; /* Üst köşeye itiyoruz */
        padding: calc(var(--header-h) + 2rem) 1.5rem 0 1.5rem; /* Menüye çarpmaması için üstten boşluk */
    }

    .hero__title {
        font-size: clamp(1.8rem, 7vw, 2.2rem); /* Daha küçük başlık */
        margin-bottom: 0.5rem;
        line-height: 1.05;
    }

    .hero__subtitle {
        font-size: 0.85rem; /* Daha küçük alt başlık */
        margin-bottom: 1.25rem;
        max-width: 90%; /* Satır çok uzamasın */
    }

    .hero__actions {
        flex-direction: row; /* Butonları yan yana diz */
        flex-wrap: wrap; /* Ekrana sığmazsa alt satıra geçsin */
        width: auto;
        gap: 0.5rem; /* Butonlar arası boşluk kısaltıldı */
    }

    .hero__actions .btn {
        width: auto; /* Sadece içindeki yazı kadar genişlesin */
        flex: 1 1 auto; /* Kalan alanı orantılı dağıt */
        justify-content: center;
        text-align: center;
        padding: 0.6rem 1rem; /* Daha ince, küçük butonlar */
        font-size: 0.85rem;
    }

    .page-hero {
        min-height: 40vh;
        padding-top: calc(var(--header-h) + 2rem);
    }

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

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

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

    .app-areas-grid {
        grid-template-columns: 1fr;
    }

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

    .comparison-table__header,
    .comparison-table__row {
        grid-template-columns: 1.2fr repeat(3, 1fr);
    }

    .comparison-table__cell {
        padding: 0.75rem 0.75rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .variants-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table__header,
    .comparison-table__row {
        grid-template-columns: 1fr 1fr;
    }

    .comparison-table__cell:nth-child(3),
    .comparison-table__cell:nth-child(4) {
        display: none;
    }
}

/* ===================================================================
   ABOUT PAGE — Hakkımızda Styles
   =================================================================== */

/* --- Story Section --- */
.about-story {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

.about-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: center;
}

.about-story__desc {
    font-family: var(--f-body);
    font-size: var(--fs-body);
    color: var(--c-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-story__desc strong {
    color: var(--c-accent);
    font-weight: 600;
}

.about-story__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-stat {
    background: var(--g-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.about-stat:hover {
    border-color: var(--c-accent);
    transform: translateY(-4px);
}

.about-stat__number {
    display: block;
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--c-accent);
    margin-bottom: 0.5rem;
}

.about-stat__label {
    font-family: var(--f-body);
    font-size: var(--fs-small);
    color: var(--c-text-secondary);
    line-height: 1.4;
}

/* --- Mission & Vision --- */
.about-mission {
    padding: var(--s-section) 0;
    background: var(--c-bg-elevated);
}

.about-mission__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-gap);
}

.about-mission__card {
    background: var(--g-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 2.5rem 2rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.about-mission__card:hover {
    border-color: var(--c-accent);
    transform: translateY(-4px);
}

.about-mission__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-accent-soft);
    border-radius: var(--r-md);
    color: var(--c-accent);
    margin-bottom: 1.5rem;
}

.about-mission__title {
    font-family: var(--f-display);
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 1rem;
}

.about-mission__desc {
    font-family: var(--f-body);
    font-size: var(--fs-body);
    color: var(--c-text-secondary);
    line-height: 1.7;
}

/* --- Environmental Comparison --- */
.about-environment {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

.env-comparison {
    margin-top: 3rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.env-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-family: var(--f-body);
}

.env-table thead th {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: var(--fs-body);
    color: var(--c-text);
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 2px solid var(--c-border);
    background: var(--c-bg-elevated);
}

.env-table__badge {
    display: inline-block;
    background: var(--c-accent-soft);
    color: var(--c-accent);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: var(--fs-small);
    font-weight: 600;
}

.env-table tbody td {
    padding: 1rem 1.5rem;
    font-size: var(--fs-body);
    color: var(--c-text-secondary);
    border-bottom: 1px solid var(--c-border);
    vertical-align: middle;
}

.env-table tbody tr:hover td {
    background: rgba(52, 211, 153, 0.03);
}

.env-table__highlight {
    background: rgba(52, 211, 153, 0.04);
}

.env-check {
    display: inline-block;
    color: var(--c-accent);
    font-weight: 700;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.env-cross {
    display: inline-block;
    color: #ef4444;
    font-weight: 700;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* --- Fiber Properties --- */
.about-fiber {
    padding: var(--s-section) 0;
    background: var(--c-bg-elevated);
}

.fiber-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-gap);
    margin-top: 3rem;
}

.fiber-card {
    background: var(--g-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 2rem 1.5rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.fiber-card:hover {
    border-color: var(--c-accent);
    transform: translateY(-4px);
}

.fiber-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-accent-soft);
    border-radius: var(--r-sm);
    color: var(--c-accent);
    margin-bottom: 1.25rem;
}

.fiber-card__title {
    font-family: var(--f-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 0.75rem;
}

.fiber-card__desc {
    font-family: var(--f-body);
    font-size: var(--fs-small);
    color: var(--c-text-secondary);
    line-height: 1.6;
}

/* --- Social Impact --- */
.about-social {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

.about-social__grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.social-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-gap);
}

.social-card {
    background: var(--g-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 2rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.social-card:hover {
    border-color: var(--c-accent);
    transform: translateY(-4px);
}

.social-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-accent-soft);
    border-radius: var(--r-sm);
    color: var(--c-accent);
    margin-bottom: 1.25rem;
}

.social-card__title {
    font-family: var(--f-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 0.75rem;
}

.social-card__desc {
    font-family: var(--f-body);
    font-size: var(--fs-small);
    color: var(--c-text-secondary);
    line-height: 1.7;
}

/* --- Academic References --- */
.about-academic {
    padding: var(--s-section) 0;
    background: var(--c-bg-elevated);
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-gap);
    margin-top: 3rem;
}

.academic-card {
    background: var(--g-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 2.5rem 2rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.academic-card:hover {
    border-color: var(--c-accent);
    transform: translateY(-4px);
}

.academic-card__avatar {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-accent-soft);
    border-radius: 50%;
    color: var(--c-accent);
    margin-bottom: 1.5rem;
}

.academic-card__name {
    font-family: var(--f-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 0.25rem;
}

.academic-card__institution {
    font-family: var(--f-body);
    font-size: var(--fs-small);
    color: var(--c-accent);
    font-weight: 500;
    margin-bottom: 1rem;
}

.academic-card__desc {
    font-family: var(--f-body);
    font-size: var(--fs-body);
    color: var(--c-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.academic-card__standards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.standard-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--c-border);
    border-radius: 100px;
    font-family: var(--f-body);
    font-size: 0.75rem;
    color: var(--c-text-muted);
    font-weight: 500;
}

/* --- About Page Responsive --- */
@media (max-width: 1024px) {
    .about-story__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-mission__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

@media (max-width: 768px) {
    .about-story__stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .social-cards {
        grid-template-columns: 1fr;
    }

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

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

    .env-table thead th,
    .env-table tbody td {
        padding: 0.75rem 1rem;
        font-size: var(--fs-small);
    }
}

@media (max-width: 480px) {
    .about-story__stats {
        grid-template-columns: 1fr;
    }

    .about-stat {
        padding: 1.5rem 1rem;
    }
}


/* ===================================================================
   GALLERY PAGE
   =================================================================== */

/* --- Filter Buttons --- */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: var(--s-gap);
    flex-wrap: wrap;
}

.gallery-filter__btn {
    padding: 0.625rem 1.5rem;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-full);
    color: var(--c-text-secondary);
    font-family: var(--f-body);
    font-size: var(--fs-small);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter__btn:hover {
    border-color: var(--c-border-hover);
    color: var(--c-text);
}

.gallery-filter__btn.active {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: #0a0a0a;
    font-weight: 600;
}

/* --- Gallery Grid --- */
.gallery-section {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item--tall {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--c-accent-soft);
    color: var(--c-accent);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--r-full);
    width: fit-content;
    margin-bottom: 0.5rem;
}

.gallery-item__title {
    font-family: var(--f-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 0.25rem;
}

.gallery-item__desc {
    font-size: var(--fs-small);
    color: var(--c-text-secondary);
}

/* --- Gallery Features --- */
.gallery-features {
    padding: var(--s-section) 0;
    background: var(--c-bg-elevated);
}

.gallery-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-gap);
    margin-top: 3rem;
}

.gallery-feature {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--g-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.gallery-feature:hover {
    border-color: var(--c-accent);
    transform: translateY(-4px);
}

.gallery-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: var(--c-accent-soft);
    border-radius: 50%;
    color: var(--c-accent);
}

.gallery-feature__title {
    font-family: var(--f-display);
    font-size: var(--fs-h3);
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 0.5rem;
}

.gallery-feature__desc {
    font-size: var(--fs-small);
    color: var(--c-text-secondary);
    line-height: 1.6;
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text);
    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__content {
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox__content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--r-md);
}


/* ===================================================================
   CATALOG PAGE
   =================================================================== */

.catalog-section {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-gap);
    margin-top: 3rem;
}

.catalog-card {
    background: var(--g-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.catalog-card:hover {
    border-color: var(--c-accent);
    transform: translateY(-4px);
}

.catalog-card__preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.05) 0%, rgba(52, 211, 153, 0.02) 100%);
    border-bottom: 1px solid var(--c-border);
}

.catalog-card__icon {
    color: var(--c-accent);
    opacity: 0.6;
}

.catalog-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.875rem;
    background: var(--c-accent);
    color: #0a0a0a;
    font-family: var(--f-display);
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: var(--r-sm);
    letter-spacing: 0.05em;
}

.catalog-card__badge--en {
    background: #60a5fa;
}

.catalog-card__body {
    padding: 2rem;
}

.catalog-card__lang {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    background: var(--c-accent-soft);
    color: var(--c-accent);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--r-full);
    margin-bottom: 1rem;
}

.catalog-card__title {
    font-family: var(--f-display);
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 0.75rem;
}

.catalog-card__desc {
    font-size: var(--fs-small);
    color: var(--c-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.catalog-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.catalog-card__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-small);
    color: var(--c-text-secondary);
}

.catalog-card__features li svg {
    color: var(--c-accent);
    flex-shrink: 0;
}

.catalog-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

/* --- Catalog Contents --- */
.catalog-contents {
    padding: var(--s-section) 0;
    background: var(--c-bg-elevated);
}

.catalog-contents__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-gap);
    margin-top: 3rem;
}

.catalog-content-item {
    padding: 2rem;
    background: var(--g-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    transition: border-color 0.3s ease;
}

.catalog-content-item:hover {
    border-color: var(--c-border-hover);
}

.catalog-content-item__number {
    font-family: var(--f-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--c-accent);
    opacity: 0.3;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.catalog-content-item__title {
    font-family: var(--f-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 0.5rem;
}

.catalog-content-item__desc {
    font-size: var(--fs-small);
    color: var(--c-text-secondary);
    line-height: 1.6;
}


/* ===================================================================
   CONTACT PAGE
   =================================================================== */

.contact-info {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

.contact-info .container {
    max-width: 100%;
    padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--s-gap);
}

.contact-card {
    padding: 2rem;
    background: var(--g-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
    border-color: var(--c-accent);
    transform: translateY(-4px);
}

.contact-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: var(--c-accent-soft);
    border-radius: 50%;
    color: var(--c-accent);
}

.contact-card__title {
    font-family: var(--f-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 0.75rem;
}

.contact-card__value {
    display: block;
    font-size: var(--fs-body);
    color: var(--c-text);
    text-decoration: none;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

a.contact-card__value:hover {
    color: var(--c-accent);
}

.contact-card__note {
    font-size: 0.8125rem;
    color: var(--c-text-muted);
}

/* --- Contact Main (Form + Map) --- */
.contact-main {
    padding: var(--s-section) 0;
    background: var(--c-bg-elevated);
}

.contact-main__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* --- Contact Form --- */
.contact-form {
    margin-top: 2rem;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form__group {
    margin-bottom: 1.25rem;
}

.contact-form__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--c-text-secondary);
    margin-bottom: 0.5rem;
}

.contact-form__input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    color: var(--c-text);
    font-family: var(--f-body);
    font-size: var(--fs-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.contact-form__input::placeholder {
    color: var(--c-text-muted);
}

.contact-form__input:focus {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px var(--c-accent-glow);
}

.contact-form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a6' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

/* --- Success Message --- */
.contact-form__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--g-card);
    border: 1px solid var(--c-accent);
    border-radius: var(--r-lg);
    transition: opacity 0.4s ease;
}

.contact-form__success-icon {
    color: var(--c-accent);
    margin-bottom: 1.25rem;
}

.contact-form__success h3 {
    font-family: var(--f-display);
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 0.5rem;
}

.contact-form__success p {
    font-size: var(--fs-body);
    color: var(--c-text-secondary);
}

/* --- Contact Map --- */
.contact-map {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--c-border);
}

.contact-map__frame {
    width: 100%;
    height: 350px;
}

.contact-map__frame iframe {
    border-radius: 0;
}

.contact-map__info {
    padding: 1.5rem;
    background: var(--c-bg-card);
}

.contact-map__info p {
    font-size: var(--fs-small);
    color: var(--c-text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-map__info strong {
    color: var(--c-text);
    font-weight: 600;
}

.contact-map__directions {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--c-accent);
    font-size: var(--fs-small);
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.contact-map__directions:hover {
    gap: 0.5rem;
}


/* ===================================================================
   RESPONSIVE — Gallery, Catalog, Contact
   =================================================================== */

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item--tall,
    .gallery-item--wide {
        grid-row: auto;
        grid-column: auto;
        aspect-ratio: 16/10;
    }

    .gallery-features__grid {
        grid-template-columns: 1fr;
    }

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

    .catalog-contents__grid {
        grid-template-columns: 1fr;
    }

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

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

/* ===================================================================
   NEW SECTIONS: CERTIFICATES (About), R&D (About) & Acoustic Science (Products)
   =================================================================== */

/* About Certificates */
.about-certs {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

.about-certs__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 320px;
    margin-inline: auto;
}

.cert-card-new {
    background: var(--c-bg-elevated);
    padding: 2rem;
    border-radius: var(--r-md);
    border: 1px solid var(--c-border);
    transition: all var(--t-smooth) ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
}

.cert-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--c-accent);
}

.cert-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--c-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-smooth) ease;
}

.cert-card-new:hover::before {
    transform: scaleX(1);
}

.cert-card-new__icon {
    width: 64px;
    height: 64px;
    background: var(--c-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: transform var(--t-smooth) ease;
}

.cert-card-new:hover .cert-card-new__icon {
    transform: scale(1.1);
}

.cert-card-new__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--c-heading);
    margin-bottom: 0.5rem;
}

.cert-card-new__desc {
    color: var(--c-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.cert-card-new__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c-accent);
    color: white;
    transition: all var(--t-smooth) ease;
}

.cert-card-new:hover .cert-card-new__link {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 168, 64, 0.3);
}

/* ===================================================================
   NEW SECTIONS: R&D (About) & Acoustic Science (Products)
   =================================================================== */

/* About R&D */
.about-rd {
    padding: var(--s-section) 0;
    background: var(--c-bg-elevated);
    position: relative;
    overflow: hidden;
}

.about-rd__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.about-rd__frame {
    position: relative;
    border-radius: var(--r-xl);
    background: var(--g-card);
    border: 1px solid var(--c-border);
    padding: 0; /* Changed from 3rem so the photo fills the box */
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.about-rd__placeholder-img {
    width: 60%;
    opacity: 0.5;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
}

.about-rd__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-rd__badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: var(--c-accent);
    color: #0a0a0a;
    padding: 1.5rem;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px var(--c-accent-glow);
    transform: rotate(-10deg);
}

.about-rd__badge-title {
    font-family: var(--f-display);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.about-rd__badge-desc {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
    line-height: 1.2;
}

.about-rd__desc {
    color: var(--c-text-secondary);
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-rd__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-rd__list li {
    position: relative;
    padding-left: 2rem;
    color: var(--c-text-secondary);
    line-height: 1.7;
}

.about-rd__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2334d399' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center/contain;
}

.about-rd__list strong {
    color: var(--c-text);
}

/* ===== BED SHOWCASE ===== */
.bed-showcase {
    padding: var(--s-section) 0;
    background: var(--c-bg-elevated);
    position: relative;
}

.bed-showcase .container {
    max-width: 1600px;
    padding: 0 clamp(2rem, 4vw, 4rem);
}

.bed-showcase__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
}

.bed-showcase__desc {
    color: var(--c-text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 1.5rem;
}

.bed-showcase__features {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bed-showcase__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--c-text-muted);
    font-size: 1rem;
}

.bed-showcase__features li svg {
    flex-shrink: 0;
    color: var(--c-accent);
}

.bed-showcase__card {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--c-border);
    background: var(--g-card);
    aspect-ratio: 4/3;
    width: 520px;
    flex-shrink: 0;
    cursor: pointer;
}

.bed-showcase__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease;
}

.bed-showcase__img--hover {
    opacity: 0;
}

.bed-showcase__card:hover .bed-showcase__img--default {
    opacity: 0;
}

.bed-showcase__card:hover .bed-showcase__img--hover {
    opacity: 1;
}

@media (max-width: 968px) {
    .bed-showcase__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .bed-showcase__visual {
        order: -1;
    }

    .bed-showcase__card {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Acoustic Science */
.acoustic-science {
    padding: var(--s-section) 0;
    background: var(--c-bg);
    position: relative;
}

.acoustic-science__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.acoustic-science__desc {
    color: var(--c-text-secondary);
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.acoustic-science__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.acoustic-science__list li {
    position: relative;
    padding-left: 2rem;
    color: var(--c-text-secondary);
    line-height: 1.7;
}

.acoustic-science__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2334d399' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center/contain;
}

.acoustic-science__list strong {
    color: var(--c-text);
}

.infographic-card {
    background: var(--g-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    overflow: hidden;
    position: relative;
}

.infographic-card__illus {
    padding: 2rem;
    background: rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
}

.infographic-card__illus svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.infographic-card__caption {
    padding: 2rem;
    border-top: 1px solid var(--c-border);
}

.infographic-card__caption span {
    display: block;
    color: var(--c-accent);
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 991px) {
    .about-rd__grid,
    .acoustic-science__inner {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================= */
/* LANGUAGE SWITCHER
/* ========================================================================= */
.lang-switcher {
    position: relative;
    margin-left: 1.5rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-btn:hover {
    border-color: var(--color-accent);
    background: rgba(255, 62, 0, 0.05);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--color-white);
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

.lang-option img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-option:hover {
    background: var(--color-bg-light);
    color: var(--color-accent);
}

@media (max-width: 900px) {
    .lang-switcher {
        margin-left: 0;
        margin-right: 1rem;
        display: none; /* Hide on mobile navbar directly, put in mobile menu */
    }
}

/* Language Dropdown Fixes */
.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-option img {
    border: 1px solid rgba(0,0,0,0.1);
}

/* ========================================================================= */
/* CERTIFICATES & DOCUMENTS
/* ========================================================================= */
.about-certificates {
    padding: var(--s-section) 0;
    background: var(--c-bg);
}

.cert-grid {
    display: flex;
    justify-content: center;
    gap: var(--s-gap);
    margin-top: clamp(2rem, 4vw, 3rem);
    flex-wrap: wrap;
}

.cert-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 1.25rem;
    flex: 0 1 calc(20% - var(--s-gap));
    min-width: 180px;
    max-width: 260px;
    text-align: center;
    cursor: pointer;
    transition: all var(--t-smooth);
}

.cert-card:hover {
    border-color: var(--c-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Placeholder card styling */
.cert-card--placeholder {
    cursor: default;
    opacity: 0.6;
}

.cert-card--placeholder:hover {
    border-color: var(--c-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cert-card__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 1rem;
    color: var(--c-text-muted);
}

.cert-card__placeholder svg {
    opacity: 0.4;
}

.cert-card__coming {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-text-muted);
    background: rgba(255,255,255,0.05);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    border: 1px solid var(--c-border);
}

.cert-card__img-wrap {
    position: relative;
    border-radius: var(--r-sm);
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 1/1.414; /* A4 Ratio */
    background: #fff;
}

.cert-card--placeholder .cert-card__img-wrap {
    background: var(--c-bg-elevated);
    border: 1px dashed var(--c-border);
}

.cert-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-smooth);
}

.cert-card:hover .cert-card__img {
    transform: scale(1.05);
}

.cert-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--t-fast);
    color: var(--c-white);
}

.cert-card:hover .cert-card__overlay {
    opacity: 1;
}

.cert-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--c-text);
}

.cert-card__desc {
    font-size: 0.75rem;
    color: var(--c-text-secondary);
    line-height: 1.4;
}

/* Responsive cert grid */
@media (max-width: 1200px) {
    .cert-card {
        flex: 0 1 calc(33.333% - var(--s-gap));
    }
}

@media (max-width: 768px) {
    .cert-card {
        flex: 0 1 calc(50% - var(--s-gap));
    }
}

@media (max-width: 480px) {
    .cert-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

/* Modal */
.cert-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-fast);
}

.cert-modal.active {
    opacity: 1;
    visibility: visible;
}

.cert-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
}

.cert-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--c-white);
    cursor: pointer;
    z-index: 2;
    padding: 10px;
    transition: color var(--t-fast);
}

.cert-modal__close:hover {
    color: var(--c-accent);
}

.cert-modal__content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 0;
}

.cert-modal__content::-webkit-scrollbar {
    width: 8px;
}
.cert-modal__content::-webkit-scrollbar-thumb {
    background: var(--c-border-hover);
    border-radius: 4px;
}

.cert-modal__img {
    max-width: 100%;
    height: auto;
    border-radius: var(--r-sm);
    pointer-events: none; /* Prevent right click + drag */
    user-select: none;
    -webkit-user-drag: none;
}
