@charset "UTF-8";
/*
Theme Name: RedotPay Discount Pro
Version: 2.0.0
*/

/* ================== CSS VARIABLES ================== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #7c3aed;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1f2937;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-discount: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ================== RESET & BASE ================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

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

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

/* ================== BUTTONS ================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-xlarge {
    padding: 20px 40px;
    font-size: 1.25rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-deal {
    background: var(--primary);
    color: var(--white);
    width: 100%;
}

.btn-deal:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* ================== HEADER ================== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}

.site-branding .site-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    color: var(--gray-900);
}

.logo-highlight {
    color: var(--primary);
}

/* Navigation */
.main-navigation ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

.main-navigation a {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.95rem;
}

.main-navigation a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s;
}

/* ================== HERO SECTION ================== */
.hero-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0 100px;
    text-align: center;
}

.hero-badge {
    margin-bottom: 24px;
}

.verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ================== SECTIONS COMMON ================== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray-500);
}

/* ================== DEALS SECTION ================== */
.deals-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.deal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
}

.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.deal-card.verified {
    border-color: var(--success);
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.card-type {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--gray-500);
    letter-spacing: 0.5px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--success);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.deal-body {
    padding: 24px;
    text-align: center;
}

.discount-badge {
    display: inline-block;
    background: var(--gradient-discount);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.deal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.deal-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.deal-code-box {
    background: var(--gray-50);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.deal-code {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.copy-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--primary-dark);
}

.copy-btn.copied {
    background: var(--success);
}

.deal-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--gray-400);
}

.uses-count::before {
    content: '🔥 ';
}

.savings {
    color: var(--success);
    font-weight: 600;
}

.deal-footer {
    padding: 0 24px 24px;
}

.view-all-wrap {
    text-align: center;
}

/* ================== HOW IT WORKS ================== */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

.step-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ================== CODES TABLE ================== */
.codes-table-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.codes-table-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.codes-table {
    width: 100%;
    border-collapse: collapse;
}

.codes-table th {
    background: var(--gray-100);
    padding: 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
}

.codes-table td {
    padding: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.codes-table tr:hover {
    background: var(--gray-50);
}

.table-code {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--gray-100);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.status-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #d1fae5;
    color: #065f46;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-try {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ================== CALCULATOR SECTION ================== */
.calculator-section {
    padding: 80px 0;
    background: var(--white);
}

.calculator-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 48px;
    border-radius: var(--radius-xl);
    text-align: center;
}

.calculator-box h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.calculator-box > p {
    opacity: 0.9;
    margin-bottom: 32px;
}

.calc-grid {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
}

.calc-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.calc-item:last-child {
    border-bottom: none;
}

.calc-total {
    font-size: 1.25rem;
    font-weight: 700;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid rgba(255,255,255,0.3);
}

.calc-total .calc-value {
    font-size: 1.5rem;
}

/* ================== BLOG SECTION ================== */
.blog-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.2s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-content {
    padding: 24px;
}

.blog-date {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 8px 0 12px;
}

.blog-content h3 a {
    color: var(--gray-900);
}

.blog-content h3 a:hover {
    color: var(--primary);
}

.blog-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

/* ================== FAQ SECTION ================== */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding-bottom: 24px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ================== FINAL CTA ================== */
.final-cta {
    padding: 80px 0;
    background: var(--gray-900);
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.final-cta > p {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: 32px;
}

.affiliate-note {
    margin-top: 24px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ================== FOOTER ================== */
.site-footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 64px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand > p {
    color: var(--gray-400);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-current-codes h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-code-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.code-name {
    font-family: 'SF Mono', Monaco, monospace;
    font-weight: 600;
    color: var(--warning);
}

.code-discount {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--success);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom > p {
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.affiliate-disclaimer {
    font-size: 0.75rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-top: 1px solid var(--gray-200);
    }
    
    .main-navigation.active ul {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .codes-table {
        font-size: 0.875rem;
    }
    
    .codes-table th,
    .codes-table td {
        padding: 12px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-box {
        padding: 32px 24px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .deals-grid {
        grid-template-columns: 1fr;
    }
    
    .codes-table-wrap {
        overflow-x: auto;
    }
    
    .codes-table {
        min-width: 600px;
    }
}
