/* ==========================================================================
   GHANA WAEC & E-VOUCHER MARKETPLACE - MODERN FINTECH DESIGN SYSTEM
   ========================================================================== */

:root {
    --brand-primary: #0A192F;
    --brand-secondary: #172A46;
    --brand-accent: #00B074;
    --brand-accent-hover: #009360;
    --brand-gold: #F59E0B;
    --brand-gold-hover: #D97706;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --card-bg: #FFFFFF;
    --card-border: rgba(226, 232, 240, 0.8);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(10, 25, 47, 0.08);
    --shadow-lg: 0 16px 36px rgba(10, 25, 47, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Navbar */
.navbar-custom {
    background-color: var(--brand-primary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-custom .navbar-brand {
    font-weight: 800;
    color: #FFFFFF;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem;
    transition: color 0.2s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--brand-gold);
}

/* Hero Section */
.hero-wrapper {
    background: radial-gradient(circle at 80% 20%, #1E3A5F 0%, #0A192F 70%);
    color: #FFFFFF;
    position: relative;
    padding: 4.5rem 0 3.5rem 0;
    overflow: hidden;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--bg-light);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero-title {
    font-weight: 800;
    font-size: 2.75rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    color: #94A3B8;
    font-size: 1.15rem;
    line-height: 1.6;
}

.badge-trust {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #F8FAFC;
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Search Bar */
.search-box-wrap {
    background: #FFFFFF;
    border-radius: 50px;
    padding: 6px 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
}

.search-box-wrap input {
    border: none;
    outline: none;
    padding: 10px 18px;
    width: 100%;
    font-size: 1rem;
    color: var(--text-main);
    background: transparent;
}

.search-box-wrap button {
    border-radius: 40px;
    padding: 10px 24px;
    font-weight: 600;
}

/* Product Cards */
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 176, 116, 0.3);
}

.product-card-header {
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.product-card-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 8px;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.product-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.product-pricing {
    border-top: 1px dashed var(--card-border);
    padding-top: 1rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.product-price-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--brand-accent);
}

.product-reseller-tag {
    font-size: 0.78rem;
    color: #D97706;
    background: #FEF3C7;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

/* Action Buttons */
.btn-primary-custom {
    background-color: var(--brand-accent);
    color: #FFFFFF !important;
    border: none;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 0.65rem 1.35rem;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-primary-custom:hover {
    background-color: var(--brand-accent-hover);
    transform: translateY(-1px);
}

.btn-gold-custom {
    background-color: var(--brand-gold);
    color: #0A192F !important;
    border: none;
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 0.65rem 1.35rem;
    transition: all 0.2s ease;
}

.btn-gold-custom:hover {
    background-color: var(--brand-gold-hover);
    color: #FFFFFF !important;
}

/* Category Filter Tabs */
.filter-tab-btn {
    border-radius: 30px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    color: var(--text-main);
    transition: all 0.2s ease;
    cursor: pointer;
}

.filter-tab-btn.active,
.filter-tab-btn:hover {
    background: var(--brand-primary);
    color: #FFFFFF;
    border-color: var(--brand-primary);
}

/* Voucher Display Box */
.voucher-box-container {
    background: #FFFFFF;
    border: 2px dashed #00B074;
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 176, 116, 0.08);
}

.voucher-pin-display {
    font-family: 'Courier New', Courier, monospace;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--brand-primary);
}

/* Digital Receipt */
.receipt-wrapper {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid #E2E8F0;
    max-width: 680px;
    margin: 2rem auto;
    padding: 2.5rem;
    position: relative;
}

.receipt-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #0A192F 0%, #00B074 50%, #F59E0B 100%);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* How It Works Steps */
.step-card {
    text-align: center;
    padding: 1.5rem;
}

.step-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 176, 116, 0.12);
    color: var(--brand-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Responsive Footer */
.footer-custom {
    background: #060D1A;
    color: #94A3B8;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-custom h5 {
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-custom a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-custom a:hover {
    color: var(--brand-accent);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .voucher-pin-display {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    .receipt-wrapper {
        padding: 1.5rem;
    }
}

/* ============================================================
   Site Announcement Slider Ticker
   ============================================================ */
.site-ticker-container {
    background: #0f172a;
    color: #f8fafc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    overflow: hidden;
    position: relative;
    z-index: 20;
}
.site-ticker-container.ticker-bottom {
    background: #1e293b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.ticker-wrapper {
    display: flex;
    align-items: center;
    height: 42px;
}
.ticker-badge {
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    letter-spacing: 0.05em;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 4px 0 10px rgba(0,0,0,0.3);
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    animation: pulse 1.5s infinite;
}
.pulse-dot-dark {
    background-color: #0f172a;
}
@keyframes pulse {
    0% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(0.95); opacity: 1; }
}
.ticker-marquee-box {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.ticker-marquee-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
}
.ticker-marquee-content:hover {
    animation-play-state: paused;
}
.ticker-divider {
    margin: 0 24px;
    color: #f59e0b;
}
@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Category Filter Tabs */
.filter-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-pill-btn {
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}
.filter-pill-btn:hover {
    border-color: #cbd5e1;
    background-color: #f1f5f9;
    color: #0f172a;
}
.filter-pill-btn.active {
    background-color: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

