/* ============================================
   VLLIS RF — Enterprise Site Styles
   Industry: RF & Microwave
   Style: Professional, Tech, Industrial
   ============================================ */

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

:root {
    /* Brand Colors */
    --brand-primary: #7c5cfc;
    --brand-dark: #5a3fd4;
    --brand-deep: #1a1033;
    --brand-darker: #0f0a1e;
    --brand-light: #a78bfa;
    --brand-glow: rgba(124, 92, 252, 0.15);

    /* Neutrals (tinted toward brand) */
    --text-primary: #1a1625;
    --text-secondary: #6b6580;
    --text-muted: #9a94a8;
    --surface-0: #faf9fc;
    --surface-1: #f3f1f7;
    --surface-2: #eae7f0;
    --border-color: #e0dce8;

    /* Layout */
    --nav-height: 72px;
    --container-max: 1440px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Type Scale */
    --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
    --text-sm: clamp(0.82rem, 0.77rem + 0.25vw, 0.92rem);
    --text-base: clamp(0.92rem, 0.87rem + 0.25vw, 1.05rem);
    --text-lg: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
    --text-xl: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2.2rem);
    --text-3xl: clamp(1.9rem, 1.6rem + 1.5vw, 3rem);
    --text-4xl: clamp(2.4rem, 2rem + 2vw, 4rem);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--surface-0);
    overflow-x: hidden;
}

/* === Image Utilities === */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.img-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.img-rounded {
    border-radius: var(--radius-md);
    width: 100%;
    height: auto;
    display: block;
}
.img-card {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.img-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.35) saturate(0.8);
}
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15,10,30,0.1) 100%);
    pointer-events: none;
}
.image-overlay-dark {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
        rgba(15,10,30,0.6) 0%,
        rgba(15,10,30,0.35) 40%,
        rgba(15,10,30,0.65) 100%);
    pointer-events: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2.5rem);
}

a { color: var(--brand-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--brand-darker);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2.5rem);
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.brand-tagline {
    display: block;
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
}
.nav-link {
    color: rgba(255,255,255,0.75);
    font-size: var(--text-sm);
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-link.active { color: #fff; background: rgba(124,92,252,0.25); }

.nav-mobile-actions { display: none; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.search-box input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0.45rem 0.75rem;
    font-size: var(--text-sm);
    width: 160px;
    outline: none;
}
.search-box input::placeholder { color: rgba(255,255,255,0.4); }
.search-btn {
    background: var(--brand-primary);
    color: #fff;
    border: none;
    padding: 0.45rem 0.85rem;
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.search-btn:hover { background: var(--brand-dark); }

.lang-switch {
    position: relative;
    cursor: pointer;
}
.lang-current {
    color: rgba(255,255,255,0.8);
    font-size: var(--text-sm);
    padding: 0.4rem 0.6rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
}
.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.25rem;
    background: var(--brand-deep);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    overflow: hidden;
    min-width: 100px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.lang-switch:hover .lang-dropdown { display: block; }
.lang-dropdown a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: rgba(255,255,255,0.8);
    font-size: var(--text-sm);
    transition: background 0.15s;
}
.lang-dropdown a:hover { background: rgba(124,92,252,0.2); color: #fff; }

.btn-quote {
    background: var(--brand-primary);
    color: #fff;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
}
.btn-quote:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-chat {
    background: #25D366;
    color: #fff;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
    margin-left: 0.5rem;
}
.btn-chat:hover { background: #128C7E; color: #fff; transform: translateY(-1px); }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-sm);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}
.btn-primary {
    background: var(--brand-primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--brand-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(124,92,252,0.3);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: var(--text-sm); }

/* === Page System === */
.page {
    display: none;
    padding-top: var(--nav-height);
}
.page.active { display: block; }

.page-hero {
    background: var(--brand-darker);
    padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
}
.page-hero.has-bg-image {
    min-height: 400px;
}
/* Page Hero Container */
.page-hero-container {
    width: 100%;
    text-align: left;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2.5rem);
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-hero-bg svg,
.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-hero-bg img {
    filter: brightness(0.6) saturate(0.95);
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(15,10,30,0.5) 0%, rgba(15,10,30,0.2) 50%, rgba(15,10,30,0.4) 100%);
    pointer-events: none;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(124,92,252,0.06) 100%);
    z-index: 1;
}
.page-hero h1 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 2;
}
.page-hero-sub {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.75);
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}
.breadcrumb a { color: var(--brand-light); }
.breadcrumb span { color: rgba(255,255,255,0.55); }

/* === Sections === */
.section {
    padding: clamp(4rem, 7vw, 6rem) 0;
    background: var(--surface-0);
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}
.section-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
}
.view-all {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--brand-primary);
}
.view-all:hover { color: var(--brand-dark); }

.overline {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
}

/* ============================================
   Banner Carousel (Homepage)
   ============================================ */
.banner-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--brand-darker);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.banner-carousel.dragging {
    cursor: grabbing;
}
.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}
.banner-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.banner-slide.drag-offset {
    transition: none;
}
.banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
    animation: bannerKenBurns 20s ease-in-out infinite alternate;
    pointer-events: none;
}
.banner-bg-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    display: none;
}
.banner-bg-fallback.show {
    display: block;
}
@keyframes bannerKenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}
.banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
        rgba(15,10,30,0.08) 0%,
        rgba(15,10,30,0.02) 40%,
        rgba(15,10,30,0.1) 100%);
    pointer-events: none;
}
.banner-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--nav-height) clamp(1rem, 3vw, 2.5rem) 0;
}
.banner-title {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    max-width: 800px;
}
.banner-sub {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    max-width: 560px;
    line-height: 1.6;
}
.banner-content .btn {
    font-size: var(--text-base);
    padding: 0.8rem 2rem;
}

/* Arrows */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    backdrop-filter: blur(4px);
    line-height: 1;
}
.banner-arrow:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.4);
}
.banner-prev { left: 24px; }
.banner-next { right: 24px; }

/* Dots */
.banner-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}
.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.banner-dot.active {
    background: #fff;
    box-shadow: 0 0 8px rgba(124,92,252,0.5);
    transform: scale(1.25);
}
.banner-dot:hover {
    background: rgba(255,255,255,0.7);
}

/* Legacy classes (for backward compatibility) */
.hero-banner { display: none; }
.hero { display: none; }
.hero-content { display: none; }
.hero-visual { display: none; }
.product-showcase { display: none; }
.hero-stats { display: none; }

/* === Product Cards (Category Page) === */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.category-card {
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.category-card:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 20px var(--brand-glow);
    transform: translateY(-3px);
    color: var(--text-primary);
    text-decoration: none;
}
.category-card .card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}
.category-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.category-card:hover .card-img img {
    transform: scale(1.05);
}
.category-card .card-img .card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15,10,30,0.4) 100%);
}
.category-card h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.category-card h3::after {
    content: '\2192';
    font-size: 1.2rem;
    color: var(--brand-primary);
    transition: transform 0.2s;
}
.category-card:hover h3::after { transform: translateX(4px); }
.category-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
}
.category-tag {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    transition: all 0.2s;
}
.category-tag:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: var(--brand-glow);
}

/* === Product List === */
.product-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}
.product-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.product-card:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 20px var(--brand-glow);
    transform: translateY(-3px);
    color: inherit;
}
.card-icon {
    background: var(--surface-1);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}
.card-icon svg { width: 100%; max-width: 200px; }
.card-body { padding: 1.25rem; }
.card-category {
    display: block;
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}
.card-title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.card-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* === Product Detail === */
.detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}
.detail-gallery { position: relative; }
.detail-main-image {
    background: var(--surface-1);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.detail-main-image svg { width: 100%; display: block; }

.detail-info h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.detail-meta {
    margin-bottom: 1rem;
}
.meta-item {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}
.meta-item strong { color: var(--text-primary); }
.detail-description {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.detail-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.detail-actions .btn-outline {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}
.detail-actions .btn-outline:hover {
    background: var(--brand-glow);
}

/* === Specs Table === */
.specs-section {
    margin-bottom: 3rem;
}
.specs-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--brand-primary);
    display: inline-block;
}
.table-responsive { overflow-x: auto; }
.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}
.specs-table th,
.specs-section table th {
    background: var(--surface-1);
    font-weight: 600;
    text-align: center;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    white-space: nowrap;
}
.specs-table td,
.specs-section table td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
}
.specs-section table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}
.specs-table tr:hover td {
    background: var(--brand-glow);
}

/* === Download Section === */
.download-section {
    background: var(--surface-1);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--border-color);
}
.download-section h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.download-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.download-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s;
}
.download-item:hover { border-color: var(--brand-primary); }
.download-icon { font-size: 1.5rem; }
.download-name {
    flex: 1;
    font-size: var(--text-sm);
    font-weight: 500;
}
.download-item .btn {
    background: var(--brand-primary);
    color: #fff;
}
.download-item .btn:hover { background: var(--brand-dark); }

/* === About Page === */
.about-full {
    max-width: var(--container-max);
}
.about-block {
    margin-bottom: 3rem;
}
.about-block h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--brand-primary);
    display: inline-block;
}
.about-block p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
}
.cap-item {
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: border-color 0.2s;
}
.cap-item:hover { border-color: var(--brand-primary); }
.cap-icon {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(124,92,252,0.1);
    border-radius: var(--radius-sm);
}
.cap-item h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.cap-item p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* About Gallery */
.about-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}
.about-gallery img {
    width: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
    aspect-ratio: 16/10;
}

.video-placeholder, .about-image-placeholder {
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}
.video-placeholder svg, .about-image-placeholder svg {
    width: 100%;
    display: block;
}
.about-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 320px;
}

/* === About Preview (Home) === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-text h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}
.about-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.about-text .btn { margin-top: 0.5rem; }
.about-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}
.about-visual-img.natural {
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
}

/* === Contact === */
.contact-left {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
}
.contact-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 3rem;
    align-items: start;
}
.company-card {
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}
.company-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-top: 1rem;
}
.company-tagline {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.contact-details {
    text-align: left;
    margin-bottom: 1.5rem;
}
.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}
.detail-row:last-child { border-bottom: none; }
.detail-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}
.company-logo-large {
    text-align: center;
    padding: 1rem;
}
.company-logo-large svg {
    display: block;
    margin: 0 auto 0.75rem;
}
.social-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}
.social-link {
    font-size: var(--text-sm);
    color: var(--brand-primary);
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--brand-primary);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.social-link:hover {
    background: var(--brand-primary);
    color: #fff;
}

.contact-right h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.form-group label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
}
.form-group input,
.form-group textarea {
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: var(--text-base);
    color: var(--text-primary);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-glow);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* === Contact Preview (Home) === */
.contact-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    align-items: start;
}
.contact-info-card {
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}
.info-item:last-child { border-bottom: none; }
.info-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}
.info-item h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.info-item p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}
.map-placeholder {
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}
.map-inner svg { width: 100%; display: block; }
.map-placeholder svg,
.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 280px;
}

/* === FAQ === */
.faq-list {
    max-width: var(--container-max);
}
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--brand-primary); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    font-weight: 500;
    background: #fff;
    transition: background 0.2s;
}
.faq-question:hover { background: var(--surface-1); }
.faq-toggle {
    font-size: 1.4rem;
    color: var(--brand-primary);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
    font-weight: 300;
    line-height: 1;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.25rem;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 1.25rem 1.25rem;
}
.faq-answer p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Search Bar === */
.search-bar {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.search-bar input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: var(--text-base);
    color: var(--text-primary);
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.search-bar input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-glow);
}

/* === Certifications / Trust Bar === */
.cert-section {
    background: var(--surface-1);
    padding: clamp(2rem, 4vw, 3.5rem) 0;
    text-align: center;
}
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.25s;
}
.cert-item:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 16px var(--brand-glow);
    transform: translateY(-2px);
}
.cert-item svg { flex-shrink: 0; }
.cert-item span {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
}
.cert-item .cert-name {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-weight: 400;
    margin-top: -0.25rem;
}

/* === Tech Advantages === */
.tech-advantages {
    padding: clamp(4rem, 7vw, 6rem) 0;
    background: var(--brand-darker);
    color: #fff;
}
.tech-advantages .section-title { color: #fff; }
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}
.tech-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.3s;
}
.tech-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(124,92,252,0.4);
    transform: translateY(-3px);
}
.tech-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124,92,252,0.15);
    border-radius: var(--radius-sm);
}
.tech-card h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #fff;
}
.tech-card p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

.equipment-section {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.device-list {
    margin-top: 2rem;
}

.device-item {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    padding: 2rem;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.device-item:last-child {
    margin-bottom: 0;
}

.device-item:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

.device-item-image {
    flex-shrink: 0;
    width: 320px;
    height: 220px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.device-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.device-item:hover .device-item-image img {
    transform: scale(1.05);
}

.device-item-text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    overflow-x: hidden;
}

.device-item-text p {
    font-size: var(--text-sm);
    color: rgba(0,0,0,0.75);
    line-height: 1.8;
    margin: 0;
}

.device-item-text img {
    max-width: 100%;
    height: auto;
}

.device-item-text table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

@media (max-width: 768px) {
    .device-item {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .device-item-image {
        width: 100%;
        height: 200px;
    }
}

/* === Timeline === */
.timeline {
    position: relative;
    padding: 1rem 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--brand-primary), var(--brand-light), var(--brand-primary));
}
.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
}
.timeline-year {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: 700;
    line-height: 1;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(124,92,252,0.4);
}
.timeline-content {
    flex: 1;
    padding-top: 0.5rem;
}
.timeline-content h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}
.timeline-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === Section BG dark === */
.section-dark {
    background: var(--brand-darker);
    color: #fff;
}
.section-dark .section-title { color: #fff; }
.section-dark .section-header .view-all { color: var(--brand-light); }

/* === Section BG accent === */
.section-accent {
    background: linear-gradient(135deg, rgba(124,92,252,0.06) 0%, rgba(90,63,212,0.03) 100%);
}

/* === Grid gap larger === */
.grid-lg { gap: 2rem; }

/* === Footer === */
.footer {
    background: var(--brand-darker);
    padding: 3.5rem 0 1.5rem;
    margin-top: 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.8fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}
.footer-col p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
}
.footer-col h4 {
    color: #fff;
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
    font-size: var(--text-sm);
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--brand-light); }
.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
}
.footer-bottom p {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .banner-carousel { height: 80vh; min-height: 480px; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .detail-layout { grid-template-columns: 1fr; gap: 2rem; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-preview-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-left { position: static; }
    .timeline::before { left: 18px; }
    .timeline-year { width: 38px; height: 38px; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--brand-darker);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    }
    .nav-menu.open { display: flex; }
    .nav-mobile-actions { display: flex; flex-direction: column; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 1rem; }
    .nav-mobile-actions .search-box { width: 100%; }
    .nav-mobile-actions .lang-switch { justify-content: flex-start; }
    .nav-actions { display: none; }
    .mobile-toggle { display: flex; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); z-index: 100; cursor: pointer; }

    .banner-carousel { height: 70vh; min-height: 400px; }
    .banner-arrow { width: 38px; height: 38px; font-size: 1.3rem; }
    .banner-prev { left: 12px; }
    .banner-next { right: 12px; }
    .banner-dots { bottom: 20px; gap: 8px; }
    .banner-dot { width: 8px; height: 8px; }

    .category-grid { grid-template-columns: 1fr; }
    .product-list-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

    .capabilities-grid { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: 1fr; }

    .page-hero { min-height: 220px; }
    .page-hero.has-bg-image { min-height: 260px; }
}

@media (max-width: 480px) {
    .banner-carousel { height: 65vh; min-height: 360px; }
    .banner-title { font-size: 1.5rem; }
    .banner-sub { font-size: 0.88rem; margin-bottom: 1.5rem; }
    .banner-content .btn { padding: 0.65rem 1.5rem; font-size: var(--text-sm); }
    .detail-actions { flex-direction: column; }
    .detail-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================
   Side Toolbar — Floating right-side quick actions
   ============================================ */
.side-toolbar {
    position: fixed;
    right: 20px;
    bottom: 120px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.side-tool-item {
    position: relative;
    width: 56px;
    height: 56px;
    background: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(124,92,252,0.45);
    color: #fff;
    animation: toolItemBounce 2s infinite;
}
.side-tool-item:nth-child(1) { animation-delay: 0s; }
.side-tool-item:nth-child(2) { animation-delay: 0.3s; }
.side-tool-item:nth-child(3) { animation-delay: 0.6s; }
.side-tool-item:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
    box-shadow: 0 8px 32px rgba(124,92,252,0.6);
    transform: translateX(-4px) scale(1.1);
}
.side-tool-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    width: 100%;
    height: 100%;
}
.side-tool-item svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    stroke-width: 2.5;
}
@keyframes toolItemBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

#sideBackTop {
    background: rgba(255,255,255,0.95);
    border-color: var(--border-color);
    color: var(--brand-primary);
    animation: none;
}
#sideBackTop:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

/* Popup tooltip */
.side-tool-popup {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--brand-deep);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.65rem 1.25rem;
    white-space: nowrap;
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 500;
}
.side-tool-popup::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: var(--brand-deep);
    border: none;
}
.side-tool-item:hover .side-tool-popup {
    opacity: 1;
    visibility: visible;
}
.side-tool-popup img {
    width: 120px;
    height: 120px;
    display: block;
    margin-bottom: 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.2);
}
.side-tool-popup .popup-text {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.8);
    text-align: center;
    line-height: 1.5;
}
.side-tool-popup .popup-title {
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 0.15rem;
}

/* Back-to-top */
#sideBackTop {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.35s;
}
#sideBackTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#sideBackTop:hover {
    transform: translateX(-2px) translateY(0);
}

/* Toolbar responsiveness */
@media (max-width: 768px) {
    .side-toolbar {
        right: 12px;
        bottom: 80px;
        gap: 2px;
    }
    .side-tool-item {
        width: 40px;
        height: 40px;
        border-radius: 6px;
    }
    .side-tool-item svg {
        width: 18px;
        height: 18px;
    }
    .side-tool-popup {
        right: 50px;
        padding: 0.6rem 0.75rem;
    }
    .side-tool-popup img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .side-toolbar {
        right: 8px;
        bottom: 70px;
    }
    .side-tool-item {
        width: 36px;
        height: 36px;
        border-radius: 6px;
    }
    .side-tool-item svg {
        width: 16px;
        height: 16px;
    }
    .side-tool-popup {
        right: 44px;
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
    }
    .side-tool-popup img {
        width: 90px;
        height: 90px;
    }
}

/* === Animations === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.page.active .page-hero h1,
.page.active .page-hero-sub {
    animation: fadeInUp 0.6s ease-out;
}
.page.active .section {
    animation: fadeInUp 0.6s ease-out 0.15s both;
}

/* === Featured Products Section (Homepage) === */
.section-products-preview {
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: var(--surface-0);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}
.product-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: block;
}
.product-card:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 8px 30px var(--brand-glow);
    transform: translateY(-4px);
    color: inherit;
}
.product-card .card-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}
.product-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card:hover .card-img img {
    transform: scale(1.05);
}
.product-card .card-img .card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15,10,30,0.6) 100%);
}

/* === Section Visual Enhancements === */
.section-about-preview {
    background: var(--surface-1);
    padding: clamp(3rem, 8vw, 6rem) 0;
}
.section-contact-preview {
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: var(--surface-0);
}

/* === About Image (Full Page) === */
.about-visual-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.card-img svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.about-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}
.about-gallery img {
    width: 100%;
    border-radius: var(--radius-md);
    aspect-ratio: 16/10;
    object-fit: cover;
}

/* === Contact Form Full Page === */
.section-contact {
    padding: clamp(4rem, 7vw, 6rem) 0;
}

/* === Toast Notification === */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: #fff;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.toast.show { transform: translateX(0); }
.toast-error { background: linear-gradient(135deg, #ef4444, #dc2626); }
.toast-success { background: linear-gradient(135deg, #22c55e, #16a34a); }
.toast-warning { background: linear-gradient(135deg, #f59e0b, #d97706); }
.success-message {
    margin-top: 20px;
    padding: 16px 20px;
    background: #e8f5e9;
    border: 1px solid #4caf50;
    border-radius: 8px;
    color: #2e7d32;
    font-weight: 500;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: scaleIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #e5e7eb;
    color: #374151;
}

.modal-content h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
    color: #1f2937;
}

.modal-content p {
    margin-bottom: 20px;
    color: #6b7280;
    font-size: 0.9rem;
}

.qr-code-container {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.qr-code-container img {
    max-width: 250px;
    max-height: 250px;
    border-radius: 4px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
