/* ============================================
   LUMI — 全地形越野滑板车 品牌网站
   ============================================ */

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

:root {
    --black: #0a0a0a;
    --dark: #1a1a1a;
    --gray-900: #242424;
    --gray-800: #333;
    --gray-600: #666;
    --gray-400: #999;
    --gray-200: #ccc;
    --gray-100: #e8e8e8;
    --white: #fff;
    --off-white: #f5f5f0;

    --accent: #e85d04;
    --accent-light: #f48c06;
    --accent-dark: #c24100;
    --accent-glow: rgba(232, 93, 4, 0.3);

    --green: #2d6a4f;
    --green-light: #52b788;
    --blue: #1d3557;
    --blue-light: #457b9d;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);

    --shadow: 0 4px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
    --radius: 12px;
    --radius-lg: 20px;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--gray-900);
    background: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography --- */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-title .highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.7;
}

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

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: var(--white);
}

.nav-logo::after {
    content: "⚡";
    margin-left: 4px;
    font-size: 0.8em;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: var(--gray-200);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--black);
    overflow: hidden;
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(232,93,4,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(232,93,4,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text { padding: 40px 0; }

.hero-suptitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}

.btn-block { width: 100%; }

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    transition: opacity 0.5s ease;
}

.hero-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
    width: 28px;
    border-radius: 5px;
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 1s both;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gray-400);
    border-bottom: 2px solid var(--gray-400);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
    50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* --- Overview --- */
.overview { background: var(--white); }

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.overview-card {
    padding: 36px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.overview-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.overview-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.overview-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.overview-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* --- Features --- */
.features { background: var(--off-white); }

.features-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--gray-100);
}

.feature-img img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-slow);
}

.feature-item:hover .feature-img img {
    transform: scale(1.03);
}

.feature-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: rgba(232,93,4,0.1);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.feature-text h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--dark);
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

.feature-specs li {
    font-size: 0.88rem;
    color: var(--gray-600);
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-100);
}

.feature-specs li strong {
    color: var(--dark);
    font-weight: 600;
    margin-right: 6px;
}

/* --- Specs Table --- */
.specs { background: var(--dark); color: var(--white); }

.specs .section-title { color: var(--white); }
.specs .section-title .highlight {
    background: linear-gradient(135deg, var(--accent-light), #ffba08);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.specs-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.spec-tab {
    padding: 10px 28px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: var(--gray-400);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.spec-tab:hover {
    border-color: rgba(255,255,255,0.3);
    color: var(--white);
}

.spec-tab.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-color: transparent;
    color: var(--white);
}

.specs-table-wrapper {
    max-width: 780px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th {
    background: rgba(255,255,255,0.06);
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.specs-table td {
    padding: 12px 20px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.specs-table tr:last-child td { border-bottom: none; }

.specs-table td:first-child {
    font-weight: 500;
    color: var(--gray-400);
    width: 40%;
}

.specs-table td:last-child {
    color: var(--white);
}

.specs-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* --- Gallery --- */
.gallery { background: var(--white); }

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.gallery-filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--gray-100);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
}

/* --- Versions --- */
.versions { background: var(--off-white); }

.versions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.version-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
}

.version-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.version-card.popular {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}

.version-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.version-header {
    padding: 28px 24px 20px;
    text-align: center;
}

.version-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.version-tag {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.version-header.comfort { background: linear-gradient(135deg, #e0f2fe, #bae6fd); }
.version-header.sport { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.version-header.explorer { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.version-header.special { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }

.version-price {
    text-align: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-100);
}

.version-price .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.version-specs-list {
    padding: 20px 24px;
}

.version-specs-list li {
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.version-specs-list li:last-child { border-bottom: none; }

.version-card .btn-block {
    border-radius: 0;
    padding: 16px;
}

.versions-wholesale {
    text-align: center;
    margin-top: 32px;
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* --- Accessories --- */
.accessories { background: var(--white); }

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.accessory-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.accessory-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.accessory-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.accessory-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.accessory-card p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* --- Contact --- */
.contact {
    background: var(--dark);
    color: var(--white);
}

.contact .section-title { color: var(--white); }
.contact .section-desc { color: var(--gray-400); }

.contact-content {
    max-width: 640px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.06);
}

.contact-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.88rem;
    color: var(--gray-400);
}

/* --- Footer --- */
.footer {
    background: var(--black);
    color: var(--gray-400);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.9rem;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    font-size: 0.88rem;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    font-size: 0.82rem;
}

.footer-disclaimer {
    margin-top: 8px;
    color: var(--gray-600);
    font-size: 0.75rem;
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.92);
    justify-content: center;
    align-items: center;
    padding: 40px;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gray-200);
    font-size: 0.95rem;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover { color: var(--accent); }

/* --- Video Section --- */
.video-section { background: var(--off-white); }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .overview-grid { grid-template-columns: repeat(2, 1fr); }
    .versions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10,10,10,0.98);
        flex-direction: column;
        align-items: center;
        padding: 32px 20px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle { display: flex; }

    .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);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 30px;
    }

    .hero-text { text-align: center; padding: 0; }
    .hero-desc { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .break-mobile { display: none; }

    .hero-visual { order: -1; }

    .section { padding: 60px 0; }

    .overview-grid { grid-template-columns: 1fr; }
    .features-list { gap: 50px; }
    .feature-item { grid-template-columns: 1fr; gap: 30px; }
    .feature-item.reverse { direction: ltr; }
    .feature-specs { grid-template-columns: 1fr; }

    .versions-grid { grid-template-columns: 1fr; }
    .accessories-grid { grid-template-columns: 1fr; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    .footer-content { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .specs-table td, .specs-table th { padding: 10px 12px; font-size: 0.85rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================================
   留言表单
   ============================================== */
.message-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}
.message-form {
    max-width: 680px;
    margin: 0 auto;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 32px;
}
.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}
.form-row .form-group {
    flex: 1;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 6px;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #242424;
    color: #e0e0e0;
    font-size: 0.9rem;
    transition: border-color 0.2s;
    font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e85d04;
    box-shadow: 0 0 0 2px rgba(232,93,4,0.15);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 4px;
}
.form-tip {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 12px;
    min-height: 24px;
}

/* ==============================================
   在线客服聊天（浮动气泡 + 窗口）
   ============================================== */
.chat-bubble {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e85d04, #f48c06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(232,93,4,0.4);
    z-index: 1000;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: chatPulse 2s infinite;
}
.chat-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(232,93,4,0.6);
}
.chat-bubble.hidden {
    display: none;
}
.chat-bubble-icon {
    font-size: 28px;
    line-height: 1;
}

@keyframes chatPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(232,93,4,0.3); }
    50% { box-shadow: 0 4px 30px rgba(232,93,4,0.6); }
}

.chat-window {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 360px;
    height: 520px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transform-origin: bottom right;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    overflow: hidden;
}
.chat-window.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}
.chat-header {
    background: linear-gradient(135deg, #e85d04, #c24100);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.chat-header-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}
.chat-header-close {
    font-size: 24px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}
.chat-header-close:hover {
    color: #fff;
}
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #121212;
}
.chat-msg {
    margin-bottom: 12px;
    display: flex;
}
.chat-msg-user {
    justify-content: flex-end;
}
.chat-msg-bot {
    justify-content: flex-start;
}
.chat-msg-content {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
}
.chat-msg-user .chat-msg-content {
    background: linear-gradient(135deg, #e85d04, #f48c06);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.chat-msg-bot .chat-msg-content {
    background: #242424;
    color: #e0e0e0;
    border-bottom-left-radius: 4px;
    border: 1px solid #333;
}
.chat-input-area {
    display: flex;
    padding: 12px;
    gap: 8px;
    background: #1a1a1a;
    border-top: 1px solid #2a2a2a;
    flex-shrink: 0;
}
.chat-input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #242424;
    color: #e0e0e0;
    font-size: 0.85rem;
    outline: none;
}
.chat-input:focus {
    border-color: #e85d04;
}
.chat-send {
    padding: 10px 18px;
    background: linear-gradient(135deg, #e85d04, #f48c06);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}
.chat-send:hover {
    opacity: 0.9;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 24px);
        height: calc(100vh - 120px);
        bottom: 12px;
        right: 12px;
        border-radius: 12px;
    }
    .chat-bubble {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
    .chat-bubble-icon {
        font-size: 24px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .message-form {
        padding: 20px;
    }
}
