/* ========================================
   INTERCOS KOREA - Bryhel-inspired Design
   ======================================== */

/* --- CSS Variables --- */
:root {
    --color-bg: #fafafa;
    --color-dark: #0a0a0a;
    --color-text: #1a1a1a;
    --color-text-muted: #666666;
    --color-accent: #c2185b;
    --color-accent-light: #fce4ec;
    --color-white: #ffffff;
    --color-border: #e5e5e5;
    --color-card: #ffffff;

    --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --nav-height: 80px;
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    cursor: none;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

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

button {
    background: none;
    border: none;
    cursor: none;
    font-family: inherit;
}

::selection {
    background: var(--color-accent);
    color: var(--color-white);
}

/* --- Custom Cursor --- */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
}

.cursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(194, 24, 91, 0.15);
    mix-blend-mode: normal;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(194, 24, 91, 0.3);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.5s var(--ease-out), height 0.5s var(--ease-out), border-color 0.3s;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: rgba(194, 24, 91, 0.5);
}

/* --- Loader --- */
.loader {
    position: fixed;
    inset: 0;
    background: var(--color-dark);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
}

.loader-line {
    width: 60px;
    height: 2px;
    background: var(--color-accent);
    margin: 0 auto 2rem;
    transform-origin: left;
    animation: loaderLine 1.5s var(--ease-in-out) infinite;
}

@keyframes loaderLine {
    0% {
        transform: scaleX(0);
    }

    50% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}

.loader-text {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.loader-letter {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    opacity: 0;
    transform: translateY(20px);
    animation: loaderLetter 0.6s var(--ease-out) forwards;
}

.loader-letter:nth-child(1) {
    animation-delay: 0.1s;
}

.loader-letter:nth-child(2) {
    animation-delay: 0.15s;
}

.loader-letter:nth-child(3) {
    animation-delay: 0.2s;
}

.loader-letter:nth-child(4) {
    animation-delay: 0.25s;
}

.loader-letter:nth-child(5) {
    animation-delay: 0.3s;
}

.loader-letter:nth-child(6) {
    animation-delay: 0.35s;
}

.loader-letter:nth-child(7) {
    animation-delay: 0.4s;
}

.loader-letter:nth-child(8) {
    animation-delay: 0.45s;
}

@keyframes loaderLetter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--color-border);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--color-white);
    transition: color 0.4s;
}

.nav.scrolled .logo-text {
    color: var(--color-dark);
}

.logo-sub {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255, 182, 193, 0.75);
    position: relative;
    padding: 4px 0;
    transition: color 0.4s;
}

.nav.scrolled .nav-link {
    color: var(--color-text-muted);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.4s var(--ease-out);
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s var(--ease-out);
}

.nav.scrolled .nav-toggle span {
    background: var(--color-dark);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--color-white);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}

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

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-link {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.3s;
}

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

.mobile-link:hover {
    color: var(--color-accent);
}

.mobile-menu.active .mobile-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-link:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu.active .mobile-link:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-link:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu.active .mobile-link:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu.active .mobile-link:nth-child(6) {
    transition-delay: 0.35s;
}

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

/* --- Reveal Animation --- */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 2s var(--ease-out), transform 2s var(--ease-out);
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1.5s var(--ease-out), transform 1.5s var(--ease-out);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 46, 0.85) 50%, rgba(22, 33, 62, 0.9) 100%),
        url('pmv-chamara-dMjkQJs58uo-unsplash.jpg') center/cover no-repeat;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 50%, rgba(194, 24, 91, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 20% 80%, rgba(194, 24, 91, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 60% at 80% 20%, rgba(63, 81, 181, 0.08) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--space-md);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 3rem;
    margin-bottom: var(--space-md);
}

.tag-line {
    width: 40px;
    height: 1px;
    background: var(--color-accent);
}

.tag-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1.05;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.title-line {
    display: block;
}

.title-accent {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.title-italic {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-accent);
    font-weight: 400;
}

.split-char {
    display: inline-block;
    will-change: transform, opacity;
}

.hero-desc {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
    font-weight: 300;
}

.hero-cta,
.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.hero-cta::before,
.contact-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out);
    border-radius: 9999px;
    z-index: -1;
}

.hero-cta:hover::before,
.contact-cta:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.hero-cta:hover,
.contact-cta:hover {
    border-color: var(--color-accent);
}

.cta-arrow {
    transition: transform 0.3s var(--ease-out);
}

.hero-cta:hover .cta-arrow,
.contact-cta:hover .cta-arrow {
    transform: translate(4px, -4px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
    animation: scrollLine 2s var(--ease-in-out) infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

/* --- Section Common --- */
.section {
    padding: var(--space-2xl) 0;
    position: relative;
}

.section-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.section-label {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.section-label.light {
    color: rgba(255, 255, 255, 0.5);
}

/* --- About Section --- */
.about {
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://plus.unsplash.com/premium_photo-1681488098851-e3913f3b1908?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
    opacity: 0.11;
    pointer-events: none;
}

.about>.container {
    position: relative;
    z-index: 1;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-dark);
}

.highlight {
    color: var(--color-accent);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--color-accent-light);
    z-index: -1;
    border-radius: 4px;
}

.section-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
    display: inline;
}

.stat-unit {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-left: 4px;
}

.stat-unit-text {
    display: none;
}


.stat-label {
    display: block;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-top: 8px;
    font-weight: 400;
}

/* --- Marquee --- */
.marquee {
    padding: var(--space-lg) 0;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.marquee-item {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--color-dark);
    white-space: nowrap;
    opacity: 0.15;
    transition: opacity 0.3s;
}

.marquee-item:hover {
    opacity: 1;
}

.marquee-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
    align-self: center;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* --- Innovation Section --- */
.innovation {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.innovation::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1596462502278-27bfdc403348?w=1920&q=80') center/cover no-repeat;
    opacity: 0.21;
    pointer-events: none;
}

.innovation>.container {
    position: relative;
    z-index: 1;
}

.innovation-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.innovation-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

.innovation-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    font-style: italic;
    font-family: var(--font-serif);
}

.innovation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.innovation-card {
    background: rgba(255, 255, 255, 0.49);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: var(--space-lg) var(--space-md);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.innovation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.5s var(--ease-out);
}

.innovation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--color-border);
}

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

.card-icon {
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    display: inline-block;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-dark);
}

.card-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* --- Vision Section --- */
.vision {
    position: relative;
    color: var(--color-white);
    overflow: hidden;
}

.vision-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

.vision-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('pexels-ron-lach-8128063.jpg') center/cover no-repeat;
    opacity: 0.1;
    mix-blend-mode: luminosity;
}

.vision-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 80% 50%, rgba(194, 24, 91, 0.1) 0%, transparent 60%);
}

.vision-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.vision-blocks {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.vision-block {
    text-align: left;
}

.vision-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.vision-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
}

.vision-tag {
    font-size: 0.95rem;
    font-family: var(--font-serif);
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
}

.vision-divider {
    width: 1px;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
}

/* --- Process Section --- */
.process {
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://plus.unsplash.com/premium_photo-1676325102346-7f0f536d1f2f?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
    opacity: 0.098;
    pointer-events: none;
}

.process>.container {
    position: relative;
    z-index: 1;
}

.process-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.process-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--color-dark);
}

.process-list {
    max-width: 800px;
    margin: 0 auto;
}

.process-item {
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

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

.process-item-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    cursor: pointer;
    transition: padding 0.3s var(--ease-out);
}

.process-item-header:hover {
    padding-left: var(--space-sm);
}

.process-num {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    min-width: 28px;
}

.process-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
    flex: 1;
}

.process-toggle {
    color: var(--color-text-muted);
    transition: transform 0.4s var(--ease-out), color 0.3s;
}

.process-item.active .process-toggle {
    transform: rotate(45deg);
    color: var(--color-accent);
}

.process-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out), padding 0.5s var(--ease-out);
}

.process-item.active .process-item-body {
    max-height: 200px;
    padding-bottom: var(--space-md);
}

.process-item-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    padding-left: calc(28px + var(--space-md));
}

/* --- Products Section --- */
.products {
    background: var(--color-white);
}

.products-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.products-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

.products-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.product-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--color-bg);
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
}

.product-image {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}

.product-img-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-img-inner {
    transform: scale(1.05);
}

.product-img-inner img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
    will-change: transform;
}

.product-card:hover .product-img-inner img {
    transform: scale(1.05);
}

.product-img-inner svg {
    opacity: 0.6;
    transition: opacity 0.4s, transform 0.4s var(--ease-out);
}

.product-card:hover .product-img-inner svg {
    opacity: 1;
    transform: scale(1.1);
}

.product-info {
    padding: var(--space-md);
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.product-detail {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* --- History Section --- */
.history {
    position: relative;
    overflow: hidden;
}

.history::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://plus.unsplash.com/premium_photo-1684407616442-8d5a1b7c978e?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

.history>.container {
    position: relative;
    z-index: 1;
}

.history-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.history-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--color-dark);
}

.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline-line {
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--color-border);
}

.timeline-line-fill {
    position: absolute;
    left: 8px;
    top: 0;
    width: 2px;
    height: 0;
    background: var(--color-accent);
    z-index: 1;
    transform: translateX(-0.5px);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-lg);
}

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

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    background: var(--color-bg);
    transition: all 0.3s var(--ease-out);
}

.timeline-item:hover .timeline-dot {
    background: var(--color-accent);
    transform: scale(1.3);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark);
    display: block;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* --- Partners Marquee --- */
.partners-marquee {
    padding: var(--space-md) 0;
    overflow: hidden;
    background: var(--color-dark);
}

.partners-track {
    animation-duration: 20s;
}

.partner-name {
    font-size: clamp(1.15rem, 2.5vw, 1.75rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.25);
    white-space: nowrap;
    transition: color 0.3s;
}

.partner-name:hover {
    color: var(--color-white);
}

.partners-marquee .marquee-dot {
    background: rgba(255, 255, 255, 0.2);
}

/* --- Contact Section --- */
.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
}

.contact-desc {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.contact-cta {
    border-color: var(--color-dark);
    color: var(--color-dark);
}

.contact-cta:hover {
    color: var(--color-white);
    border-color: var(--color-accent);
}

.contact-info-block {
    margin-bottom: var(--space-md);
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.contact-info-block p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* --- Footer --- */
.footer {
    padding: var(--space-md) 0;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--color-dark);
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.footer-right {
    display: flex;
    gap: var(--space-md);
}

.footer-link {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--color-accent);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

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

    .section-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .vision-blocks {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .vision-divider {
        width: 60px;
        height: 1px;
        min-height: auto;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
        margin: 0 auto;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --space-2xl: 6rem;
        --nav-height: 64px;
    }

    /* Disable custom cursor on mobile/touch */
    body {
        cursor: auto;
    }

    .cursor,
    .cursor-follower {
        display: none !important;
    }

    /* Navigation */
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero */
    .hero-tag {
        justify-content: center;
        margin-top: 0;
        margin-bottom: var(--space-lg);
    }

    .hero-tag .tag-line {
        display: none;
    }

    .hero {
        min-height: 100svh;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero-scroll {
        bottom: 24px;
    }

    /* About */
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }

    .stat-number {
        font-size: 2rem;
        display: block;
    }

    .stat-unit {
        display: block;
        margin-left: 0;
        margin-top: 4px;
        font-size: 0.9rem;
    }

    .stat-unit-text {
        display: block;
    }


    /* Innovation */
    .innovation-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .innovation-card {
        padding: var(--space-md);
    }

    /* Products */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .product-info {
        padding: var(--space-sm);
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-detail {
        font-size: 0.9rem;
    }

    /* Process */
    .process-name {
        font-size: 1.1rem;
    }

    .process-item-body p {
        padding-left: calc(28px + var(--space-sm));
        font-size: 1rem;
    }

    /* History */
    .timeline {
        padding-left: 30px;
    }

    .timeline-dot {
        left: -26px;
    }

    .timeline-year {
        font-size: 1.25rem;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .footer-right {
        gap: var(--space-sm);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --space-md: 1.25rem;
        --space-2xl: 5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .marquee-item {
        font-size: 1.25rem;
    }

    .vision-block {
        text-align: center;
    }

    .vision-text {
        font-size: 1.05rem;
    }

    .contact-title {
        font-size: 1.75rem;
    }
}

/* --- Particle Styles --- */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(194, 24, 91, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

/* --- Smooth scroll for anchors --- */
html {
    scroll-padding-top: var(--nav-height);
}

/* --- Selection Style --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}