/* --- IMPORT FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

@font-face {
    font-family: 'Korataki';
    src: url('fonts/korataki.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Korataki';
    src: url('fonts/korataki_bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Korataki';
    src: url('fonts/korataki_light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Korataki';
    src: url('fonts/korataki_book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Korataki';
    src: url('fonts/korataki_extrabold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* --- CUSTOM VARIABLES --- */
:root {
    /* ── Brand: Kırmızı / Sarı / Siyah ─────────────────────────────── */
    --bg-dark: hsl(0, 0%, 4%);           /* near-pure black */
    --bg-dark-rgb: 10, 10, 10;
    --card-dark: hsl(0, 0%, 7%);         /* very dark grey-black */
    --card-dark-rgb: 18, 18, 18;

    /* Primary — Kırmızı (crimson red) */
    --primary: hsl(355, 80%, 45%);
    --primary-rgb: 205, 18, 30;
    --primary-glow: hsla(355, 80%, 45%, 0.35);

    /* Secondary — Altın Sarı (gold yellow) */
    --secondary: hsl(45, 90%, 52%);
    --secondary-glow: hsla(45, 90%, 52%, 0.28);

    /* Accent — Koyu kırmızı tonu */
    --accent: hsl(355, 75%, 38%);
    --accent-glow: hsla(355, 75%, 38%, 0.35);

    --text-light: hsl(0, 0%, 97%);
    --text-muted: hsl(0, 0%, 65%);
    --border: hsla(355, 30%, 20%, 0.5);
    --glass-bg: rgba(8, 8, 8, 0.76);
    --glass-border: rgba(205, 18, 30, 0.14);
    --glass-border-hover: rgba(205, 18, 30, 0.32);
    --font-heading: 'Korataki', 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.25s ease;
}

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-dark);
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 5% 15%, rgba(205, 18, 30, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 95% 85%, rgba(212, 175, 55, 0.04) 0%, transparent 45%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

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

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

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* --- GLASSMORPHISM & UTILITIES --- */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 12px 42px 0 rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}
.glass:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 16px 54px 0 rgba(205, 18, 30, 0.08);
}

.blueprint-grid {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-padding {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.glow-text {
    background: linear-gradient(135deg, var(--text-light) 30%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.04);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2.4rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, hsl(20, 85%, 38%) 100%);
    color: var(--text-light);
    box-shadow: 0 4px 22px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px hsla(24, 75%, 45%, 0.55);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-light);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 1px solid rgba(205, 18, 30, 0.3);
    color: var(--text-light);
}
.btn-outline:hover, .btn-outline.active {
    background: rgba(205, 18, 30, 0.15);
    border-color: var(--primary);
}
.btn-block {
    display: flex;
    width: 100%;
}
.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
}

/* --- HEADER / NAVIGATION --- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-quick);
    padding: 1.5rem 0;
    background: transparent;
}
#header.scrolled {
    background: rgba(8, 6, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(205, 18, 30, 0.1);
    padding: 0.9rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.03em;
    color: var(--text-light);
}
.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 0 15px var(--primary-glow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    background: linear-gradient(
        180deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.01) 40%, 
        rgba(255, 255, 255, 0.05) 100%
    );
    border-top: 1.5px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 30px;
    padding: 0.35rem 1.4rem;
    position: relative;
    box-shadow: 
        inset 0 3px 6px rgba(255, 255, 255, 0.06), 
        inset 0 -3px 6px rgba(0, 0, 0, 0.4), 
        0 4px 15px rgba(0, 0, 0, 0.35);
}

#menu-particle-canvas {
    display: none !important;
}

.nav-links::before,
.nav-links::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: calc(100% + 4px);
    background: linear-gradient(
        180deg,
        #777 0%,
        #ddd 20%,
        #aaa 40%,
        #222 70%,
        #000 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    z-index: 5;
}
.nav-links::before {
    left: -3px;
    border-radius: 3px 0 0 3px;
}
.nav-links::after {
    right: -3px;
    border-radius: 0 3px 3px 0;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
    padding: 0.45rem 1.2rem;
    border-radius: 20px;
    position: relative;
    z-index: 10;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--text-light);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: -1;
    border-radius: 20px;
    opacity: 0;
    transform: scaleX(0.7);
    transition: var(--transition-smooth);
    box-shadow: 0 0 12px rgba(205, 18, 30, 0.6);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    opacity: 1;
    transform: scaleX(1);
}

.nav-links a.active {
    color: var(--bg-dark) !important;
}

.nav-links a::after {
    display: none;
}

/* --- SLIDING COFFEE BEAN IN NAVBAR TUBE --- */
.nav-sliding-bean {
    position: absolute;
    width: 30px;
    height: 19px;
    /* Brand: Kırmızı-Siyah — crimson red with near-black shadow */
    background: radial-gradient(ellipse at 30% 28%, #c0121e 0%, #6e0a10 45%, #2a0508 100%);
    border-radius: 50% / 50%;
    z-index: 9;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-50%) rotate(0deg);
    transform-origin: center;
    will-change: left, top, transform, opacity;
    box-shadow: 
        0 0 10px rgba(205, 18, 30, 0.55),
        0 2px 5px rgba(0,0,0,0.7),
        inset 1px 1px 2px rgba(255, 180, 80, 0.2),
        inset -1px -1px 3px rgba(0, 0, 0, 0.9);
}

.nav-sliding-bean::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 1.5px;
    background: #1a0305;
    transform: translateY(-50%) rotate(-12deg);
    border-radius: 50%;
    box-shadow: 0 0.5px 0.5px rgba(255, 200, 100, 0.08);
}

@keyframes beanArrival {
    0%   { transform: translateY(-50%) scale(1.2) rotate(0deg); box-shadow: 0 0 22px rgba(205,18,30,0.9), 0 2px 6px rgba(0,0,0,0.5), inset 1px 1px 2px rgba(255,255,255,0.35), inset -1px -1px 2px rgba(0,0,0,0.6); }
    40%  { transform: translateY(-50%) scale(0.88) rotate(0deg); }
    70%  { transform: translateY(-50%) scale(1.06) rotate(0deg); }
    100% { transform: translateY(-50%) scale(1)   rotate(0deg); box-shadow: 0 0 14px rgba(205,18,30,0.65), 0 2px 6px rgba(0,0,0,0.5), inset 1px 1px 2px rgba(255,255,255,0.35), inset -1px -1px 2px rgba(0,0,0,0.6); }
}

@keyframes pulseHighlightGlow {
    0%   { opacity: 0; transform: scale(0.94); }
    45%  { opacity: 1; transform: scale(1.04); }
    100% { opacity: 1; transform: scale(1); }
}
.nav-links a.pulse-highlight::before {
    animation: pulseHighlightGlow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 2px;
}
.lang-btn {
    background: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 30px;
    transition: var(--transition-quick);
}
.lang-btn.active {
    background: var(--primary);
    color: var(--text-light);
    box-shadow: 0 2px 8px var(--primary-glow);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    background: none;
    z-index: 1100;
}
.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-light);
    transition: var(--transition-quick);
}
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- SPA ROUTING TRANSITIONS --- */
.page-view {
    display: none;
    opacity: 0;
}
.page-view.active {
    display: block;
    animation: pageFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageFadeIn {
    to {
        opacity: 1;
    }
}

/* --- HOME: HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to bottom, rgba(8, 6, 5, 0.7) 0%, var(--bg-dark) 100%),
        linear-gradient(to right, rgba(8, 6, 5, 0.6) 0%, transparent 60%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 10;
}
.hero-tag {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(205, 18, 30, 0.12);
    border: 1px solid rgba(205, 18, 30, 0.22);
    color: var(--primary);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: flash 1.5s infinite;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 580px;
}
.hero-buttons {
    display: flex;
    gap: 1.2rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 480px;
}
.hero-card {
    width: 100%;
    max-width: 420px;
    height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.2rem;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    border-color: rgba(255, 255, 255, 0.08);
}
.hero-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-card-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.hero-card-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: flash 1.5s infinite;
}

.hero-card-body {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.hero-card-title {
    font-size: 1.8rem;
}
.hero-card-visualizer {
    height: 100px;
    border: 1px dashed rgba(205, 18, 30, 0.2);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.visualizer-tube {
    width: 100%;
    height: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    background: rgba(255, 255, 255, 0.02);
}
.visualizer-bean {
    position: absolute;
    width: 12px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    top: 5px;
    animation: flowLeft 3s infinite linear;
}
.visualizer-bean:nth-child(1) { left: -10%; animation-delay: 0s; }
.visualizer-bean:nth-child(2) { left: -10%; animation-delay: 0.6s; }
.visualizer-bean:nth-child(3) { left: -10%; animation-delay: 1.2s; }
.visualizer-bean:nth-child(4) { left: -10%; animation-delay: 1.8s; }
.visualizer-bean:nth-child(5) { left: -10%; animation-delay: 2.4s; }

.hero-card-footer {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

@keyframes flowLeft {
    to { left: 110%; }
}
@keyframes flash {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* --- HOME: CORE PILLARS --- */
.pillars {
    padding: 4rem 0;
    position: relative;
    z-index: 10;
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.pillar-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.pillar-img-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(205, 18, 30, 0.08);
    border: 1px solid rgba(205, 18, 30, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.pillar-image {
    max-height: 100%;
    object-fit: contain;
}
.pillar-title {
    font-size: 1.15rem;
}
.pillar-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- HOME: SOLUTIONS --- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.sol-card {
    height: 380px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
    border-color: rgba(255, 255, 255, 0.05);
}
.sol-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition-smooth);
    z-index: -2;
    opacity: 0.45;
}
.sol-card:hover .sol-card-bg {
    transform: scale(1.1);
    opacity: 0.65;
}
.sol-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(8, 6, 5, 0.9) 0%, rgba(8, 6, 5, 0.2) 60%, transparent 100%);
    z-index: -1;
}
.sol-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.sol-card-content h3 {
    font-size: 1.4rem;
}
.sol-card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- HOME: PROCESS FLOWCHART --- */
.flow-layout {
    display: grid;
    grid-template-columns: 0.3fr 0.7fr;
    gap: 3rem;
    align-items: start;
}
.flow-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.flow-step-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: var(--transition-quick);
    color: var(--text-muted);
}
.flow-step-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}
.flow-step-btn.active {
    background: linear-gradient(135deg, rgba(205, 18, 30, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 4px 20px rgba(205, 18, 30, 0.1);
}
.flow-step-num {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}
.flow-step-name {
    font-size: 1rem;
    font-weight: 700;
}

.flow-visualizer-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.flow-svg {
    width: 100%;
    height: auto;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.4);
}
.flow-tube-stroke {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 10px;
    stroke-linecap: round;
    transition: var(--transition-smooth);
}
.flow-tube-stroke.active {
    stroke: url(#pipe-glow);
    filter: drop-shadow(0 0 8px var(--primary-glow));
}
.flow-node {
    fill: var(--card-dark);
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2px;
    transition: var(--transition-smooth);
}
.flow-node-text {
    fill: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 700;
    text-anchor: middle;
    letter-spacing: 0.05em;
    pointer-events: none;
    transition: var(--transition-smooth);
}
.flow-step-btn.active ~ .flow-visualizer-card .flow-node {
    stroke: var(--primary);
}
/* Active Step Node highlights via JS styling */
.flow-node.active {
    stroke: var(--primary);
    fill: rgba(205, 18, 30, 0.2);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}
.flow-node.active + text,
.flow-node.active + .flow-node-text {
    fill: var(--text-light);
}

.flow-bean-dot {
    display: none;
}
.flow-bean-dot.active {
    display: block;
}

.flow-details-display {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}
.flow-details-display h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}
.flow-details-display p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- HOME: PIPELINE SIMULATOR --- */
.simulator-card {
    padding: 3rem;
}
.sim-viewports {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3.5rem;
    position: relative;
}
.sim-station {
    width: 140px;
    height: 140px;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.sim-station:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}
.sim-station-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
}
.sim-station-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
}
.sim-sensor {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 15px;
    right: 15px;
    transition: var(--transition-quick);
}
.sim-sensor.active {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}
.sim-silo-weight {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 0.3rem;
}

.sim-pipe {
    flex-grow: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0 -1px;
    position: relative;
}
.sim-pipe-flow {
    width: 100%;
    height: 100%;
    position: relative;
    background: transparent;
}
.sim-pipe-flow.active {
    background: rgba(205, 18, 30, 0.05);
}

.bean-group {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
}
.bean-group.active {
    display: block;
}
.bean-group span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    top: 1px;
    filter: drop-shadow(0 0 3px var(--primary));
    animation: flowThrough 4s infinite linear;
}
.bean-group.fast span {
    animation-duration: 1.5s;
    background: var(--secondary);
    filter: drop-shadow(0 0 4px var(--secondary));
}
.bean-group span:nth-child(1) { animation-delay: 0s; }
.bean-group span:nth-child(2) { animation-delay: 0.8s; }
.bean-group span:nth-child(3) { animation-delay: 1.6s; }
.bean-group span:nth-child(4) { animation-delay: 2.4s; }
.bean-group span:nth-child(5) { animation-delay: 3.2s; }

@keyframes flowThrough {
    0% { left: -5%; }
    100% { left: 105%; }
}

.sim-dashboard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.sim-controls {
    display: flex;
    gap: 1rem;
}
.sim-telemetry {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.tel-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.tel-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.tel-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
}
.tel-status {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
}
.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef233c;
    box-shadow: 0 0 8px rgba(239, 35, 60, 0.4);
}
.status-indicator.active {
    background: #00f5d4;
    box-shadow: 0 0 8px rgba(0, 245, 212, 0.4);
    animation: flash 1.2s infinite;
}

/* --- HOME: PRODUCTS --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.product-card {
    padding: 3rem 2.2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    border-color: rgba(255, 255, 255, 0.05);
}
.product-card .prod-tag {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary);
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.prod-img-box {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.prod-image {
    max-height: 100%;
    object-fit: contain;
}
.prod-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.prod-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}
.prod-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}
.prod-specs li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-light);
}
.check-icon {
    color: var(--accent);
    font-weight: 700;
}

/* --- HOME: ADVANTAGES & TECH --- */
.adv-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}
.adv-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.adv-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: rgba(205, 18, 30, 0.25);
    line-height: 1;
}
.adv-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}
.adv-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tech-box {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
    border-color: rgba(255, 255, 255, 0.05);
}
.tech-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-left: 2px solid var(--primary);
    padding-left: 1.5rem;
}
.tech-card h4 {
    font-size: 1.15rem;
}
.tech-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- HOME: SERVICE BANNER --- */
.service-banner-content {
    padding: 5rem 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    border-color: rgba(205, 18, 30, 0.2);
}
.service-banner-content h2 {
    font-size: 2.4rem;
    max-width: 800px;
}
.service-banner-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
}

/* --- HOME: SPECS & STATS --- */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
}
.spec-card {
    padding: 3rem 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-color: rgba(255, 255, 255, 0.05);
}
.spec-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--primary);
    opacity: 0.8;
}
.spec-card h3 {
    font-size: 1.25rem;
}
.spec-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 3.5rem;
}
.stat-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.stat-val {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
}
.stat-lbl {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}
.stat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- HOME: TESTIMONIALS SLIDER --- */
.slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.testimonial-slider {
    padding: 4rem;
    min-height: 280px;
    display: flex;
    align-items: center;
    border-color: rgba(255, 255, 255, 0.05);
}
.testimonial-slide {
    display: none;
    flex-direction: column;
    gap: 2rem;
}
.testimonial-slide.active {
    display: flex;
    animation: slideFadeIn 0.5s ease forwards;
}
.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
}
.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial-meta h4 {
    font-size: 1rem;
}
.testimonial-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
.slider-arrow {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: var(--transition-quick);
}
.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
}
.slider-dots {
    display: flex;
    gap: 0.6rem;
}
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition-quick);
}
.slider-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

@keyframes slideFadeIn {
    from { opacity: 0; transform: translateX(15px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- ABOUT US VIEW --- */
.about-left {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.about-p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}
.about-right {
    display: flex;
    justify-content: center;
}
.about-img-frame {
    padding: 1.2rem;
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.about-img {
    border-radius: 14px;
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.frame-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

/* --- VISION & MISSION VIEW --- */
.vision-grid {
    margin-top: 2rem;
    align-items: stretch !important;
}
.vision-box {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.vision-icon-box {
    font-size: 2.2rem;
    color: var(--primary);
}
.vision-box h2 {
    font-size: 1.8rem;
}
.vision-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- PRODUCTION VIEW --- */
.prod-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}
.prod-benefit-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.prod-benefit-img {
    height: 240px;
    background-size: cover;
    background-position: center;
    opacity: 0.65;
}
.prod-benefit-body {
    padding: 2.5rem;
}
.prod-benefit-body h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}
.prod-benefit-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- CAREERS VIEW --- */
.career-layout {
    align-items: start;
}
.job-description {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.job-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.job-badge {
    background: rgba(205, 18, 30, 0.12);
    color: var(--primary);
    border: 1px solid rgba(205, 18, 30, 0.2);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
}
.job-type {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}
.job-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.job-section-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 1rem;
}
.job-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}
.job-reqs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.job-reqs li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.job-reqs li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.career-apply-form {
    padding: 3rem;
}
.career-apply-form h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

/* --- FORMS STYLING --- */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}
.form-group input, 
.form-group textarea,
.form-group select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition-quick);
    width: 100%;
}
.form-group input:focus, 
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(205, 18, 30, 0.15);
    outline: none;
    background: rgba(0, 0, 0, 0.45);
}
.form-group textarea {
    resize: vertical;
}

.file-upload-zone {
    border: 1.5px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: var(--transition-quick);
}
.file-upload-zone:hover {
    border-color: var(--primary);
    background: rgba(205, 18, 30, 0.02);
}
.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}
.file-icon {
    font-size: 1.8rem;
    opacity: 0.8;
}
.file-name-label {
    font-size: 0.85rem;
    font-weight: 600;
}
.file-limits {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.file-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(205, 18, 30, 0.08);
    border: 1px solid rgba(205, 18, 30, 0.15);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    margin-top: 0.8rem;
}
.file-status-name {
    font-size: 0.8rem;
    font-weight: 600;
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.file-clear-btn {
    background: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 4px;
    transition: var(--transition-quick);
}
.file-clear-btn:hover {
    color: var(--primary);
}

.form-checkbox {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.form-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 0.15rem;
    accent-color: var(--primary);
}
.form-checkbox label {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    cursor: pointer;
}

/* --- OUR TEAM VIEW --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}
.team-card {
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.8rem;
    border-color: rgba(255, 255, 255, 0.05);
}
.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    box-shadow: 0 0 20px var(--primary-glow);
}
.team-info {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.team-info h3 {
    font-size: 1.4rem;
}
.team-role {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.team-bio {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* --- TEKLİF FORMU & CONFIGURATOR --- */
.configurator-layout {
    display: grid;
    grid-template-columns: 0.55fr 0.45fr;
    gap: 3rem;
    align-items: start;
}
.config-wizard {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.config-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 1rem;
}
.config-steps::before {
    content: '';
    position: absolute;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
    right: 10px;
    z-index: 1;
}
.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--card-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
    transition: var(--transition-quick);
}
.step-dot.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--primary-glow);
}
.step-dot.completed {
    border-color: var(--secondary);
    background: var(--secondary);
    color: var(--bg-dark);
}

.config-step-content {
    display: none;
}
.config-step-content.active {
    display: block;
    animation: slideFadeIn 0.4s ease forwards;
}
.config-step-content h2 {
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
}

.config-options {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.config-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}
.config-option-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1.5px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition-quick);
}
.config-option-card:hover {
    border-color: rgba(205, 18, 30, 0.4);
    background: rgba(205, 18, 30, 0.01);
}
.config-option-card.selected {
    border-color: var(--primary);
    background: rgba(205, 18, 30, 0.06);
}
.config-option-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}
.config-option-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.config-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: flex-end;
}

.config-summary-card {
    padding: 3rem;
}
.config-summary-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
.summary-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}
.sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 0.8rem;
}
.sum-lbl {
    color: var(--text-muted);
}
.sum-val {
    font-weight: 700;
}
.total-row {
    border-bottom: none;
    font-size: 1.2rem;
    padding-top: 0.8rem;
}
.total-row .sum-val {
    font-size: 1.6rem;
    color: var(--primary);
}

.blueprint-engine {
    height: 180px;
    border-color: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 1rem;
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blueprint-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.03);
    padding: 2px 6px;
    border-radius: 3px;
}
.blueprint-interactive-container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.capacity-scale-img {
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(205, 18, 30, 0.25));
}

.summary-notice {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 1rem;
    text-align: center;
    line-height: 1.5;
}

.quotation-form-section {
    padding-top: 4rem;
}
.quote-form-container {
    padding: 4rem;
    border-color: rgba(255, 255, 255, 0.05);
}
.quote-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.form-grid .form-group:nth-child(3) {
    grid-column: span 2;
}

/* --- CONTACT VIEW --- */
.contact-left {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.contact-info-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.8rem 2rem;
    border-color: rgba(255, 255, 255, 0.04);
}
.info-icon {
    font-size: 1.8rem;
    color: var(--primary);
}
.info-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.info-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}
.info-val {
    font-weight: 700;
    font-size: 1.05rem;
}

.map-container {
    height: 250px;
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.05);
}
.map-label {
    position: absolute;
    top: 15px;
    left: 15px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(8, 6, 5, 0.8);
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}
.map-dark-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    background-image: 
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 15px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.map-radar {
    width: 80px;
    height: 80px;
    border: 1.5px solid var(--primary);
    border-radius: 50%;
    position: absolute;
    animation: radarRipple 2s infinite linear;
}
.map-marker {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 0 20px var(--primary);
}

@keyframes radarRipple {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.contact-form-box {
    padding: 4rem;
    border-color: rgba(255, 255, 255, 0.05);
}

/* --- FOOTER --- */
footer {
    background: #050403;
    border-top: 1px solid rgba(205, 18, 30, 0.08);
    padding: 6rem 0 3rem 0;
    margin-top: 5rem;
    position: relative;
    z-index: 10;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.footer-logo {
    font-size: 1.4rem;
}
.footer-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    transition: var(--transition-quick);
}
.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
}

.footer-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-links a:hover {
    color: var(--text-light);
    padding-left: 4px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

/* --- MODAL --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.modal.active {
    display: flex;
    opacity: 1;
}
.modal-content {
    max-width: 450px;
    padding: 3.5rem 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal.active .modal-content {
    transform: scale(1);
}
.modal-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 0 20px var(--accent-glow);
}
.modal-content h3 {
    font-size: 1.5rem;
}
.modal-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- SCROLL REVEAL STYLES --- */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1024px) {
    .grid-2, .hero-grid, .flow-layout, .configurator-layout, .prod-benefits-grid, .products-grid, .specs-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero {
        padding-top: 140px;
        min-height: auto;
        padding-bottom: 6rem;
    }
    .hero-visual {
        height: auto;
    }
    .hero-card {
        transform: none !important;
        max-width: 100%;
    }
    .pillars-grid {
        grid-template-columns: 1fr 1fr;
    }
    .solutions-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-grid .form-group:nth-child(3) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(13, 10, 8, 0.96);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: none;
        border-left: 1px solid rgba(205, 18, 30, 0.15);
        border-radius: 0;
        box-shadow: none;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: var(--transition-smooth);
        z-index: 1050;
    }
    .nav-links::before,
    .nav-links::after {
        display: none;
    }
    #nav-sliding-bean {
        display: none !important;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links a {
        font-size: 1.1rem;
        padding: 0.8rem 1.8rem;
        width: 100%;
    }
    .nav-links a.active {
        color: var(--text-light) !important;
        background: rgba(205, 18, 30, 0.15);
        border: 1px solid var(--primary);
    }
    .nav-links a.active::before {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .sim-viewports {
        flex-direction: column;
        gap: 1.5rem;
    }
    .sim-station {
        width: 100%;
        height: 100px;
    }
    .sim-pipe {
        width: 6px;
        height: 40px;
        margin: 0;
        border-top: none;
        border-bottom: none;
        border-left: 1px solid rgba(255,255,255,0.08);
        border-right: 1px solid rgba(255,255,255,0.08);
    }
    .bean-group span {
        top: 0;
        left: -1px;
        animation: flowThroughVertical 4s infinite linear;
    }
    .sim-pipe-flow.active {
        background: rgba(205, 18, 30, 0.05);
    }
    .sim-dashboard {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
    .sim-telemetry {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .config-wizard, .config-summary-card, .quote-form-container, .contact-form-box, .testimonial-slider {
        padding: 2rem 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .stats-row {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
        padding: 2rem 1.5rem !important;
        gap: 1.5rem !important;
    }
    #menu-particle-canvas {
        display: block !important;
    }
}

@keyframes flowThroughVertical {
    0% { top: -10%; }
    100% { top: 110%; }
}

/* --- CUSTOM LOGO IMAGES --- */
.header-logo-img {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.12));
    transition: var(--transition-quick);
}
.header-logo-img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 15px var(--primary-glow));
}

.footer-logo-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.12));
    transition: var(--transition-quick);
}
.footer-logo-img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 15px var(--primary-glow));
}

/* ==========================================================================
   ENHANCED INTERACTIVE ELEMENTS & WIDGETS
   ========================================================================== */

/* --- SKELETON LOADER --- */
.skeleton-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.skeleton-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.skeleton-logo {
    width: 140px;
    height: auto;
    margin-bottom: 2rem;
    animation: skeletonPulse 1.2s infinite alternate ease-in-out;
}
.skeleton-bar-container {
    width: 160px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.skeleton-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    position: absolute;
    left: -100%;
    animation: skeletonShimmer 1.5s infinite linear;
}
@keyframes skeletonPulse {
    from { opacity: 0.35; transform: scale(0.96); }
    to { opacity: 0.95; transform: scale(1.04); }
}
@keyframes skeletonShimmer {
    100% { left: 100%; }
}

/* --- NAV ACTIVE LINE --- */
.nav-active-line {
    position: absolute;
    bottom: -1.5px;
    height: 3.5px;
    background: var(--secondary); /* Gold active line */
    box-shadow: 0 0 10px var(--secondary-glow);
    border-radius: 2px;
    z-index: 15;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid var(--secondary);
    border-radius: 50%;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(253, 184, 19, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsappPulse 3s infinite alternate;
}
.whatsapp-float:hover {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(205, 18, 30, 0.4), 0 0 15px rgba(205, 18, 30, 0.3);
    transform: scale(1.1) rotate(10deg);
}
.whatsapp-float svg {
    transition: transform 0.3s ease;
}
.whatsapp-float:hover svg {
    transform: scale(1.05);
}
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-light);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    font-family: var(--font-heading);
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}
@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 15px rgba(0,0,0,0.5), 0 0 0 0px rgba(253, 184, 19, 0.4); }
    70% { box-shadow: 0 4px 15px rgba(0,0,0,0.5), 0 0 0 10px rgba(253, 184, 19, 0); }
    100% { box-shadow: 0 4px 15px rgba(0,0,0,0.5), 0 0 0 0px rgba(253, 184, 19, 0); }
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}
.toast {
    position: relative;
    min-width: 300px;
    max-width: 400px;
    padding: 14px 18px;
    background: rgba(12, 12, 12, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.88rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    overflow: hidden;
}
.toast.toast-success {
    border-left-color: var(--secondary);
}
.toast.toast-error {
    border-left-color: var(--primary);
}
.toast.toast-info {
    border-left-color: #3b82f6;
}
.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}
.toast-close:hover {
    color: var(--text-light);
}
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    width: 100%;
    transform-origin: left;
    animation: toastProgress 4s linear forwards;
}
.toast.toast-success .toast-progress {
    background: var(--secondary);
}
.toast.toast-info .toast-progress {
    background: #3b82f6;
}
@keyframes toastSlideIn {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes toastProgress {
    to { transform: scaleX(0); }
}
@keyframes toastFadeOut {
    to { opacity: 0; transform: translateY(-20px); }
}

/* --- REFERENCES INFINITE SCROLL --- */
.references-slider {
    width: 100%;
    overflow: hidden;
    padding: 2.5rem 0;
    margin-top: 2.5rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(10, 10, 10, 0.25);
    border-radius: 12px;
}
.references-track {
    display: flex;
    width: max-content;
    gap: 5rem;
    animation: referencesScroll 24s linear infinite;
}
.references-slider:hover .references-track {
    animation-play-state: paused;
}
.ref-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: default;
}
.ref-logo:hover {
    opacity: 0.95;
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary-glow);
}
@keyframes referencesScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- CATALOG BANNER --- */
.catalog-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem;
    border-radius: 16px;
    margin-top: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.7) 0%, rgba(25, 25, 25, 0.4) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    gap: 2rem;
}
.catalog-banner-content {
    max-width: 65%;
    text-align: left;
}
.catalog-banner h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    color: var(--text-light);
}
.catalog-banner p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .catalog-banner {
        flex-direction: column;
        text-align: center;
    }
    .catalog-banner-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
}

/* --- COMPARISON TABLE --- */
.product-comparison {
    max-width: 100%;
    margin-top: 5rem;
}
.table-responsive {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    background: rgba(10, 10, 10, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 0.88rem;
    min-width: 700px;
}
.comparison-table th, 
.comparison-table td {
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}
.comparison-table th {
    background: rgba(255, 255, 255, 0.015);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    border-bottom: 2px solid rgba(205, 18, 30, 0.3);
}
.comparison-table tr:last-child td {
    border-bottom: none;
}
.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
    color: var(--text-light);
}
.feat-col {
    text-align: left;
    font-weight: 700;
    color: var(--text-light) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    background: rgba(0, 0, 0, 0.15);
    width: 25%;
}

/* --- FAQ ACCORDION --- */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: rgba(253, 184, 19, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.faq-question {
    width: 100%;
    padding: 1.25rem 1.6rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.faq-icon {
    font-size: 1.1rem;
    color: var(--secondary);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    background: rgba(0, 0, 0, 0.2);
}
.faq-answer p {
    padding: 0 1.6rem 1.25rem 1.6rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* --- REAL-TIME VALIDATION STYLES --- */
.invalid-field {
    border-color: var(--primary) !important;
    box-shadow: 0 0 8px rgba(205, 18, 30, 0.35) !important;
}
.valid-field {
    border-color: var(--secondary) !important;
    box-shadow: 0 0 8px rgba(253, 184, 19, 0.35) !important;
}

/* --- SPOTLIGHT CARD EFFECT --- */
.pillar-card, .product-card, .contact-info-card, .faq-item {
    position: relative;
    overflow: hidden;
}
.pillar-card::before, .product-card::before, .contact-info-card::before, .faq-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(205, 18, 30, 0.16) 0%, rgba(253, 184, 19, 0.04) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}
.pillar-card:hover::before, .product-card:hover::before, .contact-info-card:hover::before, .faq-item:hover::before {
    opacity: 1;
}
.pillar-card > *, .product-card > *, .contact-info-card > *, .faq-item > * {
    position: relative;
    z-index: 2;
}

/* --- 2D COMPONENTS SECTION --- */
.components-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    padding: 3rem;
    background: rgba(13, 10, 8, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-top: 2rem;
}
.components-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.comp-tab {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.comp-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}
.comp-tab:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(253, 184, 19, 0.15);
    transform: translateX(5px);
}
.comp-tab.active {
    background: rgba(205, 18, 30, 0.06);
    border-color: rgba(205, 18, 30, 0.25);
    box-shadow: 0 4px 20px rgba(205, 18, 30, 0.08);
}
.comp-tab.active::before {
    transform: scaleY(1);
}
.comp-tab-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}
.comp-tab-icon img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}
.comp-tab-info h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-light);
}
.comp-tab-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.components-visualizer {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}
.comp-image-container {
    background: radial-gradient(circle at center, rgba(255,255,255,0.02) 0%, transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}
.comp-image-container img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s ease;
}
.comp-image-container:hover img {
    transform: scale(1.05);
}
.comp-details-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.comp-details-container h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}
.comp-details-container p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.comp-specs-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.2rem;
    margin-top: 0.5rem;
}
.comp-spec-item {
    display: flex;
    gap: 1rem;
    font-size: 0.88rem;
}
.comp-spec-item strong {
    width: 110px;
    flex-shrink: 0;
    color: var(--primary);
    font-weight: 600;
}
.comp-spec-item span {
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .components-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
}
@media (max-width: 768px) {
    .components-visualizer {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}



}
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    width: 100%;
    transform-origin: left;
    animation: toastProgress 4s linear forwards;
}
.toast.toast-success .toast-progress {
    background: var(--secondary);
}
.toast.toast-info .toast-progress {
    background: #3b82f6;
}
@keyframes toastSlideIn {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes toastProgress {
    to { transform: scaleX(0); }
}
@keyframes toastFadeOut {
    to { opacity: 0; transform: translateY(-20px); }
}

/* --- REFERENCES INFINITE SCROLL --- */
.references-slider {
    width: 100%;
    overflow: hidden;
    padding: 2.5rem 0;
    margin-top: 2.5rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(10, 10, 10, 0.25);
    border-radius: 12px;
}
.references-track {
    display: flex;
    width: max-content;
    gap: 5rem;
    animation: referencesScroll 24s linear infinite;
}
.references-slider:hover .references-track {
    animation-play-state: paused;
}
.ref-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: default;
}
.ref-logo:hover {
    opacity: 0.95;
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary-glow);
}
@keyframes referencesScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- CATALOG BANNER --- */
.catalog-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem;
    border-radius: 16px;
    margin-top: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.7) 0%, rgba(25, 25, 25, 0.4) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    gap: 2rem;
}
.catalog-banner-content {
    max-width: 65%;
    text-align: left;
}
.catalog-banner h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    color: var(--text-light);
}
.catalog-banner p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .catalog-banner {
        flex-direction: column;
        text-align: center;
    }
    .catalog-banner-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
}

/* --- COMPARISON TABLE --- */
.product-comparison {
    max-width: 100%;
    margin-top: 5rem;
}
.table-responsive {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    background: rgba(10, 10, 10, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 0.88rem;
    min-width: 700px;
}
.comparison-table th, 
.comparison-table td {
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}
.comparison-table th {
    background: rgba(255, 255, 255, 0.015);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    border-bottom: 2px solid rgba(205, 18, 30, 0.3);
}
.comparison-table tr:last-child td {
    border-bottom: none;
}
.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
    color: var(--text-light);
}
.feat-col {
    text-align: left;
    font-weight: 700;
    color: var(--text-light) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    background: rgba(0, 0, 0, 0.15);
    width: 25%;
}

/* --- FAQ ACCORDION --- */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: rgba(253, 184, 19, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.faq-question {
    width: 100%;
    padding: 1.25rem 1.6rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.faq-icon {
    font-size: 1.1rem;
    color: var(--secondary);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    background: rgba(0, 0, 0, 0.2);
}
.faq-answer p {
    padding: 0 1.6rem 1.25rem 1.6rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* --- REAL-TIME VALIDATION STYLES --- */
.invalid-field {
    border-color: var(--primary) !important;
    box-shadow: 0 0 8px rgba(205, 18, 30, 0.35) !important;
}
.valid-field {
    border-color: var(--secondary) !important;
    box-shadow: 0 0 8px rgba(253, 184, 19, 0.35) !important;
}

/* --- SPOTLIGHT CARD EFFECT --- */
.pillar-card, .product-card, .contact-info-card, .faq-item {
    position: relative;
    overflow: hidden;
}
.pillar-card::before, .product-card::before, .contact-info-card::before, .faq-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(205, 18, 30, 0.16) 0%, rgba(253, 184, 19, 0.04) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}
.pillar-card:hover::before, .product-card:hover::before, .contact-info-card:hover::before, .faq-item:hover::before {
    opacity: 1;
}
.pillar-card > *, .product-card > *, .contact-info-card > *, .faq-item > * {
    position: relative;
    z-index: 2;
}

/* --- 2D COMPONENTS SECTION --- */
.components-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    padding: 3rem;
    background: rgba(13, 10, 8, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-top: 2rem;
}
.components-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.comp-tab {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.comp-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}
.comp-tab:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(253, 184, 19, 0.15);
    transform: translateX(5px);
}
.comp-tab.active {
    background: rgba(205, 18, 30, 0.06);
    border-color: rgba(205, 18, 30, 0.25);
    box-shadow: 0 4px 20px rgba(205, 18, 30, 0.08);
}
.comp-tab.active::before {
    transform: scaleY(1);
}
.comp-tab-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}
.comp-tab-icon img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}
.comp-tab-info h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-light);
}
.comp-tab-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.components-visualizer {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}
.comp-image-container {
    background: radial-gradient(circle at center, rgba(255,255,255,0.02) 0%, transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}
.comp-image-container img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s ease;
}
.comp-image-container:hover img {
    transform: scale(1.05);
}
.comp-details-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.comp-details-container h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}
.comp-details-container p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.comp-specs-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.2rem;
    margin-top: 0.5rem;
}
.comp-spec-item {
    display: flex;
    gap: 1rem;
    font-size: 0.88rem;
}
.comp-spec-item strong {
    width: 110px;
    flex-shrink: 0;
    color: var(--primary);
    font-weight: 600;
}
.comp-spec-item span {
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .components-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
}
@media (max-width: 768px) {
    .components-visualizer {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =========================================================
   INTERACTIVE FLOW SIMULATOR  (#home-simulator)
   ========================================================= */
.sim {
    --sim-speed: 1.6s;
    max-width: 980px;
    margin: 3rem auto 0;
    padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.sim-stage {
    display: flex;
    align-items: stretch;
    gap: 0;
}
.sim-node {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 1.4rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--glass-border);
    transition: border-color 0.4s var(--ease-out-expo), background 0.4s var(--ease-out-expo);
}
.sim.running .sim-node { border-color: var(--glass-border-hover); }
.sim.running .sim-node::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    box-shadow: 0 0 28px var(--primary-glow);
    opacity: 0;
    animation: simNodePulse 2.4s var(--ease-in-out) infinite;
    pointer-events: none;
}
.sim-node[data-node="silo"]::after { animation-delay: 0.5s; }
.sim-node[data-node="bar"]::after { animation-delay: 1s; }
@keyframes simNodePulse { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

.sim-node-badge {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--secondary);
    opacity: 0.85;
}
.sim-node-title {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}
.sim-node-sub { font-size: 0.78rem; color: var(--text-muted); }

.sim-tube {
    position: relative;
    align-self: center;
    flex: 1 1 40px;
    min-width: 30px;
    height: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}
.sim-flow {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 13px center, var(--secondary) 0 3.2px, transparent 4px);
    background-size: 26px 100%;
    background-repeat: repeat;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
}
.sim.running .sim-tube {
    border-color: var(--glass-border-hover);
    box-shadow: inset 0 0 10px var(--primary-glow);
}
.sim.running .sim-flow {
    opacity: 0.95;
    animation: simFlowX var(--sim-speed) linear infinite;
}
@keyframes simFlowX {
    from { background-position: 0 center; }
    to   { background-position: 26px center; }
}

.sim-readout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}
.sim-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}
.sim-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: background 0.4s ease;
}
.sim.running .sim-status-dot {
    background: #28c76f;
    animation: simDot 1.6s ease-in-out infinite;
}
@keyframes simDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(40, 199, 111, 0.5); }
    50%      { box-shadow: 0 0 0 6px rgba(40, 199, 111, 0); }
}
.sim.running .sim-status-text { color: var(--text-light); }

.sim-metrics { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.sim-metric { font-size: 0.88rem; color: var(--text-muted); }
.sim-metric-val { color: var(--text-light); font-weight: 600; }
.sim-pressure { font-variant-numeric: tabular-nums; color: var(--secondary); }

.sim-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.sim-speed {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
}
.sim-speed-btn {
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    transition: color 0.25s ease, background 0.3s var(--ease-out-expo);
}
.sim-speed-btn.active { background: var(--primary); color: var(--text-light); }

@media (max-width: 768px) {
    .sim-stage { flex-direction: column; align-items: stretch; }
    .sim-tube { width: 16px; height: 46px; flex: 0 0 46px; align-self: center; }
    .sim-flow {
        background-image: radial-gradient(circle at center 13px, var(--secondary) 0 3.2px, transparent 4px);
        background-size: 100% 26px;
    }
    .sim.running .sim-flow { animation-name: simFlowY; }
    .sim-readout { flex-direction: column; align-items: flex-start; }
}
@keyframes simFlowY {
    from { background-position: center 0; }
    to   { background-position: center 26px; }
}

/* --- HOVER LIFT (tactile depth) + REVEAL STAGGER (Emil craft) --- */
@media (hover: hover) and (pointer: fine) {
    .pillar-card:hover,
    .product-card:hover {
        transform: translateY(-5px);
    }
}
/* Stagger grid reveals so a row cascades in instead of popping at once */
.pillars-grid .reveal:nth-child(2),
.products-grid .reveal:nth-child(2),
.solutions-grid .reveal:nth-child(2),
.advantages-grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.pillars-grid .reveal:nth-child(3),
.products-grid .reveal:nth-child(3),
.solutions-grid .reveal:nth-child(3),
.advantages-grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.pillars-grid .reveal:nth-child(4),
.advantages-grid .reveal:nth-child(4) { transition-delay: 0.21s; }

/* Screen-reader-only utility: visually hidden, still announced */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   PRODUCTION PAGE (redesign)  â€”  .prx-*
   ========================================================= */
.prx-lead {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 1rem + 4vw, 5rem);
    align-items: center;
    margin-bottom: clamp(3.5rem, 2rem + 6vw, 7rem);
}
.prx-lead-title {
    font-size: clamp(2rem, 1.2rem + 4vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 1.2rem 0 1.4rem;
    text-wrap: balance;
}
.prx-lead-desc {
    color: var(--text-muted);
    font-size: 1.08rem;
    max-width: 56ch;
    margin-bottom: 1.8rem;
}
.prx-facts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.prx-facts li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.98rem;
    color: var(--text-light);
}
.prx-fact-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary-glow);
    flex: 0 0 auto;
}
.prx-lead-media {
    position: relative;
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.prx-lead-media img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.prx-lead-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.4rem 1.6rem 1.2rem;
    background: linear-gradient(to top, rgba(8, 7, 6, 0.92), transparent);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.prx-lead-cap strong {
    font-family: var(--font-heading);
    color: var(--text-light);
    letter-spacing: -0.01em;
}
.prx-lead-cap span { font-size: 0.85rem; color: var(--text-muted); }

/* --- Process timeline --- */
.prx-sec-head { margin-bottom: 2.5rem; }
.prx-process { margin-bottom: clamp(3.5rem, 2rem + 6vw, 7rem); }
.prx-steps {
    list-style: none;
    max-width: 860px;
}
.prx-step {
    display: flex;
    gap: clamp(1rem, 0.5rem + 2vw, 2.2rem);
    align-items: baseline;
    padding: 1.6rem 0;
    border-top: 1px solid var(--glass-border);
}
.prx-step:last-child { border-bottom: 1px solid var(--glass-border); }
.prx-step-num {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    flex: 0 0 auto;
    color: rgba(212, 175, 55, 0.16);
    -webkit-text-stroke: 1.4px rgba(212, 175, 55, 0.55);
}
.prx-step-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}
.prx-step-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 62ch;
}
@media (hover: hover) and (pointer: fine) {
    .prx-step { transition: border-color 0.3s ease; }
    .prx-step:hover { border-top-color: var(--glass-border-hover); }
}

/* --- Capabilities bento --- */
.prx-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(150px, auto);
    gap: 1.2rem;
}
.prx-cell {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: border-color 0.3s ease, transform 0.4s var(--ease-out-expo);
}
.prx-cell h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
}
.prx-cell p { color: var(--text-muted); font-size: 0.92rem; }
@media (hover: hover) and (pointer: fine) {
    .prx-cell:hover { border-color: var(--glass-border-hover); transform: translateY(-4px); }
}
.prx-cell--feature {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: relative;
    overflow: hidden;
    padding: 0;
    justify-content: flex-end;
    min-height: 320px;
}
.prx-cell--feature .prx-cell-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 0.7s var(--ease-out-expo);
}
.prx-cell--feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 7, 6, 0.94) 12%, rgba(8, 7, 6, 0.45) 55%, rgba(8, 7, 6, 0.15));
}
@media (hover: hover) and (pointer: fine) {
    .prx-cell--feature:hover .prx-cell-media { transform: scale(1.08); }
    .prx-cell--feature:hover { transform: none; }
}
.prx-cell--feature .prx-cell-inner {
    position: relative;
    z-index: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.prx-cell--feature .prx-cell-inner h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); }
.prx-cell--feature .prx-cell-inner p { color: rgba(255, 255, 255, 0.82); }
.prx-cell--stats {
    grid-column: 2;
    grid-row: 3;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.prx-stat { display: flex; flex-direction: column; gap: 2px; min-width: 80px; }
.prx-stat-v {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}
.prx-stat-u { font-size: 0.7em; margin-left: 2px; color: var(--secondary); }
.prx-stat-l { font-size: 0.78rem; color: var(--text-muted); }

/* --- CTA band --- */
.prx-cta {
    margin-top: clamp(3rem, 2rem + 4vw, 6rem);
    padding: clamp(1.8rem, 1.2rem + 2vw, 3rem);
    border-radius: 22px;
    background:
        radial-gradient(120% 160% at 0% 0%, rgba(205, 18, 30, 0.18), transparent 55%),
        rgba(255, 255, 255, 0.025);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.prx-cta-text h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); margin-bottom: 0.4rem; }
.prx-cta-text p { color: var(--text-muted); max-width: 52ch; }

@media (max-width: 900px) {
    .prx-lead { grid-template-columns: 1fr; }
    .prx-lead-media { order: -1; }
    .prx-bento { grid-template-columns: 1fr; }
    .prx-cell--feature,
    .prx-cell--stats { grid-column: auto; grid-row: auto; }
    .prx-cell--feature { min-height: 280px; }
}

/* =========================================================
   CAREER PAGE (redesign)  â€”  .cx-*   3D pipes + GSAP/Motion
   ========================================================= */
.cx-hero {
    position: relative;
    min-height: clamp(440px, 72vh, 660px);
    display: grid;
    align-items: center;
    margin-bottom: clamp(3rem, 2rem + 5vw, 7rem);
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid var(--glass-border);
    background:
        radial-gradient(120% 130% at 82% 8%, rgba(205, 18, 30, 0.18), transparent 55%),
        radial-gradient(100% 120% at 8% 92%, rgba(212, 175, 55, 0.08), transparent 55%),
        rgba(10, 8, 7, 0.55);
    padding: clamp(2rem, 1.5rem + 4vw, 5rem);
    perspective: 1200px;
}
.cx-scene { position: absolute; inset: 0; perspective: 1100px; pointer-events: none; z-index: 0; }
.cx-scene-3d {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    will-change: transform;
}
.cx-pipe {
    position: absolute;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.45), 0 22px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}
.cx-pipe--1 { top: 16%; left: -8%; width: 64%; height: 26px; transform: translateZ(80px) rotate(-8deg); }
.cx-pipe--2 { top: 44%; right: -12%; width: 72%; height: 34px; transform: translateZ(20px) rotate(6deg); }
.cx-pipe--3 { top: 70%; left: 2%; width: 56%; height: 22px; transform: translateZ(150px) rotate(-3deg); }
.cx-pipe--4 { top: 6%; right: 4%; width: 42%; height: 18px; transform: translateZ(-50px) rotate(10deg); opacity: 0.65; }
.cx-flow {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 15px center, var(--secondary) 0 4px, transparent 5px);
    background-size: 30px 100%;
    opacity: 0.9;
    animation: cxFlow 1.4s linear infinite;
}
.cx-pipe--2 .cx-flow { animation-duration: 1s; background-image: radial-gradient(circle at 15px center, #e8552f 0 4px, transparent 5px); }
.cx-pipe--3 .cx-flow { animation-duration: 1.9s; }
.cx-pipe--4 .cx-flow { animation-duration: 1.2s; }
@keyframes cxFlow { from { background-position: 0 center; } to { background-position: 30px center; } }
.cx-scene-glow { position: absolute; inset: 0; background: radial-gradient(55% 45% at 45% 50%, rgba(205, 18, 30, 0.12), transparent 70%); }

.cx-hero-content { position: relative; z-index: 2; max-width: 640px; }
.cx-hero-title {
    font-size: clamp(2.2rem, 1.4rem + 4.5vw, 5rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin: 1rem 0 1.2rem;
    text-wrap: balance;
}
.cx-hero-desc { color: var(--text-muted); font-size: 1.1rem; max-width: 52ch; margin-bottom: 1.8rem; }
.cx-hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Value tilt cards --- */
.cx-values { margin-bottom: clamp(3.5rem, 2rem + 6vw, 7rem); }
.cx-tilt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.cx-tilt {
    position: relative;
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.025);
    transform-style: preserve-3d;
    will-change: transform;
    transition: box-shadow 0.4s var(--ease-out-expo), border-color 0.3s ease;
}
.cx-tilt-inner { padding: 1.8rem; transform: translateZ(28px); transform-style: preserve-3d; }
.cx-tilt-num {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    color: rgba(212, 175, 55, 0.18);
    -webkit-text-stroke: 1.2px rgba(212, 175, 55, 0.5);
}
.cx-tilt h3 { font-family: var(--font-heading); font-size: 1.12rem; margin-bottom: 0.5rem; }
.cx-tilt p { color: var(--text-muted); font-size: 0.92rem; }
@media (hover: hover) and (pointer: fine) {
    .cx-tilt:hover { border-color: var(--glass-border-hover); box-shadow: 0 26px 54px rgba(0, 0, 0, 0.45), 0 0 30px var(--primary-glow); }
}

/* --- Application journey pipe --- */
.cx-journey { margin-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.cx-journey-track { position: relative; padding-left: 4px; }
.cx-journey-line {
    position: absolute;
    left: 7px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 0;
}
.cx-journey-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(var(--primary), var(--secondary));
    box-shadow: 0 0 10px var(--primary-glow);
}
.cx-journey-bean {
    position: absolute;
    left: 50%;
    top: 0%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 14px var(--secondary);
    transform: translate(-50%, -50%);
    opacity: 0;
}
.cx-journey-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 1rem + 2vw, 2.8rem);
    position: relative;
    z-index: 1;
}
.cx-jstep { display: flex; gap: 1.4rem; align-items: flex-start; }
.cx-jdot {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--glass-border-hover);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out-expo);
}
.cx-jstep.is-active .cx-jdot {
    background: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 0 12px var(--secondary);
    transform: scale(1.15);
}
.cx-jbody h3 { font-family: var(--font-heading); font-size: 1.12rem; margin-bottom: 0.3rem; }
.cx-jbody p { color: var(--text-muted); font-size: 0.92rem; max-width: 54ch; }

@media (max-width: 768px) {
    .cx-pipe--4 { display: none; }
    .cx-pipe { opacity: 0.55; }
    .cx-pipe--4 .cx-flow { opacity: 0.55; }
    .cx-hero-content { max-width: none; }
}



