/* ============================================================
   offers.css — HostMafiya Offers Page
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --red:        #e63946;
    --red-dark:   #b30000;
    --bg-hero:    #0d0000;
    --text-muted: #aaa;
    --card-bg:    #ffffff;
    --radius:     12px;
}

.highlight { color: var(--red); }

/* NAVBAR */
.navbar {
    background: #0d0d0d;
    padding: 14px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #1f1f1f;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    text-decoration: none;
    letter-spacing: 1px;
}
.nav-links { list-style: none; display: flex; gap: 18px; align-items: center; }
.nav-links a { color: #ccc; text-decoration: none; font-size: 14px; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.btn-signin { background: var(--red); color: #fff !important; padding: 7px 16px; border-radius: 6px; font-weight: 600; }

/* HERO SECTION */
.offers-hero {
    background: radial-gradient(ellipse at top right, #6b0000 0%, #1a0000 50%, #0d0000 100%);
    padding: 60px 30px;
    color: #fff;
}
.offers-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.hero-left  { flex: 1 1 480px; }
.hero-right { flex: 1 1 380px; position: relative; display: flex; justify-content: center; }

.hero-title { font-size: 42px; font-weight: 800; line-height: 1.2; }
.hero-subtitle { margin-top: 12px; font-size: 16px; color: #e0b3b3; font-weight: 500; }

.hero-features { list-style: none; display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px; font-size: 14px; color: #e0c8c8; font-weight: 500; }
.hero-features li { display: flex; align-items: center; gap: 6px; }

/* Countdown */
.countdown-box {
    margin-top: 32px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: inline-block;
}
.countdown-label { font-size: 13px; color: #e0b3b3; margin-bottom: 12px; font-weight: 500; }
.countdown-timer { display: flex; align-items: center; gap: 10px; }
.time-block { background: rgba(0,0,0,0.5); border-radius: 8px; padding: 10px 14px; text-align: center; min-width: 58px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.time-block span  { display: block; font-size: 24px; font-weight: 800; }
.time-block small { font-size: 11px; color: #c9a0a0; text-transform: uppercase; letter-spacing: 0.5px; }
.colon { font-size: 22px; color: #c9a0a0; font-weight: bold; }
.hero-img { max-width: 100%; max-height: 350px; object-fit: contain; }

/* DEALS SECTION */
.deals-section { background: #f4f6f9; padding: 50px 30px 70px; }
.deals-container { max-width: 1200px; margin: 0 auto; }

/* Tabs matching the image */
.tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}
.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    color: #475569;
    min-width: 130px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.tab-icon { font-size: 24px; }
.tab-btn:hover  { border-color: var(--red); color: var(--red); }
.tab-btn.active { 
    border-color: var(--red); 
    color: var(--red); 
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.15); 
}

/* Grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Deal Card */
.deal-card {
    position: relative;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform .2s, box-shadow .2s;
    /* The theme-color variable controls specific elements inside */
}
.deal-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 12px 30px rgba(0,0,0,0.08); 
}

/* Badge Top Right */
.deal-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 6px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: var(--theme-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Header Flex Layout */
.deal-header-flex {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}
.deal-icon { flex: 0 0 65px; }
.deal-icon img { width: 100%; height: auto; object-fit: contain; }
.deal-title-col { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.deal-title-col h3 { font-size: 18px; color: #111; font-weight: 800; line-height: 1.2; }
.deal-discount { color: var(--theme-color); font-weight: 800; font-size: 22px; }

.what-you-get { font-size: 13px; color: #64748b; font-weight: 600; margin-bottom: 4px; }

/* Features List */
.deal-features {
    list-style: none;
    font-size: 13.5px;
    color: #334155;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.deal-features li { display: flex; align-items: flex-start; gap: 6px; }
.deal-features li::before { 
    content: "✓"; 
    color: var(--theme-color); 
    font-weight: 800; 
    font-size: 14px; 
}

/* Pricing Layout */
.deal-pricing { margin-top: auto; border-top: 1px solid #f1f5f9; padding-top: 20px; }
.starts-at { font-size: 12px; color: #64748b; display: block; margin-bottom: 4px; font-weight: 600; }
.price-row { display: flex; align-items: baseline; gap: 6px; }
.price { font-size: 32px; font-weight: 800; color: var(--theme-color); line-height: 1; }
.period { font-size: 14px; color: #64748b; font-weight: 600; }
.old-price { font-size: 14px; color: #94a3b8; margin-left: 4px; }

/* Coupon Code Box */
.coupon-code {
    border: 1px dashed var(--theme-color);
    background: rgba(0,0,0,0.01);
    border-radius: 8px;
    padding: 10px;
    font-size: 13px;
    color: #64748b;
    text-align: center;
    margin: 15px 0;
}
.coupon-code strong { color: var(--theme-color); font-weight: 800; font-size: 14px; margin-left: 4px; }

/* CTA Button */
.deal-cta-btn {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    background-color: var(--theme-color);
    transition: opacity .2s, transform .1s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.deal-cta-btn:hover { opacity: .9; transform: translateY(-1px); }

.limited-text { font-size: 11px; color: #94a3b8; text-align: center; margin-top: 8px; }

/* TRUST STRIP */
.trust-strip {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.trust-item { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    text-align: left; 
}
.trust-icon { font-size: 32px; flex-shrink: 0; }
.trust-text strong { display: block; margin-bottom: 6px; font-size: 15px; color: #111; }
.trust-text p { font-size: 13px; color: #64748b; line-height: 1.4; }

/* NEWSLETTER */
.newsletter-bar {
    margin-top: 30px;
    background: linear-gradient(90deg, #8b0000, var(--red));
    border-radius: var(--radius);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #fff;
    flex-wrap: wrap;
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.2);
}
.nl-icon { font-size: 42px; }
.nl-text { flex: 1 1 240px; }
.nl-text strong { font-size: 20px; display: block; margin-bottom: 6px; }
.nl-text p { font-size: 14px; color: #ffe0e0; }
.nl-form { display: flex; gap: 12px; flex-wrap: wrap; }
.nl-form input {
    padding: 12px 18px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    min-width: 260px;
    outline: none;
}
.nl-form button {
    background: #111;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
}
.nl-form button:hover { background: #000; }

/* FOOTER */
.site-footer {
    background: #0d0d0d;
    color: #888;
    text-align: center;
    padding: 20px;
    font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .deals-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .deals-grid { grid-template-columns: 1fr; }
    .trust-strip { grid-template-columns: 1fr; }
    .hero-title { font-size: 32px; }
    .tab-btn { flex: 1 1 calc(50% - 12px); min-width: auto; }
    .offers-hero { padding: 40px 20px; }
    .deals-section { padding: 40px 20px; }
    .nl-form input { min-width: 100%; flex: 1; }
    .nl-form button { width: 100%; }
}