/* ==========================================================================
   Xiaceba Premium Stylesheet
   Theme: Modern Safety Product - Deep Teal, White & Warm Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

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

.xia-html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: #ffffff;
}

.xia-body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #0f172a;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ---- Typography ---- */
.xia-title-xlarge {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.08;
    color: #0f172a;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.03em;
}

.xia-title-large {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: #0f172a;
    margin: 0 0 1.25rem 0;
    letter-spacing: -0.02em;
}

.xia-title-medium {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    color: #0f172a;
    margin: 0 0 1.25rem 0;
}

.xia-title-small {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: #0f172a;
    margin: 0 0 0.75rem 0;
}

.xia-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #0d9488;
    margin: 0 0 1rem 0;
    display: inline-block;
}

.xia-paragraph {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #475569;
    margin: 0 0 1.5rem 0;
    line-height: 1.8;
}

.xia-paragraph-lead {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #334155;
    margin: 0 0 1.75rem 0;
    line-height: 1.7;
}

.xia-paragraph-small {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #64748b;
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.xia-bold { font-weight: 700; }

/* ---- Layout ---- */
.xia-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.xia-container-narrow {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.xia-section {
    padding: 5rem 0;
}

.xia-bg-white { background-color: #ffffff; }
.xia-bg-light { background-color: #f0fdfa; }
.xia-bg-dark { background-color: #0f172a; }
.xia-bg-gradient { background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 50%, #f0fdfa 100%); }
.xia-border-b { border-bottom: 1px solid #e2e8f0; }

/* ---- Disclosure Banner ---- */
.xia-disclosure {
    background-color: #0f172a;
    padding: 0.65rem 2rem;
    text-align: center;
}

.xia-disclosure-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

/* ---- Header ---- */
.xia-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.4s ease;
}

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

.xia-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.xia-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #0f172a;
}

.xia-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.xia-nav-menu {
    display: flex;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.xia-nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    position: relative;
}

.xia-nav-link:hover { color: #0d9488; }

.xia-nav-link-active {
    color: #0d9488;
    font-weight: 600;
}

.xia-nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0d9488;
    border-radius: 1px;
}

/* Hamburger */
.xia-hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.xia-hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #0f172a;
    position: relative;
    transition: all 0.3s ease;
}

.xia-hamburger::before,
.xia-hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #0f172a;
    transition: all 0.3s ease;
}

.xia-hamburger::before { top: -7px; }
.xia-hamburger::after { top: 7px; }

/* ---- Buttons ---- */
.xia-btn-primary {
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0d9488;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 1.15rem 2.5rem;
    border-radius: 12px;
    border: 2px solid #0d9488;
    cursor: pointer;
    transition: all 0.4s ease;
}

.xia-btn-primary:hover {
    background-color: #0f766e;
    border-color: #0f766e;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(13, 148, 136, 0.3);
}

.xia-btn-primary-lg {
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0d9488;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 1.25rem 3rem;
    border-radius: 14px;
    border: 2px solid #0d9488;
    cursor: pointer;
    transition: all 0.4s ease;
}

.xia-btn-primary-lg:hover {
    background-color: #0f766e;
    border-color: #0f766e;
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(13, 148, 136, 0.35);
}

.xia-btn-outline {
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 1.15rem 2.5rem;
    border-radius: 12px;
    border: 2px solid #0f172a;
    cursor: pointer;
    transition: all 0.4s ease;
}

.xia-btn-outline:hover {
    background-color: #0f172a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.15);
}

.xia-link-text {
    color: #0d9488;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

.xia-link-text:hover {
    border-bottom-color: #0d9488;
    color: #0f766e;
}

/* ---- Hero ---- */
.xia-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.xia-hero-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
}

.xia-hero-img-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 1px solid rgba(13, 148, 136, 0.15);
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.xia-hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.xia-hero-cta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ---- Price ---- */
.xia-price-box {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    padding: 2rem 2.5rem;
    border-radius: 16px;
    margin: 2rem 0;
    border: 1px solid rgba(13, 148, 136, 0.15);
}

.xia-price-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.xia-price-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0.5rem 0;
}

.xia-price-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #0d9488;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* ---- Badge ---- */
.xia-badge {
    display: inline-block;
    background-color: #0d9488;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

/* ---- Gallery ---- */
.xia-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.xia-gallery-item {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f0fdfa, #ffffff);
}

.xia-gallery-item:hover {
    border-color: rgba(13, 148, 136, 0.4);
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.1);
}

.xia-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Feature Cards ---- */
.xia-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.xia-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.xia-feature-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 2.5rem;
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.xia-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #0d9488, #14b8a6);
    transition: height 0.4s ease;
}

.xia-feature-card:hover::before { height: 100%; }

.xia-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    border-color: rgba(13, 148, 136, 0.25);
}

.xia-icon {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    display: block;
}

/* ---- Specs Table ---- */
.xia-specs-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.xia-specs-row { border-bottom: 1px solid #e2e8f0; }
.xia-specs-row:last-child { border-bottom: none; }

.xia-specs-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    padding: 1.25rem 1.75rem;
    width: 40%;
}

.xia-specs-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 500;
    padding: 1.25rem 1.75rem;
}

/* ---- Pros & Cons ---- */
.xia-procon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin: 2.5rem 0;
}

.xia-pro-panel {
    background-color: rgba(13, 148, 136, 0.04);
    border: 1px solid rgba(13, 148, 136, 0.15);
    padding: 2rem;
    border-radius: 16px;
}

.xia-con-panel {
    background-color: rgba(245, 158, 11, 0.04);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 2rem;
    border-radius: 16px;
}

.xia-bullet-list {
    margin: 1rem 0 0 0;
    padding: 0;
    list-style: none;
}

.xia-bullet-item {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #475569;
}

.xia-bullet-pro::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #0d9488;
    font-weight: bold;
    font-size: 1.1rem;
}

.xia-bullet-con::before {
    content: "\2212";
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ---- FAQ ---- */
.xia-faq-list { margin-top: 3rem; }

.xia-faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 0;
}

.xia-faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    padding: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    transition: color 0.3s ease;
}

.xia-faq-trigger:hover { color: #0d9488; }

.xia-faq-arrow {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: #0d9488;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.xia-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding-top: 0;
}

.xia-faq-content-open {
    max-height: 500px;
    padding-top: 1.25rem;
}

.xia-faq-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.75;
    margin: 0;
}

/* ---- Trust Badges ---- */
.xia-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.xia-trust-item {
    text-align: center;
    padding: 1.75rem 1rem;
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.xia-trust-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.xia-trust-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.xia-trust-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
}

/* ---- Legal Page ---- */
.xia-legal-box {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 3rem;
    border-radius: 20px;
}

/* ---- Preloader ---- */
.xia-preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s;
    opacity: 1;
    visibility: visible;
}

.xia-preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.xia-preloader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(13, 148, 136, 0.15);
    border-top: 3px solid #0d9488;
    border-radius: 50%;
    animation: xia-spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

.xia-preloader-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.25em;
    color: #0f172a;
    text-transform: uppercase;
    animation: xia-pulse 1.5s ease-in-out infinite;
}

@keyframes xia-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes xia-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ---- Footer ---- */
.xia-footer {
    background-color: #0f172a;
    color: #ffffff;
    padding: 5rem 0 2rem 0;
}

.xia-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.xia-footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.06em;
}

.xia-footer-logo-img {
    height: 32px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.xia-footer-heading {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
}

.xia-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.xia-footer-menu li { margin-bottom: 0.85rem; }

.xia-footer-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.xia-footer-link:hover { color: #14b8a6; }

.xia-footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.xia-footer-copy {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

/* ---- Cookie Popup ---- */
.xia-cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0f172a;
    color: #ffffff;
    padding: 1.5rem 2rem;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.3);
}

.xia-cookie-popup.xia-cookie-visible {
    transform: translateY(0);
}

.xia-cookie-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.xia-cookie-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #cbd5e1;
    margin: 0;
    flex: 1;
    min-width: 280px;
    line-height: 1.6;
}

.xia-cookie-text a {
    color: #14b8a6;
    text-decoration: underline;
}

.xia-cookie-btns {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.xia-cookie-accept {
    font-family: 'Inter', sans-serif;
    background-color: #0d9488;
    color: #ffffff;
    border: none;
    padding: 0.7rem 1.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.xia-cookie-accept:hover {
    background-color: #14b8a6;
}

.xia-cookie-reject {
    font-family: 'Inter', sans-serif;
    background-color: transparent;
    color: #94a3b8;
    border: 1px solid #334155;
    padding: 0.7rem 1.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.xia-cookie-reject:hover {
    border-color: #94a3b8;
    color: #ffffff;
}

/* ---- Mobile Menu ---- */
.xia-menu-open {
    display: flex !important;
}

/* ---- Contact Card ---- */
.xia-contact-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 2rem;
}

.xia-contact-divider {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
    margin-top: 1rem;
}

.xia-contact-box {
    background-color: #f0fdfa;
    border: 1px solid rgba(13, 148, 136, 0.15);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .xia-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .xia-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .xia-grid-2 { grid-template-columns: 1fr; }

    .xia-footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .xia-procon-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .xia-title-xlarge { font-size: 2.25rem; }
    .xia-title-large { font-size: 1.85rem; }
    .xia-title-medium { font-size: 1.5rem; }

    .xia-grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .xia-hamburger-btn { display: block; }

    .xia-nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff;
        border-bottom: 1px solid #e2e8f0;
        padding: 1.5rem 2rem;
        box-shadow: 0 15px 25px rgba(15, 23, 42, 0.08);
        gap: 1.25rem;
    }

    .xia-hero-cta {
        flex-direction: column;
    }

    .xia-btn-primary-lg,
    .xia-btn-primary,
    .xia-btn-outline {
        width: 100%;
        text-align: center;
    }

    .xia-price-value { font-size: 2.5rem; }

    .xia-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .xia-section { padding: 3.5rem 0; }

    .xia-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .xia-legal-box { padding: 1.75rem; }

    .xia-cookie-inner {
        flex-direction: column;
        text-align: center;
    }

    .xia-cookie-btns {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .xia-trust-grid {
        grid-template-columns: 1fr;
    }

    .xia-price-box {
        padding: 1.5rem;
    }

    .xia-container,
    .xia-container-narrow {
        padding: 0 1.25rem;
    }
}
