/* ============================================================
   product.css
   PT. Rayard Deli Indonesia - Product Page
   Corporate Manufacturing Focus
   ============================================================ */

/* ---------- Variables ---------- */
:root {
    --primary: #800000;
    --primary-dark: #5A0000;
    --primary-light: #a33434;
    --secondary: #13294B;
    --secondary-dark: #0F2343;
    --secondary-light: #1f446e;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #777777;
    --border-light: #E8E8E8;
    --shadow-sm: 0 4px 16px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.07);
    --shadow-hover: 0 16px 48px rgba(19,41,75,0.10);
    --shadow-lg: 0 24px 64px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Global Smooth Scroll ---------- */
html {
    scroll-behavior: smooth;
}

/* ---------- Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.04s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.10s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.22s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.28s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.34s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(7) { transition-delay: 0.34s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(8) { transition-delay: 0.34s; opacity: 1; transform: translateY(0); }


/* ---------- Section Label ---------- */
.p-section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.highlight {
    color: var(--primary);
}

/* ---------- SECTION 1 — HERO ---------- */
.p-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background: var(--secondary);
}

.p-hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 10s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
    will-change: transform;
}

.p-hero:hover .p-hero-background {
    transform: scale(1);
}

.p-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(19,41,75,0.60) 0%,
        rgba(128,0,0,0.30) 100%
    );
    z-index: 1;
}

.p-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at 30% 20%,
        rgba(255,255,255,0.04) 0%,
        transparent 60%
    );
    z-index: 1;
    pointer-events: none;
    animation: glassReflection 12s ease-in-out infinite alternate;
}

@keyframes glassReflection {
    0% { transform: translate(-10%, -10%) rotate(-5deg); }
    100% { transform: translate(10%, 10%) rotate(5deg); }
}

.p-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    animation: heroFadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroFadeIn {
    0% { opacity: 0; transform: scale(0.97) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.p-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.p-hero-badge {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    padding: 0.4em 1.4em;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 30px;
    backdrop-filter: blur(4px);
    margin-bottom: 20px;
    animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { border-color: rgba(255,255,255,0.12); }
    50% { border-color: rgba(255,255,255,0.30); }
}

.p-hero-title {
    font-size: clamp(3rem, 8vw, 5.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.30);
}

.p-hero-highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.p-hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    border-radius: 4px;
    opacity: 0.4;
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

@keyframes underlineReveal {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

.p-hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin-top: 8px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.4);
}

.p-hero-scroll {
    margin-top: 3em;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.p-hero-scroll-line {
    display: block;
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
    margin-top: 0.6em;
    animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); opacity: 0; transform-origin: top; }
    40% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}

.p-hero-accent {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    z-index: 1;
    pointer-events: none;
    animation: floatAccent 10s ease-in-out infinite alternate;
}

@keyframes floatAccent {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(5deg); }
}

.p-hero-accent--1 {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -80px;
    background: rgba(128,0,0,0.08);
    animation-duration: 12s;
}

.p-hero-accent--2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -60px;
    background: rgba(19,41,75,0.10);
    animation-duration: 8s;
    animation-delay: 1s;
}

/* ---------- SECTION 2 — INTRODUCTION ---------- */
.p-intro {
    padding: 100px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.p-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.p-intro-left {
    animation: slideLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes slideLeft {
    0% { opacity: 0; transform: translateX(-40px); }
    100% { opacity: 1; transform: translateX(0); }
}

.p-intro-heading {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.p-intro-heading .highlight {
    color: var(--primary);
}

.p-intro-right {
    animation: slideRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes slideRight {
    0% { opacity: 0; transform: translateX(40px); }
    100% { opacity: 1; transform: translateX(0); }
}

.p-intro-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.p-intro-text:last-of-type {
    margin-bottom: 0;
}

.p-intro-divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 4px;
    margin-top: 24px;
}

/* ---------- SECTION 3 — PRODUCTS ---------- */
.p-products {
    padding: 100px 0;
    background: var(--bg-light);
}

.p-products-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.p-products-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.p-products-title .highlight {
    color: var(--primary);
}

.p-products-subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-top: 8px;
}

.p-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.p-product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid var(--border-light);
}

.p-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.p-product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.p-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-product-card:hover .p-product-image img {
    transform: scale(1.06);
}

.p-product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
}

.p-product-card:hover .p-product-overlay {
    opacity: 1;
}

.p-product-badge {
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3em 1.2em;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.p-product-info {
    padding: 24px 28px 30px;
}

.p-product-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.p-product-card:hover .p-product-info h3 {
    color: var(--primary);
}

.p-product-info p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.p-product-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-product-link::after {
    content: '→';
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-product-link:hover {
    gap: 10px;
}

.p-product-link:hover::after {
    transform: translateX(4px);
}

/* ---------- SECTION 4 — CAPABILITY ---------- */
.p-capability {
    padding: 100px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.p-capability-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.p-capability-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.p-capability-title .highlight {
    color: var(--primary);
}

.p-capability-subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-top: 8px;
}

.p-capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.p-capability-card {
    background: var(--bg-white);
    padding: 35px 28px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-capability-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.p-capability-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.p-capability-icon svg {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-capability-card:hover .p-capability-icon svg {
    transform: scale(1.1);
}

.p-capability-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.p-capability-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0;
}

/* ---------- SECTION 5 — MATERIALS ---------- */
.p-materials {
    padding: 100px 0;
    background: var(--bg-light);
}

.p-materials-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.p-materials-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.p-materials-title .highlight {
    color: var(--primary);
}

.p-materials-subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-top: 8px;
}

.p-materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.p-materials-item {
    background: var(--bg-white);
    padding: 28px 24px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-materials-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}

.p-materials-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.p-materials-icon svg {
    transition: transform 0.3s ease;
}

.p-materials-item:hover .p-materials-icon svg {
    transform: scale(1.08);
}

.p-materials-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.p-materials-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* ---------- SECTION 6 — FEATURED ---------- */
.p-featured {
    padding: 100px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.p-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.p-featured-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.p-featured-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-featured-image:hover img {
    transform: scale(1.04);
}

.p-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3em 1.2em;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.p-featured-content {
    padding: 20px 0;
}

.p-featured-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.p-featured-title .highlight {
    color: var(--primary);
}

.p-featured-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.p-featured-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.p-featured-features li {
    font-size: 0.95rem;
    color: var(--text-medium);
    padding: 6px 0 6px 28px;
    position: relative;
    line-height: 1.6;
}

.p-featured-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.p-featured-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-featured-link::after {
    content: '→';
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-featured-link:hover {
    gap: 10px;
}

.p-featured-link:hover::after {
    transform: translateX(4px);
}

/* ---------- SECTION 7 — CERTIFICATIONS ---------- */
.p-certifications {
    padding: 80px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.p-certifications-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.p-certifications-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.p-certifications-title .highlight {
    color: var(--primary);
}

.p-certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.p-cert-item {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-cert-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}

.p-cert-badge {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.p-cert-item span {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* ---------- SECTION 8 — PROJECTS ---------- */
.p-projects {
    padding: 100px 0;
    background: var(--bg-white);
}

.p-projects-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.p-projects-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.p-projects-title .highlight {
    color: var(--primary);
}

.p-projects-subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-top: 8px;
}

.p-projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.p-project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    aspect-ratio: 1 / 1;
}

.p-project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.p-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-project-card:hover img {
    transform: scale(1.06);
}

.p-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
}

.p-project-card:hover .p-project-overlay {
    opacity: 1;
}

.p-project-overlay h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.p-project-overlay span {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ---------- SECTION 9 — FACTORY ---------- */
.p-factory {
    padding: 100px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.p-factory-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.p-factory-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.p-factory-title .highlight {
    color: var(--primary);
}

.p-factory-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: 200px;
    gap: 20px;
}

.p-factory-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-factory-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.p-factory-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-factory-item:hover img {
    transform: scale(1.05);
}

.p-factory-item--large {
    grid-row: span 2;
}

.p-factory-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: #fff;
}

.p-factory-item:hover .p-factory-overlay {
    opacity: 1;
}

.p-factory-overlay h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* ---------- SECTION 10 — EXPORT ---------- */
.p-export {
    padding: 100px 0;
    background: var(--bg-white);
}

.p-export-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.p-export-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.p-export-title .highlight {
    color: var(--primary);
}

.p-export-subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-top: 8px;
}

.p-export-map {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.p-export-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    text-align: center;
}

.p-export-region {
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.p-export-region:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}

.p-export-region-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.p-export-region-count {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ---------- SECTION 11 — STATISTICS ---------- */
.p-stats {
    padding: 90px 0;
    background: var(--secondary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.p-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(128,0,0,0.10) 0%, transparent 70%);
    pointer-events: none;
}

.p-stats::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.p-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.p-stats-item {
    position: relative;
}

.p-stats-number {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    margin-bottom: 8px;
}

.p-stats-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.p-stats-plus,
.p-stats-percent {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    display: inline-block;
    margin-left: 2px;
}

.p-stats-number {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active .p-stats-number {
    opacity: 1;
    transform: translateY(0);
}

.reveal.active .p-stats-item:nth-child(1) .p-stats-number { transition-delay: 0.1s; }
.reveal.active .p-stats-item:nth-child(2) .p-stats-number { transition-delay: 0.25s; }
.reveal.active .p-stats-item:nth-child(3) .p-stats-number { transition-delay: 0.40s; }
.reveal.active .p-stats-item:nth-child(4) .p-stats-number { transition-delay: 0.55s; }

/* ---------- SECTION 12 — PROCESS ---------- */
.p-process {
    padding: 100px 0;
    background: var(--bg-white);
}

.p-process-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.p-process-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.p-process-title .highlight {
    color: var(--primary);
}

.p-process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 20px 0 10px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 30px;
}

.p-process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--border-light);
    z-index: 0;
}

.p-process-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 120px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active .p-process-node:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal.active .p-process-node:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal.active .p-process-node:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.reveal.active .p-process-node:nth-child(7) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.reveal.active .p-process-node:nth-child(9) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }

.p-process-dot {
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 2px var(--border-light);
    margin-bottom: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.p-process-node:hover .p-process-dot {
    background: var(--primary-dark);
    box-shadow: 0 0 0 4px var(--primary-light);
    transform: scale(1.15);
}

.p-process-content {
    text-align: center;
    padding: 0 8px;
}

.p-process-step {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.p-process-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 4px;
}

.p-process-content p {
    font-size: 0.78rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.p-process-connector {
    flex: 0 0 30px;
    height: 2px;
    background: var(--border-light);
    align-self: center;
    margin-top: -10px;
    min-width: 20px;
}

/* ---------- SECTION 13 — DOWNLOAD ---------- */
.p-download {
    padding: 80px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.p-download-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.p-download-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.p-download-title .highlight {
    color: var(--primary);
}

.p-download-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 28px;
}

.p-download-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: #fff;
    padding: 14px 36px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
}

.p-download-button:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(128,0,0,0.30);
}

.p-download-icon {
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.p-download-button:hover .p-download-icon {
    transform: translateY(2px);
}

.p-download-note {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 16px;
}

.p-download-note a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.p-download-note a:hover {
    text-decoration: underline;
}

/* ---------- SECTION 14 — INQUIRY ---------- */
.p-inquiry {
    padding: 100px 0;
    background: var(--bg-white);
}

.p-inquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.p-inquiry-content {
    padding: 20px 0;
}

.p-inquiry-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.p-inquiry-title .highlight {
    color: var(--primary);
}

.p-inquiry-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 24px;
}

.p-inquiry-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.p-inquiry-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-medium);
}

.p-inquiry-check {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.p-inquiry-form {
    background: var(--bg-light);
    padding: 40px 35px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.p-form-group {
    margin-bottom: 18px;
}

.p-form-group input,
.p-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.p-form-group input:focus,
.p-form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(128,0,0,0.08);
}

.p-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.p-form-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.p-form-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(128,0,0,0.25);
}

/* ---------- SECTION 15 — CTA ---------- */
.p-cta {
    padding: 90px 20px;
    background: var(--secondary);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.p-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(128,0,0,0.10) 0%, transparent 70%);
    pointer-events: none;
}

.p-cta-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.p-cta-title .highlight {
    color: var(--primary);
}

.p-cta-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.p-cta-button {
    display: inline-block;
    padding: 14px 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.p-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.p-cta-button:hover::before {
    left: 100%;
}

.p-cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(128,0,0,0.35);
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .p-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .p-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .p-capability-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .p-materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .p-featured-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .p-featured-image img {
        height: 300px;
    }
    .p-certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .p-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .p-factory-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }
    .p-factory-item--large {
        grid-row: span 1;
        grid-column: span 2;
    }
    .p-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .p-process-timeline {
        padding: 20px 20px 30px;
        justify-content: flex-start;
        gap: 10px;
    }
    .p-process-connector {
        flex: 0 0 20px;
        min-width: 20px;
    }
    .p-process-node {
        min-width: 100px;
    }
    .p-inquiry-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .p-inquiry-features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .p-hero {
        min-height: 60vh;
        padding: 0 16px;
    }
    .p-hero-title {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }
    .p-hero-subtitle {
        font-size: 0.95rem;
    }
    .p-hero-badge {
        font-size: 10px;
        letter-spacing: 3px;
        padding: 0.3em 1em;
    }
    .p-intro {
        padding: 60px 0;
    }
    .p-intro-heading {
        font-size: 2rem;
    }
    .p-intro-text {
        font-size: 0.95rem;
    }
    .p-products {
        padding: 60px 0;
    }
    .p-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .p-product-image {
        height: 200px;
    }
    .p-product-info {
        padding: 18px 20px 22px;
    }
    .p-product-info h3 {
        font-size: 1.05rem;
    }
    .p-product-info p {
        font-size: 0.85rem;
    }
    .p-capability {
        padding: 60px 0;
    }
    .p-capability-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .p-capability-card {
        padding: 24px 18px;
    }
    .p-capability-card h3 {
        font-size: 1.05rem;
    }
    .p-materials {
        padding: 60px 0;
    }
    .p-materials-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .p-featured {
        padding: 60px 0;
    }
    .p-featured-image img {
        height: 240px;
    }
    .p-featured-title {
        font-size: 2rem;
    }
    .p-featured-text {
        font-size: 0.95rem;
    }
    .p-certifications {
        padding: 60px 0;
    }
    .p-projects {
        padding: 60px 0;
    }
    .p-projects-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .p-factory {
        padding: 60px 0;
    }
    .p-factory-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
        gap: 14px;
    }
    .p-factory-item--large {
        grid-column: span 2;
    }
    .p-export {
        padding: 60px 0;
    }
    .p-export-map {
        padding: 20px;
    }
    .p-export-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 12px;
    }
    .p-stats {
        padding: 60px 0;
    }
    .p-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .p-stats-number {
        font-size: 2.6rem;
    }
    .p-process {
        padding: 60px 0;
    }
    .p-process-timeline {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px 10px;
        gap: 16px;
    }
    .p-process-timeline::before {
        top: 20px;
        left: 8px;
        right: auto;
        bottom: 20px;
        width: 2px;
        height: auto;
    }
    .p-process-connector {
        display: none;
    }
    .p-process-node {
        flex-direction: row;
        min-width: auto;
        width: 100%;
        padding-left: 30px;
        position: relative;
    }
    .p-process-dot {
        position: absolute;
        left: 0;
        top: 4px;
        margin-bottom: 0;
        width: 14px;
        height: 14px;
    }
    .p-process-content {
        text-align: left;
        padding: 0;
    }
    .p-process-step {
        display: inline-block;
        margin-right: 8px;
        font-size: 0.65rem;
    }
    .p-process-content h4 {
        font-size: 0.9rem;
        display: inline-block;
    }
    .p-process-content p {
        font-size: 0.75rem;
        display: block;
        margin-top: 2px;
    }
    .p-download {
        padding: 60px 0;
    }
    .p-inquiry {
        padding: 60px 0;
    }
    .p-inquiry-form {
        padding: 28px 20px;
    }
    .p-inquiry-features {
        grid-template-columns: 1fr;
    }
    .p-cta {
        padding: 60px 20px;
    }
    .p-cta-title {
        font-size: 2rem;
    }
    .p-cta-text {
        font-size: 0.95rem;
    }
    .p-cta-button {
        padding: 12px 32px;
        font-size: 0.95rem;
    }
    .p-hero-accent--1 {
        width: 150px;
        height: 150px;
        top: -40px;
        right: -40px;
    }
    .p-hero-accent--2 {
        width: 100px;
        height: 100px;
        bottom: -30px;
        left: -30px;
    }
}

@media (max-width: 480px) {
    .p-hero-title {
        font-size: 1.8rem;
    }
    .p-hero-subtitle {
        font-size: 0.85rem;
    }
    .p-intro-heading {
        font-size: 1.6rem;
    }
    .p-products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .p-product-image {
        height: 220px;
    }
    .p-capability-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
    .p-materials-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
    .p-certifications-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .p-projects-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
    .p-factory-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .p-factory-item--large {
        grid-column: span 1;
    }
    .p-export-grid {
        grid-template-columns: 1fr 1fr;
    }
    .p-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .p-stats-number {
        font-size: 2rem;
    }
    .p-stats-label {
        font-size: 0.8rem;
    }
    .p-cta-title {
        font-size: 1.6rem;
    }
    .p-cta-button {
        padding: 10px 28px;
        font-size: 0.9rem;
    }
    .p-download-button {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
    .p-form-submit {
        font-size: 0.9rem;
        padding: 12px;
    }
}