/* ============================================
   SwanWink Official Website
   Design: Clean, minimal, clinical, premium
   Palette: White + Blue #0070C0 + Dark #1A1A2E
   ============================================ */

/* --- CSS Variables --- */
:root {
    --sw-blue: #0070C0;
    --sw-blue-hover: #005A9E;
    --sw-blue-light: #E8F4FD;
    --sw-navy: #1A1A2E;
    --sw-dark: #111827;
    --sw-text: #1F2937;
    --sw-text-secondary: #6B7280;
    --sw-text-light: #9CA3AF;
    --sw-border: #E5E7EB;
    --sw-bg: #FFFFFF;
    --sw-bg-light: #F9FAFB;
    --sw-bg-footer: #F3F4F6;
    --sw-teal: #0D9488;
    --sw-radius: 12px;
    --sw-radius-lg: 16px;
    --sw-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --sw-shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --sw-shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --sw-transition: all 0.3s ease;
}

/* --- Animations --- */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(10%);
    }
}

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

html {
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

body {
    min-height: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--sw-text);
    background: var(--sw-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* iOS Safari fixed navbar fix */
.sw-navbar.fixed-top {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--sw-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
}

a {
    text-decoration: none;
    color: var(--sw-blue);
    transition: var(--sw-transition);
}

a:hover {
    color: var(--sw-blue-hover);
}

img { max-width: 100%; height: auto; }

/* ============================================
   NAVBAR
   ============================================ */
.sw-navbar {
    background: var(--sw-bg);
    padding: 18px 0;
    border-bottom: 1px solid var(--sw-border);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    z-index: 2000;
}

.sw-navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--sw-shadow);
}

.sw-brand {
    font-size: 20px;
    font-weight: 800;
    color: var(--sw-dark) !important;
    padding: 0;
}

.sw-logo-img {
    height: 20px;
    width: auto;
    display: block;
    letter-spacing: -0.3px;
    object-fit: contain;
    flex-shrink: 0;
}

.sw-nav-center {
    gap: 8px;
}

.sw-navbar .nav-link {
    color: var(--sw-text-secondary) !important;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 16px !important;
    border-radius: 6px;
    transition: var(--sw-transition);
    position: relative;
}

.sw-navbar .nav-link:hover {
    color: var(--sw-dark) !important;
}

.sw-navbar .nav-link.active {
    color: var(--sw-blue) !important;
}

.sw-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 16px;
    right: 16px;
    height: 4px;
    background: var(--sw-blue);
    border-radius: 1px;
}

.sw-dropdown {
    background: var(--sw-bg);
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius);
    box-shadow: var(--sw-shadow-lg);
    padding: 6px;
    margin-top: 8px !important;
    min-width: 200px;
}

.sw-dropdown .dropdown-item {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--sw-text);
    transition: var(--sw-transition);
}

.sw-dropdown .dropdown-item:hover {
    background: var(--sw-bg-light);
    color: var(--sw-blue);
}

.sw-navbar .navbar-toggler {
    border: none;
    padding: 4px 8px;
    font-size: 20px;
    color: var(--sw-dark);
}

.sw-navbar .navbar-toggler:focus {
    box-shadow: none;
}

.sw-navbar-spacer {
    height: 68px;
    position: relative;
    z-index: 1049;
}

/* ============================================
   BUTTONS
   ============================================ */
.sw-btn-primary {
    background: var(--sw-blue);
    color: #fff;
    border: 2px solid var(--sw-blue);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--sw-transition);
}

.sw-btn-primary:hover {
    background: var(--sw-blue-hover);
    border-color: var(--sw-blue-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 112, 192, 0.3);
}

.sw-btn-outline-dark {
    background: transparent;
    color: var(--sw-dark);
    border: 2px solid var(--sw-dark);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--sw-transition);
}

.sw-btn-outline-dark:hover {
    background: var(--sw-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.sw-hero {
    position: relative;
    overflow: hidden;
    padding: 60px 0 80px;
    min-height: 560px;
}

.sw-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sw-hero-wave {
    position: absolute;
    inset: 0;
}

.sw-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 40px;
}

.sw-hero-title {
    font-size: 80px;
    font-weight: 800;
    line-height: 0.95;
    color: var(--sw-dark);
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.sw-hero-desc {
    font-size: 17px;
    color: var(--sw-text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.sw-hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero floating product images */
.sw-hero-images {
    position: relative;
    z-index: 2;
    height: 420px;
}

.sw-hero-img-frame {
    position: absolute;
    background: var(--sw-bg);
    border-radius: var(--sw-radius);
    box-shadow: var(--sw-shadow-lg);
    padding: 8px;
    transition: var(--sw-transition);
}

.sw-frame-1 {
    width: 280px;
    height: 320px;
    top: 20px;
    left: 50%;
    transform: translateX(-80%) rotate(-4deg);
}

.sw-frame-1:hover {
    transform: translateX(-80%) scale(1.05);
}

.sw-frame-2 {
    width: 260px;
    height: 300px;
    top: 0;
    right: 0;
    transform: rotate(3deg);
}

.sw-frame-2:hover {
    transform: rotate(0deg) scale(1.05);
}

.sw-hero-brand-text {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.sw-hero-img-frame:hover {
    box-shadow: var(--sw-shadow-lg);
}

.sw-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4e8f5, #a8cde0);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(0, 112, 192, 0.4);
    font-size: 13px;
}

.sw-hero-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* ============================================
   SECTIONS
   ============================================ */
.sw-section {
    padding: 80px 0;
}

.sw-section-header {
    margin-bottom: 16px;
}

.sw-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--sw-dark);
    margin-bottom: 12px;
}

.sw-section-desc {
    font-size: 15px;
    color: var(--sw-text-secondary);
    line-height: 1.7;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.sw-card {
    background: var(--sw-bg);
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius-lg);
    overflow: hidden;
    transition: var(--sw-transition);
    height: 100%;
}

.sw-card:hover {
    box-shadow: var(--sw-shadow-lg);
    transform: translateY(-8px);
}

.sw-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.sw-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: transform 0.5s ease;
}

.sw-card-img-responsive {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sw-card:hover .sw-card-img-responsive {
    transform: scale(1.1);
}

.sw-card:hover .sw-card-img-placeholder {
    transform: scale(1.1);
}

.sw-card-img-placeholder.lutein-bg {
    background: linear-gradient(135deg, #5B8A3C, #8FBC6A, #A7C68B);
}

.sw-card:hover .lutein-bg {
    background: linear-gradient(135deg, #4A7030, #7FA55A, #96B67A);
}

.sw-card-img-placeholder.liver-bg {
    background: linear-gradient(135deg, #C88A2E, #D4A54A, #E0C06A);
}

.sw-card:hover .liver-bg {
    background: linear-gradient(135deg, #A87020, #C49540, #D0B060);
}

.sw-card-img-placeholder.vd-bg {
    background: linear-gradient(135deg, #E8E0D4, #F0EBE4, #D8D0C4);
    color: rgba(0,0,0,0.15);
}

.sw-card:hover .vd-bg {
    background: linear-gradient(135deg, #D8D0C4, #E0DCD4, #C8C0B4);
}

.sw-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}

.sw-card-badge.blue { background: var(--sw-blue); }
.sw-card-badge.teal { background: var(--sw-teal); }
.sw-card-badge.navy { background: var(--sw-navy); }

.sw-card-body {
    padding: 24px;
}

.sw-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.sw-card-text {
    font-size: 14px;
    color: var(--sw-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.sw-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--sw-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--sw-transition);
}

.sw-card-link:hover {
    gap: 10px;
    color: var(--sw-blue-hover);
}

.sw-card-link i {
    font-size: 12px;
    transition: var(--sw-transition);
}

/* ============================================
   RESEARCH SECTION
   ============================================ */
.sw-research {
    background: var(--sw-bg-light);
    padding: 100px 0;
}

.sw-research-visual {
    position: relative;
}

.sw-research-circle {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

.sw-research-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle-placeholder {
    border-radius: 50%;
    background: linear-gradient(135deg, #d4e8f5, #a8cde0, #7bb8d4);
    color: rgba(0, 112, 192, 0.3);
}

.sw-research-stat {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(10%);
    background: var(--sw-bg);
    border-radius: var(--sw-radius);
    padding: 20px 24px;
    box-shadow: var(--sw-shadow-lg);
    max-width: 220px;
    text-align: center;
    opacity: 0;
}

.sw-research-stat.animate-in {
    animation: slideInRight 0.8s ease forwards;
}

.sw-stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--sw-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.sw-stat-text {
    display: block;
    font-size: 12px;
    color: var(--sw-text-secondary);
    line-height: 1.5;
}

.sw-research-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--sw-dark);
    margin-bottom: 20px;
}

.sw-research-desc {
    font-size: 15px;
    color: var(--sw-text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.sw-research-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sw-research-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.sw-rf-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--sw-blue-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sw-blue);
    font-size: 18px;
}

.sw-research-feature h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.sw-research-feature p {
    font-size: 13px;
    color: var(--sw-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   PAGE BANNER (Brand & Products pages)
   ============================================ */
.sw-page-banner {
    background: center/cover no-repeat;
    padding: 100px 0 80px;
    text-align: center;
}

.sw-page-banner-subtitle {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sw-blue);
    margin-bottom: 12px;
}

.sw-page-banner-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--sw-dark);
}

/* ============================================
   BRAND PAGE
   ============================================ */
.sw-brand-img-placeholder {
    width: 100%;
    height: 340px;
    border-radius: var(--sw-radius-lg);
    background: linear-gradient(135deg, #d4e8f5, #a8cde0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(0, 112, 192, 0.3);
    gap: 12px;
    font-size: 14px;
}

.sw-brand-img-placeholder p { margin: 0; }

.sw-brand-img-container {
    width: 100%;
    height: 340px;
    border-radius: var(--sw-radius-lg);
    overflow: hidden;
    box-shadow: var(--sw-shadow);
    transition: var(--sw-transition);
}

.sw-brand-img-container:hover {
    box-shadow: var(--sw-shadow-lg);
    transform: translateY(-4px);
}

.sw-brand-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sw-brand-img-container:hover .sw-brand-img {
    transform: scale(1.05);
}

.sw-text-body {
    font-size: 15px;
    color: var(--sw-text);
    line-height: 1.8;
    margin-bottom: 14px;
}

.sw-text-muted {
    font-size: 14px;
    color: var(--sw-text-secondary);
    line-height: 1.8;
    margin-bottom: 14px;
}

.sw-section-subtitle {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sw-blue);
    margin-bottom: 8px;
}

.sw-divider {
    width: 40px;
    height: 3px;
    background: var(--sw-blue);
    margin-bottom: 24px;
    border-radius: 2px;
}

.sw-divider-left {
    margin-left: 0;
}

.sw-stat-card {
    background: var(--sw-bg);
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius);
    padding: 20px;
    text-align: center;
    transition: var(--sw-transition);
}

.sw-stat-card:hover {
    box-shadow: var(--sw-shadow-md);
    transform: translateY(-2px);
}

.sw-stat-square {
    aspect-ratio: 1 / 1;
    border-radius: var(--sw-radius);
    background: var(--sw-blue-light);
    border: 2px solid var(--sw-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.sw-stat-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Stat row animation */
.sw-animate-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sw-animate-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.sw-stat-square .sw-stat-number {
    font-size: 24px;
    color: var(--sw-blue);
}

.sw-stat-square .sw-stat-label {
    font-size: 11px;
    color: var(--sw-text-secondary);
    margin-top: 6px;
}

.sw-stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--sw-blue);
}

.sw-stat-label {
    font-size: 12px;
    color: var(--sw-text-secondary);
    margin-top: 4px;
}

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.sw-product-detail-img {
    width: 100%;
    height: 380px;
    border-radius: var(--sw-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    overflow: hidden;
    box-shadow: var(--sw-shadow);
    transition: var(--sw-transition), transform 0.4s ease, box-shadow 0.4s ease;
}

.sw-product-detail-img:hover {
    transform: translateY(-6px) rotate(1deg);
    box-shadow: var(--sw-shadow-lg);
}

.sw-product-detail-img img {
    transition: transform 0.5s ease;
}

.sw-product-detail-img:hover img {
    transform: scale(1.08);
}

.sw-product-detail-img.lutein {
    background: linear-gradient(135deg, #d6e8db, #d6e8db);
}

.sw-product-detail-img.liver {
    background: linear-gradient(135deg, #f3e8d8, #f3e8d8);
}

.sw-product-detail-img.vd {
    background: linear-gradient(135deg, #e4edf7, #e4edf7);
    color: rgba(0,0,0,0.15);
}

.sw-product-detail-img p { margin: 0; }

.sw-product-badge {
    display: inline-block;
    background: var(--sw-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.sw-product-detail-name {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 14px;
}

.sw-product-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.sw-product-features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--sw-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sw-product-features li i {
    color: var(--sw-blue);
    font-size: 14px;
}

.sw-product-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--sw-border);
}

.price-label {
    font-size: 14px;
    color: var(--sw-text-secondary);
}

.price-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--sw-blue);
}

.sw-section-light {
    background: var(--sw-bg-light);
}

/* ============================================
   FOOTER
   ============================================ */
.sw-footer {
    background: url('/static/images/sw/1/2bg.jpg') center/cover no-repeat var(--sw-bg-footer);
    padding: 60px 0 0;
}

.sw-footer-brand {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
}

.sw-footer-brand::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #0070c0;
}

.sw-footer-brand-text {
    color: #fff;
    font-size: 14px;
    margin-bottom: 12px;
}

.sw-footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

.sw-footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    display: block;
}

.sw-footer-heading::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #0070c0;
}

.sw-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.sw-footer-links a {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    transition: var(--sw-transition);
}

.sw-footer-links a:hover {
    color: #fff;
}

.sw-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
}

.sw-footer-contact li i {
    color: #fff;
    margin-top: 3px;
    font-size: 13px;
    min-width: 16px;
}

.sw-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 20px 0;
    margin-top: 40px;
}

.sw-copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.sw-footer-legal {
    display: flex;
    gap: 20px;
}

.sw-footer-legal a {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.sw-footer-legal a:hover {
    color: var(--sw-blue);
}

/* ============================================
   BACK TO TOP
   ============================================ */
#backtotop {
    position: fixed;
    bottom: 30px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--sw-bg);
    color: var(--sw-text);
    border: 1px solid var(--sw-border);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    z-index: 1040;
    box-shadow: var(--sw-shadow);
    transition: var(--sw-transition);
    text-align: center;
    line-height: 44px;
}

#backtotop:hover {
    background: var(--sw-blue);
    color: #fff;
    border-color: var(--sw-blue);
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 991.98px) {
    .sw-hero-title {
        font-size: 56px;
    }

    .sw-hero {
        padding: 40px 0 60px;
        min-height: auto;
    }

    .sw-hero-images {
        height: 300px;
        margin-top: 30px;
    }

    .sw-frame-1 {
        width: 200px;
        height: 230px;
        left: 30%;
    }

    .sw-frame-2 {
        width: 180px;
        height: 210px;
    }

    .sw-section {
        padding: 60px 0;
    }

    .sw-section-title {
        font-size: 28px;
    }

    .sw-research {
        padding: 70px 0;
    }

    .sw-research-title {
        font-size: 28px;
    }

    .sw-research-circle {
        width: 280px;
        height: 280px;
    }

    .sw-research-stat {
        transform: translateX(-20%);
    }

    .sw-brand-img-placeholder {
        height: 260px;
        margin-bottom: 24px;
    }

    .sw-product-detail-img {
        height: 280px;
        margin-bottom: 24px;
    }

    /* Mobile nav */
    .sw-navbar .navbar-collapse {
        background: var(--sw-bg);
        border: 1px solid var(--sw-border);
        border-radius: var(--sw-radius);
        padding: 12px;
        margin-top: 12px;
        box-shadow: var(--sw-shadow-md);
        position: relative;
        z-index: 1050;
    }

    .sw-nav-center {
        gap: 4px;
    }

    .sw-navbar .nav-link.active::after {
        display: none;
    }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 767.98px) {
    .sw-card:hover {
        transform: translateY(-4px);
    }

    .sw-card:hover .sw-card-img-placeholder {
        transform: scale(1.03);
    }

    .sw-card:hover .sw-card-img-responsive {
        transform: scale(1.03);
    }

    .sw-hero-title {
        font-size: 44px;
    }

    .sw-hero-desc {
        font-size: 15px;
    }

    .sw-hero-desc br {
        display: none;
    }

    .sw-hero-images {
        height: 240px;
        overflow: hidden;
    }

    .sw-frame-1 {
        width: 150px;
        height: 180px;
        left: 0;
        transform: rotate(-3deg);
    }

    .sw-frame-1:hover {
        transform: scale(1.05);
    }

    .sw-frame-2 {
        width: 140px;
        height: 170px;
        right: 0;
        transform: rotate(2deg);
    }

    .sw-frame-2:hover {
        transform: rotate(0deg) scale(1.05);
    }

    .sw-section {
        padding: 48px 0;
    }

    .sw-section-title {
        font-size: 24px;
    }

    .sw-section-desc br {
        display: none;
    }

    .sw-page-banner {
        padding: 60px 0 40px;
        min-height: 200px;
    }

    .sw-page-banner-title {
        font-size: 30px;
    }

    .sw-research {
        padding: 50px 0;
    }

    .sw-research-title {
        font-size: 24px;
    }

    .sw-research-circle {
        width: 240px;
        height: 240px;
        margin-bottom: 40px;
    }

    .sw-research-stat {
        max-width: 180px;
        padding: 14px 16px;
        transform: translateX(0);
    }

    .sw-research-stat.animate-in {
        animation: fadeIn 0.8s ease forwards;
    }

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

    /* Stat row animation */
    .sw-animate-item {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .sw-animate-item.animate-in {
        opacity: 1;
        transform: translateY(0);
    }

    .sw-stat-value {
        font-size: 26px;
    }

    .sw-product-detail-name {
        font-size: 24px;
    }

    .sw-product-detail-img {
        height: 220px;
    }

    .sw-product-detail-img:hover {
        transform: translateY(-3px);
    }

    .sw-product-detail-img:hover img {
        transform: scale(1.04);
    }

    .sw-brand-img-placeholder {
        height: 200px;
    }

    .sw-brand-img-container {
        height: 220px;
    }

    .sw-brand-img-container:hover {
        transform: translateY(-2px);
    }

    .sw-brand-img-container:hover .sw-brand-img {
        transform: scale(1.03);
    }

    .sw-stat-square {
        padding: 12px;
    }

    .sw-stat-img {
        max-width: 80%;
    }

    .sw-hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .sw-hero-buttons .btn {
        text-align: center;
    }

    .sw-btn-primary,
    .sw-btn-outline-dark {
        padding: 10px 24px;
        font-size: 14px;
    }

    .sw-footer {
        padding: 40px 0 0;
        text-align: center;
    }

    .sw-footer-contact li {
        justify-content: center;
    }

    .sw-footer-bottom .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .sw-footer-legal {
        justify-content: center;
    }

    #backtotop {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        line-height: 40px;
    }

    .sw-footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .sw-footer-brand::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* 移动端导航栏保障 */
    .sw-navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .sw-navbar-spacer {
        height: 56px !important;
    }

    .sw-logo-img {
        height: 20px !important;
    }
}
