/* ========================================
   OFFERS PAGE STYLES
   ======================================== */

/* ----------------------------------------
   CSS Reset & Base
   ---------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ----------------------------------------
   CSS Variables - Dark Theme (Default)
   ---------------------------------------- */
:root {
    --bg-primary: #000000;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2d2d2d;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-tertiary: #999999;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-hover: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, #007AFF 0%, #00D4FF 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gradient-fire: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    --gradient-diamond: linear-gradient(135deg, #A855F7 0%, #6366F1 100%);
    --gradient-whatsapp: linear-gradient(135deg, #25D366, #128C7E);
    --accent-blue: #007AFF;
    --accent-green: #25D366;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 14px;
    --border-radius-lg: 20px;
    --border-radius-xl: 24px;
    --border-radius-full: 50px;
}

/* ----------------------------------------
   Light Theme Variables
   ---------------------------------------- */
body.light-theme {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #e8e8ed;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.06);
    --text-primary: #1d1d1f;
    --text-secondary: #515154;
    --text-tertiary: #86868b;
    --border-color: rgba(0, 0, 0, 0.1);
    --border-color-hover: rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ----------------------------------------
   Body & Typography
   ---------------------------------------- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ----------------------------------------
   Container
   ---------------------------------------- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* ----------------------------------------
   Navigation
   ---------------------------------------- */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

body.light-theme .navigation {
    background: rgba(255, 255, 255, 0.9);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color var(--transition-normal);
    padding: 10px 0;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-item:hover,
.nav-item.active {
    color: var(--accent-blue);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-menu-btn.active .hamburger {
    background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    z-index: 999;
    flex-direction: column;
    gap: 10px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-normal);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-item {
    padding: 15px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: var(--bg-card);
    color: var(--accent-blue);
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.offers-hero {
    padding: 160px 40px 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.offers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ----------------------------------------
   Filter Section
   ---------------------------------------- */
.filter-section {
    background: var(--bg-primary);
    padding: 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.filter-section .container {
    padding: 20px 40px;
}

.filter-wrapper {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-full);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

/* ----------------------------------------
   Section Header
   ---------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* ========================================
   OFFERS GRID & CARDS - COMPLETE FIX
   ======================================== */

/* ----------------------------------------
   Offers Grid
   ---------------------------------------- */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    justify-content: center;
    padding: 0 10px;
}

/* Ensure consistent card height */
.offer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 580px;
}

/* ----------------------------------------
   Offer Card
   ---------------------------------------- */
.offer-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    transition: all var(--transition-slow);
    position: relative;
    width: 100%;
    max-width: 420px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.offer-card:nth-child(1) {
    animation-delay: 0.1s;
}

.offer-card:nth-child(2) {
    animation-delay: 0.2s;
}

.offer-card:nth-child(3) {
    animation-delay: 0.3s;
}

.offer-card:nth-child(4) {
    animation-delay: 0.4s;
}

.offer-card:nth-child(5) {
    animation-delay: 0.5s;
}

.offer-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.offer-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-xl);
}

.offer-card.premium:hover {
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.15);
}

.offer-card.hot:hover {
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.15);
}

.offer-card.complete:hover {
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.15);
}

/* ----------------------------------------
   Card Image
   ---------------------------------------- */
.offer-image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.offer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-card:hover .offer-image {
    transform: scale(1.08);
}

.offer-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    border-radius: var(--border-radius-full);
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.badge-premium {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(255, 165, 0, 0.95));
    color: #000;
}

.badge-hot {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.95), rgba(255, 142, 83, 0.95));
    color: #fff;
}

.badge-complete {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.95), rgba(99, 102, 241, 0.95));
    color: #fff;
}

/* ----------------------------------------
   Card Content
   ---------------------------------------- */
.offer-content {
    padding: 24px;
}

.offer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

/* Description - Max 2 Lines */
.offer-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 42px;
    /* Fixed height for 2 lines */
}

/* Make content flex to push footer to bottom */
.offer-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.offer-footer {
    margin-top: auto;
}

/* ----------------------------------------
   Features Grid
   ---------------------------------------- */
.offer-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 8px 10px;
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feature-item:hover {
    background: var(--bg-card-hover);
}

/* ----------------------------------------
   Tech Stack
   ---------------------------------------- */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.tech-tag {
    padding: 5px 10px;
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: var(--border-radius-full);
    font-size: 11px;
    font-weight: 500;
    color: var(--accent-blue);
    transition: all var(--transition-fast);
}

.tech-tag:hover {
    background: rgba(0, 122, 255, 0.2);
}

.tech-tag.more {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-tertiary);
}

/* ----------------------------------------
   Card Footer - FIXED
   ---------------------------------------- */
.offer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    gap: 12px;
    flex-wrap: wrap;
}

.offer-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex-shrink: 0;
}

.price-currency {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-tertiary);
}

.price-amount {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-left: 2px;
}

/* ----------------------------------------
   Offer Actions - FIXED
   ---------------------------------------- */
.offer-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

/* ----------------------------------------
   Buttons - FIXED
   ---------------------------------------- */
.btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--border-radius-md);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-slow);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    opacity: 1 !important;
    visibility: visible !important;
}

.btn-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Show Details Button */
.btn-details {
    background: var(--gradient-primary);
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.btn-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

.btn-details svg {
    stroke: white;
    flex-shrink: 0;
}

/* ----------------------------------------
   Responsive Design
   ---------------------------------------- */
@media (max-width: 900px) {
    .offers-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 400px));
    }
}

@media (max-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .offer-card {
        max-width: 100%;
    }

    .offer-image-container {
        height: 200px;
    }

    .offer-content {
        padding: 20px;
    }

    .offer-features {
        grid-template-columns: 1fr;
    }

    .offer-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .offer-price {
        justify-content: center;
    }

    .offer-actions {
        flex-direction: column;
        width: 100%;
    }

    .offer-actions .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
    }
}

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

    .offer-content {
        padding: 16px;
    }

    .offer-title {
        font-size: 18px;
    }

    .price-amount {
        font-size: 24px;
    }
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-tertiary);
}

.empty-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.empty-state p {
    font-size: 16px;
}

/* ----------------------------------------
   Trust Section
   ---------------------------------------- */
.trust-section {
    background: var(--bg-secondary);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.trust-item:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg);
}

.trust-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.trust-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.trust-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ----------------------------------------
   CTA Section
   ---------------------------------------- */
.cta-section {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
    padding: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-text {
    color: var(--text-tertiary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent-blue);
}

/* ----------------------------------------
   Modal
   ---------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-slow);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--bg-secondary);
    z-index: 10;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    line-height: 1;
}

.modal-close:hover {
    background: var(--bg-card-hover);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 180px);
}

.modal-section {
    margin-bottom: 30px;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.modal-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

.modal-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.modal-feature-item {
    padding: 14px 18px;
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-fast);
}

.modal-feature-item:hover {
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.modal-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-tech-tag {
    padding: 10px 18px;
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: var(--border-radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-blue);
    transition: all var(--transition-fast);
}

.modal-tech-tag:hover {
    background: rgba(0, 122, 255, 0.2);
    transform: translateY(-2px);
}

.modal-footer {
    padding: 24px 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: var(--bg-secondary);
}

/* ----------------------------------------
   Theme Toggle
   ---------------------------------------- */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-slow);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

body.dark-theme .theme-toggle {
    background: rgba(0, 0, 0, 0.8);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 12px 40px rgba(0, 122, 255, 0.3);
    border-color: var(--accent-blue);
}

.theme-toggle .icon {
    font-size: 24px;
    transition: all var(--transition-normal);
}

.sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-theme .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.dark-theme .moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

/* ----------------------------------------
   Back to Top Button
   ---------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

/* ----------------------------------------
   Scrollbar
   ---------------------------------------- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* ----------------------------------------
   Responsive Design
   ---------------------------------------- */
@media (max-width: 1024px) {
    .container {
        padding: 50px 30px;
    }

    .offers-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu {
        display: flex;
        top: 70px;
    }

    .offers-hero {
        padding: 120px 20px 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 32px;
    }

    .filter-section {
        top: 70px;
    }

    .filter-section .container {
        padding: 15px 20px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .container {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .offer-image-container {
        height: 220px;
    }

    .offer-content {
        padding: 24px;
    }

    .offer-features {
        grid-template-columns: 1fr;
    }

    .offer-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .offer-price {
        justify-content: center;
        margin-bottom: 10px;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 10px;
        max-height: calc(100vh - 40px);
    }

    .modal-header {
        padding: 20px;
    }

    .modal-body {
        padding: 20px;
        max-height: calc(100vh - 200px);
    }

    .modal-footer {
        flex-direction: column;
        padding: 20px;
    }

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

    .theme-toggle {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .cta-title {
        font-size: 28px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .offers-hero {
        padding: 100px 15px 50px;
    }

    .hero-badge {
        padding: 10px 18px;
        font-size: 12px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .container {
        padding: 30px 15px;
    }

    .section-title {
        font-size: 24px;
    }

    .offer-title {
        font-size: 20px;
    }

    .price-amount {
        font-size: 28px;
    }
}

/* ----------------------------------------
   Print Styles
   ---------------------------------------- */
@media print {

    .navigation,
    .theme-toggle,
    .back-to-top,
    .filter-section,
    .modal-overlay {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .offer-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Floating Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: var(--shadow-lg);
    /* Default (dark theme) button styling */
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Light theme button styling */
body.light-theme .theme-toggle {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 40px rgba(0, 122, 255, 0.3);
    border-color: #007AFF;
}

.theme-toggle .icon {
    width: 24px;
    height: 24px;
    position: absolute;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 24px;
}

/* Default (dark theme) - show sun icon to switch to light */
.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

/* Light theme - show moon icon to switch to dark */
body.light-theme .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

body.light-theme .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
    padding: 40px 0;
}

/* Features Grid - Tech Tag Style */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

/* Feature Tag - Styled like Tech Tags */
.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: var(--border-radius-full);
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-blue);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.feature-tag:hover {
    background: rgba(0, 122, 255, 0.2);
    border-color: rgba(0, 122, 255, 0.35);
    transform: translateY(-1px);
}

.feature-tag .feature-icon {
    font-size: 14px;
    line-height: 1;
}

.feature-tag .feature-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-blue);
}

/* Light Theme Support */
body.light-theme .feature-tag {
    background: rgba(0, 122, 255, 0.08);
    border-color: rgba(0, 122, 255, 0.25);
}

body.light-theme .feature-tag:hover {
    background: rgba(0, 122, 255, 0.15);
    border-color: rgba(0, 122, 255, 0.35);
}

/* Feature Tag More Variant - Interactive Button */
.feature-tag.more {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.15), rgba(0, 212, 255, 0.1));
    border-color: rgba(0, 122, 255, 0.3);
    color: var(--accent-blue);
    cursor: pointer;
    font-weight: 600;
}

.feature-tag.more:hover {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.25), rgba(0, 212, 255, 0.15));
    border-color: rgba(0, 122, 255, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}

body.light-theme .feature-tag.more {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.12), rgba(0, 212, 255, 0.08));
    border-color: rgba(0, 122, 255, 0.25);
    color: #007AFF;
}

body.light-theme .feature-tag.more:hover {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.2), rgba(0, 212, 255, 0.12));
    border-color: rgba(0, 122, 255, 0.4);
}

/* Modal Features Grid - More Spacious */
.features-grid.modal-features {
    gap: 10px;
}

/* Responsive Design for Features Grid */
@media (max-width: 768px) {
    .features-grid {
        gap: 6px;
    }

    .feature-tag {
        padding: 5px 10px;
        font-size: 11px;
    }

    .feature-tag .feature-icon {
        font-size: 12px;
    }

    .feature-tag .feature-text {
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    .feature-tag {
        padding: 4px 8px;
        font-size: 10px;
    }
}

/* ----------------------------------------
   Video Implementation
   ---------------------------------------- */
.modal-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    margin-bottom: 24px;
    background: #000;
    box-shadow: var(--shadow-lg);
}

.modal-video-iframe,
.modal-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.btn-video {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-video:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    color: var(--accent-blue);
}

.btn-video svg {
    color: var(--accent-blue);
}

/* Modal Title Icon Adjustment */
.modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
}