/* CSS Reset & Variables */
:root {
    --bg-main: #09090b;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(254, 206, 5, 0.3); /* Match yellow highlight code */
    --accent: #fece05; /* ACBuy yellow accent */
    --accent-glow: rgba(254, 206, 5, 0.15);
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Layout Utilities */
a {
    color: inherit;
    text-decoration: none;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphic Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(9, 9, 11, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 70px;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-speed);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-btn {
    background: var(--accent);
    color: #000;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-speed);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(254, 206, 5, 0.3);
}

/* Promo Banner */
.promo-banner {
    margin-top: 70px;
    background: linear-gradient(90deg, #18181b 0%, #27272a 100%);
    border-bottom: 1px solid rgba(254, 206, 5, 0.2);
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
}

.promo-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    background: var(--accent);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.promo-action {
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-speed);
}

.promo-action:hover {
    gap: 8px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 20px 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--accent-glow);
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

.hero-glow-1 {
    top: 10%;
    left: 20%;
}

.hero-glow-2 {
    bottom: 10%;
    right: 20%;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    max-width: 650px;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-speed);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 206, 5, 0.35);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-kakobuy {
    background: linear-gradient(135deg, #ff4e50 0%, #f9d423 100%);
    color: #000;
    box-shadow: 0 4px 14px rgba(255, 78, 80, 0.2);
    border: none;
}

.btn-kakobuy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 78, 80, 0.45);
}

.btn-block {
    width: 100%;
}

/* Catalog Container */
.catalog-section {
    padding: 60px 20px;
    max-width: 1240px;
    margin: 0 auto;
}

/* Control Panel (Search & Sort) */
.control-panel {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

#search-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 14px 16px 14px 48px;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
    transition: var(--transition-speed);
}

#search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.sort-box select {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 14px 20px;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
    cursor: pointer;
    transition: var(--transition-speed);
}

.sort-box select:focus {
    border-color: var(--accent);
}

/* Horizontal Categories Scroller */
.categories-container {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none; /* Hide standard Firefox scrollbar */
}

.categories-container::-webkit-scrollbar {
    display: none; /* Hide Chrome scrollbar */
}

.category-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 10px 18px;
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-speed);
}

.category-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.category-btn.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    font-weight: 600;
}

/* Stats Bar */
.catalog-stats {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    min-height: 400px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.product-image-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: #18181b;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(4px);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: capitalize;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

.product-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    transition: var(--transition-speed);
}

.product-card:hover .product-btn {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

/* Loading Spinner */
.loading-spinner {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 80px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border-top-color: var(--accent);
    animation: spin 1s ease-in-out infinite;
}

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

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.page-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-speed);
}

.page-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.page-btn.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Modal Overlay & Card Details Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: #0f0f12;
    border: 1px solid var(--border-card);
    max-width: 800px;
    width: 100%;
    border-radius: 16px;
    overflow: visible;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-speed);
}

.modal-close:hover {
    background: var(--accent);
    color: #000;
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
    }
}

.modal-gallery {
    background: #18181b;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100%;
}

.modal-gallery img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: 32px;
    display: flex;
    flex-direction: column;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 0 16px 16px 0;
}

.modal-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.modal-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 20px;
}

.modal-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 300;
    line-height: 1.6;
}

.modal-incentives {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.incentive-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.incentive-item i {
    font-size: 14px;
}

.text-success { color: #10b981; }
.text-info { color: #06b6d4; }
.text-warning { color: #f59e0b; }

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

/* Footer styling */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #050507;
    padding: 40px 20px;
    text-align: center;
    margin-top: 80px;
}

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

.footer-copyright {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Seller Listing & Sourcing Toolkit styling */
.seller-toolkit {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    margin-top: 50px;
    display: none; /* Controlled by window.location.search mode=seller */
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.toolkit-header {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.toolkit-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(254, 206, 5, 0.1);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(254, 206, 5, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.toolkit-header h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.toolkit-header p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.toolkit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

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

.toolkit-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.toolkit-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toolkit-card .card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Tabs & Switcher */
.prompt-tabs, .template-selector {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.prompt-tab, .template-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-speed);
}

.prompt-tab.active, .template-tab.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.prompt-box, .template-box {
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

#prompt-text {
    font-family: monospace;
    font-size: 12px;
    word-break: break-all;
    white-space: pre-wrap;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 12px;
}

.template-field {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 6px;
    margin-top: 4px;
    max-height: 120px;
    overflow-y: auto;
    font-size: 12px;
    line-height: 1.4;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    align-self: flex-start;
}

.copy-btn {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    margin-top: 8px;
    width: 100%;
}

/* Profit Calculator */
.toolkit-calculator {
    background: rgba(254, 206, 5, 0.02);
    border: 1px solid rgba(254, 206, 5, 0.1);
    border-radius: 12px;
    padding: 24px;
}

.toolkit-calculator h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

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

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

.calc-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calc-input-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.calc-input-group input {
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition-speed);
}

.calc-input-group input:focus {
    border-color: var(--accent);
}

.calc-results {
    display: flex;
    gap: 32px;
    background: #09090b;
    padding: 16px 24px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.calc-result-stat {
    display: flex;
    flex-direction: column;
}

.calc-result-stat .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.calc-result-stat .stat-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
}

.text-danger {
    color: #ef4444;
}

/* ==========================================
   How It Works Section
   ========================================== */
.how-it-works {
    padding: 80px 0 40px;
    position: relative;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.section-subtitle {
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 15px;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-speed);
}
.step-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(254, 206, 5, 0.04);
}
.step-icon {
    font-size: 24px;
    color: var(--accent);
    background: rgba(254, 206, 5, 0.08);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.step-num {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
}
.step-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}
.step-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================
   Sourcing & Logistics Guides Section
   ========================================== */
.guides-section {
    padding: 80px 0 40px;
}
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-speed);
    display: flex;
    flex-direction: column;
}
.guide-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(254, 206, 5, 0.04);
}
.guide-image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.guide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-speed);
}
.guide-card:hover .guide-image-wrapper img {
    transform: scale(1.04);
}
.guide-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-card);
    color: var(--accent);
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.guide-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.guide-card-content h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}
.guide-card-content p {
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}
.guide-read-more {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-speed);
    margin-top: auto;
}
.guide-card:hover .guide-read-more {
    gap: 10px;
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq-section {
    padding: 40px 0 80px;
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-speed);
}
.faq-item.active {
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(254, 206, 5, 0.02);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    outline: none;
}
.faq-arrow {
    font-size: 12px;
    color: var(--text-secondary);
    transition: var(--transition-speed);
}
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================
   Responsive Grid Adaptations
   ========================================== */
@media (max-width: 992px) {
    .steps-grid, .guides-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================
   Advanced SEO Contextual Links
   ========================================== */
.contextual-links-box {
    background: rgba(254, 206, 5, 0.02);
    border: 1px dashed rgba(254, 206, 5, 0.15);
    border-radius: var(--border-radius);
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-secondary);
}
.seo-anchor {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition-speed);
}
.seo-anchor:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(254, 206, 5, 0.3);
}


