/* ==========================================================================
   Homepage Components
   ========================================================================== */

/* ==========================================================================
   0. Hero Section (centered: badge → title → search → categories → trust)
   ========================================================================== */
.gm-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #072020 0%, var(--gm-primary) 40%, var(--gm-primary-light) 70%, #0e3a38 100%);
    color: #fff;
    padding: 80px 0 0;
    /* Prevent subpixel gap between hero and next section */
    margin-bottom: -1px;
}

/* Decorative elements */
.gm-hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gm-hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.04);
    animation: gm-ring-drift 20s ease-in-out infinite;
}

.gm-hero-ring--1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    animation-delay: 0s;
}

.gm-hero-ring--2 {
    width: 400px;
    height: 400px;
    bottom: -120px;
    left: -100px;
    animation-delay: -7s;
    animation-direction: reverse;
}

.gm-hero-ring--3 {
    width: 250px;
    height: 250px;
    top: 40%;
    left: 15%;
    border-color: rgba(255, 188, 125, 0.06);
    animation-delay: -14s;
}

@keyframes gm-ring-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(15px, -10px) scale(1.03); }
    66% { transform: translate(-10px, 8px) scale(0.97); }
}

.gm-hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 188, 125, 0.08) 0%, transparent 70%);
    top: -100px;
    right: 10%;
    animation: gm-glow-pulse 6s ease-in-out infinite;
}

@keyframes gm-glow-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

/* ---------- Centered content ---------- */
.gm-hero-center {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    margin-bottom: var(--gm-gap-xl);
}

/* Badge */
.gm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 188, 125, 0.1);
    border: 1px solid rgba(255, 188, 125, 0.2);
    border-radius: var(--gm-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--gm-accent);
    margin-bottom: var(--gm-gap-md);
    backdrop-filter: blur(4px);
    animation: gm-fade-up 0.8s var(--gm-transition-spring) both;
}

.gm-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gm-accent);
    animation: gm-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes gm-pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 188, 125, 0.4); }
    50% { opacity: 0.6; transform: scale(0.85); box-shadow: 0 0 0 6px rgba(255, 188, 125, 0); }
}

/* Title */
.gm-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: var(--gm-gap);
    color: #fff;
    animation: gm-fade-up 0.8s var(--gm-transition-spring) 0.1s both;
}

.gm-hero-title-accent {
    color: var(--gm-accent);
    display: block;
    background: linear-gradient(135deg, #FFBC7D, #FFD4A8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.gm-hero-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    max-width: 520px;
    margin: 0 auto var(--gm-gap-lg);
    font-weight: 400;
    animation: gm-fade-up 0.8s var(--gm-transition-spring) 0.2s both;
}

/* Entry animations */
@keyframes gm-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Search bar ---------- */
.gm-hero-search {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: gm-fade-up 0.8s var(--gm-transition-spring) 0.3s both;
}

.gm-hero-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 60px;
    overflow: hidden;
    height: 60px;
    backdrop-filter: blur(12px);
    transition: background var(--gm-transition-slow), border-color var(--gm-transition-slow), box-shadow var(--gm-transition-slow), transform var(--gm-transition);
}

.gm-hero-search-form:focus-within {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: scale(1.01);
}

.gm-hero-search-icon {
    display: flex;
    align-items: center;
    padding-left: 24px;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
    transition: color var(--gm-transition);
}

.gm-hero-search-form:focus-within .gm-hero-search-icon {
    color: rgba(255, 255, 255, 0.7);
}

.gm-hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 var(--gm-gap);
    font-size: 1rem;
    background: transparent;
    color: #fff;
    font-family: var(--gm-font);
    height: 100%;
}

.gm-hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
    transition: color var(--gm-transition);
}

.gm-hero-search-form:focus-within .gm-hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.gm-hero-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    margin: 8px;
    padding: 0 24px;
    background: var(--gm-accent-dark);
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background var(--gm-transition), transform var(--gm-transition), box-shadow var(--gm-transition);
    white-space: nowrap;
    font-family: var(--gm-font);
    flex-shrink: 0;
    will-change: transform;
}

.gm-hero-search-btn:hover {
    background: var(--gm-accent-hover);
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(255, 176, 17, 0.35);
}

.gm-hero-search-btn:active {
    transform: scale(0.97);
}

/* Seller type tags */
.gm-hero-popular {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: var(--gm-gap);
    flex-wrap: wrap;
    animation: gm-fade-up 0.8s var(--gm-transition-spring) 0.4s both;
}

.gm-hero-popular-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.gm-hero-popular-tag {
    display: inline-block;
    padding: 5px 14px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--gm-radius-full);
    transition: background var(--gm-transition), color var(--gm-transition), border-color var(--gm-transition), transform var(--gm-transition);
    cursor: default;
}

.gm-hero-popular-tag:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* ---------- Category cards ---------- */
.gm-hero-cats-wrap {
    position: relative;
    z-index: 1;
    margin-bottom: var(--gm-gap-xl);
    animation: gm-fade-up 0.8s var(--gm-transition-spring) 0.5s both;
}

.gm-hero-cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--gm-gap-sm);
}

.gm-hero-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: var(--gm-gap-md) var(--gm-gap-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--gm-radius);
    transition: background var(--gm-transition), border-color var(--gm-transition), transform var(--gm-transition-bounce), box-shadow var(--gm-transition);
    text-align: center;
    position: relative;
    will-change: transform;
}

.gm-hero-cat:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.gm-hero-cat:active {
    transform: translateY(-2px);
}

.gm-hero-cat-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: border-color var(--gm-transition), transform var(--gm-transition-bounce);
}

.gm-hero-cat:hover .gm-hero-cat-img {
    border-color: rgba(255, 188, 125, 0.5);
    transform: scale(1.08);
}

.gm-hero-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gm-hero-cat-img--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gm-accent);
    border-color: rgba(255, 188, 125, 0.2);
}

.gm-hero-cat:hover .gm-hero-cat-img--icon {
    background: rgba(255, 188, 125, 0.15);
}

.gm-hero-cat-img--all {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 188, 125, 0.15);
    color: var(--gm-accent);
    border-color: rgba(255, 188, 125, 0.2);
}

.gm-hero-cat-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.gm-hero-cat-count {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 7px;
    border-radius: var(--gm-radius-full);
    line-height: 1.3;
}

.gm-hero-cat--all {
    border-color: rgba(255, 188, 125, 0.15);
    background: rgba(255, 188, 125, 0.06);
}

.gm-hero-cat--all:hover {
    background: rgba(255, 188, 125, 0.14);
    border-color: rgba(255, 188, 125, 0.3);
    color: #fff;
}

.gm-hero-cat--all .gm-hero-cat-name {
    color: var(--gm-accent);
}

/* SVG icon fallback for category images (search-bar + categories sections) */
.gm-cat-item-img--icon,
.gm-category-image--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gm-primary);
}

/* ---------- Trust strip ---------- */
.gm-hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gm-gap-md);
    padding: var(--gm-gap-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
    animation: gm-fade-up 0.8s var(--gm-transition-spring) 0.6s both;
}

.gm-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    transition: color var(--gm-transition);
}

.gm-hero-trust-item:hover {
    color: rgba(255, 255, 255, 0.8);
}

.gm-hero-trust-item svg {
    color: var(--gm-accent);
    opacity: 0.8;
    flex-shrink: 0;
    transition: transform var(--gm-transition);
}

.gm-hero-trust-item:hover svg {
    transform: scale(1.15);
}

.gm-hero-trust-num {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--gm-accent);
    letter-spacing: -0.01em;
}

.gm-hero-trust-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* ==========================================================================
   1. Section Header (reusable) — Enhanced Typography
   ========================================================================== */
.gm-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--gm-gap-md);
}

.gm-section-title {
    font-size: 1.625rem;
    font-weight: 900;
    color: var(--gm-text);
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.gm-tier-label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gm-tier-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--gm-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--gm-transition);
}

.gm-tier-super_vip .gm-tier-icon {
    background: rgba(217, 119, 6, 0.06);
    border: 1px solid rgba(217, 119, 6, 0.1);
}

.gm-tier-vip_plus .gm-tier-icon {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.08);
}

.gm-tier-vip .gm-tier-icon {
    background: rgba(13, 148, 136, 0.05);
    border: 1px solid rgba(13, 148, 136, 0.08);
}

.gm-tier-icon svg {
    width: 20px;
    height: 20px;
}

.gm-tier-label:hover .gm-tier-icon {
    transform: scale(1.05);
}

.gm-tier-count {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gm-text-muted);
    background: var(--gm-bg-light);
    padding: 3px 10px;
    border-radius: var(--gm-radius-full);
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.gm-section-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gm-text-light);
    transition: color var(--gm-transition);
}

.gm-section-link:hover {
    color: var(--gm-primary);
}

.gm-section-link svg {
    transition: transform var(--gm-transition);
}

.gm-section-link:hover svg {
    transform: translateX(2px);
}

.gm-section-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   2. Carousel Nav Buttons
   ========================================================================== */
.gm-carousel-prev,
.gm-carousel-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--gm-border);
    background: var(--gm-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gm-text-light);
    cursor: pointer;
    transition: border-color var(--gm-transition), color var(--gm-transition), background var(--gm-transition), transform var(--gm-transition);
}

.gm-carousel-prev:hover {
    border-color: var(--gm-border-hover);
    color: var(--gm-text);
}

.gm-carousel-prev:active,
.gm-carousel-next:active {
    transform: scale(0.95);
}

.gm-carousel-prev:focus-visible,
.gm-carousel-next:focus-visible {
    outline: none;
    box-shadow: var(--gm-focus-ring);
}

.gm-carousel-next {
    background: var(--gm-primary);
    border-color: var(--gm-primary);
    color: #fff;
}

.gm-carousel-next:hover {
    background: var(--gm-primary-hover);
    border-color: var(--gm-primary-hover);
    color: #fff;
}

/* ==========================================================================
   3. Tier Sections (S-VIP, VIP+, VIP)
   ========================================================================== */
.gm-tier-section {
    padding: var(--gm-gap-xl) 0;
}

.gm-tier-section + .gm-tier-section {
    padding-top: 0;
}

.gm-tier-section .gm-carousel {
    position: relative;
    overflow: visible;
}

.gm-tier-section .swiper-wrapper {
    padding-bottom: 8px;
}

/* Section header */
.gm-tier-section .gm-section-header {
    padding-bottom: var(--gm-gap);
    margin-bottom: var(--gm-gap);
    position: relative;
}

/* Bottom border with tier-colored accent */
.gm-tier-section .gm-section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gm-border);
}

.gm-tier-section .gm-section-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    border-radius: 1px;
    z-index: 1;
}

.gm-tier-super_vip .gm-section-header::before { background: #d97706; }
.gm-tier-vip_plus .gm-section-header::before { background: #2563eb; }
.gm-tier-vip .gm-section-header::before { background: #0d9488; }

/* Tier section title */
.gm-tier-section .gm-section-title {
    font-size: 1.3125rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--gm-text);
}

/* ==========================================================================
   4. Category Tabs
   ========================================================================== */
.gm-cattabs {
    padding-top: var(--gm-gap-2xl);
    padding-bottom: var(--gm-gap-2xl);
    background: #f0f5f5;
    position: relative;
}

/* Section header */
.gm-cattabs .gm-section-header {
    align-items: flex-start;
    margin-bottom: var(--gm-gap);
}

.gm-cattabs-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gm-primary);
    margin-bottom: 4px;
}

.gm-cattabs-label::before {
    content: '';
    width: 16px;
    height: 2px;
    background: var(--gm-primary);
    border-radius: 1px;
}

.gm-cattabs .gm-section-title {
    font-size: 1.625rem;
    letter-spacing: -0.025em;
}

.gm-cattabs-subtitle {
    font-size: 0.875rem;
    color: var(--gm-text-muted);
    margin-top: 2px;
    font-weight: 400;
}

/* Pills container */
.gm-cattabs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--gm-gap);
}

/* Individual pill */
.gm-cattab-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 8px 8px 16px;
    border-radius: var(--gm-radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gm-text);
    background: var(--gm-bg);
    border: 1px solid var(--gm-border);
    cursor: pointer;
    transition: border-color var(--gm-transition), color var(--gm-transition), background var(--gm-transition), box-shadow var(--gm-transition);
    white-space: nowrap;
}

.gm-cattab-pill:hover {
    color: var(--gm-primary);
    border-color: var(--gm-primary-light);
    box-shadow: 0 1px 4px rgba(12, 49, 48, 0.08);
}

.gm-cattab-pill:active {
    box-shadow: none;
}

.gm-cattab-pill:focus-visible {
    outline: none;
    box-shadow: var(--gm-focus-ring);
}

.gm-cattab-pill.active {
    background: var(--gm-primary);
    border-color: var(--gm-primary);
    color: #fff;
}

/* Pill count badge */
.gm-cattab-pill-count {
    font-size: 0.6875rem;
    font-weight: 700;
    background: var(--gm-bg-light);
    padding: 1px 7px;
    border-radius: var(--gm-radius-full);
    min-width: 22px;
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.5;
    transition: background var(--gm-transition), color var(--gm-transition);
    color: var(--gm-text-muted);
}

.gm-cattab-pill.active .gm-cattab-pill-count {
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
}

/* Carousel content area */
.gm-cattabs-content {
    position: relative;
    transition: opacity var(--gm-transition-slow);
}

.gm-cattabs-content .gm-carousel {
    overflow: visible;
}

.gm-cattabs-content .swiper-wrapper {
    padding-bottom: 8px;
}

/* Loading state */
.gm-cattabs-content.is-loading {
    opacity: 0.3;
    pointer-events: none;
}

/* ==========================================================================
   5. CTA Banner — Enhanced Typography + Animations
   ========================================================================== */
.gm-cta-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gm-primary) 0%, #0e3a38 100%);
    color: #fff;
    padding: var(--gm-gap-2xl) 0;
}

.gm-cta-banner-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gm-cta-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: gm-ring-drift 20s ease-in-out infinite;
}

.gm-cta-ring--1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.gm-cta-ring--2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    right: -60px;
    border-color: rgba(255, 188, 125, 0.08);
    animation-delay: -10s;
}

.gm-cta-banner-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gm-gap-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.gm-cta-banner-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: var(--gm-gap);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.gm-cta-banner-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 440px;
    margin-bottom: var(--gm-gap-md);
    font-weight: 400;
}

.gm-cta-banner-actions {
    display: flex;
    gap: var(--gm-gap);
}

.gm-cta-banner-stats {
    display: flex;
    gap: var(--gm-gap-md);
}

.gm-cta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--gm-gap-xs);
    padding: var(--gm-gap-md);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--gm-radius);
    flex: 1;
    color: rgba(255, 255, 255, 0.7);
    transition: background var(--gm-transition), transform var(--gm-transition-bounce), box-shadow var(--gm-transition);
    will-change: transform;
}

.gm-cta-stat:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gm-cta-stat svg {
    color: var(--gm-accent);
    transition: transform var(--gm-transition-bounce);
}

.gm-cta-stat:hover svg {
    transform: scale(1.15);
}

.gm-cta-stat strong {
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
}

.gm-cta-stat span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* ==========================================================================
   6. FAQ Accordion — Enhanced Typography + Smooth Animations
   ========================================================================== */
.gm-faq {
    padding-top: var(--gm-gap-2xl);
    padding-bottom: var(--gm-gap-2xl);
    background: var(--gm-bg);
}

.gm-faq-header {
    text-align: center;
    margin-bottom: var(--gm-gap-xl);
}

.gm-faq-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gm-primary);
    background: var(--gm-primary-subtle);
    padding: 6px 16px;
    border-radius: var(--gm-radius-full);
    margin-bottom: var(--gm-gap);
}

.gm-faq-header .gm-section-title {
    font-size: 2rem;
    letter-spacing: -0.03em;
}

.gm-faq-subtitle {
    font-size: 0.9375rem;
    color: var(--gm-text-muted);
    margin-top: var(--gm-gap-xs);
    font-weight: 400;
}

.gm-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--gm-gap);
}

.gm-faq-item {
    background: var(--gm-bg);
    border: 1px solid var(--gm-border);
    border-radius: var(--gm-radius);
    overflow: hidden;
    transition: border-color var(--gm-transition), box-shadow var(--gm-transition-slow), transform var(--gm-transition);
    will-change: transform;
}

.gm-faq-item:hover {
    border-color: var(--gm-border-hover);
    transform: translateY(-1px);
}

.gm-faq-item.is-open {
    border-color: var(--gm-primary);
    box-shadow: 0 2px 8px rgba(12, 49, 48, 0.06);
    transform: translateY(-1px);
}

.gm-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gm-gap);
    width: 100%;
    padding: 20px var(--gm-gap-md);
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gm-text);
    background: transparent !important;
    background-color: transparent !important;
    border: none;
    cursor: pointer;
    transition: color var(--gm-transition);
    letter-spacing: -0.01em;
}

.gm-faq-question:hover {
    color: var(--gm-primary);
}

.gm-faq-question:focus-visible {
    outline: none;
    box-shadow: inset var(--gm-focus-ring);
}

.gm-faq-question-text {
    display: flex;
    align-items: center;
    gap: var(--gm-gap);
}

.gm-faq-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gm-primary);
    background: var(--gm-primary-subtle);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--gm-transition), color var(--gm-transition), transform var(--gm-transition);
    letter-spacing: 0.02em;
}

.gm-faq-item.is-open .gm-faq-num {
    background: var(--gm-primary);
    color: #fff;
    transform: scale(1.1);
}

.gm-faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gm-bg-light);
    color: var(--gm-text-light);
    flex-shrink: 0;
    transition: transform var(--gm-transition-slow), background var(--gm-transition), color var(--gm-transition);
}

.gm-faq-item.is-open .gm-faq-toggle {
    transform: rotate(180deg);
    background: var(--gm-primary);
    color: #fff;
}

.gm-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.3s ease;
    opacity: 0;
}

.gm-faq-item.is-open .gm-faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.gm-faq-answer-inner {
    overflow: hidden;
}

.gm-faq-answer p {
    padding: 0 var(--gm-gap-md) 24px;
    padding-left: calc(var(--gm-gap-md) + 32px + var(--gm-gap));
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--gm-text-light);
    font-weight: 400;
}

/* ==========================================================================
   Carousel Base
   ========================================================================== */
.gm-carousel {
    position: relative;
}

.gm-carousel .swiper-button-prev,
.gm-carousel .swiper-button-next,
.gm-carousel .swiper-pagination {
    display: none;
}

/* Outline light button (used in CTA) */
.gm-btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--gm-gap-xs);
    padding: 12px 24px;
    font-family: var(--gm-font);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--gm-radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: background var(--gm-transition), border-color var(--gm-transition), transform var(--gm-transition), box-shadow var(--gm-transition);
    will-change: transform;
}

.gm-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.gm-btn-outline-light:active {
    transform: translateY(0);
}

.gm-btn-outline-light:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 188, 125, 0.3);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ---------- Tablet (1024px) ---------- */
@media (max-width: 1024px) {
    .gm-hero {
        padding: 60px 0 0;
    }

    .gm-hero-title {
        font-size: 2.75rem;
    }

    .gm-hero-ring--1 {
        width: 400px;
        height: 400px;
    }

    .gm-hero-cats {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

    .gm-hero-trust {
        gap: var(--gm-gap);
    }

    .gm-cta-banner-inner {
        grid-template-columns: 1fr;
        gap: var(--gm-gap-lg);
        text-align: center;
    }

    .gm-cta-banner-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .gm-cta-banner-actions {
        justify-content: center;
    }

    .gm-cta-banner-stats {
        justify-content: center;
    }

    .gm-cta-banner-title {
        font-size: 1.875rem;
    }
}

/* ---------- Small tablet (900px) — fills gap between tablet and mobile ---------- */
@media (max-width: 900px) {
    .gm-hero-title {
        font-size: 2.375rem;
    }

    .gm-hero-desc {
        font-size: 1rem;
    }

    .gm-hero-search-form {
        height: 56px;
    }

    .gm-hero-search-btn {
        height: 42px;
        padding: 0 20px;
        font-size: 0.875rem;
    }

    .gm-hero-cats {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }

    .gm-section-header {
        flex-wrap: wrap;
        gap: var(--gm-gap-xs);
    }

    /* Carousel nav: hide prev/next arrows, keep "See All" link */
    .gm-carousel-prev,
    .gm-carousel-next {
        display: none;
    }

    .gm-cta-banner-stats {
        gap: var(--gm-gap-sm);
    }

    .gm-cta-stat {
        padding: var(--gm-gap);
    }

    .gm-cta-stat svg {
        width: 28px;
        height: 28px;
    }
}

/* ---------- Mobile (767px) ---------- */
@media (max-width: 767px) {
    .gm-hero {
        padding: var(--gm-gap-lg) 0 0;
    }

    .gm-hero-center {
        margin-bottom: var(--gm-gap-md);
    }

    .gm-hero-badge {
        padding: 6px 14px;
        font-size: 0.6875rem;
        margin-bottom: var(--gm-gap);
    }

    .gm-hero-title {
        font-size: 1.75rem;
        letter-spacing: -0.02em;
    }

    .gm-hero-desc {
        font-size: 0.875rem;
        margin-bottom: var(--gm-gap-md);
    }

    /* Search — keep button text visible */
    .gm-hero-search {
        max-width: 100%;
    }

    .gm-hero-search-form {
        height: 50px;
        border-radius: 50px;
    }

    .gm-hero-search-icon {
        padding-left: 16px;
    }

    .gm-hero-search-icon svg {
        width: 18px;
        height: 18px;
    }

    .gm-hero-search-input {
        padding: 0 10px;
        font-size: 0.875rem;
    }

    .gm-hero-search-btn {
        height: 36px;
        padding: 0 16px;
        font-size: 0.8125rem;
        margin: 7px;
    }

    /* Hide popular tags on mobile — they aren't actionable and waste space */
    .gm-hero-popular {
        display: none;
    }

    /* Category cards → horizontal scroll strip (like archive page) */
    .gm-hero-cats-wrap {
        margin-bottom: 0;
        margin-left: calc(-1 * var(--gm-container-padding));
        margin-right: calc(-1 * var(--gm-container-padding));
    }

    .gm-hero-cats {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 10px;
        padding: 0 var(--gm-container-padding);
    }

    .gm-hero-cats::-webkit-scrollbar {
        display: none;
    }

    .gm-hero-cat {
        min-width: 88px;
        flex-shrink: 0;
        padding: 14px 10px;
        gap: 8px;
        aspect-ratio: 1;
        justify-content: center;
    }

    .gm-hero-cat-img {
        width: 40px;
        height: 40px;
    }

    .gm-hero-cat-name {
        font-size: 0.75rem;
    }

    /* Hide count badges on mobile scroll strip */
    .gm-hero-cat-count {
        display: none;
    }

    .gm-hero-ring--1,
    .gm-hero-ring--2 {
        display: none;
    }

    /* Trust strip — compact inline, only product + vendor count */
    .gm-hero-trust {
        flex-wrap: nowrap;
        justify-content: center;
        gap: var(--gm-gap-md);
        padding: var(--gm-gap-sm) 0;
        border-top: none;
    }

    .gm-hero-trust-divider {
        display: none;
    }

    /* Hide descriptive items on mobile */
    .gm-hero-trust-item--desc {
        display: none;
    }

    /* Stat items stay visible */
    .gm-hero-trust-item--stat {
        font-size: 0.8125rem;
        gap: 6px;
        white-space: nowrap;
    }

    .gm-hero-trust-num {
        font-size: 1rem;
    }

    /* Section headers — keep inline on mobile, with link on same line */
    .gm-section-header {
        flex-direction: row;
        align-items: center;
        gap: var(--gm-gap-xs);
    }

    /* Hide carousel buttons on mobile (already hidden at 900px) */

    .gm-section-link {
        margin-left: auto;
        flex-shrink: 0;
        font-size: 0.75rem;
    }

    .gm-section-title {
        font-size: 1.25rem;
    }

    .gm-tier-label {
        gap: 8px;
    }

    .gm-tier-icon {
        width: 32px;
        height: 32px;
    }

    .gm-tier-icon svg {
        width: 18px;
        height: 18px;
    }

    .gm-tier-count {
        font-size: 0.625rem;
        padding: 2px 8px;
    }

    .gm-tier-section .gm-section-title {
        font-size: 1.125rem;
    }

    /* Category tabs */
    .gm-cattabs {
        padding-top: var(--gm-gap-xl);
        padding-bottom: var(--gm-gap-xl);
    }

    .gm-cattabs .gm-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .gm-cattabs .gm-section-nav {
        align-self: flex-start;
    }

    .gm-cattabs .gm-section-title {
        font-size: 1.375rem;
    }

    .gm-cattabs-subtitle {
        font-size: 0.8125rem;
    }

    /* Horizontal scroll with fade hint */
    .gm-cattabs-pills {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 6px;
        margin-bottom: var(--gm-gap);
        margin-left: calc(-1 * var(--gm-container-padding));
        margin-right: calc(-1 * var(--gm-container-padding));
        padding-left: var(--gm-container-padding);
        padding-right: var(--gm-container-padding);
        /* Right fade to hint scrollability */
        mask-image: linear-gradient(to right, black calc(100% - 40px), transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black calc(100% - 40px), transparent 100%);
    }

    .gm-cattabs-pills::-webkit-scrollbar {
        display: none;
    }

    .gm-cattab-pill {
        padding: 7px 14px;
        font-size: 0.8125rem;
    }

    .gm-cattab-pill-count {
        padding: 1px 6px;
        font-size: 0.6875rem;
    }

    /* CTA Banner */
    .gm-cta-banner {
        padding: var(--gm-gap-xl) 0;
    }

    .gm-cta-banner-title {
        font-size: 1.5rem;
    }

    .gm-cta-banner-desc {
        font-size: 0.9375rem;
    }

    .gm-cta-banner-actions {
        flex-direction: column;
        gap: var(--gm-gap-sm);
    }

    .gm-cta-banner-actions .gm-btn {
        width: 100%;
        justify-content: center;
    }

    /* Stats — horizontal scroll on mobile for compact layout */
    .gm-cta-banner-stats {
        display: flex;
        flex-direction: row;
        gap: var(--gm-gap-xs);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: calc(-1 * var(--gm-container-padding));
        margin-right: calc(-1 * var(--gm-container-padding));
        padding-left: var(--gm-container-padding);
        padding-right: var(--gm-container-padding);
    }

    .gm-cta-banner-stats::-webkit-scrollbar {
        display: none;
    }

    .gm-cta-stat {
        flex-direction: column;
        text-align: center;
        padding: var(--gm-gap);
        min-width: 140px;
        flex-shrink: 0;
    }

    .gm-cta-stat svg {
        width: 24px;
        height: 24px;
    }

    .gm-cta-stat strong {
        font-size: 1.125rem;
    }

    .gm-cta-stat span {
        font-size: 0.75rem;
    }

    /* FAQ */
    .gm-faq {
        padding-top: var(--gm-gap-xl);
        padding-bottom: var(--gm-gap-xl);
    }

    .gm-faq-header {
        margin-bottom: var(--gm-gap-lg);
    }

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

    .gm-faq-subtitle {
        font-size: 0.8125rem;
    }

    .gm-faq-list {
        gap: var(--gm-gap-sm);
    }

    .gm-faq-question {
        padding: 16px 18px;
        font-size: 0.875rem;
        gap: var(--gm-gap-sm);
    }

    .gm-faq-question-text {
        gap: var(--gm-gap-sm);
    }

    .gm-faq-answer p {
        padding: 0 18px 16px;
        padding-left: calc(18px + 28px + var(--gm-gap-sm));
        font-size: 0.875rem;
    }

    .gm-faq-toggle {
        width: 32px;
        height: 32px;
    }

    .gm-faq-num {
        width: 28px;
        height: 28px;
        font-size: 0.6875rem;
    }

    /* Reduce animations for mobile performance */
    .gm-hero-ring,
    .gm-hero-glow,
    .gm-cta-ring {
        animation: none;
    }
}

/* ---------- Small mobile (480px) ---------- */
@media (max-width: 480px) {
    .gm-hero {
        padding: var(--gm-gap-md) 0 0;
    }

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

    .gm-hero-desc {
        font-size: 0.8125rem;
    }

    .gm-hero-search-form {
        height: 46px;
    }

    .gm-hero-search-btn {
        height: 34px;
        padding: 0 12px;
        font-size: 0.75rem;
        margin: 6px;
    }

    .gm-hero-cat {
        min-width: 80px;
        padding: 12px 8px;
    }

    .gm-hero-cat-img {
        width: 36px;
        height: 36px;
    }

    .gm-hero-trust-item {
        font-size: 0.75rem;
    }

    .gm-hero-trust-num {
        font-size: 0.875rem;
    }

    .gm-section-title {
        font-size: 1.125rem;
    }

    .gm-tier-section .gm-section-title {
        font-size: 1rem;
    }

    .gm-cattabs .gm-section-title {
        font-size: 1.25rem;
    }

    .gm-cta-banner-title {
        font-size: 1.375rem;
    }

    .gm-cta-stat {
        min-width: 120px;
        padding: 14px 10px;
    }

    .gm-faq-header .gm-section-title {
        font-size: 1.375rem;
    }

    .gm-faq-question {
        padding: 14px 14px;
        font-size: 0.8125rem;
    }

    .gm-faq-answer p {
        padding: 0 14px 14px;
        padding-left: calc(14px + 28px + var(--gm-gap-sm));
        font-size: 0.8125rem;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .gm-hero-ring,
    .gm-hero-glow,
    .gm-cta-ring,
    .gm-hero-badge-dot {
        animation: none;
    }

    .gm-hero-badge,
    .gm-hero-title,
    .gm-hero-desc,
    .gm-hero-search,
    .gm-hero-popular,
    .gm-hero-cats-wrap,
    .gm-hero-trust {
        animation: none;
        opacity: 1;
        transform: none;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
