/*
 * Ailin Sofa WordPress Theme — Main Stylesheet
 *
 * Based on the original Ailin Sofa website (www.ailinsofa.com)
 * Built with Tailwind CSS v2.2.17 utility classes converted to custom CSS
 *
 * Color Palette:
 *   Primary Blue:    #4c6aff
 *   Primary Hover:   #7591ff / #386ee7
 *   Dark BG:         #212430 (footer)
 *   Text Dark:       #232d47
 *   Text Gray:       #7d8085
 *   Light Gray:      #f0f3f5 / #f8f9fa
 */

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    border: 0 solid;
}

html {
    scroll-behavior: smooth;
    font-family: Arial, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, sans-serif;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
}

body {
    margin: 0;
    font-family: inherit;
    line-height: inherit;
    color: #333;
    background: #fff;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

p {
    margin: 0;
    padding: 0;
}

a {
    color: #4c6aff;
    text-decoration: none;
}

a:hover {
    color: #7591ff;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border-style: solid;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

button {
    background: transparent;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/* ==========================================================================
   2. CONTAINER
   ========================================================================== */

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

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 20px;
    }
}

/* ==========================================================================
   3. LANGUAGE BAR
   ========================================================================== */

#language-bar {
    display: flex;
    padding: 5px 0;
    width: 100%;
    justify-content: center;
    align-items: center;
    color: #272e47;
    font-size: 15px;
    font-weight: 400;
    line-height: 18px;
    background: #f8f9fa;
    border-top: 1px solid #f0f1f5;
    border-bottom: 1px solid #f0f1f5;
}

.language-bar-container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.language-bar-container svg {
    margin-right: 6px;
    vertical-align: middle;
}

/* ==========================================================================
   4. HEADER / NAVIGATION
   ========================================================================== */

.header {
    width: 100%;
    background: #fff;
    box-shadow: inset 0 -1px 0 #f0f3f5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrapper {
    margin: 0 auto;
    max-width: 1200px;
    height: 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.company {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.company .custom-logo {
    max-height: 36px;
    width: auto;
}

.company-title {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #232d47;
}

/* Desktop Navigation */
.header-nav .primary-menu {
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.header-nav .primary-menu > li {
    position: relative;
    list-style: none;
}

.header-nav .primary-menu > li > a {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    padding: 8px 0;
    text-decoration: none;
    transition: color 0.2s;
}

.header-nav .primary-menu > li > a:hover,
.header-nav .primary-menu > li.current-menu-item > a {
    color: #4c6aff;
}

/* Sub-menu */
.header-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #f0f3f5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 50;
}

.header-nav .primary-menu > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
}

.header-nav .sub-menu li {
    list-style: none;
}

.header-nav .sub-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    color: #555;
    white-space: nowrap;
}

.header-nav .sub-menu a:hover {
    background: #f8f9fa;
    color: #4c6aff;
}

.default-nav {
    display: flex;
    gap: 24px;
}

.default-nav a {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}

.default-nav a:hover {
    color: #4c6aff;
}

/* Header Actions (Contact Button) */
.header-actions {
    display: flex;
    align-items: center;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: #4c6aff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: #fff !important;
    text-decoration: none;
    transition: background 0.2s;
}

.contact-btn:hover {
    background: #386ee7 !important;
    color: #fff !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: #4c6aff;
    color: #fff !important;
    border: 2px solid #4c6aff;
}

.btn-primary:hover {
    background: #386ee7;
    border-color: #386ee7;
}

.btn-outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.8);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

.btn-large {
    padding: 16px 36px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   6. HERO / BANNER
   ========================================================================== */

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a2e;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 60px 20px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(76,106,255,0.9);
    color: #fff;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

@media (min-width: 768px) {
    .hero-title { font-size: 52px; }
    .hero-subtitle { font-size: 20px; }
    .hero-bg { min-height: 600px; }
}

/* ==========================================================================
   7. SECTION HEADERS
   ========================================================================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: #eef2ff;
    color: #4c6aff;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .section-title { font-size: 38px; }
}

/* ==========================================================================
   8. FEATURES SECTION
   ========================================================================== */

.features-section {
    padding: 80px 0;
    background: #f9fafb;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

@media (min-width: 640px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(4, 1fr); }
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    border-radius: 16px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* ==========================================================================
   9. PRODUCTS SHOWCASE
   ========================================================================== */

.products-showcase {
    padding: 80px 0;
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

.products-grid-wide {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid-wide { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
    .products-grid-wide { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #f3f4f6;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-card-image {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f9fafb;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
}

.product-card-body {
    padding: 20px;
}

.product-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-card-title a {
    color: #111827;
    text-decoration: none;
}

.product-card-title a:hover {
    color: #4c6aff;
}

.product-card-spec {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}

.product-card-features {
    margin: 10px 0;
    padding: 0;
}

.product-card-features li {
    font-size: 13px;
    color: #6b7280;
    padding: 2px 0;
    padding-left: 16px;
    position: relative;
}

.product-card-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #4c6aff;
    border-radius: 50%;
}

.product-card-excerpt {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 8px 0;
}

.product-card-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #4c6aff;
    margin-top: 12px;
    text-decoration: none;
}

.product-card-link:hover {
    color: #386ee7;
}

/* Product Category Filters */
.product-cat-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.cat-filter {
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    background: #f3f4f6;
    text-decoration: none;
    transition: all 0.2s;
}

.cat-filter:hover,
.cat-filter.active {
    background: #4c6aff;
    color: #fff;
}

/* ==========================================================================
   10. STATS SECTION
   ========================================================================== */

.stats-section {
    padding: 60px 0;
    background: #4c6aff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}

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

@media (min-width: 768px) {
    .stats-grid,
    .stats-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
}

@media (min-width: 768px) {
    .stat-number { font-size: 48px; }
    .stat-label { font-size: 16px; }
}

/* ==========================================================================
   11. ABOUT PREVIEW
   ========================================================================== */

.about-preview-section {
    padding: 80px 0;
    background: #fff;
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-preview-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-preview-content p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-highlights {
    margin: 20px 0 30px;
    padding: 0;
}

.about-highlights li {
    font-size: 15px;
    color: #374151;
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}

.about-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 16px;
    height: 16px;
    background: #eef2ff;
    border-radius: 50%;
    border: 2px solid #4c6aff;
}

.about-preview-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 16px;
    border: 2px dashed #e5e7eb;
}

.about-image-large {
    max-width: 100%;
    height: 400px;
}

/* ==========================================================================
   12. ADVANTAGES SECTION
   ========================================================================== */

.advantages-section {
    padding: 80px 0;
    background: #f9fafb;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 640px) {
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .advantages-grid { grid-template-columns: repeat(4, 1fr); }
}

.advantage-item {
    background: #fff;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-4px);
}

.advantage-number {
    font-size: 36px;
    font-weight: 800;
    color: #eef2ff;
    line-height: 1;
    margin-bottom: 12px;
}

.advantage-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.advantage-item p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* ==========================================================================
   13. CONTACT FORM (Home)
   ========================================================================== */

.contact-section-home {
    padding: 0;
}

.contact-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 20px;
}

.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.contact-text > p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 24px;
}

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

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
}

.contact-info-item svg {
    flex-shrink: 0;
}

/* Contact Form Styles */
.contact-form-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: #111827;
    background: #f4f6f7;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: border-color 0.2s, background 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #4c6aff;
    background: #fff;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-message {
    margin-top: 12px;
    font-size: 14px;
    display: none;
}

.form-message.success {
    display: block;
    color: #059669;
    padding: 10px 14px;
    background: #ecfdf5;
    border-radius: 4px;
}

.form-message.error {
    display: block;
    color: #dc2626;
    padding: 10px 14px;
    background: #fef2f2;
    border-radius: 4px;
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */

.footer {
    background: #212430;
    padding-top: 60px;
}

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

.footer .self-intro {
    padding: 50px 0 60px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}

@media (min-width: 640px) {
    .footer .self-intro {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer .self-intro {
        grid-template-columns: repeat(4, 1fr);
        padding: 60px 0 70px;
    }
}

.footer .link-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.footer .link-name {
    display: block;
    font-size: 14px;
    line-height: 30px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer .link-name:hover {
    color: #4c6aff;
}

.footer .link-text {
    display: block;
    font-size: 14px;
    line-height: 28px;
    color: #9ca3af;
}

.footer .link-text a {
    color: #9ca3af;
}

.footer .link-text a:hover {
    color: #4c6aff;
}

.footer-description {
    line-height: 1.7 !important;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

/* Footer bottom */
.footer .other {
    padding: 30px 0;
    border-top: 1px solid #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #7d8085;
}

.footer .other a {
    color: #7d8085;
    text-decoration: none;
}

.footer .other a:hover {
    color: #4c6aff;
}

.copyright {
    text-align: center;
}

/* ICP Beian */
.beian {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.beian a {
    color: #7d8085;
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   15. FLOATING CONTACT BUTTON
   ========================================================================== */

.contact-tip-btn {
    width: 48px;
    height: 48px;
    position: fixed;
    right: 24px;
    bottom: 24px;
    cursor: pointer;
    background: #4c6aff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(76,106,255,0.4);
    transition: background 0.2s, transform 0.2s;
    z-index: 999;
}

.contact-tip-btn:hover {
    background: #386ee7;
    transform: scale(1.1);
}

/* ==========================================================================
   16. PAGE HERO (Inner Pages)
   ========================================================================== */

.page-hero {
    background: #f9fafb;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #f3f4f6;
}

.page-hero-sm {
    padding: 40px 0;
}

.page-hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
    margin-bottom: 12px;
}

.page-hero-subtitle {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .page-hero-title { font-size: 40px; }
}

/* ==========================================================================
   17. ABOUT PAGE
   ========================================================================== */

.about-story {
    padding: 80px 0;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-story-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.about-story-content p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 16px;
}

.capabilities-section {
    padding: 80px 0;
    background: #fff;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .capabilities-grid { grid-template-columns: repeat(3, 1fr); }
}

.capability-card {
    background: #f9fafb;
    padding: 28px 24px;
    border-radius: 12px;
    transition: transform 0.3s;
}

.capability-card:hover {
    transform: translateY(-4px);
}

.capability-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    border-radius: 14px;
    margin-bottom: 16px;
}

.capability-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.capability-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* Product Range */
.product-range-section {
    padding: 80px 0;
    background: #f9fafb;
}

.product-range-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .product-range-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .product-range-grid { grid-template-columns: repeat(6, 1fr); }
}

.range-item {
    background: #fff;
    padding: 24px 16px;
    text-align: center;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    border: 1px solid #f3f4f6;
    transition: all 0.3s;
}

.range-item:hover {
    border-color: #4c6aff;
    color: #4c6aff;
    box-shadow: 0 4px 12px rgba(76,106,255,0.1);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, #4c6aff 0%, #386ee7 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
}

.cta-box h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box .btn-primary {
    background: #fff;
    color: #4c6aff !important;
    border-color: #fff;
}

.cta-box .btn-primary:hover {
    background: #f0f0f0;
}

/* ==========================================================================
   18. CONTACT PAGE
   ========================================================================== */

.contact-page-section {
    padding: 60px 0;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 768px) {
    .contact-page-grid {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

.contact-page-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.contact-page-info > p {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 32px;
}

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

.contact-detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-detail-item strong {
    display: block;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
}

.contact-detail-item span,
.contact-detail-item a {
    font-size: 16px;
    color: #111827;
}

.contact-page-form h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.contact-page-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .contact-page-form .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-page-form .form-input {
    background: #fff;
    border: 1px solid #e5e7eb;
}

.contact-page-form .form-input:focus {
    border-color: #4c6aff;
}

/* ==========================================================================
   18.5 DEFAULT PAGE CONTENT
   ========================================================================== */

.default-page-content {
    padding: 60px 0;
}

.page-content-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.page-content-body p {
    margin-bottom: 16px;
}

.page-content-body h2,
.page-content-body h3,
.page-content-body h4 {
    color: #111827;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
}

.page-content-body h2 { font-size: 24px; }
.page-content-body h3 { font-size: 20px; }
.page-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}
.page-content-body ul,
.page-content-body ol {
    margin: 16px 0;
    padding-left: 24px;
}
.page-content-body ul { list-style: disc; }
.page-content-body ol { list-style: decimal; }
.page-content-body li { margin-bottom: 8px; }
.page-content-body a { color: #4c6aff; text-decoration: underline; }
.page-content-body a:hover { color: #386ee7; }

/* ==========================================================================
   19. PRODUCT DETAIL PAGE
   ========================================================================== */

.product-detail {
    padding: 40px 0;
}

.breadcrumbs {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 32px;
}

.breadcrumbs a {
    color: #6b7280;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #4c6aff;
}

.breadcrumbs .separator {
    margin: 0 8px;
}

.breadcrumbs .current {
    color: #111827;
    font-weight: 500;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

@media (min-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.product-detail-gallery {
    border-radius: 12px;
    overflow: hidden;
    background: #f9fafb;
}

.product-detail-image {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-placeholder {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
}

.product-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.specs-table tr {
    border-bottom: 1px solid #f3f4f6;
}

.specs-table td {
    padding: 12px 0;
    font-size: 14px;
}

.spec-label {
    color: #6b7280;
    font-weight: 500;
    width: 35%;
}

.spec-value {
    color: #111827;
    font-weight: 400;
}

.product-highlights {
    margin-bottom: 32px;
}

.product-highlights h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.product-highlights ul li {
    font-size: 14px;
    color: #6b7280;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.product-highlights ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    background: #4c6aff;
    border-radius: 50%;
}

.product-detail-actions {
    margin-top: 24px;
}

.product-description {
    border-top: 1px solid #f3f4f6;
    padding-top: 40px;
}

.product-description h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

.product-rich-text {
    font-size: 15px;
    line-height: 1.7;
    color: #6b7280;
}

.product-rich-text p {
    margin-bottom: 12px;
}

/* Related Products */
.related-products {
    padding: 60px 0;
    background: #f9fafb;
}

.related-products .section-title {
    text-align: center;
    margin-bottom: 40px;
}

/* ==========================================================================
   20. BLOG
   ========================================================================== */

.blog-archive,
.single-post-section,
.search-results-section {
    padding: 60px 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 768px) {
    .blog-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #f3f4f6;
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-card-image {
    display: block;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

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

.blog-card-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: #111827;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #4c6aff;
}

.blog-card-excerpt {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 12px;
}

.blog-card-link {
    font-size: 14px;
    font-weight: 600;
    color: #4c6aff;
    text-decoration: none;
}

/* Single Post */
.single-post-content {
    max-width: 800px;
}

.single-post-featured-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
}

.single-post-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
    margin-bottom: 16px;
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.single-post-body {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.single-post-body p {
    margin-bottom: 16px;
}

.single-post-body img {
    border-radius: 8px;
    margin: 24px 0;
}

.single-post-body h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 32px 0 16px;
    color: #111827;
}

.single-post-body h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: #111827;
}

.single-post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #f3f4f6;
}

.single-post-navigation a {
    font-size: 14px;
    color: #4c6aff;
    text-decoration: none;
    max-width: 45%;
}

.single-post-comments {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #f3f4f6;
}

/* Blog Sidebar */
.blog-sidebar aside,
.blog-sidebar .widget {
    margin-bottom: 32px;
}

.blog-sidebar .widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #4c6aff;
}

.blog-sidebar .widget a {
    color: #6b7280;
    font-size: 14px;
}

.blog-sidebar .widget a:hover {
    color: #4c6aff;
}

/* ==========================================================================
   21. PAGINATION
   ========================================================================== */

.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    margin: 0 4px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    background: #f3f4f6;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination .page-numbers.current {
    background: #4c6aff;
    color: #fff;
}

.pagination .page-numbers:hover:not(.current) {
    background: #e5e7eb;
}

/* ==========================================================================
   22. 404 PAGE
   ========================================================================== */

.error-404-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-404-content {
    padding: 60px 20px;
}

.error-404-number {
    font-size: 120px;
    font-weight: 800;
    color: #eef2ff;
    line-height: 1;
    display: block;
}

.error-404-title {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin: 16px 0;
}

.error-404-desc {
    font-size: 16px;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto 32px;
}

.error-404-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.error-404-actions .btn-outline {
    color: #4c6aff !important;
    border-color: #4c6aff;
}

.error-404-actions .btn-outline:hover {
    background: #eef2ff;
}

/* ==========================================================================
   23. NO RESULTS
   ========================================================================== */

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.no-results p {
    font-size: 16px;
    color: #6b7280;
}

/* ==========================================================================
   24. RESPONSIVE
   ========================================================================== */

@media (max-width: 767px) {
    /* Mobile Navigation */
    .header-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 20px;
        z-index: 100;
    }

    .header-nav.active {
        display: block;
    }

    .header-nav .primary-menu {
        flex-direction: column;
        gap: 0;
    }

    .header-nav .primary-menu > li > a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .header-nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding-left: 16px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions {
        display: none;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-bg {
        min-height: 400px;
    }

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

    .stat-number {
        font-size: 32px;
    }

    .footer .self-intro {
        grid-template-columns: 1fr;
    }

    .single-post-title {
        font-size: 24px;
    }

    .product-detail-title {
        font-size: 22px;
    }

    .error-404-number {
        font-size: 80px;
    }
}

@media (max-width: 639px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-preview-grid,
    .about-story-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .cta-box h2 {
        font-size: 24px;
    }
}

/* ==========================================================================
   25. PRINT STYLES
   ========================================================================== */

@media print {
    .header,
    .footer,
    .contact-tip-btn,
    #language-bar {
        display: none !important;
    }

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

    .hero-overlay {
        display: none;
    }

    .hero-title,
    .hero-subtitle {
        color: #000;
    }
}
