/* Main Styles - Epic Deals */
:root {
    --primary: #D94A3E;
    --primary-dark: #c0392b;
    --secondary: #0A0A0A;
    --accent: #FF6B57;
    --light: #F8F9FA;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background: white;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary);
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 1.1rem;
}

.lead {
    font-size: 1.3rem;
    color: var(--gray);
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(217, 74, 62, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Secondary on light background */
.section-light .btn-secondary,
.card .btn-secondary {
    color: var(--primary);
    border-color: var(--primary);
}

.section-light .btn-secondary:hover,
.card .btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-light {
    background: var(--light);
}

.section-dark {
    background: var(--secondary);
    color: white;
}

.section-dark h2,
.section-dark h3,
.section-dark p {
    color: white;
}

.section-dark h2::after {
    background: var(--accent);
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: transparent;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(217, 74, 62, 0.15) 0%, transparent 60%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1.5rem;
    -webkit-text-fill-color: white;
    background: none;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Testimonials */
.testimonial {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 2rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: bold;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217, 74, 62, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.7s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.05s; }
.fade-in:nth-child(2) { animation-delay: 0.15s; }
.fade-in:nth-child(3) { animation-delay: 0.25s; }
.fade-in:nth-child(4) { animation-delay: 0.35s; }

/* Scroll-reveal via IntersectionObserver */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Decorative gradient line for sections */
.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 0 auto 2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}
/* ============================================
   PROFESSIONAL POLISH - Epic Deals v2
   ============================================ */

/* Enhanced hero text */
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    margin-bottom: 1.5rem;
}

.hero .lead {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
    line-height: 1.7;
}

/* Stats counter enhancement */
.counter {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* Enhanced card hover state */
.card {
    border: 1px solid rgba(0,0,0,0.06);
}

.card:hover {
    border-color: rgba(217, 74, 62, 0.15);
}

/* Feature list icon alignment */
.mb-3 h4 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.mb-3 h4 i {
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Process steps styling */
.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-gray);
    margin-bottom: 1rem;
    transition: var(--transition);
    background: white;
}

.process-step:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(217, 74, 62, 0.08);
    transform: translateX(4px);
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Pricing badge */
.price-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

/* Section header with centered h2 */
.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Stat highlight boxes */
.stat-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
}

.stat-box h3 {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-weight: 500;
}

/* FAQ accordion polish */
.faq-item {
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(217, 74, 62, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.2s ease;
    user-select: none;
}

.faq-question:hover {
    background: var(--light);
}

.faq-icon {
    font-size: 1rem;
    color: var(--primary);
    transition: transform 0.35s ease;
    flex-shrink: 0;
}

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

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

/* Inline badge */
.badge {
    display: inline-block;
    background: rgba(217, 74, 62, 0.15);
    color: var(--accent);
    border: 1px solid rgba(255, 107, 87, 0.4);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

/* Badge on dark background (hero) */
.hero .badge {
    background: rgba(255, 107, 87, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 107, 87, 0.5);
}

/* Section background pattern */
.section-pattern {
    background-image:
        radial-gradient(circle at 1px 1px, rgba(217,74,62,0.07) 1px, transparent 0);
    background-size: 32px 32px;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

/* Contact hero with bg image */
.contact-hero h1,
.contact-hero h2 {
    -webkit-text-fill-color: white;
    background: none;
    color: white;
}

/* Ensure card-icon scales on hover */
.card:hover .card-icon {
    transform: scale(1.1) rotate(-3deg);
    transition: transform 0.4s ease;
}

.card-icon {
    transition: transform 0.4s ease;
}

/* Better list styles in cards */
.card ul {
    padding-left: 1.2rem;
}

.card ul li {
    color: #555;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Image caption */
.image-caption {
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    font-style: italic;
}

/* Responsive polish */
@media (max-width: 768px) {
    .counter {
        font-size: 2.2rem;
    }

    .process-step {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================
   WCAG 2.1 AA CONTRAST COMPLIANCE FIXES
   Applied: 2026-03-19
   Auditor: Pete (Chief Auditor, Spot On Websites)
   ============================================

   All contrast ratios verified with WCAG luminance formula.
   Normal text minimum: 4.5:1
   Large text (18pt+ / bold 14pt+): 3:1
   UI components: 3:1

   ISSUE LOG:
   - btn-primary white/gradient(#D94A3E→#FF6B57): 4.20:1 / 2.80:1  FAIL
   - badge #FF6B57 on light bg: 2.80:1  FAIL
   - .text-accent #FF6B57 on white: 2.80:1  FAIL
   - .section-light .btn-secondary #D94A3E on #F8F9FA: 3.98:1  FAIL
   - .author-avatar #D94A3E on #E9ECEF: 3.54:1  FAIL
   - .lead #6C757D on #F8F9FA: 4.45:1  FAIL
   ============================================ */

/* 1. BUTTON PRIMARY — Compliant gradient (#9B2335→#C0392B)
      White on #9B2335 = 7.82:1 | White on #C0392B = 5.44:1 */
.btn-primary {
    background: linear-gradient(135deg, #9B2335 0%, #C0392B 100%);
    color: #ffffff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #8B1C1C 0%, #9B2335 100%);
    box-shadow: 0 15px 30px rgba(139, 28, 28, 0.35);
    transform: translateY(-3px);
}

/* 2. BADGE — Compliant text on light tinted background
      #8B1C1C on rgba(217,74,62,0.1) bg ≈ #FAE9E8: 8.5:1 PASS */
.badge {
    background: rgba(155, 35, 53, 0.12);
    color: #8B1C1C;
    border-color: rgba(139, 28, 28, 0.35);
}

/* Badge remains light text on dark hero bg — no change needed */
.hero .badge {
    background: rgba(255, 107, 87, 0.15);
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 107, 87, 0.5);
}

/* 3. TEXT-ACCENT — #FF6B57 on white = 2.80:1 FAIL
      FIX: #8B1C1C on white = 9.21:1 PASS */
.text-accent {
    color: #8B1C1C;
}

/* 4. LEAD ON LIGHT SECTIONS — #6C757D on #F8F9FA = 4.45:1 FAIL
      FIX: #595F67 on #F8F9FA = 6.12:1 PASS */
.section-light .lead,
.section-light p.lead {
    color: #595F67;
}

/* 5. BTN-SECONDARY IN LIGHT CONTEXTS — #D94A3E on #F8F9FA = 3.98:1 FAIL
      FIX: #9B2335 on #F8F9FA = 7.42:1 PASS */
.section-light .btn-secondary,
.card .btn-secondary {
    color: #9B2335;
    border-color: #9B2335;
}

.section-light .btn-secondary:hover,
.card .btn-secondary:hover {
    background: #9B2335;
    color: #ffffff;
    border-color: #9B2335;
}

/* 6. AUTHOR AVATAR INITIALS — #D94A3E on #E9ECEF = 3.54:1 FAIL
      FIX: #8B1C1C on #E9ECEF = 7.76:1 PASS */
.author-avatar {
    color: #8B1C1C;
}

/* 7. PRICE-BADGE / STEP-NUMBER / STAT-BOX — same gradient fix as btn-primary
      White on #9B2335 = 7.82:1 | White on #C0392B = 5.44:1 PASS */
.price-badge,
.step-number {
    background: linear-gradient(135deg, #9B2335 0%, #C0392B 100%);
}

.stat-box {
    background: linear-gradient(135deg, #9B2335 0%, #C0392B 100%);
}

/* 8. CARD-ICON — gradient fix */
.card-icon {
    background: linear-gradient(135deg, #9B2335 0%, #C0392B 100%);
}

/* 9. SECTION DIVIDER — decorative, no text, no fix required */

/* 10. FOCUS STATES — ensure visible focus rings (WCAG 2.4.7)
       Focus ring uses #9B2335 on white = 7.82:1 PASS */
.btn:focus-visible,
.form-control:focus-visible,
.nav-link:focus-visible,
a:focus-visible {
    outline: 3px solid #9B2335;
    outline-offset: 2px;
}

.form-control:focus {
    border-color: #9B2335;
    box-shadow: 0 0 0 3px rgba(155, 35, 53, 0.18);
}
