/* ==========================================================================
   AYA Robotics - Official Unitree Distributor (Morocco)
   Light Mode Design System
   ========================================================================== */

/* --- CSS Variables & Theming --- */
:root {
    /* AYA Brand Colors derived from logo (Purple & Magenta) */
    --brand-purple: #6B2362;
    --brand-magenta: #B71D7B;
    --brand-gradient: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-magenta) 100%);
    --brand-gradient-hover: linear-gradient(135deg, #8A2D7E 0%, #D4218E 100%);

    /* Light Theme Base Colors */
    --bg-base: #FFFFFF;
    --bg-surface: #F5F5F7;
    --bg-surface-elevated: #FFFFFF;
    --text-primary: #1D1D1F;
    --text-secondary: #6E6E73;
    --text-tertiary: #86868B;

    /* Dark accents for contrast sections */
    --bg-dark: #1D1D1F;
    --bg-dark-surface: #2C2C2E;

    /* Layout */
    --max-width: 1200px;
    --header-height: 56px;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-base: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.apple-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.hero-subtitle, .section-desc {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.text-gray { color: var(--text-secondary); }
.text-sm { font-size: 0.875rem; }
.fw-semibold { font-weight: 600; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1.5rem; }

/* --- Components --- */
/* Badges */
.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    background: rgba(183, 29, 123, 0.1);
    color: var(--brand-magenta);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(183, 29, 123, 0.2);
}

.badge-light {
    background: rgba(255,255,255,0.9);
    color: var(--brand-magenta);
    border-color: rgba(183, 29, 123, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(183, 29, 123, 0.3);
}

.btn-primary:hover {
    background: var(--brand-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(183, 29, 123, 0.4);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background: white;
    color: black;
}

.btn-dark {
    background: var(--bg-dark);
    color: white;
}

.btn-dark:hover {
    background: var(--bg-dark-surface);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.flex-center {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--brand-magenta);
    font-weight: 500;
    margin-top: 1rem;
}

.link-arrow:hover {
    color: var(--brand-purple);
    gap: 5px;
}

/* Forms */
input, select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0,0,0,0.15);
    background: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
    color: var(--text-primary);
}

input:focus, select:focus {
    border-color: var(--brand-purple);
}

/* --- Layout & Sections --- */
.section {
    padding: 6rem 1.5rem;
    position: relative;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-dark {
    background-color: var(--bg-surface);
    color: var(--text-primary);
}

.section-black {
    background-color: var(--bg-dark);
    color: white;
}

.section-light {
    background-color: var(--bg-base);
    color: var(--text-primary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: background var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 10px rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    max-height: var(--header-height);
    height: auto;
    width: 200px;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.logo-accent {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 0;
    height: 100%;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

/* Menu Label */
.menu-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    opacity: 0.7;
    cursor: pointer;
    padding: 0 0.75rem;
    height: 100%;
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
    white-space: nowrap;
    margin: 0;
}

.menu-label:hover, .nav-item-dropdown:hover .menu-label {
    opacity: 1;
}

.menu-link {
    text-decoration: none;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    padding: 0.3rem;
}

.search-btn:hover {
    opacity: 1;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}
.search-overlay.active {
    opacity: 1;
    visibility: visible;
}
.search-box {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    overflow: hidden;
}
.search-input-wrap {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
    border-bottom: 1px solid #e5e7eb;
}
.search-input-wrap svg {
    width: 22px;
    height: 22px;
    stroke: var(--text-secondary);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}
.search-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: transparent;
}
.search-input-wrap input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}
.search-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.search-close-btn:hover { opacity: 1; }
.search-close-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-primary);
}
.search-results {
    max-height: 360px;
    overflow-y: auto;
    padding: 8px 0;
}
.search-results:empty { display: none; }
.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.15s;
}
.search-result-item:hover {
    background: #f5f5f5;
}
.search-result-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f5e6f2, #edd0e8);
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-result-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
}
.search-result-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.search-result-text p {
    font-size: 0.78rem;
    color: var(--text-secondary);
}
.search-no-results {
    padding: 24px 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

/* ========================================
   MEGA DROPDOWN
   ======================================== */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    z-index: 100;
}

.nav-item-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mega-inner {
    display: flex;
    gap: 0;
    padding: 0;
    min-width: 720px;
}

.category-list {
    display: flex;
    gap: 0;
    padding: 1.25rem;
    flex: 1;
    border-right: 1px solid rgba(0,0,0,0.06);
}

.category-group {
    min-width: 130px;
    padding: 0 0.75rem;
}

.category-group:first-child {
    padding-left: 0;
}

.category-title {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
    margin-top: 0.75rem;
    font-weight: 600;
}

.category-group > .category-title:first-child {
    margin-top: 0;
}

.product-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-primary);
    opacity: 0.7;
    transition: all 0.15s;
    cursor: pointer;
    text-decoration: none;
}

.product-link:hover, .product-link.active {
    background: rgba(0,0,0,0.04);
    opacity: 1;
}

.product-thumb {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.featured-product {
    width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.featured-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    transition: transform 0.3s;
}

.featured-link:hover {
    transform: scale(1.03);
}

.featured-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    transition: transform 0.3s;
}

.featured-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.featured-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   INDUSTRY MEGA DROPDOWN
   ======================================== */
.mega-industry {
    min-width: 600px;
}

.mega-industry.mega-industry--wide {
    min-width: 900px;
}

.industry-cards {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    flex-wrap: wrap;
}

.industry-card {
    flex: 1 1 160px;
    min-width: 140px;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s;
    text-decoration: none;
    color: var(--text-primary);
}

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

.industry-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding: 0 0.25rem;
}

.industry-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.industry-card p {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.4;
    padding: 0 0.25rem;
}

/* ========================================
   TEXT DROPDOWN
   ======================================== */
.text-dropdown {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    min-width: 180px;
}

.text-dropdown a {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    color: var(--text-primary);
    opacity: 0.7;
    border-radius: 0.4rem;
    transition: all 0.15s;
}

.text-dropdown a:hover {
    background: rgba(0,0,0,0.04);
    opacity: 1;
}

.highlight-link {
    color: #1897f2 !important;
}

/* Mobile Menu Store button */
.mobile-menu-store {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 20px;
    padding: 14px 24px;
    background: var(--brand-gradient);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.mobile-menu-store:hover {
    opacity: 0.9;
}
.mobile-menu-store svg {
    flex-shrink: 0;
}

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

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
}

/* ========================================
   HERO CAROUSEL
   ======================================== */
.hero-slider {
    height: 100vh;
    min-height: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 6s ease-out;
}

.swiper-slide-active .banner-bg {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    padding: 7rem 2rem 2rem;
    max-width: 800px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.swiper-slide-active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1.15;
}

.slide-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    font-weight: 400;
}

.slide-learn-more {
    display: inline-block;
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
    padding: 12px 32px;
    border: 2px solid #fff;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    margin-top: 12px;
}

.slide-learn-more:hover {
    background: #fff;
    color: var(--brand-purple);
    transform: translateY(-2px);
}

.carousel-warning {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 0.7rem;
    color: rgba(140, 140, 140, 0.6);
    white-space: nowrap;
}

/* Swiper Pagination */
.swiper-pagination {
    bottom: 2.5rem !important;
}

.swiper-pagination-bullet {
    background: rgba(255,255,255,0.5);
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: var(--brand-magenta);
    width: 20px;
    border-radius: 4px;
}

/* Swiper Navigation Arrows */
.custom-nav-btn {
    color: white;
    background: rgba(0,0,0,0.25);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-nav-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

.custom-nav-btn::after {
    display: none;
}

.custom-nav-btn svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   PRODUCT SHOWCASE GRID
   ======================================== */
.products-showcase {
    background: linear-gradient(180deg, #E8E8ED 0%, #F5F5F7 100%);
    padding: 0;
}

.products-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.product-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: #E8E8ED url('image/products/card_bg.png') center center / cover no-repeat;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    aspect-ratio: auto;
}

.product-item:hover {
    transform: translateY(-6px);
}

.product-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem 0;
    text-decoration: none;
    color: #1D1D1F;
    height: 100%;
    justify-content: flex-start;
}

.product-card-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    object-position: bottom;
    margin-top: auto;
    margin-bottom: 0;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-item:hover .product-card-img {
    transform: scale(1.1);
}

.img-bigger .product-card-img {
    width: 150%;
    max-width: 630px;
}

.product-card-desc {
    font-size: 1.1rem;
    color: #86868B;
    margin-bottom: 0.25rem;
    margin-top: 0;
}

.product-card-name {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1D1D1F;
    margin-bottom: 0.5rem;
}

/* Split card */
.product-item-split {
    background: transparent;
    background-image: none;
}

.product-item-split:hover {
    transform: none;
}

.split-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    height: 100%;
}

.split-part {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #E8E8ED url('image/products/card_bg.png') center center / cover no-repeat;
    border-radius: 0;
    padding: 1.5rem 1rem 0;
    text-decoration: none;
    color: #1D1D1F;
    overflow: hidden;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.split-part:hover {
    transform: translateY(-4px);
}

.split-info {
    flex-shrink: 0;
}

.split-desc {
    font-size: 1.1rem;
    color: #86868B;
    margin-bottom: 0.25rem;
}

.split-name {
    font-size: 2rem;
    font-weight: 700;
    color: #1D1D1F;
}

.split-img {
    width: 150%;
    max-width: 315px;
    height: auto;
    object-fit: contain;
    margin-top: auto;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.split-part:hover .split-img {
    transform: scale(1.15);
}

/* ========================================
   SHOP BY ROBOT TYPE
   ======================================== */
.shop-section {
    background: var(--bg-surface-elevated);
    padding: 4rem 0;
}

.shop-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.shop-row-heading {
    margin-top: 2.5rem;
}

.shop-grid {
    position: relative;
    padding: 0 60px;
}

.shop-card {
    background: var(--bg-surface-elevated);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.shop-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 0.75rem;
    pointer-events: none;
    z-index: 3;
}

.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.shop-card > a {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #FFFFFF;
}

.shop-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-card:hover img {
    transform: scale(1.08);
}

.shop-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--brand-gradient);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    z-index: 2;
}

.shop-badge-soldout {
    background: #86868B;
}

.shop-card-info {
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 0.75rem 1rem 0.85rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.shop-card-info h4 {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    min-height: 2.4em;
}

.shop-card-info h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.shop-card-info h4 a:hover {
    color: var(--brand-magenta);
}

.shop-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-price-current {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.shop-price-old {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

/* Shop nav arrows */
.shop-nav-btn {
    color: var(--text-primary);
    width: 56px;
    height: 56px;
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    z-index: 10;
}

.shop-nav-btn.swiper-button-prev {
    left: 0;
}

.shop-nav-btn.swiper-button-next {
    right: 0;
}

.shop-nav-btn:hover {
    background: var(--brand-magenta);
    border-color: var(--brand-magenta);
    color: white;
}

.shop-nav-btn::after {
    font-size: 1.4rem !important;
    font-weight: bold;
    color: inherit;
}

@media (max-width: 768px) {
    .shop-container {
        padding: 0 1.5rem;
    }

    .shop-grid {
        padding: 0 45px;
    }

    .shop-nav-btn {
        width: 40px;
        height: 40px;
    }

    .shop-row-heading {
        margin-top: 1.5rem;
    }
}

/* ========================================
   ARTICLES CAROUSEL
   ======================================== */
.articles-section {
    background: var(--bg-surface);
    padding: 4rem 0;
}

.articles-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.articles-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.articlesSwiper {
    overflow: hidden;
    position: relative;
    padding-bottom: 1rem;
}

.article-card {
    background: var(--bg-surface-elevated);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.article-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.article-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-card:hover .article-image-wrap img {
    transform: scale(1.08);
}

.article-date {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--brand-gradient);
    color: white;
    border-radius: 0.4rem;
    padding: 0.3rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.article-date .day {
    font-size: 1.1rem;
    font-weight: 700;
}

.article-date .month {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 500;
}

.article-category {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 500;
}

.article-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.article-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.article-content h3 a:hover {
    color: var(--brand-magenta);
}

.article-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Swiper wrapper for articles/videos - relative for arrow positioning */
.articlesSwiper,
.videosSwiper {
    position: relative;
    padding: 0 60px;
}

/* Articles nav arrows */
.articles-nav-btn {
    color: var(--text-primary);
    width: 56px;
    height: 56px;
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    z-index: 10;
}

.articles-nav-btn.swiper-button-prev {
    left: 0;
}

.articles-nav-btn.swiper-button-next {
    right: 0;
}

.articles-nav-btn:hover {
    background: var(--brand-magenta);
    border-color: var(--brand-magenta);
    color: white;
}

.articles-nav-btn::after {
    font-size: 1.4rem !important;
    font-weight: bold;
    color: inherit;
}

/* Videos nav arrows (same style as articles) */
.videos-nav-btn {
    color: var(--text-primary);
    width: 56px;
    height: 56px;
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    z-index: 10;
}

.videos-nav-btn.swiper-button-prev {
    left: 0;
}

.videos-nav-btn.swiper-button-next {
    right: 0;
}

.videos-nav-btn:hover {
    background: var(--brand-magenta);
    border-color: var(--brand-magenta);
    color: white;
}

.videos-nav-btn::after {
    font-size: 1.4rem !important;
    font-weight: bold;
    color: inherit;
}

/* Video card play overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s;
}

.article-card:hover .video-play-overlay {
    opacity: 1;
}

.video-play-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.article-card:hover .video-play-icon {
    transform: scale(1.1);
}

.video-play-icon svg {
    width: 24px;
    height: 24px;
    margin-left: 3px;
}

/* Products Layouts */
.product-showcase {
    max-width: 1000px;
    margin: 3rem auto 0;
}

.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-surface-elevated);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
}

.features-list {
    margin-top: 1.5rem;
    color: var(--text-secondary);
}

.features-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.features-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand-magenta);
}

.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 3rem auto 0;
}

.product-card {
    background: var(--bg-surface-elevated);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: transform var(--transition-base);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
}

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

.card-content {
    padding: 2rem;
}

.card-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-secondary);
}

/* Feature Highlight */
.feature-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-highlight {
    background-color: var(--bg-base);
}

/* Humanoid Hero (keep dark for dramatic effect) */
.hero-humanoid {
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.humanoid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505;
    z-index: 1;
    opacity: 0.6;
}

/* Section Brand (Contact) */
.section-brand {
    background: var(--brand-gradient);
    color: white;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta-container h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-container p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Placeholder Mock Images */
.mock-image, .mock-graphic {
    width: 100%;
    min-height: 300px;
    background: #E8E8ED;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.gradient-bg {
    background: linear-gradient(45deg, #E8E8ED, #D1D1D6);
}

.gradient-bg-reverse {
    background: linear-gradient(45deg, #ddd, #eee);
    color: #999;
}

/* ========================================
   WHY AYA ROBOTICS BANNER
   ======================================== */
.why-aya-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: url('image/slider/slide2_as2.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.why-aya-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107, 35, 98, 0.85) 0%, rgba(29, 29, 31, 0.8) 100%);
    z-index: 1;
}

.why-aya-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 4rem 3rem;
    text-align: center;
    margin: 0 auto;
}

.why-aya-logo {
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 1rem;
    color: #fff;
}

.why-aya-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.why-aya-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.why-aya-btn {
    border: 2px solid var(--brand-magenta);
    box-shadow: 0 0 15px rgba(183, 29, 123, 0.4);
}

.why-aya-btn:hover {
    box-shadow: 0 0 25px rgba(183, 29, 123, 0.6);
}

@media (max-width: 768px) {
    .why-aya-section {
        min-height: 400px;
    }

    .why-aya-content {
        padding: 3rem 1.5rem;
    }

    .why-aya-title {
        font-size: 2rem;
    }
}

/* ========================================
   FEATURES BAR
   ======================================== */
.features-bar {
    background: var(--bg-surface-elevated);
    padding: 3rem 3rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.feature-col {
    text-align: center;
    padding: 1rem;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-magenta);
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

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

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-bar {
        padding: 2rem 1.5rem;
    }
}

/* ========================================
   CTA + FAQ COMBINED SECTION
   ======================================== */
.cta-faq-section {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    padding: 4rem 3rem;
    background: var(--bg-surface);
    align-items: start;
}

/* Left column: CTA cards stacked */
.cta-faq-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cta-card {
    background: var(--bg-surface-elevated);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.cta-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--brand-gradient);
    color: #fff;
    border: 2px solid transparent;
}

.btn-cta:hover {
    background: var(--brand-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(183, 29, 123, 0.3);
}

.btn-cta-outline {
    background: transparent;
    color: var(--brand-magenta);
    border: 2px solid var(--brand-magenta);
}

.btn-cta-outline:hover {
    background: var(--brand-gradient);
    color: #fff;
    border-color: transparent;
}

/* Right column: FAQ */
.cta-faq-right {
    background: var(--bg-surface-elevated);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.faq-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-list details {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-list details:first-child {
    border-top: 1px solid rgba(0,0,0,0.08);
}

.faq-list summary {
    padding: 1rem 2rem 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: color 0.3s ease;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--brand-magenta);
    transition: transform 0.3s ease;
}

.faq-list details[open] summary::after {
    content: '−';
}

.faq-list summary:hover {
    color: var(--brand-magenta);
}

.faq-answer {
    padding: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.faq-answer a {
    color: var(--brand-magenta);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.faq-answer a:hover {
    color: var(--brand-purple);
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .cta-faq-section {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem;
    }
}

/* Footer (light) */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 0 1.5rem 2rem;
}

/* Mega Footer */
.footer-mega {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.footer-mega-inner {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem 1.5rem;
}
.footer-mega .link-group h5 {
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.footer-mega .link-group h5:not(:first-child) {
    margin-top: 1.2rem;
}
.footer-mega .link-group ul li {
    margin-bottom: 0.35rem;
}
.footer-mega .link-group a {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.5;
}
.footer-mega .link-group a:hover {
    color: var(--brand-magenta);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 2.5rem;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

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

.footer-links h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.08);
    color: var(--text-tertiary);
    font-size: 0.8rem;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.footer-bottom-inner .logo-text {
    font-size: 0.95rem;
}

/* --- Animations & Utilities --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-base);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0,0,0,0.08);
    border-radius: 50%;
    border-top-color: var(--brand-magenta);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.fade-in {
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.appear {
    opacity: 1;
    transform: translate(0);
}

/* ========================================
   RESPONSIVE — MOBILE MENU
   ======================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: var(--header-height) 0 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s;
}

.mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu-links {
    list-style: none;
    padding: 1.5rem;
    margin: 0;
}

.mobile-menu-links > li {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mobile-menu-links > li > a,
.mobile-menu-links > li > p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    margin: 0;
}

.mobile-menu-toggle-sub::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--brand-magenta);
    transition: transform 0.3s;
}

.mobile-menu-toggle-sub.open::after {
    content: '−';
}

.mobile-menu-links .mobile-submenu {
    display: none;
    padding: 0 0 0.75rem 1rem;
}

.mobile-menu-links .mobile-submenu.open {
    display: block;
}

.mobile-menu-links .mobile-submenu a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.mobile-menu-links .mobile-submenu a:hover {
    color: var(--brand-magenta);
}

.mobile-menu-actions {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-toggle {
    position: relative;
    z-index: 1001;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-toggle span {
    transition: all 0.3s ease;
}

/* ========================================
   RESPONSIVE — TABLET (max 1024px)
   ======================================== */
@media (max-width: 1024px) {
    .feature-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .product-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-list {
        display: inline-block;
        text-align: left;
    }

    /* Product showcase: 2 columns on tablet */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-item-split {
        grid-column: span 2;
    }

    .split-card {
        grid-template-columns: 1fr 1fr;
    }

    /* Carousel arrows smaller on tablet */
    .articles-nav-btn,
    .videos-nav-btn,
    .shop-nav-btn {
        width: 44px;
        height: 44px;
    }

    .articles-nav-btn::after,
    .videos-nav-btn::after,
    .shop-nav-btn::after {
        font-size: 1.1rem !important;
    }

    .articlesSwiper,
    .videosSwiper {
        padding: 0 50px;
    }

    .shop-grid {
        padding: 0 50px;
    }
}

/* ========================================
   RESPONSIVE — MOBILE (max 768px)
   ======================================== */
@media (max-width: 768px) {
    /* --- Navigation --- */
    .nav-links, .nav-actions {
        display: none;
    }

    .nav-container {
        justify-content: space-between;
        padding: 0 8px 0 0;
    }

    .logo {
        order: 0;
        margin: 0;
        padding: 0;
    }

    .logo-img {
        width: 150px;
        margin-left: -10px;
    }


    .mobile-toggle {
        display: flex;
        order: 2;
        margin-right: 4px;
    }

    /* --- Hero Slider --- */
    .hero-slider {
        height: 70vh;
        min-height: 400px;
    }

    .slide-content {
        padding: 5rem 1.5rem 2rem;
    }

    .custom-nav-btn {
        width: 34px;
        height: 34px;
    }

    .custom-nav-btn svg {
        width: 16px;
        height: 16px;
    }

    .carousel-warning {
        font-size: 0.6rem;
        white-space: normal;
        text-align: center;
        padding: 0 1rem;
    }

    .swiper-pagination {
        bottom: 2rem !important;
    }

    /* --- Product Showcase Grid --- */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-item-split {
        grid-column: span 1;
    }

    .split-card {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .product-card-name {
        font-size: 1.8rem;
    }

    .product-card-desc {
        font-size: 0.95rem;
    }

    .product-card-link {
        padding: 1.5rem 1rem 0;
    }

    .split-name {
        font-size: 1.5rem;
    }

    .split-desc {
        font-size: 0.9rem;
    }

    .img-bigger .product-card-img {
        width: 120%;
        max-width: 400px;
    }

    /* --- Shop Section --- */
    .shop-section {
        padding: 2.5rem 0;
    }

    .shop-container {
        padding: 0 1rem;
    }

    .shop-grid {
        padding: 0 40px;
    }

    .shop-nav-btn {
        width: 36px;
        height: 36px;
    }

    .shop-nav-btn::after {
        font-size: 1rem !important;
    }

    /* --- Articles & Videos --- */
    .articles-section {
        padding: 2.5rem 0;
    }

    .articles-container {
        padding: 0 1rem;
    }

    .articles-heading {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .articlesSwiper,
    .videosSwiper {
        padding: 0 40px;
    }

    .articles-nav-btn,
    .videos-nav-btn {
        width: 36px;
        height: 36px;
    }

    .articles-nav-btn::after,
    .videos-nav-btn::after {
        font-size: 1rem !important;
    }

    .article-content {
        padding: 0.75rem;
    }

    .article-content h3 {
        font-size: 0.85rem;
        min-height: 0;
    }

    .article-content p {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
    }

    /* --- Why AYA Section --- */
    .why-aya-section {
        min-height: 300px;
    }

    .why-aya-content {
        padding: 2.5rem 1.5rem;
    }

    .why-aya-title {
        font-size: 1.75rem;
    }

    .why-aya-text {
        font-size: 0.95rem;
    }

    /* --- Features Bar --- */
    .features-bar {
        padding: 2rem 1rem;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-text {
        font-size: 0.85rem;
    }

    /* --- CTA + FAQ --- */
    .cta-faq-section {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .cta-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .cta-card h3 {
        font-size: 1.2rem;
    }

    .cta-desc {
        font-size: 0.9rem;
    }

    .cta-faq-right {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .faq-heading {
        font-size: 1.3rem;
    }

    .faq-list summary {
        font-size: 0.9rem;
        padding: 0.85rem 1.5rem 0.85rem 0;
    }

    .faq-answer {
        font-size: 0.85rem;
    }

    /* --- Footer --- */
    .footer {
        padding: 0 1rem 1.5rem;
    }

    .footer-mega-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .hero-ctas {
        flex-direction: column;
    }
}

/* ========================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ======================================== */
@media (max-width: 480px) {
    .hero-slider {
        height: 60vh;
        min-height: 350px;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .slide-subtitle {
        font-size: 0.85rem;
    }

    .slide-content {
        padding: 4rem 1rem 1.5rem;
    }

    .custom-nav-btn {
        width: 30px;
        height: 30px;
    }

    .custom-nav-btn svg {
        width: 14px;
        height: 14px;
    }

    .product-card-name {
        font-size: 1.5rem;
    }

    .product-card-desc {
        font-size: 0.85rem;
    }

    .shop-grid {
        padding: 0 34px;
    }

    .shop-nav-btn {
        width: 30px;
        height: 30px;
    }

    .articlesSwiper,
    .videosSwiper {
        padding: 0 34px;
    }

    .articles-nav-btn,
    .videos-nav-btn {
        width: 30px;
        height: 30px;
    }

    .articles-nav-btn::after,
    .videos-nav-btn::after,
    .shop-nav-btn::after {
        font-size: 0.85rem !important;
    }

    .why-aya-title {
        font-size: 1.4rem;
    }

    .why-aya-text {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .btn-cta {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
    }

    .footer-mega-inner {
        grid-template-columns: 1fr 1fr;
    }

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

    .footer-bottom {
        font-size: 0.7rem;
    }
}

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
    background: var(--bg-dark);
    color: #fafafa;
    text-align: center;
    font-size: 0.82rem;
    height: 36px;
    overflow: hidden;
    position: relative;
    z-index: 1001;
}

.announcement-track {
    position: relative;
    height: 100%;
}

.announcement-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 0 1rem;
}

.announcement-slide.active {
    opacity: 1;
}

.announcement-slide a {
    color: #fafafa;
    text-decoration: none;
}

.announcement-slide a:hover {
    text-decoration: underline;
}

/* Navbar always fixed at the top */
.navbar {
    top: 0;
}

/* ==========================================================================
   SECTION TITLES (reusable)
   ========================================================================== */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   DARK HERO
   ========================================================================== */
.hero-dark {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: calc(var(--header-height) + 36px);
}

.hero-dark-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-dark-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

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

.hero-dark-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero-dark-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-dark-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   SHOP BY ROBOT TYPE
   ========================================================================== */
.robot-types-section {
    padding: 4rem 2rem;
    background: var(--bg-surface);
}

.robot-types-container {
    max-width: 1200px;
    margin: 0 auto;
}

.robot-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.robot-type-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    text-decoration: none;
    display: block;
    aspect-ratio: 3/4;
    border: 2px solid var(--brand-magenta);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.robot-type-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(183, 29, 123, 0.2);
}

.robot-type-img {
    position: absolute;
    inset: 0;
    background: #fff;
}

.robot-type-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform 0.5s ease;
}

.robot-type-card:hover .robot-type-img img {
    transform: scale(1.05);
}

.robot-type-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    padding: 2.5rem 1.25rem 1.25rem;
    text-align: center;
}

.robot-type-label h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.robot-type-count {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
}

/* ==========================================================================
   SHOP SPECS (on product cards)
   ========================================================================== */
.shop-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.spec-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
    background: var(--bg-surface);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.spec-item svg {
    flex-shrink: 0;
    color: var(--brand-magenta);
}

/* ==========================================================================
   PARTNER LOGOS
   ========================================================================== */
.partners-section {
    padding: 4rem 2rem;
    background: var(--bg-surface-elevated);
}

.partners-container {
    max-width: 1100px;
    margin: 0 auto;
}

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

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    border-radius: 0.5rem;
    background: var(--bg-surface);
    transition: box-shadow 0.2s;
}

.partner-logo:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.partner-logo span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ==========================================================================
   TRUST BADGES
   ========================================================================== */
.trust-section {
    padding: 2rem 2rem;
    background: var(--bg-surface);
    border-top: 1px solid rgba(0,0,0,0.06);
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.trust-item svg {
    color: var(--brand-magenta);
    flex-shrink: 0;
}

/* ==========================================================================
   FOOTER SOCIAL
   ========================================================================== */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    color: var(--text-tertiary);
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--brand-magenta);
}

/* ==========================================================================
   RESPONSIVE — NEW SECTIONS
   ========================================================================== */
@media (max-width: 1024px) {
    .robot-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-dark-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .announcement-bar {
        font-size: 0.75rem;
    }

    .hero-dark {
        min-height: 70vh;
    }

    .hero-dark-title {
        font-size: 1.85rem;
    }

    .hero-dark-sub {
        font-size: 1rem;
    }

    .hero-dark-actions {
        flex-direction: column;
        align-items: center;
    }

    .robot-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .robot-type-card {
        aspect-ratio: 1;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .trust-grid {
        gap: 1.5rem;
    }

    .trust-item {
        font-size: 0.8rem;
    }

    .trust-item svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .announcement-bar {
        font-size: 0.7rem;
        height: 32px;
    }

    .navbar {
        top: 0;
    }

    .hero-dark {
        margin-top: calc(var(--header-height) + 32px);
        min-height: 60vh;
    }

    .hero-dark-title {
        font-size: 1.5rem;
    }

    .hero-dark-sub {
        font-size: 0.88rem;
    }

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

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .partner-logo span {
        font-size: 0.6rem;
    }

    .trust-grid {
        gap: 1rem;
        justify-content: flex-start;
    }
}
