/* TAITEN CSS - Enterprise Premium Dark Theme */

:root {
    --primary-green: #D4AF37;       /* Metallic Gold */
    --accent-gold-hover: #E7C86A;   /* Light Metallic Gold */
    --dark-green: #161616;          /* Surface Gray */
    --bg-dark: #0B0B0C;             /* Matte Black */
    --dark-text: #C7C7C7;           /* Silver/Gray Text */
    --white: #ffffff;
    --glass-bg: rgba(22, 22, 22, 0.8);
    --glass-border: rgba(212, 175, 55, 0.2);
    --font-en: 'Outfit', 'Inter', sans-serif;
    --font-ar: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: initial; /* Handled by Lenis */
}

body {
    font-family: var(--font-ar);
    background-color: var(--bg-dark);
    color: var(--dark-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem;
}

/* Typography */
.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.section-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--dark-text);
    max-width: 800px;
    margin-bottom: 3rem;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(212, 175, 55, 0.05);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green) 0%, #B3922E 100%);
    color: #111;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #B3922E 0%, var(--accent-gold-hover) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-green);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-green);
}
.btn-secondary:hover {
    background-color: rgba(212, 175, 55, 0.05);
    border-color: var(--accent-gold-hover);
    color: var(--accent-gold-hover);
}

/* ========================================================= */
/* Navbar & Group Eco-System Header */
/* ========================================================= */
.clomix-floating-header {
    position: fixed;
    top: 2rem;
    left: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}
.minimalist-logo {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.pill-nav-control {
    pointer-events: auto;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}
.pill-btn {
    background: #222;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.pill-btn:hover {
    background: var(--primary-green);
    color: #111;
}
.burger-menu span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    position: relative;
}
.burger-menu span::before, .burger-menu span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: currentColor;
    left: 0;
    transition: 0.3s;
}
.burger-menu span::before { top: -6px; }
.burger-menu span::after { top: 6px; }
.btn-lbl { font-weight: 600; font-size: 0.9rem; }

.desktop-pill-links {
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    gap: 1.5rem;
}
.pill-link {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.pill-link:hover { color: var(--primary-green); }

.pill-scroll-progress {
    background: rgba(255,255,255,0.05);
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-green);
    margin-left: 0.5rem;
    min-width: 55px;
    text-align: center;
}
.header-actions-placeholder { width: 150px; }

/* Brand Selector Dropdown */
.brand-dropdown-container {
    position: relative;
}
.arrow-down { font-size: 0.8rem; margin-right: 2px; }
.brand-selector-dropdown {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 320px;
    background: rgba(18, 18, 18, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.brand-dropdown-container:hover .brand-selector-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.brand-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}
.brand-card.factory-card { background: rgba(0, 80, 160, 0.1); }
.brand-card.clomix-card { background: rgba(138, 43, 226, 0.1); }
.brand-card.taiten-card { background: rgba(212, 175, 55, 0.1); }
.brand-card.takfil-card { background: rgba(0, 210, 106, 0.1); }

.brand-card:not(.active):hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.03);
}
.brand-card:not(.active):hover .b-arrow {
    transform: translate(-3px, -3px);
}

.brand-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.b-name { font-weight: 700; color: #fff; font-size: 0.95rem; }
.b-desc { font-size: 0.75rem; color: #aaa; font-weight: 500; line-height: 1.3; }
.b-arrow { font-weight: 800; font-size: 1rem; color: #fff; transition: 0.3s; }
.b-active-text { font-size: 0.75rem; font-weight: 700; color: var(--primary-green); background: rgba(212, 175, 55, 0.15); padding: 4px 8px; border-radius: 20px; }

/* Active Card */
.brand-card.taiten-card.active {
    border: 1px solid rgba(212, 175, 55, 0.3);
    pointer-events: none;
}

/* ========================================================= */
/* Mobile Capsule Drawer */
/* ========================================================= */
.capsule-nav {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 2000;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.capsule-nav.active { pointer-events: auto; }
.capsule-nav-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: 0.5s ease;
}
.capsule-nav.active .capsule-nav-overlay { opacity: 1; }

.capsule-nav-wrapper {
    background: #121212;
    border: 1px solid var(--glass-border);
    width: 100%;
    max-width: 450px;
    height: 90vh;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transform: translateY(50px) scale(0.95);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.capsule-nav.active .capsule-nav-wrapper {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.capsule-top-pill {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.capsule-close-btn {
    background: #222;
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.capsule-logo { font-weight: 800; font-size: 1.2rem; color: var(--primary-green); }
.capsule-content-area {
    padding: 2rem 1.5rem;
    overflow-y: auto;
    flex-grow: 1;
}
.capsule-main-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.c-link {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
}
.capsule-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 2rem 0;
}

/* Mobile Accordion */
.accordion-trigger {
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    width: 100%;
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}
.acc-arrow { transition: transform 0.3s; font-size: 1rem; color: #aaa; }
.mobile-accordion.open .acc-arrow { transform: rotate(180deg); }
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, margin-top 0.5s ease;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0;
}
.mobile-accordion.open .accordion-content {
    margin-top: 1.5rem;
    max-height: 500px;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .desktop-pill-links, .header-actions-placeholder { display: none; }
    .clomix-floating-header { top: 1rem; }
    .header-container { justify-content: space-between; align-items: center; }
}
@media (min-width: 992px) {
    .burger-menu { display: none; }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 5rem;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(11, 11, 12, 0.4) 0%, rgba(11, 11, 12, 0.85) 100%), url('../images/taiten_hero_desktop.jpg') center/cover no-repeat;
    z-index: 0;
}
.liquid-overlay {
    position: absolute;
    width: 150vw; height: 150vw;
    top: -25vw; left: -25vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(255,255,255,0) 75%);
    animation: pulse 10s infinite alternate;
}
@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}
.hero-content {
    text-align: center;
    max-width: 1000px;
    padding: 0 2rem;
    z-index: 1;
}
.hero-tagline {
    display: inline-block;
    color: var(--primary-green);
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1.25rem);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}
.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.accent-text {
    background: linear-gradient(120deg, #fff 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #aaa;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}
.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.mouse {
    width: 26px; height: 40px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}
.wheel {
    width: 4px; height: 8px;
    background: var(--primary-green);
    border-radius: 2px;
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}
@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* About Section */
.about {
    background: var(--bg-dark);
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}
.stats-container {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}
.stat-card h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
}
.stat-card p {
    font-weight: 600;
    color: var(--dark-text);
    margin-top: 0.5rem;
}
.about-visual {
    position: relative;
}
.about-image-card {
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.factory-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(11, 11, 12, 0.45) 0%, rgba(11, 11, 12, 0.85) 100%), url('../images/taiten_maxi_roll.jpg') center/cover no-repeat;
}
.floating-glow {
    position: absolute;
    bottom: -50px; right: -50px;
    width: 200px; height: 200px;
    background: rgba(212, 175, 55, 0.15);
    filter: blur(50px);
    border-radius: 50%;
}

/* Products Section */
.products-showcase {
    background: #111112;
    color: var(--white);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.products-showcase .section-title {
    color: var(--white);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}
.product-card {
    position: relative;
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
}

.product-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 300px;
    filter: blur(80px);
    z-index: 0;
    border-radius: 50%;
    opacity: 0.15;
    transition: opacity 0.6s ease;
}
.product-glow.gold { background: rgba(212, 175, 55, 0.2); }
.product-card:hover .product-glow { opacity: 0.35; }

.product-image {
    position: relative;
    height: 250px;
    margin-bottom: 2rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image img, #dyn-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-image::after, #dyn-img-container::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 12px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-image::after {
    width: 45%;
    bottom: -12px;
    opacity: 0.6;
}
.product-card:hover .product-image img {
    transform: scale(1.03);
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.5));
}

.product-card-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-category {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-green);
}
.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #fff;
}
.product-desc {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}
.product-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
    margin: 0 auto;
}
.product-card:hover .product-link {
    gap: 0.8rem;
}

/* Split Layouts */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.split-layout.reverse {
    direction: ltr; /* Native RTL reversal */
}
.split-layout.reverse > * {
    direction: rtl;
}

.engine-illustration {
    height: 420px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 30px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: visible;
}

.benefits-list {
    list-style: none;
    margin-top: 2rem;
}
.benefits-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.benefit-icon {
    font-size: 2rem;
    background: rgba(212, 175, 55, 0.08);
    color: var(--primary-green);
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
}
.benefits-list h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #fff;
}
.benefits-list p {
    color: #aaa;
    font-size: 0.95rem;
}

/* Technology Redesign (Process) */
.technology {
    background: var(--bg-dark);
    color: var(--white);
    padding: 8rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.technology .section-title {
    color: var(--white);
}
.cooling-cycle-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 4rem auto 0;
    gap: 1rem;
}
.cycle-step-card {
    position: relative;
    padding: 2.5rem 1.5rem;
    text-align: center;
    width: 220px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all 0.3s ease;
}
.cycle-step-card:hover {
    border-color: var(--primary-green);
}
.step-number {
    position: absolute;
    top: -15px; right: -15px;
    width: 36px; height: 36px;
    background: var(--primary-green);
    color: #111;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}
.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.step-title {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.step-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}
.cycle-arrow {
    color: rgba(255,255,255,0.2);
    font-size: 2rem;
}
.flowing-line {
    position: absolute;
    top: 50%; left: 10%; right: 10%;
    height: 2px;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}
.flowing-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 50px; height: 100%;
    background: var(--primary-green);
    box-shadow: 0 0 10px var(--primary-green);
    animation: flowLine 3s infinite linear;
}
@keyframes flowLine {
    0% { left: 100%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 0%; opacity: 0; }
}

/* Applications Grid */
.applications { background: #121213; border-top: 1px solid rgba(255,255,255,0.05); }
.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}
.app-card {
    padding: 3rem 2rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    background: var(--dark-green);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.03);
    color: #fff;
    transition: transform 0.3s ease;
}
.app-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
}

/* Why Us */
.why-us { background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,0.05); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}
.why-card {
    padding: 3rem;
    background: var(--dark-green);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
    transition: transform 0.3s ease;
}
.why-card:hover {
    transform: translateY(-5px);
}
.why-card .icon { font-size: 3rem; margin-bottom: 1.5rem; display: block; }
.why-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}
.why-card p {
    color: #aaa;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
}
.contact-form-wrapper {
    padding: 3.5rem;
    background: #121212;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
}
.editorial-form .form-group {
    margin-bottom: 1.5rem;
}
.editorial-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ccc;
}
.form-input, .editorial-form textarea, .editorial-form input[type="text"], .editorial-form input[type="tel"], .editorial-form input[type="email"] {
    width: 100%;
    padding: 1rem;
    border: 1px solid #333;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: #1a1a1a;
    color: #fff;
    transition: border-color 0.3s;
}
.form-input:focus, .editorial-form textarea:focus, .editorial-form input:focus {
    border-color: var(--primary-green);
    outline: none;
}
.form-feedback {
    margin-top: 1rem;
    font-weight: 700;
    font-size: 0.95rem;
}
.form-feedback.success { color: #00d26a; }
.form-feedback.error { color: #e63946; }

/* Footer */
.footer {
    background: #070708;
    color: var(--white);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}
.footer-note {
    color: #888;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}
.footer-links {
    display: flex; justify-content: center; gap: 2rem; margin-bottom: 3rem;
}
.footer-links a {
    color: var(--white); text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--primary-green);
}
.copyright { color: #555; font-size: 0.9rem; text-align: center; }

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.loading-content {
    text-align: center;
    width: 80%;
    max-width: 400px;
}
.loading-logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}
.loading-bar {
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}
.loading-progress {
    width: 0%;
    height: 100%;
    background-color: var(--primary-green);
    box-shadow: 0 0 10px var(--primary-green);
}

/* ==============================================================
   RESPONSIVE DESIGN (1440px to 320px) 
   ============================================================== */
@media (max-width: 1200px) {
    .cooling-cycle-container { gap: 0.5rem; }
    .cycle-step-card { width: 190px; padding: 2rem 1rem; }
}

@media (max-width: 992px) {
    .section-container { padding: 6rem 2rem; }
    
    .split-layout, .split-layout.reverse, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .cooling-cycle-container {
        flex-direction: column;
        gap: 2rem;
    }
    .cycle-step-card { width: 100%; max-width: 400px; padding: 2.5rem; }
    
    .flowing-line {
        width: 2px;
        height: 80%;
        top: 10%; left: 50%;
        transform: translateX(-50%);
    }
    @keyframes flowLine {
        0% { top: 0%; left: 0; width: 100%; height: 50px; opacity: 0; }
        10% { opacity: 1; }
        90% { opacity: 1; }
        100% { top: 100%; left: 0; width: 100%; height: 50px; opacity: 0; }
    }
    
    .cycle-arrow { transform: rotate(90deg) scaleX(-1); }
    .why-grid { grid-template-columns: 1fr; }
    .app-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section-container { padding: 5rem 1.5rem; }
    
    .hero-title { font-size: clamp(2rem, 10vw, 3rem); }
    .hero-subtitle { font-size: 1rem; margin-bottom: 2.5rem; }
    .hero-cta { flex-direction: column; align-items: stretch; gap: 1rem; width: 100%; max-width: 350px; margin: 0 auto; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
    
    .products-grid { grid-template-columns: 1fr; }
    .product-card { padding: 3rem 2rem; }
    .stats-container { flex-direction: column; gap: 1.5rem; }
    .about-image-card { height: 350px; }
    .engine-illustration { height: 320px; }
    
    .footer-links { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 576px) {
    .section-container { padding: 4rem 1.5rem; }
    .app-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .benefits-list li { flex-direction: column; align-items: center; text-align: center; }
    .split-content { text-align: center; }
    .contact-form-wrapper { padding: 2rem 1.5rem; }
}

@media (max-width: 430px) {
    .product-card { padding: 2rem 1.5rem; }
    .why-card { padding: 2rem 1.5rem; }
    .capsule-nav-wrapper { width: 95%; height: 95vh; }
}

@media (max-width: 320px) {
    .hero-title { font-size: 1.8rem; }
    .section-container { padding: 3rem 1rem; }
}

/* Hero Video Background Integration Styles */
.hero-video {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform;
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark premium overlay with gold and black luxury tint matching Taiten branding */
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(11, 11, 12, 0.85) 100%);
    z-index: 2;
}
.hero-bg .liquid-overlay {
    z-index: 3;
}
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
}
