/* ============================================
   EBC Technology - Industrial Equipment Styles
   ============================================ */

/* CSS Variables */
:root {
    /* Colors - Fire/Heat Theme */
    --primary: #ff6b00;
    --primary-dark: #e55a00;
    --primary-light: #ff8533;
    --secondary: #ff0000;
    --accent: #ffcc00;
    --accent-blue: #0ea5e9;

    --dark: #0a0a0f;
    --dark-lighter: #12121a;
    --dark-card: #161622;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border: rgba(255, 107, 0, 0.15);
    --border-light: rgba(255, 107, 0, 0.25);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff6b00 0%, #ff0000 100%);
    --gradient-text: linear-gradient(135deg, #ff6b00 0%, #ffcc00 50%, #ff0000 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
    --gradient-card: linear-gradient(145deg, rgba(22, 22, 34, 0.8) 0%, rgba(10, 10, 15, 0.8) 100%);
    --gradient-fire: linear-gradient(180deg, #ff6b00 0%, #ff0000 50%, #ffcc00 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(255, 107, 0, 0.3);
    --shadow-fire: 0 0 60px rgba(255, 107, 0, 0.4), 0 0 100px rgba(255, 0, 0, 0.2);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md), 0 0 20px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 107, 0, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-outline:hover {
    background: rgba(255, 107, 0, 0.1);
    border-color: var(--primary);
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-badge svg {
    width: 16px;
    height: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-base);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 24px;
    font-weight: 800;
}

.logo-ebc {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tech {
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 107, 0, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(255, 107, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(255, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 204, 0, 0.08) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--dark) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-badge svg {
    stroke: var(--primary);
}

.hero-title {
    font-size: clamp(40px, 6vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title span {
    display: block;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}

/* Hero Visual - Temperature Display */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.temp-display {
    position: relative;
}

.temp-ring {
    position: relative;
    width: 280px;
    height: 280px;
}

.temp-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.temp-progress {
    animation: tempFill 2s ease-out forwards;
}

@keyframes tempFill {
    from {
        stroke-dashoffset: 565;
    }
    to {
        stroke-dashoffset: 100;
    }
}

.temp-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.temp-value {
    font-size: 56px;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.temp-unit {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.temp-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 24px;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, 0.1);
    border-radius: var(--radius-sm);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

.feature-icon.water svg {
    stroke: var(--accent-blue);
}

.feature-icon.water {
    background: rgba(14, 165, 233, 0.1);
}

.hero-feature span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: float 2s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scroll {
    0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   Video Section
   ============================================ */
.video-section {
    padding: var(--section-padding) 0;
    background: var(--dark-lighter);
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 107, 0, 0.1), rgba(255, 0, 0, 0.05));
    z-index: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.4);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(255, 107, 0, 0.6);
}

.play-button svg {
    width: 32px;
    height: 32px;
    fill: white;
    margin-left: 4px;
}

.video-placeholder p {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.video-placeholder span {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: var(--gradient-card);
    border: 1px solid var(--border);
}

.gallery-item.large {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Gallery Placeholder for missing images */
.gallery-item.placeholder img {
    display: none;
}

.gallery-item.placeholder .gallery-overlay {
    display: none;
}

.gallery-placeholder-content {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 107, 0, 0.1), rgba(255, 0, 0, 0.05));
    padding: 20px;
    text-align: center;
}

.gallery-item.placeholder .gallery-placeholder-content {
    display: flex;
}

.gallery-placeholder-content svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary);
    opacity: 0.5;
    margin-bottom: 12px;
}

.gallery-placeholder-content span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
        height: 300px;
    }

    .gallery-item:not(.large) {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: span 1;
        height: 250px;
    }

    .gallery-item:not(.large) {
        height: 200px;
    }
}

/* ============================================
   Stats Section
   ============================================ */
.stats {
    padding: 60px 0;
    background: var(--dark-lighter);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: var(--radius-md);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-suffix {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ============================================
   Products Section
   ============================================ */
.products {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.product-card {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.product-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    border-color: rgba(255, 107, 0, 0.3);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    z-index: 10;
}

.product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: linear-gradient(145deg, rgba(255, 107, 0, 0.05), rgba(255, 0, 0, 0.02));
    min-height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.product-visual {
    width: 150px;
    height: 150px;
}

.product-visual.underwater {
    animation: float 3s ease-in-out infinite;
}

.product-content {
    padding: 32px;
}

.product-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.product-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-features {
    margin-bottom: 24px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.product-features li svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary);
    flex-shrink: 0;
}

/* Product Card Links */
.product-image-link {
    display: block;
    transition: transform var(--transition-fast);
}

.product-image-link:hover {
    transform: scale(1.02);
}

.product-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.product-title a:hover {
    color: var(--primary);
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card.featured .product-image img {
    height: 100%;
    min-height: 250px;
}

/* ============================================
   Consumables Section
   ============================================ */
.consumables {
    padding: var(--section-padding) 0;
    background: var(--dark-lighter);
}

.consumables-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.consumables-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.consumables-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.consumables-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.consumables-list li svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    flex-shrink: 0;
}

/* Electrode Demo */
.consumables-visual {
    display: flex;
    justify-content: center;
}

.electrode-demo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.electrode {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.electrode-body {
    width: 20px;
    height: 200px;
    background: linear-gradient(180deg, #4a4a5a 0%, #2a2a3a 100%);
    border-radius: 4px 4px 0 0;
    position: relative;
}

.electrode-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(180deg, #6a6a7a, #4a4a5a);
    border-radius: 4px 4px 0 0;
}

.electrode-tip {
    position: relative;
    width: 20px;
    height: 60px;
}

.flame {
    position: absolute;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flicker 0.5s ease-in-out infinite alternate;
}

.flame-1 {
    width: 40px;
    height: 80px;
    background: radial-gradient(ellipse at bottom, #ffcc00 0%, #ff6b00 40%, #ff0000 70%, transparent 100%);
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    filter: blur(2px);
}

.flame-2 {
    width: 30px;
    height: 60px;
    background: radial-gradient(ellipse at bottom, #fff 0%, #ffcc00 30%, #ff6b00 60%, transparent 100%);
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    animation-delay: 0.1s;
}

.flame-3 {
    width: 20px;
    height: 40px;
    background: radial-gradient(ellipse at bottom, #fff 0%, #ffcc00 50%, transparent 100%);
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    animation-delay: 0.2s;
}

@keyframes flicker {
    0% { transform: translateX(-50%) scale(1) rotate(-2deg); }
    100% { transform: translateX(-50%) scale(1.05) rotate(2deg); }
}

.electrode-label {
    margin-top: 20px;
    padding: 8px 20px;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: var(--radius-full);
}

/* ============================================
   Applications Section
   ============================================ */
.applications {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.application-card {
    padding: 32px;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.application-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.application-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.application-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.application-card.emergency .application-icon { background: rgba(255, 0, 0, 0.1); }
.application-card.emergency .application-icon svg { stroke: #ff0000; }

.application-card.rescue .application-icon { background: rgba(255, 204, 0, 0.1); }
.application-card.rescue .application-icon svg { stroke: #ffcc00; }

.application-card.underwater .application-icon { background: rgba(14, 165, 233, 0.1); }
.application-card.underwater .application-icon svg { stroke: #0ea5e9; }

.application-card.construction .application-icon { background: rgba(34, 197, 94, 0.1); }
.application-card.construction .application-icon svg { stroke: #22c55e; }

.application-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.application-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.application-uses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.application-uses li {
    padding: 4px 12px;
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
}

/* ============================================
   Advantages Section
   ============================================ */
.advantages {
    padding: var(--section-padding) 0;
    background: var(--dark-lighter);
}

.advantages-header {
    text-align: center;
    margin-bottom: 60px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.advantage-item {
    padding: 32px;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.advantage-item:hover {
    border-color: var(--primary);
}

.advantage-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
    margin-bottom: 16px;
}

.advantage-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.advantage-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.info-item {
    padding: 16px;
    background: rgba(255, 107, 0, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.info-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* About Card */
.about-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-card-header {
    padding: 20px 24px;
    background: rgba(255, 107, 0, 0.1);
    border-bottom: 1px solid var(--border);
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.about-card-body {
    padding: 24px;
}

.about-card-body p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.mission-icons {
    display: flex;
    gap: 24px;
}

.mission-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mission-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

.mission-icon span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: 80px 0;
    background: var(--dark-lighter);
}

.cta-content {
    text-align: center;
    padding: 80px 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-title {
    font-size: clamp(28px, 4vw, 40px);
    color: white;
    margin-bottom: 16px;
    position: relative;
}

.cta-title .gradient-text {
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
}

.cta .btn-primary {
    background: white;
    color: var(--primary);
}

.cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, 0.1);
    border-radius: var(--radius-md);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
}

.contact-text h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.contact-text p {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
}

.contact-text a {
    color: var(--text-primary);
}

.contact-text a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 107, 0, 0.05);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
}

.form-group select option {
    background: var(--dark-card);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px 0 0;
    background: var(--dark-lighter);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li,
.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .consumables-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 40px;
        background: var(--dark-card);
        border-left: 1px solid var(--border);
        transition: right var(--transition-base);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .hero-features {
        flex-direction: column;
        width: 100%;
    }

    .hero-feature {
        flex-direction: row;
        justify-content: center;
    }

    .temp-ring {
        width: 220px;
        height: 220px;
    }

    .temp-value {
        font-size: 44px;
    }

    .consumables-list {
        grid-template-columns: 1fr;
    }

    .about-info {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }

    .mission-icons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-description { animation-delay: 0.3s; }
.hero-buttons { animation-delay: 0.4s; }

.hero-visual {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

/* ============================================
   Language Switcher
   ============================================ */
.lang-switcher {
    position: relative;
    margin-left: 16px;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-current:hover {
    color: var(--text-primary);
    border-color: var(--primary);
}

.lang-current .lang-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.lang-current svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    transition: transform var(--transition-fast);
}

.lang-switcher.active .lang-current svg {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1002;
}

.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-option:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.lang-option:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--text-primary);
}

.lang-option.active {
    background: rgba(255, 107, 0, 0.15);
    color: var(--primary);
}

.lang-option .lang-flag {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
}

.lang-option .lang-name {
    flex: 1;
}

.lang-option .lang-check {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
    opacity: 0;
}

.lang-option.active .lang-check {
    opacity: 1;
}

/* Mobile lang switcher */
@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }

    .lang-current {
        width: 100%;
        justify-content: center;
    }

    .lang-dropdown {
        left: 0;
        right: 0;
        width: 100%;
    }
}
