/**
 * RONLON Floor Scrubber - 完整独立版CSS
 * 包含所有项目样式，无需CDN
 */

/* ===========================
   1. 基础重置和全局样式
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

/* ===========================
   2. 字体定义
   =========================== */

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/oswald.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/oswald.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/oswald.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/oswald.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.font-heading {
    font-family: 'Oswald', sans-serif;
}

.font-sans {
    font-family: 'Roboto', sans-serif;
}

.tech-mono {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.05em;
}

/* ===========================
   3. 容器和布局
   =========================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ===========================
   4. 颜色系统
   =========================== */

.bg-white { background-color: #ffffff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-950 { background-color: #020617; }
.bg-orange-50 { background-color: #fff7ed; }
.bg-orange-600 { background-color: #ea580c; }
.bg-orange-700 { background-color: #c2410c; }

.text-white { color: #ffffff; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-900 { color: #0f172a; }
.text-orange-500 { color: #f97316; }
.text-orange-600 { color: #ea580c; }

.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-slate-800 { border-color: #1e293b; }
.border-slate-900 { border-color: #0f172a; }
.border-orange-500 { border-color: #f97316; }
.border-orange-600 { border-color: #ea580c; }
.border-t-orange-600 { border-top-color: #ea580c; }
.border-b-orange-600 { border-bottom-color: #ea580c; }
.border-l-orange-600 { border-left-color: #ea580c; }
.border-r-orange-600 { border-right-color: #ea580c; }

/* ===========================
   5. 导航栏样式
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: #ffffff;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom-color: #e2e8f0;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar-content {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .navbar-content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.navbar-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 0.125rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    font-family: 'Oswald', sans-serif;
}

.navbar-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.navbar-logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f172a;
    line-height: 1;
    font-family: 'Oswald', sans-serif;
}

.navbar-logo-subtitle {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #64748b;
    line-height: 1.25;
    margin-top: 0.125rem;
    text-transform: uppercase;
}

.navbar-menu {
    display: none;
    align-items: center;
    gap: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #475569;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

@media (min-width: 768px) {
    .navbar-menu {
        display: flex;
    }
}

.navbar-menu a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.navbar-menu a:hover {
    color: #ea580c;
}

.navbar-menu a.active {
    color: #ea580c;
}

.navbar-cta {
    display: none;
}

@media (min-width: 768px) {
    .navbar-cta {
        display: block;
    }
}

.navbar-cta-btn {
    background-color: #0f172a;
    color: #ffffff;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 0.125rem;
    font-family: 'Oswald', sans-serif;
}

.navbar-cta-btn:hover {
    background-color: #ea580c;
}

.navbar-mobile-toggle {
    display: block;
}

@media (min-width: 768px) {
    .navbar-mobile-toggle {
        display: none;
    }
}

.navbar-mobile-toggle button {
    background: none;
    border: none;
    color: #0f172a;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.navbar-mobile-toggle button:hover {
    color: #ea580c;
}

/* 移动端菜单 */
.mobile-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none;
    }
}

.mobile-menu.open {
    max-height: 500px;
}

.mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-menu a:hover {
    color: #ea580c;
}

/* ===========================
   6. Hero Section样式
   =========================== */

.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background-color: #f8fafc;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.04;
    background-image: linear-gradient(#000 1px, transparent 1px),
                      linear-gradient(90deg, #000 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .hero-content {
        flex-direction: row;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #475569;
    border-radius: 0.125rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    width: fit-content;
}

.hero-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #f97316;
    border-radius: 0.125rem;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 3.75rem;
    line-height: 0.85;
    font-weight: 500;
    color: #0f172a;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }
}

.hero-title span {
    color: #ea580c;
}

.hero-description {
    font-size: 1.25rem;
    color: #475569;
    max-width: 28rem;
    font-weight: 400;
    line-height: 1.625;
    border-left: 4px solid #f97316;
    padding-left: 1.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 0.125rem;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #ea580c;
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.2);
}

.btn-primary:hover {
    background-color: #c2410c;
}

.btn-secondary {
    background-color: #ffffff;
    color: #0f172a;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: #0f172a;
}

.hero-right {
    flex: 1;
    position: relative;
}

.hero-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0.125rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid #ffffff;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(125%);
}

.hero-info-card {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background-color: #0f172a;
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 0.125rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 20rem;
    border-left: 4px solid #f97316;
    display: none;
}

@media (min-width: 768px) {
    .hero-info-card {
        display: block;
    }
}

/* ===========================
   7. 产品卡片样式
   =========================== */

.product-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    border-color: #f97316;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ea580c;
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.375rem 0.75rem;
    z-index: 10;
    letter-spacing: 0.1em;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    font-family: 'Oswald', sans-serif;
}

.product-image-wrapper {
    height: 16rem;
    overflow: hidden;
    background-color: #f1f5f9;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(125%);
    transition: all 0.7s ease;
}

.product-card:hover .product-image {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.product-model-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: #0f172a;
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-family: 'Oswald', sans-serif;
}

.product-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    line-height: 1;
    font-family: 'Oswald', sans-serif;
}

.product-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-card:hover .product-title a {
    color: #ea580c;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.product-spec-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-spec-value {
    color: #0f172a;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.product-view-btn {
    width: 100%;
    border: 2px solid #0f172a;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Oswald', sans-serif;
    text-align: center;
    display: block;
}

.product-card:hover .product-view-btn {
    background-color: #0f172a;
    color: #ffffff;
}

/* ===========================
   8. 页脚样式
   =========================== */

.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding-top: 6rem;
    padding-bottom: 2.5rem;
    border-top: 4px solid #ea580c;
}

.footer-content {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-brand-title {
    font-size: 1.875rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-family: 'Oswald', sans-serif;
    display: block;
}

.footer-brand-desc {
    font-size: 0.875rem;
    line-height: 1.625;
    margin-bottom: 2rem;
    font-weight: 300;
}

.footer-contact {
    display: flex;
    gap: 1rem;
}

.footer-contact a {
    width: 3rem;
    height: 3rem;
    border: 1px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: inherit;
}

.footer-contact a:hover {
    background-color: #ea580c;
    border-color: #ea580c;
    color: #ffffff;
}

.footer-section-title {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    font-size: 0.75rem;
    font-family: 'Oswald', sans-serif;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #f97316;
}

.footer-contact-card {
    border: 1px solid #1e293b;
    padding: 1.5rem;
    background-color: rgba(30, 41, 59, 0.3);
}

.footer-phone {
    display: block;
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
    font-family: 'Oswald', sans-serif;
    transition: color 0.2s ease;
}

.footer-phone:hover {
    color: #f97316;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #475569;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* ===========================
   9. 表单样式
   =========================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.form-required {
    color: #ef4444;
}

.form-input,
.form-textarea {
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    transition: border-color 0.2s ease;
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #ea580c;
}

.form-textarea {
    resize: none;
    font-family: inherit;
}

/* ===========================
   10. 工具类
   =========================== */

.text-center { text-align: center; }
.text-xl { font-size: 1.25rem; }
.text-4xl { font-size: 2.25rem; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-32 { padding-top: 8rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-24 { padding-bottom: 6rem; }

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\\:flex-row {
        flex-direction: row;
    }

    .md\\:hidden {
        display: none;
    }

    .md\\:block {
        display: block;
    }
}

@media (min-width: 1024px) {
    .lg\\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lg\\:w-1\\/2 {
        width: 50%;
    }
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.rounded-sm {
    border-radius: 0.125rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.hidden {
    display: none;
}

/* ===========================
   11. SVG图标样式
   =========================== */

.icon {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-xs {
    width: 0.75rem;
    height: 0.75rem;
}
