/*
Theme Name: ABS Foil
Theme URI: https://absfoil.com
Description: Custom WordPress theme for ABS Foil - modern, performance-focused, accessible
Author: ABS Foil Team
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: Proprietary
Text Domain: absfoil
*/

/* ==========================================================================
   DESIGN TOKENS - Soft Modern Builder
   ========================================================================== */

:root {
    /* Brand Colors */
    --abs-blue: #4B6B8A;
    --abs-teal: #5E8B7E;
    --abs-gold: #FFD700;
    --abs-bg: #F4F6F8;
    --abs-text: #2B343D;
    
    /* Semantic Colors */
    --color-primary: var(--abs-blue);
    --color-secondary: var(--abs-teal);
    --color-accent: var(--abs-gold);
    --color-background: var(--abs-bg);
    --color-text: var(--abs-text);
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 
                   'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-size-base: 17px;
    --font-size-small: 15px;
    --font-size-large: 20px;
    --font-size-h1: 48px;
    --font-size-h2: 36px;
    --font-size-h3: 28px;
    --line-height-base: 1.65;
    --line-height-heading: 1.2;
    
    /* Spacing */
    --space-xs: 0.5rem;   /* 8px */
    --space-sm: 1rem;     /* 16px */
    --space-md: 1.5rem;   /* 24px */
    --space-lg: 2rem;     /* 32px */
    --space-xl: 3rem;     /* 48px */
    --space-2xl: 4rem;    /* 64px */
    
    /* Layout */
    --container-max-width: 1200px;
    --container-padding: var(--space-md);
    --header-height: 80px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(43, 52, 61, 0.08);
    --shadow-md: 0 4px 12px rgba(43, 52, 61, 0.12);
    --shadow-lg: 0 8px 24px rgba(43, 52, 61, 0.16);
    
    /* Focus Ring */
    --focus-ring: 0 0 0 3px rgba(75, 107, 138, 0.25);
    
    /* Glass Effect Tokens */
    --glass-blur: 20px;
    --glass-blur-mobile: 12px;
    --glass-bg-light: rgba(255, 255, 255, 0.12);
    --glass-bg-card: rgba(244, 246, 248, 0.65);
    --glass-border: rgba(255, 255, 255, 0.20);
    --glass-shadow: 0 8px 32px rgba(43, 52, 61, 0.18);
}

/* Mobile Typography Adjustments */
@media (max-width: 768px) {
    :root {
        --font-size-base: 16px;
        --font-size-h1: 32px;
        --font-size-h2: 28px;
        --font-size-h3: 24px;
        --container-padding: var(--space-sm);
    }
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: #2B343D;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Skip to Content Link (Accessibility) */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: var(--space-sm);
    z-index: 100;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0;
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.site-header {
    background-color: transparent;
    border-bottom: 1px solid transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition:
        transform 0.4s cubic-bezier(0.3, 1, 0.2, 1),
        box-shadow var(--transition-base),
        background-color var(--transition-base),
        backdrop-filter var(--transition-base);
}

.site-header.nav-hidden {
    transform: translateY(-100%);
}

.site-header.scrolled {
    background-color: rgba(244, 246, 248, 0.72);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border-bottom-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        var(--shadow-md),
        inset 0 -1px 0 rgba(255, 255, 255, 0.30);
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* ==========================================================================
   LOGO / BRANDING
   ========================================================================== */

.site-branding {
    flex-shrink: 0;
}

.site-branding img,
.custom-logo-link img {
    max-height: 40px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter var(--transition-base);
}

.site-header.scrolled .site-branding img,
.site-header.scrolled .custom-logo-link img {
    filter: none;
}

.site-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.site-logo-text:hover {
    color: var(--abs-gold);
}

.site-header.scrolled .site-logo-text {
    color: var(--color-primary);
}

.site-header.scrolled .site-logo-text:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   DESKTOP NAVIGATION
   ========================================================================== */

.main-navigation {
    display: none;
}

@media (min-width: 769px) {
    .main-navigation {
        display: block;
        flex-grow: 1;
        margin: 0 var(--space-lg);
    }
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color var(--transition-fast);
    display: block;
    padding: var(--space-xs) 0;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: var(--abs-gold);
}

.site-header.scrolled .nav-menu a {
    color: var(--color-text);
}

.site-header.scrolled .nav-menu a:hover,
.site-header.scrolled .nav-menu a:focus {
    color: var(--color-primary);
}

/* Product Dropdown */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 6px;
    margin-left: var(--space-xs);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center;
    transition: transform var(--transition-fast);
    vertical-align: middle;
    transform-origin: center;
}

.site-header.scrolled .menu-item-has-children > a::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234B6B8A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center;
}

.menu-item-has-children:hover > a::after,
.menu-item-has-children:focus-within > a::after {
    transform: rotate(180deg);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    min-width: 200px;
    padding: var(--space-sm);
    margin: var(--space-xs) 0 0 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition-fast), 
                transform var(--transition-fast),
                visibility var(--transition-fast);
}

.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    margin: 0;
}

.sub-menu a {
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    transition: background-color var(--transition-fast);
}

.sub-menu a:hover,
.sub-menu a:focus {
    background-color: var(--abs-bg);
}

/* ==========================================================================
   HEADER CTA
   ========================================================================== */

.header-cta {
    display: none;
}

@media (min-width: 769px) {
    .header-cta {
        display: block;
    }
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast);
    will-change: transform;
}

/* --- Primary Button: Gold Glass --- */
.btn-primary {
    background: rgba(255, 215, 0, 0.82);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.60);
    box-shadow:
        0 4px 14px rgba(255, 215, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -2px 4px rgba(255, 180, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-primary::after {
    content: ' →' !important;
    position: static !important;
    display: inline !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    transform: translateX(0);
    opacity: 0.65;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.btn-primary:hover,
.btn-primary:focus {
    background: rgba(255, 215, 0, 0.98);
    border-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
    box-shadow:
        0 10px 24px rgba(255, 215, 0, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.70),
        inset 0 -2px 6px rgba(255, 160, 0, 0.20);
}

.btn-primary:hover::after {
    transform: translateX(4px) !important;
    opacity: 1 !important;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow:
        0 4px 10px rgba(255, 215, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.50);
}

/* --- Outline Button: Frosted Glass --- */
.btn-outline {
    background: rgba(255, 255, 255, 0.32);
    color: var(--color-primary);
    border: 1.5px solid rgba(75, 107, 138, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover,
.btn-outline:focus {
    background: rgba(75, 107, 138, 0.16);
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow:
        0 10px 24px rgba(75, 107, 138, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.60);
}

.btn-outline:active {
    transform: translateY(0);
    box-shadow:
        0 4px 10px rgba(75, 107, 138, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.50);
}

/* Glass shine sweep on hover */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
    pointer-events: none;
}

.btn:hover::after,
.btn:focus::after {
    left: 130%;
}

@media (prefers-reduced-motion: reduce) {
    .btn,
    .btn::after {
        transition: none;
    }

    .btn:hover,
    .btn:focus {
        transform: none;
    }
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==========================================================================
   MOBILE MENU TOGGLE
   ========================================================================== */

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    transition: all var(--transition-base);
    position: relative;
    display: block;
}

.site-header.scrolled .hamburger-icon,
.site-header.scrolled .hamburger-icon::before,
.site-header.scrolled .hamburger-icon::after {
    background-color: var(--color-text);
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    top: 8px;
}

/* Hamburger Animation */
.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon {
    background-color: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ==========================================================================
   MOBILE NAVIGATION
   ========================================================================== */

.mobile-navigation {
    background-color: var(--color-white);
    border-top: 1px solid rgba(43, 52, 61, 0.1);
    padding: var(--space-md);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
}

@media (min-width: 769px) {
    .mobile-navigation {
        display: none !important;
    }
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin-bottom: var(--space-sm);
}

.mobile-nav-menu a {
    display: block;
    padding: var(--space-sm);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a:focus {
    background-color: var(--abs-bg);
}

/* Mobile Product Submenu */
.mobile-nav-menu .sub-menu {
    padding-left: var(--space-md);
    margin-top: var(--space-xs);
}

.mobile-cta {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(43, 52, 61, 0.1);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin-top: calc(var(--header-height) * -1);
    padding-top: var(--header-height);
    background: #2B343D; /* fallback while video loads */
}

@supports (min-height: 100svh) {
    .hero {
        min-height: 100svh;
    }
}

/* --- Hero Video Background --- */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(20, 26, 32, 0.60) 0%,
        rgba(20, 26, 32, 0.42) 45%,
        rgba(20, 26, 32, 0.68) 100%
    );
}

/* --- Hero Content (centered above video) --- */
.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--container-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Parallax target — transform driven by JS */
.hero-floating-text {
    max-width: 780px;
    will-change: transform;
    transition: transform 0.25s ease-out;
}

.hero-eyebrow {
    display: inline-block;
    margin: 0 0 var(--space-sm);
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--abs-gold);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-title {
    margin: 0 0 var(--space-md);
    font-size: var(--font-size-h1);
    line-height: var(--line-height-heading);
    color: var(--color-white);
    letter-spacing: -0.01em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.hero-subtitle {
    margin: 0 auto var(--space-lg);
    font-size: var(--font-size-large);
    line-height: var(--line-height-base);
    color: rgba(255, 255, 255, 0.88);
    max-width: 34em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.hero-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.hero-features li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-small);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.hero-feature-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--abs-gold);
}

/* Outline button on dark video hero */
.hero .btn-outline {
    background: rgba(255, 255, 255, 0.14);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.42);
}

.hero .btn-outline:hover,
.hero .btn-outline:focus {
    background: rgba(255, 255, 255, 0.24);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.70);
}

/* --- Responsive: hero adjustments on mobile --- */
@media (max-width: 768px) {
    .hero-container {
        padding: var(--space-lg) var(--container-padding);
    }

    .hero-actions {
        margin-bottom: var(--space-md);
    }
}

/* ==========================================================================
   HOMEPAGE CONTENT SECTIONS (PHASE 5)
   ========================================================================== */

.section {
    padding: var(--space-xl) 0;
    scroll-margin-top: calc(var(--header-height) + 16px);
}

.section-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-header {
    max-width: 640px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    margin: 0 0 var(--space-sm);
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-secondary);
    background: rgba(94, 139, 126, 0.10);
    border: 1px solid rgba(94, 139, 126, 0.25);
    border-radius: 999px;
}

.section-title {
    margin: 0 0 var(--space-sm);
    font-size: var(--font-size-h2);
    line-height: var(--line-height-heading);
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.section-subtitle {
    margin: 0;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: rgba(43, 52, 61, 0.75);
}

/* --- Features / Keunggulan (Bento Grid) --- */
.features-section {
    background:
        radial-gradient(ellipse 50% 40% at 15% 0%, rgba(75, 107, 138, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 45% 40% at 90% 100%, rgba(255, 215, 0, 0.05) 0%, transparent 55%),
        var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

/* Mobile bento: first & last card full width, middle cards 2-col */
.features-grid .feature-card:nth-child(1),
.features-grid .feature-card:nth-child(6) {
    grid-column: 1 / -1;
}

.feature-card {
    background: var(--glass-bg-card);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--glass-shadow);
    transform: translateZ(0);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base);
}

.feature-card:hover,
.feature-card:focus-within {
    transform: translateY(-8px) translateZ(0);
    border-color: rgba(255, 215, 0, 0.70);
    box-shadow:
        0 20px 40px rgba(43, 52, 61, 0.16),
        0 0 0 1px rgba(255, 215, 0, 0.30);
}

.feature-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-md);
    color: var(--color-secondary);
    background: rgba(94, 139, 126, 0.12);
}

.feature-card-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card-title {
    margin: 0 0 var(--space-xs);
    font-size: 20px;
    line-height: 1.3;
    color: var(--color-text);
}

.feature-card-text {
    margin: 0;
    font-size: 15px;
    line-height: var(--line-height-base);
    color: rgba(43, 52, 61, 0.78);
}

/* --- Steps / Cara Pemesanan --- */
.steps-section {
    background: var(--color-background);
}

.steps-wrap {
    position: relative;
}

/* Progress thread (gray track) */
.steps-thread {
    position: absolute;
    background: rgba(43, 52, 61, 0.10);
    border-radius: 999px;
    pointer-events: none;
}

/* Progress thread fill — grows with scroll via --steps-progress */
.steps-thread-fill {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    border-radius: 999px;
    transform-origin: left center;
    transform: scaleX(var(--steps-progress, 0));
}

.steps-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    position: relative;
}

.step-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid rgba(43, 52, 61, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base);
}

.step-card.is-active {
    border-color: rgba(75, 107, 138, 0.35);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
    background: var(--color-primary);
    will-change: transform;
}

.step-card.is-active .step-number {
    animation: step-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes step-pop {
    0% { transform: scale(1); }
    45% { transform: scale(1.28); }
    100% { transform: scale(1); }
}

.step-title {
    margin: 0 0 var(--space-xs);
    font-size: 20px;
    line-height: 1.3;
    color: var(--color-text);
}

.step-text {
    margin: 0;
    font-size: 15px;
    line-height: var(--line-height-base);
    color: rgba(43, 52, 61, 0.78);
}

/* --- Steps: mobile vertical timeline --- */
@media (max-width: 768px) {
    .steps-grid {
        gap: var(--space-lg);
    }

    .steps-thread {
        top: calc(var(--space-md) + 22px);
        bottom: calc(var(--space-md) + 22px);
        left: calc(var(--space-md) + 21px);
        width: 2px;
    }

    .steps-thread-fill {
        transform-origin: center top;
        transform: scaleY(var(--steps-progress, 0));
    }

    .step-card {
        display: grid;
        grid-template-columns: 44px 1fr;
        column-gap: var(--space-sm);
        text-align: left;
        padding: var(--space-md);
    }

    .step-number {
        grid-row: 1 / 3;
        margin-bottom: 0;
    }

    .step-title {
        grid-column: 2;
    }

    .step-text {
        grid-column: 2;
        line-height: 1.7;
    }
}

/* --- Steps: card lift on pointer devices --- */
@media (hover: hover) and (min-width: 769px) {
    .step-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
    }
}

/* ==========================================================================
   PRODUCT SHOWCASE — Interactive Thermal & Layer Showcase
   ========================================================================== */

.product-showcase {
    position: relative;
    padding: var(--space-2xl) 0;
    background: #070b14;
    overflow: hidden;
    scroll-margin-top: calc(var(--header-height) + 16px);
}

.product-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 45% at 50% -10%, rgba(255, 215, 0, 0.08), transparent 55%),
        radial-gradient(ellipse 40% 35% at 90% 90%, rgba(75, 107, 138, 0.12), transparent 50%);
    pointer-events: none;
}

.product-showcase-container {
    position: relative;
    z-index: 1;
}

.product-showcase-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-xl);
}

.product-eyebrow {
    display: inline-block;
    margin: 0 0 var(--space-sm);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--abs-gold);
}

.product-title {
    margin: 0 0 var(--space-sm);
    font-size: var(--font-size-h2);
    line-height: var(--line-height-heading);
    letter-spacing: -0.02em;
    background: linear-gradient(115deg, #ffffff 0%, #e7ecf2 45%, #9aa7b5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.product-subtitle {
    margin: 0;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: rgba(255, 255, 255, 0.62);
}

/* Pill switcher */
.product-pill-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.product-pill-track {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-pill-indicator {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 0;
    background: linear-gradient(135deg, #FFD700 0%, #FFC300 100%);
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.35);
    transition:
        transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1),
        width 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
    will-change: transform, width;
}

.product-tab {
    position: relative;
    z-index: 1;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.product-tab:hover {
    color: rgba(255, 255, 255, 0.90);
}

.product-tab.is-active {
    color: #0f172a;
}

.product-tab:focus-visible {
    outline: 2px solid var(--abs-gold);
    outline-offset: 2px;
}

/* Showcase grid */
.product-showcase-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-xl);
    align-items: center;
}

.product-visual-col {
    grid-column: span 6;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}

.product-visual-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: rgba(0, 150, 255, 0.14);
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
    transition: background var(--transition-slow);
}

.product-visual-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-xl);
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 32px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-visual-media {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-md);
    min-height: 180px;
}

.product-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    border-radius: var(--radius-md);
    display: block;
}

.product-icon-fallback {
    position: absolute;
    font-size: 48px;
    opacity: 0;
    pointer-events: none;
}

.product-image[src$=".jpg"] + .product-icon-fallback {
    opacity: 0;
}

.product-visual-title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.01em;
}

.product-visual-subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.62);
    max-width: 28em;
}

.product-specs-col {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.spec-card {
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.spec-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: var(--space-sm);
}

.spec-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.spec-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--abs-gold);
    white-space: nowrap;
}

.spec-bar-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    overflow: hidden;
}

.spec-bar-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #FFD700 0%, #FFEB8A 100%);
    border-radius: 999px;
    transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: width;
}

.spec-card-accent {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.spec-accent-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(255, 215, 0, 0.12);
    border-radius: 14px;
}

.spec-accent-kicker {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 4px;
}

.spec-accent-text {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-white);
}

.product-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

.btn-detail {
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(255, 255, 255, 0.30);
    text-decoration: none;
    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast);
}

.btn-detail:hover,
.btn-detail:focus {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--color-white);
}

.btn-pesan {
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    background: linear-gradient(135deg, #FFD700 0%, #FDB931 100%);
    text-decoration: none;
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.28);
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.btn-pesan:hover,
.btn-pesan:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.42);
    color: #0f172a;
}

@media (max-width: 1024px) {
    .product-showcase-grid {
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .product-showcase {
        padding: var(--space-xl) 0;
    }

    .product-pill-track {
        width: 100%;
        justify-content: space-between;
    }

    .product-tab {
        flex: 1;
        padding: 10px 12px;
        font-size: 13px;
        text-align: center;
    }

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

    .product-visual-col,
    .product-specs-col {
        grid-column: span 1;
    }

    .product-visual-col {
        min-height: 320px;
    }

    .product-visual-card {
        aspect-ratio: auto;
        min-height: 320px;
        padding: var(--space-lg);
    }

    .product-visual-media {
        min-height: 140px;
    }
}

/* ==========================================================================
   PROJECT SLIDER
   ========================================================================== */

.wow-projects-section {
    position: relative;
    padding: var(--space-2xl) 0;
    background: #0a0e17;
    overflow: hidden;
}

.wow-projects-section .section-title {
    color: var(--color-white);
}

.wow-projects-section .section-subtitle {
    color: rgba(255, 255, 255, 0.70);
}

.project-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: var(--space-xl);
    overflow: hidden;
}

.project-slider {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: var(--space-sm);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.project-slider::-webkit-scrollbar {
    display: none;
}

.project-slide {
    flex: 0 0 calc(33.333% - 11px);
    min-width: 280px;
    scroll-snap-align: center;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-md);
}

.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-slide:hover img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.10) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    pointer-events: none;
}

.project-overlay h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .project-slide {
        flex: 0 0 calc(50% - 8px);
    }
}

@media (max-width: 768px) {
    .project-slide {
        flex: 0 0 85%;
        min-width: 260px;
    }
}

/* --- CTA Banner (Dark Mode) --- */
.cta-banner {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    padding: calc(var(--space-2xl) + 24px) 0 var(--space-2xl);
    scroll-margin-top: calc(var(--header-height) + 16px);
    background: #050505;
    border-radius: clamp(44px, 6vw, 64px) clamp(44px, 6vw, 64px) 0 0;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}

/* Subtle gold glow at top for depth on dark */
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 215, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Interactive spotlight — follows cursor via --spot-x/--spot-y */
.cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(560px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, 0.08), transparent 45%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.cta-banner.spotlight-on::after {
    opacity: 1;
}

.cta-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
}

.cta-title {
    margin: 0 0 var(--space-sm);
    font-size: var(--font-size-h2);
    line-height: var(--line-height-heading);
    letter-spacing: -0.01em;
    background: linear-gradient(115deg, #ffffff 0%, #e7ecf2 45%, #9aa7b5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.cta-text {
    margin: 0 auto var(--space-lg);
    max-width: 34em;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: rgba(255, 255, 255, 0.72);
}

.cta-banner .btn-primary {
    border-color: rgba(255, 255, 255, 0.50);
}

/* Glow button — gold radiance that grows on hover */
.glow-btn {
    box-shadow:
        0 0 30px rgba(255, 204, 0, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.glow-btn:hover,
.glow-btn:focus {
    box-shadow:
        0 0 55px rgba(255, 204, 0, 0.60),
        0 12px 32px rgba(255, 204, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.70);
}

/* Periodic shimmer sweep across the CTA button */
.cta-banner .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
    transform: translateX(-180%) skewX(-20deg);
    animation: cta-shimmer 3.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cta-shimmer {
    0%, 55% { transform: translateX(-180%) skewX(-20deg); }
    95%, 100% { transform: translateX(320%) skewX(-20deg); }
}

/* --- Phase 5 Responsive: Tablet (769–1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {
    .section {
        padding: var(--space-2xl) 0;
    }

    .feature-card {
        padding: var(--space-lg);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .steps-grid .step-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 480px;
        width: 100%;
        margin: 0 auto;
    }

    .steps-thread {
        display: none;
    }

    .cta-banner {
        padding: var(--space-2xl) 0;
    }
}

/* --- Phase 5 Responsive: Desktop (1025px+) --- */
@media (min-width: 1025px) {
    .section {
        padding: var(--space-2xl) 0;
    }

    .feature-card {
        padding: var(--space-lg);
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }

    /* Horizontal thread through the number circles */
    .steps-thread {
        top: calc(var(--space-lg) + 22px);
        left: calc(100% / 6);
        right: calc(100% / 6);
        height: 2px;
    }

    .cta-banner {
        padding: var(--space-2xl) 0;
    }
}

/* --- Bento Grid: asymmetric feature layout (tablet + desktop) --- */
@media (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: var(--space-md);
    }

    .features-grid .feature-card:nth-child(1) { grid-column: span 7; }
    .features-grid .feature-card:nth-child(2) { grid-column: span 5; }
    .features-grid .feature-card:nth-child(3),
    .features-grid .feature-card:nth-child(4),
    .features-grid .feature-card:nth-child(5) { grid-column: span 4; }

    /* Card 6: full-width horizontal highlight card */
    .features-grid .feature-card:nth-child(6) {
        grid-column: span 12;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        column-gap: var(--space-md);
        align-items: center;
        text-align: left;
    }

    .features-grid .feature-card:nth-child(6) .feature-card-icon {
        grid-row: 1 / 3;
        margin-bottom: 0;
    }

    .features-grid .feature-card:nth-child(6) .feature-card-title {
        grid-column: 2;
        margin-bottom: 4px;
    }

    .features-grid .feature-card:nth-child(6) .feature-card-text {
        grid-column: 2;
    }
}

/* --- Glass: Mobile blur (perf) --- */
@media (max-width: 768px) {
    .feature-card {
        backdrop-filter: blur(var(--glass-blur-mobile)) saturate(180%);
        -webkit-backdrop-filter: blur(var(--glass-blur-mobile)) saturate(180%);
    }
}

/* --- Glass fallback: no backdrop-filter support --- */
@supports not (backdrop-filter: blur(20px)) {
    .feature-card {
        background: var(--color-background);
        border: 1px solid rgba(43, 52, 61, 0.12);
        box-shadow: var(--shadow-sm);
    }
}

/* ==========================================================================
   FAQ SECTION (LIQUID GLASS ACCORDION)
   ========================================================================== */

.wow-faq-section {
    background: #050505;
    padding: var(--space-2xl) 0;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: var(--space-xl);
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    overflow: hidden;
    transition: background var(--transition-base), border-color var(--transition-base);
}

.faq-item.is-open {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 215, 0, 0.35);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
    padding: 24px;
    background: none;
    border: none;
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover { color: var(--abs-gold); }
.faq-question:focus-visible { outline: 2px solid var(--abs-gold); outline-offset: -2px; }

.faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--abs-gold);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-icon::before { width: 2px; height: 14px; }
.faq-icon::after  { width: 14px; height: 2px; }

.faq-item.is-open .faq-icon::before { transform: rotate(90deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer p {
    margin: 0;
    padding: 0 24px 24px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 15px;
    line-height: var(--line-height-base);
}

@media (max-width: 768px) {
    .faq-question { font-size: 15px; padding: 18px 20px; }
    .faq-answer p { font-size: 14px; padding: 0 20px 20px; }
}

/* ==========================================================================
   FOOTER SECTION (LIGHT THEME)
   ========================================================================== */

.site-footer {
    background-color: var(--abs-bg);
    color: var(--color-text);
    padding: var(--space-2xl) 0 var(--space-md);
    border-top: 1px solid rgba(43, 52, 61, 0.10);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-md);
}

.footer-map-action {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--space-xl);
}

.footer-brand img,
.footer-brand .footer-logo-wrap img,
.footer-brand .custom-logo-link img {
    max-width: 180px;
    height: auto;
    margin-bottom: var(--space-md);
    filter: none !important;
    -webkit-filter: none !important;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg) 16px;
        text-align: left;
    }

    .footer-brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 16px;
    }

    .footer-brand img,
    .footer-brand .footer-logo-wrap,
    .footer-logo-text {
        margin-bottom: 0;
    }

    .footer-desc {
        margin: 0;
        font-size: 13px;
        line-height: 1.4;
    }

    .footer-links ul { align-items: flex-start; }

    .footer-map-action {
        justify-content: center;
        margin-top: var(--space-md);
        margin-bottom: var(--space-lg);
    }
}

/* ==========================================================================
   PRODUCT PAGE (WOW HERO & PREMIUM GLASS)
   ========================================================================== */

.product-single {
    padding-top: var(--space-lg);
    background: #050505;
}

.breadcrumb {
    margin-bottom: var(--space-xl);
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.breadcrumb a {
    color: var(--abs-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.80); }

/* Hero Auto Slider */
.wow-product-hero-slider {
    position: relative;
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl) 0;
    min-height: 550px;
    display: flex;
    flex-direction: column;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
    position: relative;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.hero-dot.is-active {
    background: var(--abs-gold);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .hero-slide { grid-template-columns: 1fr; gap: var(--space-lg); }
}

/* WOW PRODUCT HERO */
.wow-product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl) 0;
}

.hero-image-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 360px;
}

.hero-glow-backdrop {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.hero-main-image {
    position: relative;
    z-index: 1;
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,0.60));
}
.hero-main-image.woven-enlarged {
    max-width: 100% !important;
    width: 100%;
}

.floating-anim {
    animation: float-up-down 6s ease-in-out infinite;
}

@keyframes float-up-down {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.brand-eyebrow {
    color: var(--abs-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-giant-title {
    font-size: clamp(36px, 5vw, 56px);
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
}

.hero-badges-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.glass-badge strong { color: var(--abs-gold); }
.badge-icon { font-size: 16px; }

.hero-desc-text {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 90%;
}

.hero-action-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* PREMIUM GLASS CALCULATOR */
.wow-calculator-section {
    margin-bottom: var(--space-2xl);
}

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

.glass-calculator-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.40);
}

.calc-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.input-row-flex {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.input-row-flex .input-group { flex: 1; }

.input-group label {
    display: block;
    color: rgba(255, 255, 255, 0.80);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.premium-glass-input {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.40);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-family: var(--font-family);
    transition: all var(--transition-base);
    box-sizing: border-box;
    outline: none;
}

.premium-glass-input:focus {
    border-color: var(--abs-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}

select.premium-glass-input { appearance: none; -webkit-appearance: none; cursor: pointer; }
select.premium-glass-input option { background: #1a1a1a; color: #fff; }

.premium-result-box {
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.10), transparent 70%), rgba(0, 0, 0, 0.30);
    border: 1px dashed rgba(255, 215, 0, 0.40);
    border-radius: 16px;
    padding: 32px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    transition: all var(--transition-base);
}

.calc-result-text { font-size: 16px; color: #fff; line-height: 1.8; }
.calc-result-text strong { color: var(--abs-gold); font-size: 22px; display: block; margin: 4px 0 12px; }

@media (max-width: 768px) {
    .wow-product-hero { grid-template-columns: 1fr; gap: var(--space-lg); }
    .hero-giant-title { font-size: 32px; }
    .hero-desc-text { max-width: 100%; }
    .calc-grid-layout { grid-template-columns: 1fr; gap: 24px; }
    .input-row-flex { flex-direction: column; }
    .glass-calculator-panel { padding: 20px 16px; }
}

/* ==========================================================================
   PRODUCT PAGE UI (CALCULATOR, SEO ARTICLE, RELATED)
   ========================================================================== */

.text-white { color: #fff; }
.text-gray { color: rgba(255,255,255,0.7); }

.product-brand-eyebrow {
    color: var(--abs-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.quick-specs-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.spec-badge {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    color: rgba(255,255,255,0.80);
}

.spec-badge strong { color: var(--abs-gold); }

.product-calculator-section {
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    background: radial-gradient(circle at 10% 50%, rgba(75, 107, 138, 0.10), transparent 60%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.05);
}

.calculator-glass-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: var(--space-lg);
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group label {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0,0,0,0.30);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: border-color var(--transition-base);
    box-sizing: border-box;
}

.input-group input:focus { border-color: var(--abs-gold); }

.input-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0,0,0,0.50);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: border-color var(--transition-base);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    box-sizing: border-box;
}

.input-group select:focus { border-color: var(--abs-gold); }
.input-group select option { background: #050505; color: #fff; }

.calc-result-box {
    background: rgba(255,215,0,0.05);
    border: 1px dashed rgba(255,215,0,0.30);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 120px;
}

.calc-placeholder { color: rgba(255,255,255,0.40); font-style: italic; }
.calc-result-text { color: #fff; font-size: 16px; line-height: 1.6; }
.calc-result-text strong { color: var(--abs-gold); font-size: 18px; }
.calc-note-warn { color: #FFA07A; font-size: 13px; display: block; margin-top: 8px; }
.calc-note-success { color: #98FB98; font-size: 13px; display: block; margin-top: 8px; }

.seo-article-section {
    margin-bottom: var(--space-2xl);
    position: relative;
}

.seo-article-wrapper {
    position: relative;
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.seo-article-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to top, #050505 20%, transparent);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.seo-article-wrapper.is-expanded { max-height: 8000px; }
.seo-article-wrapper.is-expanded::after { opacity: 0; }

.article-heading { color: #fff; font-size: 24px; margin-bottom: 16px; }
.article-content p { color: rgba(255,255,255,0.70); line-height: 1.8; margin-bottom: 16px; }

.btn-read-more {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.20);
    color: #fff;
    padding: 10px 24px;
    border-radius: 999px;
    cursor: pointer;
    margin: 16px auto 0;
    display: block;
    font-weight: 600;
    font-family: var(--font-family);
    transition: all var(--transition-base);
}

.btn-read-more:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--abs-gold);
    color: var(--abs-gold);
}

.related-products-section { margin-bottom: var(--space-2xl); }

.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.related-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    text-decoration: none;
    transition: transform var(--transition-base), border-color var(--transition-base);
    display: block;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,215,0,0.30);
}

.related-img {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.related-img img { max-height: 100%; object-fit: contain; }
.related-card h4 { color: #fff; margin: 0 0 8px; }
.related-card p { color: rgba(255,255,255,0.60); font-size: 14px; margin: 0; }

@media (max-width: 768px) {
    .calculator-glass-panel { grid-template-columns: 1fr; gap: 16px; }
    .related-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SMART FLOATING WHATSAPP (RUBBER PHYSICS & SUBTLE PULSE)
   ========================================================================== */

.wa-smart-wrapper {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    transform-origin: center center;
    will-change: transform;
}

.wow-smart-wa {
    display: flex;
    align-items: center;
    background: #25D366 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    padding: 6px;
    text-decoration: none;
    transition: padding 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    position: relative;
}

.wow-smart-wa::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    transition: opacity 0.2s ease;
}

.wa-smart-wrapper.wa-pulsing .wow-smart-wa::after {
    animation: wa-liquid-pulse 3.4s ease-out infinite;
}

@keyframes wa-liquid-pulse {
    0% {
        opacity: 0;
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
    15% {
        opacity: 1;
        box-shadow: 0 0 5px 2px rgba(37, 211, 102, 0.24);
    }
    45% {
        opacity: 0.75;
        box-shadow: 0 0 15px 6px rgba(37, 211, 102, 0.16);
    }
    75% {
        opacity: 0.35;
        box-shadow: 0 0 25px 10px rgba(37, 211, 102, 0.08);
    }
    100% {
        opacity: 0;
        box-shadow: 0 0 32px 14px rgba(37, 211, 102, 0);
    }
}

.wa-smart-wrapper.wa-pulsing .wow-smart-wa {
    background: linear-gradient(145deg, rgba(77, 235, 139, 0.95), rgba(37, 211, 102, 0.92)) !important;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.45),
        inset 0 -3px 8px rgba(0, 100, 55, 0.16),
        0 8px 26px rgba(37, 211, 102, 0.22) !important;
}

.wa-icon-container {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    position: relative;
}

.wa-svg { width: 28px; height: 28px; color: #fff; }

.wow-smart-wa:active {
    transform: scaleX(1.10) scaleY(0.88) !important;
    transition: transform 80ms ease-out !important;
}

.wa-dynamic-text {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.wow-smart-wa:hover,
.wow-smart-wa.wa-auto-expand {
    padding-right: 20px;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.40) !important;
}

.wow-smart-wa:hover .wa-dynamic-text,
.wow-smart-wa.wa-auto-expand .wa-dynamic-text {
    max-width: 250px;
    opacity: 1;
    padding-left: 12px;
}

@media (max-width: 768px) {
    .wa-smart-wrapper { bottom: 24px; right: 24px; }
    .wow-smart-wa:hover:not(.wa-auto-expand) { padding-right: 6px; }
    .wow-smart-wa:hover:not(.wa-auto-expand) .wa-dynamic-text { max-width: 0; opacity: 0; padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .wow-smart-wa::after {
        animation: none;
        display: none;
    }
}

/* ==========================================================================
   LIQUID GLASS SYSTEM (DESKTOP, TABLET, MOBILE)
   ========================================================================== */

.btn-liquid-glass {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    overflow: hidden;
    text-decoration: none;
    will-change: transform, border-radius;
    transition: transform 0.2s cubic-bezier(0.1, 1, 0.2, 1), border-radius 0.15s ease-out;
}

.btn-liquid-glass svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.btn-liquid-glass span {
    position: relative;
    z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
    .btn-liquid-glass::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle 80px at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, 0.35), transparent 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1;
        pointer-events: none;
    }
    .btn-liquid-glass:hover::before { opacity: 1; }
}

@media (max-width: 767px) {
    .btn-liquid-glass:active {
        transform: scale(0.94);
        border-radius: 40px !important;
    }
}

.wa-ripple-burst {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, transparent 60%);
    transform: scale(0);
    animation: burst-liquid 0.6s ease-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes burst-liquid {
    to { transform: scale(2.5); opacity: 0; }
}
.wow-maps-section {
    background: #050505;
    padding-bottom: var(--space-2xl);
}

.maps-glass-frame {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-lg);
    padding: 10px;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.50);
    transition: border-color var(--transition-base);
}

.maps-glass-frame:hover {
    border-color: rgba(255, 215, 0, 0.30);
}

.maps-glass-frame iframe {
    display: block;
    border-radius: calc(var(--radius-lg) - 6px);
    filter: opacity(0.85) contrast(1.1);
    transition: filter var(--transition-base);
    width: 100%;
    height: 450px;
}

.maps-glass-frame:hover iframe {
    filter: opacity(1) contrast(1.1);
}

@media (max-width: 768px) {
    .maps-glass-frame iframe { height: 300px; }
}
