/* ========================================
   Falls Concept — Premium Animated Site
   ======================================== */

:root {
    --primary: #0a0f1a;
    --secondary: #111827;
    --accent: #4da8da;
    --accent-light: #7ec8e3;
    --accent-glow: rgba(77, 168, 218, 0.3);
    --steel: #c0c0c0;
    --steel-light: #e0e0e0;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --white: #ffffff;
    --bg: #f9fafb;
    --bg-alt: #f1f5f9;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --radius: 12px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero .container { max-width: 1600px; padding: 0 80px; }

/* ========================================
   Cursor Glow
   ======================================== */
.cursor-glow {
    display: none;
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(77,168,218,0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

.cursor-glow.active {
    opacity: 1;
}

/* ========================================
   Cursor Water Trail
   ======================================== */
.water-trail-drop {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: radial-gradient(ellipse at 35% 25%,
        rgba(180, 220, 240, 0.9),
        rgba(77, 168, 218, 0.6) 50%,
        rgba(77, 168, 218, 0.2)
    );
    box-shadow: 0 0 6px rgba(77, 168, 218, 0.4), inset 0 -1px 3px rgba(255,255,255,0.3);
    transform-origin: center center;
    will-change: transform, opacity, top;
}

.water-trail-drop::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 25%;
    width: 30%;
    height: 20%;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
}

/* ========================================
   Scroll Water Fill
   ======================================== */
.scroll-water-fill {
    position: fixed;
    top: 0;
    right: 0;
    width: 4px;
    height: 100vh;
    z-index: 9998;
    background: rgba(0,0,0,0.06);
    overflow: hidden;
}

.scroll-water-level {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, var(--accent), var(--accent-light), rgba(126, 200, 227, 0.6));
    transition: height 0.15s ease-out;
    border-radius: 2px 2px 0 0;
}

.scroll-water-glow {
    position: absolute;
    top: 0;
    left: -3px;
    right: -3px;
    height: 20px;
    background: radial-gradient(ellipse at center, var(--accent-glow), transparent);
    filter: blur(3px);
    border-radius: 50%;
}

.scroll-water-bubble {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(126, 200, 227, 0.7);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBubbleRise 2s ease-out forwards;
    pointer-events: none;
}

@keyframes scrollBubbleRise {
    0% { opacity: 0.8; transform: translateX(-50%) translateY(0) scale(1); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-40px) scale(0.3); }
}

/* ========================================
   Loader
   ======================================== */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}

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

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

.loader-water {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.loader-drop {
    width: 8px;
    height: 32px;
    background: var(--accent);
    border-radius: 4px;
    animation: loaderDrop 1s ease-in-out infinite;
}

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

@keyframes loaderDrop {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(2); opacity: 1; }
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 0.1em;
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0,0,0,0.08);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-falls { color: var(--white); transition: color 0.4s; }
.logo-concept { color: var(--accent-light); transition: color 0.4s; }
.navbar.scrolled .logo-falls { color: var(--primary); }
.navbar.scrolled .logo-concept { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    transition: all 0.3s;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}

.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-links a:hover { color: var(--white); }
.navbar.scrolled .nav-links a { color: var(--text-light); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }

.btn-nav {
    background: rgba(255,255,255,0.1) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius) !important;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease) !important;
}

.btn-nav:hover { background: rgba(255,255,255,0.2) !important; transform: translateY(-1px); }
.btn-nav::after { display: none !important; }
.navbar.scrolled .btn-nav { background: var(--accent) !important; color: var(--white) !important; border-color: var(--accent) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; border-radius: 2px; }
.navbar.scrolled .nav-toggle span { background: var(--primary); }

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    margin-left: 16px;
    z-index: 1001;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s var(--ease);
}

.navbar.scrolled .lang-toggle {
    color: var(--text);
    border-color: rgba(0,0,0,0.15);
}

.lang-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.lang-toggle svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.lang-chevron {
    width: 10px !important;
    height: 10px !important;
    transition: transform 0.3s var(--ease);
}

.lang-dropdown.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    padding: 6px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s var(--ease);
}

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

.lang-option {
    display: block;
    width: 100%;
    padding: 8px 14px;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text);
    text-align: left;
    transition: all 0.2s;
}

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

.lang-option.active {
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
}

/* Mobile lang dropdown */
@media (max-width: 768px) {
    .lang-dropdown {
        position: static;
        transform: none;
        margin-left: auto;
        margin-right: 0;
    }

    .nav-toggle {
        margin-left: 12px;
        order: 3;
    }

    .lang-dropdown {
        order: 2;
    }

    .lang-toggle {
        padding: 5px 8px;
        font-size: 0.75rem;
    }

    .lang-options {
        right: -12px;
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: #3d98ca;
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 4px 25px var(--accent-glow);
}

.btn-glow:hover {
    box-shadow: 0 8px 40px rgba(77, 168, 218, 0.5);
}

.btn-outline {
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-sm { padding: 12px 24px; font-size: 0.85rem; }
.btn-lg { padding: 18px 44px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* Ripple effect */
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #060a12 0%, #0c1524 30%, #122236 60%, #0c1524 100%);
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.35;
}

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

.hero-particle {
    position: absolute;
    width: 10px;
    height: 14px;
    background: radial-gradient(ellipse at 40% 30%, rgba(126, 200, 227, 0.9), rgba(77, 168, 218, 0.6) 50%, rgba(77, 168, 218, 0.2));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0;
    animation: floatParticle 6s ease-in-out infinite;
    filter: blur(0.3px);
    box-shadow: 0 0 6px rgba(77, 168, 218, 0.3), inset 0 -2px 4px rgba(255,255,255,0.2);
}

.hero-particle::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 25%;
    width: 35%;
    height: 25%;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    filter: blur(0.5px);
}

@keyframes floatParticle {
    0% { opacity: 0; transform: translateY(100vh) scale(0.3) rotate(0deg); }
    10% { opacity: 0.7; transform: translateY(80vh) scale(0.8) rotate(-5deg); }
    30% { transform: translateY(55vh) scale(1) rotate(3deg); }
    50% { opacity: 0.8; transform: translateY(40vh) scale(1.1) rotate(-3deg); }
    70% { transform: translateY(20vh) scale(1) rotate(2deg); }
    90% { opacity: 0.5; transform: translateY(5vh) scale(0.9) rotate(-2deg); }
    100% { opacity: 0; transform: translateY(-10vh) scale(0.5) rotate(0deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(77, 168, 218, 0.1);
    border: 1px solid rgba(77, 168, 218, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
    margin-bottom: 28px;
}

.title-line {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.title-line:nth-child(1) {
    font-size: clamp(2.5rem, 6vw, 6rem);
    color: var(--white);
}

.title-line:nth-child(2) {
    font-size: clamp(3rem, 9vw, 8.5rem);
    -webkit-text-stroke: 2px rgba(255,255,255,0.4);
    color: transparent;
}

.title-line:nth-child(3) {
    font-size: clamp(2.5rem, 6vw, 6rem);
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.55);
    max-width: 720px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.1);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 80px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: bobScroll 2s ease-in-out infinite;
}

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

.mouse {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-wheel {
    width: 3px;
    height: 10px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

/* ========================================
   Marquee
   ======================================== */
.marquee-section {
    background: var(--primary);
    padding: 20px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.25);
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.marquee-dot {
    width: 6px !important;
    height: 6px !important;
    background: var(--accent) !important;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.4;
}

/* ========================================
   Reveal Animations
   ======================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--delay, 0s);
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--delay, 0s);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   Section Styles
   ======================================== */
.section { padding: 120px 0; }

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========================================
   About Section
   ======================================== */
.about { background: var(--bg); }

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

.about-left .section-title { text-align: left; }

.about-lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-body {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-cards { display: flex; flex-direction: column; gap: 20px; }

.about-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: height 0.4s var(--ease);
}

.about-card:hover::before { height: 100%; }
.about-card:hover { transform: translateX(8px); box-shadow: 0 10px 40px rgba(0,0,0,0.08); }

.about-card-icon {
    position: relative;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
}

.about-card-icon svg {
    width: 28px;
    height: 28px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent);
    z-index: 1;
}

.icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(77, 168, 218, 0.08);
    transition: transform 0.4s var(--ease);
}

.about-card:hover .icon-ring { transform: scale(1.2); }

.about-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   Products Section
   ======================================== */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    padding: 40px 0;
}

.product-showcase.reverse { direction: rtl; }
.product-showcase.reverse > * { direction: ltr; }

.product-visual { position: relative; }

.product-3d-card {
    background: linear-gradient(145deg, #e8edf2, #d0d8e4);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.product-3d-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.product-3d-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, transparent 50%);
    pointer-events: none;
}

.product-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 800;
    color: rgba(77, 168, 218, 0.07);
    line-height: 1;
    pointer-events: none;
}

/* Product Illustrations */
.product-illustration {
    position: relative;
    width: 100%;
    height: 200px;
}

/* Cascade Blade */
.cascade-blade-illust .steel-body {
    position: absolute;
    top: 30%;
    left: 10%;
    width: 80%;
    height: 16px;
    background: linear-gradient(180deg, #e0e0e0, #b0b0b0, #d0d0d0);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cascade-blade-illust .water-sheet {
    position: absolute;
    top: calc(30% + 16px);
    left: 12%;
    width: 76%;
    height: 55%;
    background: linear-gradient(180deg, rgba(77,168,218,0.4), rgba(77,168,218,0.05));
    border-radius: 0 0 4px 4px;
    animation: waterFlow 2s ease-in-out infinite;
}

@keyframes waterFlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Arc Spout */
.arc-spout-illust .steel-tube {
    position: absolute;
    top: 20%;
    left: 15%;
    width: 60px;
    height: 16px;
    background: linear-gradient(180deg, #e0e0e0, #b0b0b0, #d0d0d0);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.arc-spout-illust .water-arc {
    position: absolute;
    top: 15%;
    left: calc(15% + 50px);
    width: 55%;
    height: 65%;
    border: 3px solid rgba(77,168,218,0.4);
    border-color: rgba(77,168,218,0.4) transparent transparent transparent;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    animation: arcFlow 3s ease-in-out infinite;
}

@keyframes arcFlow {
    0%, 100% { opacity: 0.6; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.05); }
}

/* Rain Curtain */
.rain-curtain-illust .steel-header {
    position: absolute;
    top: 15%;
    left: 10%;
    width: 80%;
    height: 20px;
    background: linear-gradient(180deg, #e0e0e0, #b0b0b0, #d0d0d0);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.rain-drops {
    position: absolute;
    top: calc(15% + 20px);
    left: 12%;
    width: 76%;
    height: 70%;
}

.rain-drops span {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, rgba(77,168,218,0.6), rgba(77,168,218,0));
    border-radius: 2px;
    animation: rainDrop 1.5s ease-in infinite;
}

.rain-drops span:nth-child(1) { left: 5%; animation-delay: 0s; }
.rain-drops span:nth-child(2) { left: 14%; animation-delay: 0.2s; }
.rain-drops span:nth-child(3) { left: 23%; animation-delay: 0.4s; }
.rain-drops span:nth-child(4) { left: 32%; animation-delay: 0.1s; }
.rain-drops span:nth-child(5) { left: 41%; animation-delay: 0.3s; }
.rain-drops span:nth-child(6) { left: 50%; animation-delay: 0.5s; }
.rain-drops span:nth-child(7) { left: 59%; animation-delay: 0.15s; }
.rain-drops span:nth-child(8) { left: 68%; animation-delay: 0.35s; }
.rain-drops span:nth-child(9) { left: 77%; animation-delay: 0.25s; }
.rain-drops span:nth-child(10) { left: 86%; animation-delay: 0.45s; }
.rain-drops span:nth-child(11) { left: 95%; animation-delay: 0.1s; }
.rain-drops span:nth-child(12) { left: 50%; animation-delay: 0.55s; }

@keyframes rainDrop {
    0% { transform: translateY(0); opacity: 0.8; }
    100% { transform: translateY(100px); opacity: 0; }
}

/* Cascade Weir */
.weir-illust .steel-weir {
    position: absolute;
    top: 25%;
    left: 5%;
    width: 90%;
    height: 24px;
    background: linear-gradient(180deg, #d8d8d8, #b0b0b0, #c8c8c8, #a8a8a8);
    border-radius: 3px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.weir-illust .water-overflow {
    position: absolute;
    top: calc(25% + 24px);
    left: 7%;
    width: 86%;
    height: 55%;
    background: linear-gradient(180deg, rgba(77,168,218,0.5), rgba(77,168,218,0.1), rgba(77,168,218,0.02));
    animation: weirFlow 2.5s ease-in-out infinite;
}

@keyframes weirFlow {
    0%, 100% { opacity: 0.6; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.02); }
}

/* Water particles (shared) */
.water-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(77, 168, 218, 0.5);
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

.water-particles span:nth-child(1) { top: 60%; left: 20%; animation-delay: 0s; }
.water-particles span:nth-child(2) { top: 70%; left: 40%; animation-delay: 0.4s; }
.water-particles span:nth-child(3) { top: 50%; left: 60%; animation-delay: 0.8s; }
.water-particles span:nth-child(4) { top: 80%; left: 75%; animation-delay: 0.2s; }
.water-particles span:nth-child(5) { top: 65%; left: 85%; animation-delay: 0.6s; }

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1.5); }
}

.product-details { padding: 20px 0; }

.product-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(77, 168, 218, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.product-details h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.product-details > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 28px;
}

.product-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.spec-item {
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.spec-item:hover {
    background: var(--bg-alt);
    transform: translateY(-2px);
}

.spec-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.spec-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

/* ========================================
   Finishes Section
   ======================================== */
.finishes { background: var(--primary); color: var(--white); overflow: hidden; }
.finishes .section-tag { color: var(--accent-light); }
.finishes .section-title { color: var(--white); }
.finishes .section-desc { color: rgba(255,255,255,0.5); }

.finish-comparison {
    display: flex;
    gap: 24px;
    align-items: center;
}

.finish-panel {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.finish-panel:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

.finish-surface {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.polished-surface {
    background: linear-gradient(135deg, #404040 0%, #808080 20%, #e0e0e0 35%, #ffffff 50%, #c0c0c0 65%, #909090 80%, #606060 100%);
}

.finish-shine {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.4) 45%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.4) 55%, transparent 60%);
    animation: shineMove 4s ease-in-out infinite;
}

@keyframes shineMove {
    0% { transform: translateX(-30%) translateY(-30%); }
    50% { transform: translateX(30%) translateY(30%); }
    100% { transform: translateX(-30%) translateY(-30%); }
}

.finish-reflection {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(77, 168, 218, 0.15), transparent);
}

.brushed-surface {
    background:
        repeating-linear-gradient(90deg,
            rgba(255,255,255,0.0) 0px,
            rgba(255,255,255,0.07) 1px,
            rgba(255,255,255,0.0) 2px,
            rgba(255,255,255,0.04) 3px,
            rgba(255,255,255,0.0) 4px,
            rgba(255,255,255,0.06) 6px,
            rgba(255,255,255,0.0) 7px,
            rgba(255,255,255,0.03) 9px,
            rgba(255,255,255,0.0) 10px
        ),
        repeating-linear-gradient(90deg,
            rgba(0,0,0,0.0) 0px,
            rgba(0,0,0,0.08) 2px,
            rgba(0,0,0,0.0) 3px,
            rgba(0,0,0,0.05) 5px,
            rgba(0,0,0,0.0) 7px
        ),
        linear-gradient(180deg, #686868 0%, #808080 25%, #707070 50%, #858585 75%, #6e6e6e 100%);
}

.finish-grain {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg,
            rgba(255,255,255,0.02) 0px, transparent 1px, transparent 2px,
            rgba(255,255,255,0.04) 3px, transparent 4px, transparent 6px
        );
}

.brushed-surface::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(90deg, transparent 38%, rgba(255,255,255,0.12) 44%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.12) 56%, transparent 62%);
    animation: brushedSweep 6s ease-in-out infinite;
}

.brushed-surface::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(77, 168, 218, 0.08), transparent);
    pointer-events: none;
}

@keyframes brushedSweep {
    0% { transform: translateX(-30%) translateY(-20%); }
    50% { transform: translateX(30%) translateY(20%); }
    100% { transform: translateX(-30%) translateY(-20%); }
}

.finish-content {
    padding: 32px;
}

.finish-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.finish-content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 20px;
}

.finish-list { display: flex; flex-direction: column; gap: 10px; }

.finish-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}

.check-icon {
    width: 20px;
    height: 20px;
    background: rgba(77, 168, 218, 0.15);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.check-icon::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 7px;
    width: 5px;
    height: 9px;
    border: solid var(--accent-light);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.finish-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.finish-vs span {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
}

/* ========================================
   Parallax Band
   ======================================== */
.parallax-band {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: -20%;
    background: linear-gradient(135deg, #0a1628, #152238, #1a3050);
    z-index: 0;
}

.parallax-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.parallax-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.2;
}

.parallax-content em {
    font-style: italic;
    color: var(--accent-light);
}

/* ========================================
   Gallery
   ======================================== */
.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.5s var(--ease);
}

.gallery-item:hover { z-index: 2; }

.gi-1 { grid-column: span 7; grid-row: span 2; }
.gi-2 { grid-column: span 5; grid-row: span 1; }
.gi-3 { grid-column: span 5; grid-row: span 1; }
.gi-4 { grid-column: span 6; grid-row: span 1; }
.gi-5 { grid-column: span 6; grid-row: span 1; }

.gallery-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.6s var(--ease);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0;
    transition: opacity 0.4s;
}

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

.gallery-label {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
}

.gallery-sub {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* ========================================
   How It Works / Timeline
   ======================================== */
.how-it-works { background: var(--bg); }

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.timeline-line { display: none; }
.timeline-progress { display: none; }

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 28px 36px;
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s var(--ease);
    overflow: hidden;
}

.timeline-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
}

.timeline-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(77, 168, 218, 0.12), 0 8px 20px rgba(0,0,0,0.06);
    border-color: rgba(77, 168, 218, 0.15);
}

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

.step-dot {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(77, 168, 218, 0.08), rgba(77, 168, 218, 0.04));
    border: 2px solid rgba(77, 168, 218, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s var(--ease);
    z-index: 1;
    margin-bottom: 20px;
}

.step-dot span {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
    transition: all 0.4s;
}

.timeline-step:hover .step-dot {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 8px 30px var(--accent-glow);
    border-radius: 50%;
}

.timeline-step:hover .step-dot span { color: var(--white); }

.step-content h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 600px) {
    .timeline { grid-template-columns: 1fr; max-width: 400px; }
}

/* ========================================
   Contact Section
   ======================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-left .section-title { text-align: left; }

.contact-lead {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-info-items { display: flex; flex-direction: column; gap: 24px; }

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--bg);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
}

.contact-info-item:hover {
    background: var(--bg-alt);
    transform: translateX(8px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(77, 168, 218, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg { width: 22px; height: 22px; color: var(--accent); }

.ci-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.ci-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
}

.contact-form {
    background: var(--white);
    padding: 44px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group { position: relative; }

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text);
    background: var(--white);
    transition: all 0.3s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(77, 168, 218, 0.1);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group:last-child { margin-bottom: 28px; }

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #060a12;
    color: rgba(255,255,255,0.5);
    padding: 72px 0 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo-footer { font-size: 2rem; }

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
    margin-top: 16px;
}

.footer-links-group { display: flex; gap: 64px; }

.footer-col h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.88rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom { padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .about-layout { grid-template-columns: 1fr; gap: 48px; }
    .product-showcase { grid-template-columns: 1fr; gap: 40px; }
    .product-showcase.reverse { direction: ltr; }
    .contact-layout { grid-template-columns: 1fr; }
    .finish-comparison { flex-direction: column; }
    .finish-vs span { transform: rotate(90deg); }
    .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
    .gi-1, .gi-2, .gi-3, .gi-4, .gi-5 { grid-column: span 1; grid-row: span 1; }
    .gi-1 { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 768px) {
    .logo { margin-right: auto; }
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
    .nav-links.open { display: flex; }
    .nav-links a { color: var(--text) !important; font-size: 1rem; }
    .nav-links a::after { display: none; }
    .btn-nav { background: var(--accent) !important; color: var(--white) !important; border-color: var(--accent) !important; text-align: center; }

    .hero { padding-top: 80px; }
    .hero .container { padding: 0 24px; }
    .section { padding: 80px 0; }
    .hero-content { padding: 0; }
    .hero-scroll-indicator { display: none; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .stat-divider { display: none; }

    .product-number { font-size: 5rem; }
    .product-specs-grid { grid-template-columns: 1fr; }

    .gallery-mosaic { grid-template-columns: 1fr; }
    .gi-1 { grid-column: span 1; }

    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 28px; }

    .footer-top { flex-direction: column; }
    .footer-links-group { gap: 40px; }

    .cursor-glow { display: none; }
    .scroll-water-fill { width: 3px; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { justify-content: center; }
}

/* ========================================
   Page Hero (subpages)
   ======================================== */
.page-hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(160deg, #060a12 0%, #0c1524 30%, #122236 60%, #0c1524 100%);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(77, 168, 218, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(192, 192, 192, 0.05) 0%, transparent 50%);
}

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

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.page-hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero .section-tag { color: var(--accent-light); }

.page-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    max-width: 520px;
}

/* Active nav link */
.nav-links a.active { color: var(--accent) !important; }
.nav-links a.active::after { width: 100%; }

/* ========================================
   Product Preview Grid (homepage)
   ======================================== */
.products-preview { background: var(--white); }

.preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.preview-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 32px 24px 28px;
    text-align: center;
    transition: all 0.4s var(--ease);
    border: 1px solid transparent;
    cursor: pointer;
}

.preview-card:hover {
    background: var(--white);
    border-color: rgba(77, 168, 218, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.preview-card-visual {
    height: 160px;
    margin-bottom: 20px;
    position: relative;
}

.preview-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.preview-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ========================================
   Gallery Preview (homepage)
   ======================================== */
.gallery-preview { background: var(--white); }

.gallery-mosaic-sm {
    grid-auto-rows: 260px;
    margin-bottom: 0;
}

.gallery-mosaic-sm .gi-1 { grid-column: span 5; grid-row: span 1; }
.gallery-mosaic-sm .gi-2 { grid-column: span 4; grid-row: span 1; }
.gallery-mosaic-sm .gi-3 { grid-column: span 3; grid-row: span 1; }

/* ========================================
   Values Section (about page)
   ======================================== */
.values-section { background: var(--white); }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    background: var(--bg);
    border: 1px solid transparent;
    transition: all 0.4s var(--ease);
}

.value-card:hover {
    background: var(--white);
    border-color: rgba(77, 168, 218, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.value-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 16px;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   Stats Band (about page)
   ======================================== */
.stats-band {
    background: var(--primary);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-block { padding: 20px; }

.stat-number-lg {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-plus-lg {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent);
}

.stat-label-lg {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
}

/* ========================================
   Gallery Full Page
   ======================================== */
.gallery-full { background: var(--bg); }

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1.5px solid #ddd;
    background: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item-full {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    min-height: 280px;
    transition: all 0.5s var(--ease);
}

.gallery-item-full:hover { z-index: 2; }
.gallery-item-full:hover .gallery-bg { transform: scale(1.05); }
.gallery-item-full:hover .gallery-overlay { opacity: 1; }

.gallery-item-full .gallery-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item-full .gallery-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.6s var(--ease);
}

.gi-full-wide {
    grid-column: span 2;
}

.gallery-item-full.hidden {
    display: none;
}

/* Parallax sub text */
.parallax-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 28px;
}

/* ========================================
   FAQ Section (contact page)
   ======================================== */
.faq-section { background: var(--bg); }

.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.3s var(--ease);
}

.faq-item:hover {
    border-color: rgba(77, 168, 218, 0.2);
}

.faq-item.open {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(77, 168, 218, 0.1);
}

.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    transition: color 0.3s;
}

.faq-toggle:hover { color: var(--accent); }

.faq-toggle svg {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
    color: var(--text-muted);
}

.faq-item.open .faq-toggle svg {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
    padding: 0 24px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   Responsive — Subpages
   ======================================== */
@media (max-width: 1024px) {
    .preview-grid { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid-full { grid-template-columns: 1fr 1fr; }
    .gi-full-wide { grid-column: span 2; }
    .gallery-mosaic-sm { grid-template-columns: 1fr 1fr; }
    .gallery-mosaic-sm .gi-1,
    .gallery-mosaic-sm .gi-2,
    .gallery-mosaic-sm .gi-3 { grid-column: span 1; }
    .gallery-mosaic-sm .gi-1 { grid-column: span 2; }
}

@media (max-width: 768px) {
    .page-hero { padding: 120px 0 60px; }
    .preview-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid-full { grid-template-columns: 1fr; }
    .gi-full-wide { grid-column: span 1; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .gallery-mosaic-sm { grid-template-columns: 1fr; }
    .gallery-mosaic-sm .gi-1 { grid-column: span 1; }
    .gallery-filters { gap: 8px; }
    .filter-btn { padding: 8px 16px; font-size: 0.8rem; }
}

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

/* ========================================
   Page Transitions
   ======================================== */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
}

.page-transition.pt-enter {
    pointer-events: all;
}

.pt-wave {
    position: absolute;
    left: 0;
    right: 0;
    height: 34%;
    background: var(--primary);
    transform: translateY(0%);
}

.pt-wave-1 { bottom: 0; }
.pt-wave-2 { bottom: 33%; }
.pt-wave-3 { bottom: 66%; }

.pt-enter .pt-wave {
    animation: ptWaveIn 0.6s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.pt-enter .pt-wave-2 { animation-delay: 0.06s; }
.pt-enter .pt-wave-3 { animation-delay: 0.12s; }

@keyframes ptWaveIn {
    0% { transform: translateY(110%); }
    100% { transform: translateY(0%); }
}

.pt-exit .pt-wave {
    animation: ptWaveOut 0.7s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.pt-exit .pt-wave-2 { animation-delay: 0.06s; }
.pt-exit .pt-wave-3 { animation-delay: 0.12s; }

@keyframes ptWaveOut {
    0% { transform: translateY(0%); }
    100% { transform: translateY(-110%); }
}

.pt-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), transparent);
    transform: translate(-50%, -50%);
    opacity: 0;
}

.pt-enter .pt-ripple {
    animation: ptRipple 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes ptRipple {
    0% { width: 0; height: 0; opacity: 0.6; }
    100% { width: 300vw; height: 300vw; opacity: 0; }
}

/* Prevent flash on page load */
body:not(.page-loaded) {
    overflow: hidden;
}

/* ========================================
   3D Viewer
   ======================================== */
.viewer-app {
    max-width: 1100px;
    margin: 0 auto;
}

.viewer-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.viewer-product-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.viewer-tab {
    padding: 10px 20px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s var(--ease);
}

.viewer-tab:hover { border-color: var(--accent); color: var(--accent); }

.viewer-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.viewer-finish-toggle {
    display: flex;
    gap: 6px;
}

.finish-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s var(--ease);
}

.finish-toggle-btn:hover { border-color: var(--accent); color: var(--accent); }

.finish-toggle-btn.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.finish-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.polished-dot {
    background: linear-gradient(135deg, #999, #fff, #aaa);
    box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
}

.brushed-dot {
    background: linear-gradient(90deg, #999, #bbb, #999, #bbb);
    box-shadow: inset 0 0 2px rgba(0,0,0,0.2);
}

.viewer-canvas-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #0a0f1a;
    margin-bottom: 20px;
}

.viewer-canvas-wrap canvas {
    display: block;
    width: 100%;
}

.viewer-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(10, 15, 26, 0.85);
    color: var(--white);
    font-size: 0.9rem;
    z-index: 5;
    backdrop-filter: blur(8px);
}

.viewer-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(77, 168, 218, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: viewerSpin 0.8s linear infinite;
}

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

.viewer-controls-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    pointer-events: none;
    white-space: nowrap;
}

.viewer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.viewer-model-name {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.viewer-model-finish {
    font-size: 0.9rem;
    color: var(--text-light);
    padding-left: 20px;
    border-left: 1px solid rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .viewer-toolbar { flex-direction: column; }
    .viewer-product-tabs { justify-content: center; }
    .viewer-finish-toggle { justify-content: center; }
    .viewer-controls-hint { display: none; }
    .viewer-info { flex-direction: column; text-align: center; }
    .viewer-model-finish { border-left: none; padding-left: 0; }
}

