/* ============================================
   CSS CUSTOM PROPERTIES
============================================ */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #141414;
    --accent: #c45c26;
    --accent-light: #e07b3c;
    --accent-dark: #a04a1e;
    --text-primary: #ffffff;
    --text-muted: #a0a0a0;
    --text-dark: #666666;
    --highlight: #f5f0eb;
    --success: #2ecc71;

    --font-display: 'Unbounded', sans-serif;
    --font-body: 'Inter', sans-serif;

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

    --header-height: 80px;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

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

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

/* ============================================
   NOISE TEXTURE OVERLAY
============================================ */
.noise-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.3;
    mix-blend-mode: overlay;
}

/* ============================================
   CUSTOM CURSOR
============================================ */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s var(--ease-out-expo),
                width 0.3s var(--ease-out-expo),
                height 0.3s var(--ease-out-expo),
                border-width 0.3s var(--ease-out-expo),
                opacity 0.3s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    background: transparent;
}

/* Cursor inner dot */
.cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s var(--ease-out-expo);
    opacity: 1;
}

/* Hover state - ring expands, stays transparent */
.cursor.hover {
    width: 50px;
    height: 50px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--accent);
    background: rgba(196, 92, 38, 0.1);
    mix-blend-mode: normal;
}

.cursor.hover::before {
    width: 6px;
    height: 6px;
    opacity: 1;
}

/* Text hover - for links/buttons */
.cursor.hover-text {
    width: 80px;
    height: 80px;
    border-width: 1px;
    border-color: rgba(196, 92, 38, 0.5);
    background: transparent;
    mix-blend-mode: difference;
}

.cursor.hover-text::before {
    width: 0;
    height: 0;
    opacity: 0;
}

/* Cursor label for special interactions */
.cursor.hover-text::after {
    content: attr(data-cursor-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 1;
}

/* Hide cursor on click */
.cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
}

@media (max-width: 1024px) {
    .cursor { display: none; }
}

/* ============================================
   LOADING SCREEN
============================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out-expo),
                visibility 0.8s;
}

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

.loader-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--accent);
    overflow: hidden;
}

.loader-text span {
    display: inline-block;
    animation: loaderReveal 0.6s var(--ease-out-expo) forwards;
    opacity: 0;
    transform: translateY(100%);
}

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

/* ============================================
   HEADER / NAVIGATION
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.logo-mark {
    flex-shrink: 0;
}

.logo-mark svg {
    display: block;
    width: auto;
    height: 1.8em;
}

.logo-mark rect {
    fill: currentColor;
}

.logo span {
    color: var(--accent);
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    list-style: none;
    gap: 2.5rem;
}

@media (min-width: 1200px) {
    .desktop-nav {
        display: flex;
    }
}

.desktop-nav a {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    position: relative;
}

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

.desktop-nav a:hover {
    color: var(--text-primary);
}

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

.desktop-nav a.active {
    color: var(--text-primary);
}

.desktop-nav a.active::after {
    width: 100%;
}

.header-cta {
    display: none;
    position: relative;
    padding: 0.85rem 1.8rem;
    background: var(--accent);
    border: 1px solid var(--accent);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 0.4s ease;
}

.header-cta span {
    position: relative;
    z-index: 1;
}

/* Corner accents - same as btn-primary */
.header-cta::before,
.header-cta::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    transition: all 0.3s var(--ease-out-expo);
    opacity: 0.5;
}

.header-cta::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--text-primary);
    border-left: 2px solid var(--text-primary);
}

.header-cta::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--text-primary);
    border-right: 2px solid var(--text-primary);
}

.header-cta:hover {
    background: var(--accent-light);
}

.header-cta:hover::before,
.header-cta:hover::after {
    width: 16px;
    height: 16px;
    opacity: 1;
}

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

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
}

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

.menu-toggle span {
    display: block;
    width: 32px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.4s var(--ease-out-expo),
                opacity 0.4s ease;
}

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

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

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

/* Fullscreen Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s var(--ease-out-expo),
                visibility 0.6s;
}

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

.menu-nav {
    list-style: none;
    text-align: center;
}

.menu-nav li {
    overflow: hidden;
}

.menu-nav a {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 1.1;
    padding: 0.2em 0;
    transform: translateY(100%);
    transition: transform 0.8s var(--ease-out-expo),
                color 0.3s ease;
}

.fullscreen-menu.active .menu-nav a {
    transform: translateY(0);
}

.menu-nav a:hover {
    color: var(--accent);
}

.menu-nav li:nth-child(1) a { transition-delay: 0.1s; }
.menu-nav li:nth-child(2) a { transition-delay: 0.15s; }
.menu-nav li:nth-child(3) a { transition-delay: 0.2s; }
.menu-nav li:nth-child(4) a { transition-delay: 0.25s; }
.menu-nav li:nth-child(5) a { transition-delay: 0.3s; }

.menu-contact {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s ease 0.4s;
}

.fullscreen-menu.active .menu-contact {
    opacity: 1;
}

.menu-contact a {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--accent);
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: var(--header-height) clamp(1.5rem, 5vw, 4rem) 4rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(196, 92, 38, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(196, 92, 38, 0.1) 0%, transparent 40%),
        linear-gradient(180deg, transparent 0%, var(--bg-primary) 100%);
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    opacity: 0.03;
    background-image:
        repeating-linear-gradient(
            90deg,
            var(--accent) 0px,
            var(--accent) 2px,
            transparent 2px,
            transparent 60px
        ),
        repeating-linear-gradient(
            0deg,
            var(--accent) 0px,
            var(--accent) 2px,
            transparent 2px,
            transparent 30px
        );
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 1px solid rgba(196, 92, 38, 0.5);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
    position: relative;
}

/* Corner accents for brutalist look */
.hero-badge::before,
.hero-badge::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid var(--accent);
}

.hero-badge::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.hero-badge::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-badge span {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

/* Second line needs visible overflow for word rotation */
.hero-title .line:nth-child(2) {
    overflow: visible;
}

.hero-title .line-inner {
    display: block;
    transform: translateY(100%);
    animation: slideUp 1s var(--ease-out-expo) forwards;
}

.hero-title .line:nth-child(1) .line-inner { animation-delay: 0.3s; }
.hero-title .line:nth-child(1) { margin-bottom: 1rem; }
.hero-title .line:nth-child(2) .line-inner { animation-delay: 0.4s; }

@keyframes slideUp {
    to { transform: translateY(0); }
}

.hero-title .word-main {
    font-size: clamp(2.5rem, 5.5vw, 6rem);
    color: var(--text-primary);
    white-space: nowrap;
}

@media (max-width: 1400px) {
    .hero-title .word-main {
        font-size: clamp(2.2rem, 5vw, 4.5rem);
    }
}

@media (max-width: 1200px) {
    .hero-title .word-main {
        font-size: clamp(2rem, 4.5vw, 3.8rem);
    }
}

@media (max-width: 768px) {
    .hero-title .word-main {
        font-size: clamp(1.6rem, 6vw, 2.8rem);
    }
}

@media (max-width: 480px) {
    .hero-title .word-main {
        font-size: clamp(1.3rem, 7vw, 2rem);
    }
}

.hero-title .word-accent {
    font-size: clamp(3rem, 14vw, 14rem);
    font-weight: 200;
    color: var(--accent);
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 300;
    color: var(--text-muted);
    max-width: 750px;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out-expo) 0.6s forwards;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

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

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out-expo) 0.8s forwards;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease-out-expo);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* Corner accents for buttons */
.btn::before,
.btn::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    transition: all 0.3s var(--ease-out-expo);
}

.btn::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.btn::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

.btn:hover::before,
.btn:hover::after {
    width: 20px;
    height: 20px;
}

/* Primary button */
.btn-primary {
    background: var(--accent);
    color: var(--text-primary);
    border: 1px solid var(--accent);
}

.btn-primary::before,
.btn-primary::after {
    border-color: var(--text-primary);
    opacity: 0.5;
}

.btn-primary:hover {
    background: var(--accent-light);
}

.btn-primary:hover::before,
.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

/* Outline button */
.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(196, 92, 38, 0.1);
}

.btn-outline span {
    position: relative;
    z-index: 1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) 1s forwards;
}

.scroll-indicator span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

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

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

/* ============================================
   KILN GLOW EFFECT (Premium Interactive BG)
============================================ */
.kiln-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
    will-change: transform;
}

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

@media (max-width: 768px) {
    .kiln-glow {
        width: 300px;
        height: 300px;
    }
}

.kiln-glow-inner {
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle,
        rgba(196, 92, 38, 0.25) 0%,
        rgba(196, 92, 38, 0.12) 30%,
        rgba(196, 92, 38, 0.05) 50%,
        transparent 70%
    );
    filter: blur(80px);
    animation: kilnPulse 4s ease-in-out infinite;
}

@keyframes kilnPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Ember core - brighter center */
.kiln-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle,
        rgba(255, 140, 60, 0.4) 0%,
        rgba(196, 92, 38, 0.2) 50%,
        transparent 70%
    );
    filter: blur(40px);
    animation: emberCore 2s ease-in-out infinite alternate;
}

@keyframes emberCore {
    0% { transform: translate(-50%, -50%) scale(0.9); }
    100% { transform: translate(-50%, -50%) scale(1.1); }
}

/* ============================================
   WORD ROTATION - TYPEWRITER EFFECT
============================================ */
.word-rotator {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: clamp(1.8rem, 3.5vw, 3.8rem);
}

.typewriter-text {
    font-size: clamp(1.8rem, 3.2vw, 3.5rem);
    font-weight: 200;
    color: transparent;
    -webkit-text-stroke: 2px var(--accent);
    line-height: 1;
    text-shadow: 0 0 60px rgba(196, 92, 38, 0.4);
    white-space: nowrap;
}

/* Blinking cursor - fixed height to prevent collapse */
.typewriter-cursor {
    display: inline-block;
    width: 4px;
    height: clamp(1.6rem, 3vw, 3.2rem);
    background: var(--accent);
    margin-left: 0.05em;
    animation: cursorBlink 0.8s step-end infinite;
    box-shadow: 0 0 20px rgba(196, 92, 38, 0.6);
    flex-shrink: 0;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Typing state - cursor solid */
.word-rotator.typing .typewriter-cursor {
    animation: none;
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .word-rotator {
        min-height: clamp(1.6rem, 3vw, 2.8rem);
    }
    .typewriter-text {
        font-size: clamp(1.6rem, 3vw, 2.8rem);
    }
    .typewriter-cursor {
        height: clamp(1.4rem, 2.8vw, 2.5rem);
    }
}

@media (max-width: 1200px) {
    .word-rotator {
        min-height: clamp(1.4rem, 2.8vw, 2.4rem);
    }
    .typewriter-text {
        font-size: clamp(1.4rem, 2.8vw, 2.4rem);
        -webkit-text-stroke: 1.5px var(--accent);
    }
    .typewriter-cursor {
        width: 3px;
        height: clamp(1.2rem, 2.6vw, 2.2rem);
    }
}

@media (max-width: 992px) {
    .word-rotator {
        min-height: clamp(1.2rem, 2.5vw, 2rem);
    }
    .typewriter-text {
        font-size: clamp(1.2rem, 2.5vw, 2rem);
        -webkit-text-stroke: 1.5px var(--accent);
    }
    .typewriter-cursor {
        height: clamp(1rem, 2.3vw, 1.8rem);
    }
}

@media (max-width: 768px) {
    .word-rotator {
        min-height: clamp(1rem, 3.5vw, 1.6rem);
    }
    .typewriter-text {
        font-size: clamp(1rem, 3.5vw, 1.6rem);
        -webkit-text-stroke: 1px var(--accent);
    }
    .typewriter-cursor {
        width: 2px;
        height: clamp(0.9rem, 3.2vw, 1.4rem);
    }
}

@media (max-width: 480px) {
    .word-rotator {
        min-height: clamp(0.85rem, 4vw, 1.3rem);
    }
    .typewriter-text {
        font-size: clamp(0.85rem, 4vw, 1.3rem);
        -webkit-text-stroke: 1px var(--accent);
    }
    .typewriter-cursor {
        width: 2px;
        height: clamp(0.75rem, 3.5vw, 1.1rem);
    }
}

/* ============================================
   FLOATING EMBER PARTICLES
============================================ */
.ember-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.ember {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 60, 0.9) 0%, rgba(196, 92, 38, 0.6) 50%, transparent 70%);
    filter: blur(1px);
    animation: emberFloat linear infinite;
}

@keyframes emberFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(var(--drift)) scale(0.3);
        opacity: 0;
    }
}

/* Hero enhanced depth */
.hero-title .word-main {
    text-shadow:
        0 0 100px rgba(255, 255, 255, 0.05),
        0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ============================================
   SOCIAL PROOF / TRUST BADGES
============================================ */
.trust-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trust-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.trust-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 3rem;
    transition: all 0.4s var(--ease-out-expo);
}

/* Vertical dividers */
.trust-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(196, 92, 38, 0.4), transparent);
}

.trust-item:hover {
    background: rgba(196, 92, 38, 0.05);
}

.trust-icon {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 92, 38, 0.15);
    transition: all 0.4s var(--ease-out-expo);
}

/* Corner accents for icons */
.trust-icon::before,
.trust-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    transition: all 0.3s var(--ease-out-expo);
}

.trust-icon::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.trust-icon::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

.trust-item:hover .trust-icon::before,
.trust-item:hover .trust-icon::after {
    width: 12px;
    height: 12px;
}

.trust-item:hover .trust-icon {
    background: rgba(196, 92, 38, 0.25);
    transform: scale(1.05);
}

.trust-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--accent);
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trust-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    transition: color 0.3s ease;
}

.trust-item:hover .trust-number {
    color: var(--accent);
}

.trust-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .trust-container {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }
    .trust-item {
        padding: 1.5rem 0;
        justify-content: flex-start;
        width: 100%;
        max-width: 85%;;
    }
    .trust-text {
        text-align: left;
    }
    .trust-item:not(:last-child)::after {
        width: 260px;
        height: 1px;
        top: auto;
        bottom: 0;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(to right, transparent, rgba(196, 92, 38, 0.4), transparent);
    }
}

/* ============================================
   MARQUEE SECTION
============================================ */
.marquee-section {
    position: relative;
    padding: 3rem 0;
    background: var(--bg-primary);
    overflow: hidden;
}

/* Gradient fade edges */
.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.marquee {
    display: flex;
    width: fit-content;
    animation: marquee 35s linear infinite;
}

.marquee:hover {
    animation-play-state: paused;
}

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

.marquee-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 0 1.25rem;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    white-space: nowrap;
    color: var(--text-primary);
    opacity: 0.7;
    transition: all 0.4s var(--ease-out-expo);
}

/* Stroke style for alternating items */
.marquee-item.stroke {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent);
    opacity: 0.9;
}

.marquee-item:hover {
    opacity: 1;
    color: var(--accent);
    transform: scale(1.05);
}

.marquee-item.stroke:hover {
    -webkit-text-stroke-color: var(--accent-light);
    text-shadow: 0 0 30px rgba(196, 92, 38, 0.5);
}

/* Square separator */
.marquee-dot {
    position: relative;
    width: 10px;
    height: 10px;
    background: transparent;
    border: 2px solid var(--accent);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.marquee-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: var(--accent);
}

@media (max-width: 768px) {
    .marquee-section::before,
    .marquee-section::after {
        width: 50px;
    }
    .marquee-item {
        font-size: clamp(1.2rem, 4vw, 2rem);
    }
    .marquee-item.stroke {
        -webkit-text-stroke-width: 1px;
    }
}

/* ============================================
   ABOUT SECTION
============================================ */
.about {
    padding: clamp(4rem, 10vw, 10rem) 0;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1.4fr 1fr;
        gap: 6rem;
        align-items: center;
    }
}

.about-content {
    max-width: 800px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.about-title .highlight {
    color: var(--accent);
}

.about-text {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.about-feature {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s var(--ease-out-expo);
}

.about-feature:hover {
    background: rgba(196, 92, 38, 0.08);
    border-color: rgba(196, 92, 38, 0.2);
    transform: translateX(5px);
}

.about-feature-icon {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 92, 38, 0.15);
    flex-shrink: 0;
}

/* Corner accents for feature icons */
.about-feature-icon::before,
.about-feature-icon::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    transition: all 0.3s var(--ease-out-expo);
}

.about-feature-icon::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.about-feature-icon::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

.about-feature:hover .about-feature-icon::before,
.about-feature:hover .about-feature-icon::after {
    width: 10px;
    height: 10px;
}

.about-feature svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2.5;
    flex-shrink: 0;
}

.about-feature span {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.about-feature:hover span {
    color: var(--text-primary);
}

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

.about-image-wrapper {
    position: relative;
    padding: 40px 0 40px 40px;
}

/* Акцентный блок-подложка с noise */
.about-image-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 80%;
    background: var(--accent);
    z-index: 0;
}

/* Декоративный элемент с corner accents */
.about-decor {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    z-index: 3;
    pointer-events: none;
}

.about-decor::before,
.about-decor::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
}

.about-decor::before {
    top: 0;
    right: 0;
    border-top: 2px solid rgba(255,255,255,0.2);
    border-right: 2px solid rgba(255,255,255,0.2);
}

.about-decor::after {
    bottom: 0;
    left: 0;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    border-left: 2px solid rgba(255,255,255,0.2);
}

/* Дополнительный акцент на изображении */
.about-image-wrapper .corner-accent {
    position: absolute;
    z-index: 4;
    width: 30px;
    height: 30px;
    pointer-events: none;
}

.about-image-wrapper .corner-accent.top-left {
    top: 30px;
    left: 30px;
    border-top: 3px solid var(--text-primary);
    border-left: 3px solid var(--text-primary);
}

.about-image-wrapper .corner-accent.bottom-right {
    bottom: 30px;
    right: -10px;
    border-bottom: 3px solid var(--text-primary);
    border-right: 3px solid var(--text-primary);
}

.about-image {
    position: relative;
    height: clamp(350px, 50vw, 500px);
    overflow: hidden;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.8s var(--ease-out-expo);
}

.about-image:hover img {
    transform: scale(1);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

/* Текст на подложке - премиум стиль */
.about-image-label {
    position: absolute;
    bottom: 30px;
    left: 15px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    z-index: 2;
    padding: 1rem 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    border-left: 2px solid var(--accent);
}

/* Stats Section - Premium Brutalist */
.stats-section {
    position: relative;
    padding: clamp(4rem, 8vw, 8rem) 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

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

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    position: relative;
    padding: clamp(2.5rem, 5vw, 4.5rem);
    border-bottom: 1px solid rgba(196, 92, 38, 0.1);
    transition: background 0.5s var(--ease-out-expo);
    overflow: hidden;
}

/* Gradient dividers for desktop */
@media (min-width: 1200px) {
    .stat-item {
        border-bottom: none;
        background-image: linear-gradient(
            to bottom,
            transparent 15%,
            rgba(196, 92, 38, 0.15) 50%,
            transparent 85%
        );
        background-size: 1px 100%;
        background-position: right;
        background-repeat: no-repeat;
    }
    .stat-item:last-child {
        background-image: none;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .stat-item:nth-child(odd) {
        background-image: linear-gradient(
            to bottom,
            transparent 15%,
            rgba(196, 92, 38, 0.15) 50%,
            transparent 85%
        );
        background-size: 1px 100%;
        background-position: right;
        background-repeat: no-repeat;
    }
}

/* Corner accent */
.stat-item::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 18px;
    height: 18px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
    opacity: 0.5;
    transition: all 0.4s var(--ease-out-expo);
    z-index: 2;
}

.stat-item:hover::after {
    width: 28px;
    height: 28px;
    opacity: 1;
}

/* Scan-line hover effect */
.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(196, 92, 38, 0.06),
        transparent
    );
    pointer-events: none;
    z-index: 1;
}

.stat-item:hover::before {
    left: 100%;
    transition: left 0.8s var(--ease-out-expo);
}

.stat-item:hover {
    background-color: rgba(196, 92, 38, 0.03);
}

.stat-content {
    position: relative;
    z-index: 3;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: baseline;
    gap: 0.2em;
}

.stat-number .counter {
    color: var(--accent);
    transition: text-shadow 0.3s ease;
}

.stat-item:hover .counter {
    text-shadow: 0 0 40px rgba(196, 92, 38, 0.5);
}

.stat-number .suffix {
    position: relative;
    font-size: 0.45em;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.stat-number .suffix::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out-expo);
}

.stat-item:hover .suffix::after {
    width: 100%;
}

.stat-label {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 200px;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: var(--text-primary);
}

/* Index badge - premium style */
.stat-index {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--bg-primary);
    letter-spacing: 0.15em;
    padding: 0.3em 0.6em;
    border: 1px solid var(--accent);
    background: var(--accent);
    transition: all 0.3s ease;
    z-index: 3;
}

.stat-item:hover .stat-index {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

/* ============================================
   PRODUCTS SECTION
============================================ */
.products {
    position: relative;
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--bg-primary);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    margin-bottom: 4rem;
}

.products-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 0.9;
}

.products-title .thin {
    font-weight: 200;
    color: var(--text-muted);
}

.products-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.products-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.products-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
}

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

.products-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.products-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s var(--ease-out-expo);
}

.products-link:hover svg {
    transform: translateX(5px);
}

/* Gallery Navigation Arrows */
.gallery-nav {
    display: none;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .gallery-nav {
        display: flex;
    }
}

.gallery-nav button {
    position: relative;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--text-dark);
    background: transparent;
    color: var(--text-primary);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.gallery-nav button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
    z-index: 0;
}

.gallery-nav button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.gallery-nav button:hover {
    border-color: var(--accent);
}

.gallery-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-nav button:disabled:hover::before {
    transform: scaleX(0);
}

.gallery-nav svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s var(--ease-out-expo);
}

.gallery-nav button:hover svg {
    transform: scale(1.1);
}

/* Products Marquee — infinite horizontal auto-scroll */
.products-marquee {
    position: relative;
    overflow: hidden;
    padding: 0;
    mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.products-marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    padding: 0 1rem;
    animation: productsMarquee 60s linear infinite;
    will-change: transform;
}

.products-marquee:hover .products-marquee-track {
    animation-play-state: paused;
}

@keyframes productsMarquee {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .products-marquee-track { animation: none; }
}

.product-card {
    flex: 0 0 clamp(280px, 35vw, 400px);
    scroll-snap-align: start;
    position: relative;
    background: var(--bg-secondary);
    overflow: visible;
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.4s ease;
}

/* Corner accents on cards */
.product-card::before,
.product-card::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    z-index: 10;
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
}

.product-card::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.product-card::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--text-primary);
    border-right: 2px solid var(--text-primary);
}

.product-card:hover::before,
.product-card:hover::after {
    opacity: 1;
    width: 24px;
    height: 24px;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 6px 6px 0 0 var(--accent);
}

/* Bottom line on hover */
.product-card-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out-expo);
    z-index: 5;
}

.product-card:hover .product-card-line {
    width: 100%;
}

.product-image {
    position: relative;
    height: clamp(200px, 28vw, 300px);
    overflow: hidden;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Technical grid background */
.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    pointer-events: none;
}

/* Inner technical frame */
.product-image::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 2;
    pointer-events: none;
    transition: all 0.4s var(--ease-out-expo);
}

.product-card:hover .product-image::after {
    border-color: rgba(232, 90, 79, 0.3);
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
}

/* Product index badge */
.product-index {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.25);
    z-index: 3;
    transition: color 0.3s ease;
}

.product-card:hover .product-index {
    color: var(--accent);
}

/* Corner markers */
.product-image-corners {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    pointer-events: none;
    z-index: 3;
}

.product-image-corners::before,
.product-image-corners::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: rgba(255, 255, 255, 0.15);
    border-style: solid;
    transition: all 0.4s var(--ease-out-expo);
}

.product-image-corners::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
}

.product-image-corners::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
}

.product-card:hover .product-image-corners::before,
.product-card:hover .product-image-corners::after {
    border-color: var(--accent);
    width: 12px;
    height: 12px;
}

.product-image img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: transform 0.8s var(--ease-out-expo), filter 0.4s ease;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4)) contrast(1.05);
    position: relative;
    z-index: 0;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 32px rgba(0,0,0,0.5)) contrast(1.1);
}

/* Badge with cut corner */
.product-tag {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.5rem 1rem;
    background: var(--accent);
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bg-primary);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
    z-index: 3;
    transition: transform 0.3s var(--ease-out-expo), background 0.3s ease;
}

.product-card:hover .product-tag {
    transform: translate(-2px, -2px);
    background: var(--accent-light);
}

.product-info {
    padding: 1.5rem;
    position: relative;
}

.product-name {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 700;
    margin-bottom: 0.4rem;
    display: inline;
    background-image: linear-gradient(var(--accent), var(--accent));
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s var(--ease-out-expo);
}

.product-card:hover .product-name {
    background-size: 100% 2px;
}

.product-specs {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.product-price .from {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.product-price .amount {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 800;
    color: var(--accent);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.product-card:hover .product-price .amount {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(196, 92, 38, 0.5);
}

.product-price .unit {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Square button instead of round */
.product-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid var(--accent);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.product-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease-out-expo);
    z-index: 0;
}

.product-btn svg {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    transition: stroke 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.product-card:hover .product-btn::before {
    transform: translateX(0);
}

.product-card:hover .product-btn svg {
    stroke: var(--bg-primary);
    transform: translateX(3px);
}

/* Scroll Progress - Premium */
.scroll-progress {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
}

.scroll-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.08);
    position: relative;
    max-width: 350px;
}

/* End markers */
.scroll-progress-bar::before,
.scroll-progress-bar::after {
    content: '';
    position: absolute;
    top: -4px;
    width: 1px;
    height: 11px;
    background: var(--text-dark);
}

.scroll-progress-bar::before {
    left: 0;
}

.scroll-progress-bar::after {
    right: 0;
}

.scroll-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent);
    width: 20%;
    transition: width 0.3s var(--ease-out-expo);
    box-shadow: 5px 0 15px rgba(196, 92, 38, 0.5);
}

/* Dot at end of progress */
.scroll-progress-fill::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent);
    border: 2px solid var(--bg-primary);
}

.scroll-progress-text {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 45px;
}

.scroll-progress-text .current {
    color: var(--accent);
    font-size: 1.1rem;
}

/* ============================================
   ADVANTAGES SECTION
============================================ */
.advantages {
    position: relative;
    padding: clamp(4rem, 10vw, 10rem) 0;
    overflow: hidden;
    background: var(--bg-secondary);
}

/* Technical grid background */
.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(196, 92, 38, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(196, 92, 38, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.advantages-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(15rem, 40vw, 50rem);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(196, 92, 38, 0.06);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.advantages-content {
    position: relative;
    z-index: 1;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.advantages-header {
    text-align: center;
    margin-bottom: clamp(3rem, 8vw, 6rem);
}

.advantages-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
}

.advantages-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .advantages-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.advantage-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: clamp(2rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

/* Gradient dividers */
.advantage-item::before,
.advantage-item::after {
    content: '';
    position: absolute;
    transition: all 0.4s var(--ease-out-expo);
}

/* Right border gradient */
.advantage-item::before {
    top: 15%;
    right: 0;
    width: 1px;
    height: 70%;
    background: linear-gradient(to bottom, transparent, rgba(196, 92, 38, 0.25), transparent);
    opacity: 0;
}

/* Bottom border gradient */
.advantage-item::after {
    bottom: 0;
    left: 15%;
    width: 70%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(196, 92, 38, 0.2), transparent);
}

@media (min-width: 768px) {
    .advantage-item::before {
        opacity: 1;
    }
    .advantage-item:nth-child(2n)::before {
        opacity: 0;
    }
    .advantage-item:nth-child(n+3)::after {
        opacity: 0;
    }
}

.advantage-item:hover {
    background: rgba(196, 92, 38, 0.05);
}

/* Corner accents */
.advantage-corner {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
    z-index: 5;
}

.advantage-corner--tl {
    top: 8px;
    left: 8px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.advantage-corner--br {
    bottom: 8px;
    right: 8px;
    border-bottom: 2px solid var(--text-primary);
    border-right: 2px solid var(--text-primary);
}

.advantage-item:hover .advantage-corner {
    opacity: 1;
    width: 16px;
    height: 16px;
}

/* Scan line effect */
.advantage-scan {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(196, 92, 38, 0.08) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

.advantage-item:hover .advantage-scan {
    left: 100%;
    transition: left 0.8s var(--ease-out-expo);
}

/* Stroke-text numbers */
.advantage-number {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px var(--accent);
    line-height: 1;
    opacity: 0.4;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    z-index: 2;
}

.advantage-item:hover .advantage-number {
    opacity: 1;
    color: var(--accent);
    text-shadow: 0 0 40px rgba(196, 92, 38, 0.4);
}

.advantage-content {
    position: relative;
    z-index: 2;
}

.advantage-content h3 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: inline;
    background-image: linear-gradient(var(--accent), var(--accent));
    background-size: 0 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s var(--ease-out-expo);
}

.advantage-item:hover .advantage-content h3 {
    background-size: 100% 2px;
}

.advantage-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 0.75rem;
}

.advantage-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.advantage-cert-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    color: var(--accent);
    border: 1px solid rgba(196, 92, 38, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.advantage-cert-link:hover {
    background: rgba(196, 92, 38, 0.1);
    border-color: var(--accent);
}

.advantage-cert-link::before {
    content: '\2193';
    font-size: 0.9rem;
}

/* Products as links */
a.product-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ============================================
   CTA SECTION
============================================ */
.cta {
    position: relative;
    padding: clamp(6rem, 15vw, 12rem) clamp(1.5rem, 5vw, 4rem);
    background: var(--bg-primary);
    text-align: center;
    overflow: hidden;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(
        90deg,
        transparent 0%,
        rgba(196, 92, 38, 0.3) 20%,
        rgba(196, 92, 38, 0.5) 50%,
        rgba(196, 92, 38, 0.3) 80%,
        transparent 100%
    ) 1;
}

/* Radial glow background */
.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 70%, rgba(196, 92, 38, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(196, 92, 38, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

/* Technical grid overlay */
.cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(196, 92, 38, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(196, 92, 38, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Decorative frame */
.cta-frame {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    border: 1px solid rgba(196, 92, 38, 0.12);
    pointer-events: none;
    z-index: 0;
}

.cta-frame::before,
.cta-frame::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    transition: all 0.4s var(--ease-out-expo);
}

.cta-frame::before {
    top: -1px;
    left: -1px;
    border-top: 3px solid var(--accent);
    border-left: 3px solid var(--accent);
}

.cta-frame::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 3px solid var(--text-primary);
    border-right: 3px solid var(--text-primary);
}

.cta:hover .cta-frame::before,
.cta:hover .cta-frame::after {
    width: 32px;
    height: 32px;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.cta-title .accent {
    color: var(--accent);
    text-shadow: 0 0 60px rgba(196, 92, 38, 0.4);
}

.cta-subtitle {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1.5rem;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.cta-subtitle span {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.cta-subtitle span::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    flex-shrink: 0;
}

.cta-subtitle .divider {
    width: 1px;
    height: 1.2em;
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 600px) {
    .cta-subtitle .divider {
        display: none;
    }
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
}

/* Pulsing urgency indicators */
.cta-buttons::before,
.cta-buttons::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--accent);
    transform: translateY(-50%);
}

.cta-buttons::before {
    left: -30px;
    animation: urgentPulse 2s ease-in-out infinite;
}

.cta-buttons::after {
    right: -30px;
    animation: urgentPulse 2s ease-in-out infinite 1s;
}

@keyframes urgentPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(196, 92, 38, 0.7);
    }
    50% {
        opacity: 0.5;
        box-shadow: 0 0 0 12px rgba(196, 92, 38, 0);
    }
}

@media (max-width: 600px) {
    .cta-buttons::before,
    .cta-buttons::after {
        display: none;
    }
}

/* Glow effect for CTA primary button */
.cta .btn-primary {
    box-shadow: 0 0 0 rgba(196, 92, 38, 0);
}

.cta .btn-primary:hover {
    box-shadow:
        0 0 20px rgba(196, 92, 38, 0.4),
        0 0 40px rgba(196, 92, 38, 0.2),
        0 0 60px rgba(196, 92, 38, 0.1);
}

/* Phone block with cut-corner style */
.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    padding: 1rem 2rem;
    background: rgba(196, 92, 38, 0.06);
    border: 1px solid rgba(196, 92, 38, 0.15);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
}

.cta-phone:hover {
    color: var(--accent);
    background: rgba(196, 92, 38, 0.12);
    border-color: rgba(196, 92, 38, 0.3);
    box-shadow: 0 0 30px rgba(196, 92, 38, 0.15);
}

.cta-phone svg {
    width: 32px;
    height: 32px;
    fill: var(--accent);
    transition: transform 0.3s var(--ease-out-expo);
}

.cta-phone:hover svg {
    transform: scale(1.1) rotate(-10deg);
}

/* ============================================
   MODAL
============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 100%;
    max-width: 480px;
    background: var(--bg-secondary);
    padding: clamp(2rem, 5vw, 2.5rem);
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s var(--ease-out-expo);
    border: 1px solid rgba(196, 92, 38, 0.15);
    overflow: hidden;
}

/* Corner accents for modal */
.modal::before,
.modal::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    transition: all 0.5s var(--ease-out-expo);
    pointer-events: none;
    z-index: 10;
}

.modal::before {
    top: -1px;
    left: -1px;
    border-top: 3px solid var(--accent);
    border-left: 3px solid var(--accent);
}

.modal::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    border-right: 3px solid rgba(255, 255, 255, 0.3);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-overlay.active .modal::before,
.modal-overlay.active .modal::after {
    width: 28px;
    height: 28px;
}

/* Grid overlay */
.modal-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(196, 92, 38, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(196, 92, 38, 0.03) 1px, transparent 1px);
    background-size: 25px 25px;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.6s ease 0.2s;
}

.modal-overlay.active .modal-grid {
    opacity: 1;
}

.modal-content {
    position: relative;
    z-index: 1;
}

/* Close button with cut-corner */
.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    z-index: 11;
}

.modal-close::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    background: rgba(196, 92, 38, 0.05);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%, 0 30%);
    transition: all 0.3s ease;
}

.modal-close:hover::before {
    background: rgba(196, 92, 38, 0.15);
}

.modal-close svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-muted);
    stroke-width: 2;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.modal-close:hover svg {
    stroke: var(--accent);
    transform: rotate(90deg);
}

/* Title with accent line */
.modal-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.modal-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

/* Form group with left accent */
.form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.form-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    padding-left: 0.75rem;
    position: relative;
    transition: color 0.3s ease;
}

.form-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 70%;
    background: var(--accent);
    transition: height 0.3s var(--ease-out-expo);
}

.form-group:focus-within .form-label {
    color: var(--text-primary);
}

.form-group:focus-within .form-label::before {
    height: 100%;
}

/* Input wrapper for corner accents */
.input-wrapper {
    position: relative;
}

.input-wrapper::before,
.input-wrapper::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    transition: all 0.3s var(--ease-out-expo);
    pointer-events: none;
    opacity: 0;
    z-index: 2;
}

.input-wrapper::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.input-wrapper::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

.input-wrapper:focus-within::before,
.input-wrapper:focus-within::after {
    opacity: 1;
    width: 10px;
    height: 10px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 1rem 1.1rem;
    background: var(--bg-primary);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: var(--text-dark);
    font-style: italic;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: rgba(196, 92, 38, 0.4);
    background: rgba(196, 92, 38, 0.03);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Submit button with corner accents */
.form-submit {
    width: 100%;
    padding: 1.1rem;
    background: var(--accent);
    border: 1px solid var(--accent);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    margin-top: 0.5rem;
}

.form-submit::before,
.form-submit::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    transition: all 0.3s var(--ease-out-expo);
    border-color: rgba(255, 255, 255, 0.4);
}

.form-submit::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid;
    border-left: 2px solid;
}

.form-submit::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid;
    border-right: 2px solid;
}

.form-submit:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 92, 38, 0.3);
}

.form-submit:hover::before,
.form-submit:hover::after {
    width: 16px;
    height: 16px;
    border-color: var(--text-primary);
}

.form-submit:active {
    transform: translateY(0);
}

/* Form note with decorative lines */
.form-note {
    margin-top: 1.25rem;
    font-size: 0.7rem;
    color: var(--text-dark);
    text-align: center;
    letter-spacing: 0.02em;
    position: relative;
    padding: 0 2rem;
}

.form-note::before,
.form-note::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1));
}

.form-note::before {
    left: 0;
}

.form-note::after {
    right: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
}

.form-note a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.form-note a:hover {
    border-bottom-color: var(--accent);
}

/* Technical form number */
.modal-number {
    position: absolute;
    bottom: 0.75rem;
    left: 1rem;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.12);
    text-transform: uppercase;
    z-index: 1;
}

.modal-number::before {
    content: '//';
    margin-right: 0.4em;
    color: var(--accent);
    opacity: 0.4;
}

/* ============================================
   FOOTER
============================================ */
.footer {
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    border-top: 1px solid transparent;
    border-image: linear-gradient(
        90deg,
        transparent 0%,
        rgba(196, 92, 38, 0.3) 20%,
        rgba(196, 92, 38, 0.5) 50%,
        rgba(196, 92, 38, 0.3) 80%,
        transparent 100%
    ) 1;
}

/* Technical grid overlay */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(196, 92, 38, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(196, 92, 38, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Decorative frame */
.footer-frame {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    border: 1px solid rgba(196, 92, 38, 0.08);
    pointer-events: none;
    z-index: 0;
}

.footer-frame::before,
.footer-frame::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    transition: all 0.4s var(--ease-out-expo);
}

.footer-frame::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.footer-frame::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    border-right: 2px solid rgba(255, 255, 255, 0.3);
}

.footer:hover .footer-frame::before,
.footer:hover .footer-frame::after {
    width: 28px;
    height: 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 4rem;
    }
}

.footer-brand {
    max-width: 320px;
    position: relative;
}

/* Vertical accent line */
.footer-brand::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(
        180deg,
        var(--accent) 0%,
        rgba(196, 92, 38, 0.3) 60%,
        transparent 100%
    );
}

@media (max-width: 767px) {
    .footer-brand::before {
        display: none;
    }
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo .logo-mark {
    flex-shrink: 0;
}

.footer-logo .logo-mark svg {
    display: block;
    width: auto;
    height: 1.6em;
}

.footer-logo .logo-mark rect {
    fill: currentColor;
}

.footer-logo span {
    color: var(--accent);
    text-shadow: 0 0 20px rgba(196, 92, 38, 0.4);
}

/* Decorative line under logo */
.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.footer-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 0.5rem;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(196, 92, 38, 0.1);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease-out-expo);
}

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

.footer-links a:hover::after {
    width: 100%;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    fill: var(--accent);
    flex-shrink: 0;
    padding: 6px;
    border: 1px solid rgba(196, 92, 38, 0.25);
    box-sizing: content-box;
    transition: all 0.3s ease;
}

.footer-contact-item:hover svg {
    background: rgba(196, 92, 38, 0.1);
    border-color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2.5rem;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

/* Gradient divider */
.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 20%,
        rgba(196, 92, 38, 0.3) 50%,
        rgba(255, 255, 255, 0.08) 80%,
        transparent 100%
    );
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-dark);
}

.footer-dev {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-dev svg {
    width: 12px;
    height: 12px;
    min-width: 12px;
    max-width: 12px;
    opacity: 0.5;
    fill: none;
    stroke: currentColor;
    padding: 0;
    border: none;
    background: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-dev:hover svg {
    opacity: 1;
    transform: translate(2px, -2px);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* Corner accents */
.footer-socials a::before,
.footer-socials a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    transition: all 0.3s var(--ease-out-expo);
    opacity: 0;
}

.footer-socials a::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.footer-socials a::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

.footer-socials a:hover {
    border-color: var(--accent);
    background: rgba(196, 92, 38, 0.15);
    box-shadow: 0 0 25px rgba(196, 92, 38, 0.25);
}

.footer-socials a:hover::before,
.footer-socials a:hover::after {
    opacity: 1;
    width: 10px;
    height: 10px;
}

.footer-socials svg {
    width: 18px;
    height: 18px;
    fill: var(--text-muted);
    transition: fill 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.footer-socials a:hover svg {
    fill: var(--accent);
    transform: scale(1.1);
}

/* ============================================
   REVEAL ANIMATIONS
============================================ */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s var(--ease-out-expo),
                transform 0.8s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   INTERNAL PAGE HERO - Standard Component
   Use class "page-hero" on internal pages
============================================ */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: calc(var(--header-height) + 4rem) 2rem 4rem;
    background: var(--bg-primary);
    overflow: hidden;
}

/* Background Grid */
.page-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.page-hero__bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(196, 92, 38, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(196, 92, 38, 0.04) 0%, transparent 40%);
}

.page-hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(196, 92, 38, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(196, 92, 38, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Kiln Glow Effect */
.page-hero__kiln-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.page-hero__kiln-glow.active {
    opacity: 1;
}

.page-hero__kiln-glow-inner {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(196, 92, 38, 0.15) 0%, rgba(196, 92, 38, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

/* Content Container */
.page-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

/* Badge */
.page-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.4rem;
    background: transparent;
    border: 1px solid rgba(196, 92, 38, 0.3);
    margin-bottom: 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: pageHeroFadeUp 0.6s var(--ease-out-expo) 0.1s forwards;
}

.page-hero__badge::before,
.page-hero__badge::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid var(--accent);
}

.page-hero__badge::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.page-hero__badge::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.page-hero__badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pageHeroPulse 2s ease-in-out infinite;
}

@keyframes pageHeroPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

.page-hero__badge-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Title */
.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 80px rgba(196, 92, 38, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: pageHeroFadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

/* Subtitle */
.page-hero__subtitle {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
    letter-spacing: 0.02em;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: pageHeroFadeUp 0.8s var(--ease-out-expo) 0.4s forwards;
}

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

/* Corner Decorations */
.page-hero__corner {
    position: absolute;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    animation: pageHeroFadeUp 0.6s var(--ease-out-expo) 0.6s forwards;
}

.page-hero__corner--tl {
    top: calc(var(--header-height) + 30px);
    left: 30px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.page-hero__corner--br {
    bottom: 30px;
    right: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    border-right: 2px solid rgba(255, 255, 255, 0.15);
}

/* Ember Particles Container */
.page-hero__ember-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.page-ember {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, var(--accent) 100%);
    filter: blur(1px);
    opacity: 0;
    animation: pageEmberFloat linear forwards;
}

@keyframes pageEmberFloat {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) translateX(var(--drift, 20px));
    }
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        min-height: 40vh;
        padding: calc(var(--header-height) + 3rem) 1.5rem 3rem;
    }

    .page-hero__corner {
        width: 25px;
        height: 25px;
    }

    .page-hero__corner--tl {
        top: calc(var(--header-height) + 15px);
        left: 15px;
    }

    .page-hero__corner--br {
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .page-hero__corner {
        display: none;
    }

    .page-hero__badge {
        padding: 0.5rem 1rem;
    }

    .page-hero__badge-text {
        font-size: 0.6rem;
    }
}

