/* Modern Landing Page Styles - Mobile-First & SEO Optimized */

/* CSS Variables for Consistent Design - Enhanced Professional & Catchy Colors */
:root {
    /* Primary Brand Colors - Vibrant Professional Blue */
    --primary-color: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --primary-bright: #2563eb;
    
    /* Secondary Accent Colors - Purple & Teal */
    --secondary-color: #7c3aed;
    --secondary-light: #a78bfa;
    --accent-teal: #06b6d4;
    --accent-cyan: #0891b2;
    
    /* Success/CTA Colors - Green (Matching App) */
    --success-color: #10b981;
    --success-light: #34d399;
    --success-dark: #059669;
    --cta-green: #22c55e;
    
    /* Warning/Highlight Colors */
    --warning-color: #f59e0b;
    --warning-light: #fbbf24;
    --highlight-gold: #ffd700;
    
    /* Text Colors */
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-lighter: #f1f5f9;
    --bg-gradient-start: #eff6ff;
    --bg-gradient-end: #dbeafe;
    
    /* Border & Shadow Colors */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.16);
    --shadow-xl: 0 12px 40px rgba(15, 23, 42, 0.2);
    --shadow-primary: 0 8px 24px rgba(37, 99, 235, 0.25);
    --shadow-success: 0 8px 24px rgba(16, 185, 129, 0.25);
}

/* Base Styles - Mobile First */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Wix Madefor Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

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

/* Container Responsive */
.container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Hero Section - Enhanced Vibrant Gradient */
section.modern-hero {
    position: relative;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 30%, #2563eb 60%, #7c3aed 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    padding: 80px 0 60px;
    min-height: auto;
    margin-top: 70px;
    overflow: visible;
    width: 100%;
    box-shadow: inset 0 -20px 60px rgba(0, 0, 0, 0.1);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 20px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    backdrop-filter: blur(15px);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    z-index: 10;
    position: relative;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.badge-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.hero-content {
    overflow: visible !important;
}

.hero-badge span {
    white-space: nowrap !important;
    display: inline-block !important;
}

body .hero-title,
#body-template .hero-title,
.hero-content .hero-title,
section.modern-hero .hero-title,
section.modern-hero h1.hero-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

body .hero-description,
#body-template .hero-description,
.hero-content .hero-description,
section.modern-hero .hero-description,
section.modern-hero p.hero-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* Deal Banner */
.hero-deal-banner {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 25px;
    margin-bottom: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.deal-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 70%, #dc2626 100%);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
    animation: pulse 2s infinite;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.deal-content {
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 8px;
}

.deal-amount {
    color: #ffd700;
    font-weight: 800;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.deal-urgency {
    font-size: 14px;
    color: #ffd700;
    font-weight: 600;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    align-items: center;
}

.app-download-btn {
    display: inline-block;
    padding: 0;
    background: transparent;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border-radius: 12px;
    overflow: visible;
    position: relative;
}

.app-download-btn::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.app-download-btn:hover {
    transform: translateY(-6px) scale(1.05);
    filter: brightness(1.1) drop-shadow(0 10px 25px rgba(255, 255, 255, 0.3));
}

.app-download-btn:hover::before {
    opacity: 1;
}

.app-download-btn:active {
    transform: translateY(-3px) scale(1.02);
}

.app-badge {
    height: 50px;
    width: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.95);
    padding: 2px;
}

.app-download-btn:hover .app-badge {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.4);
    transform: scale(1.02);
}

.app-badge-small {
    height: 50px;
    width: auto;
}

.hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image-container {
    position: relative;
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* iPhone Frame Mockup */
.phone-mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.iphone-frame {
    width: 320px;
    max-width: 100%;
    height: 640px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 45px;
    padding: 8px;
    box-shadow: 
        0 0 0 2px #000,
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ec4899 100%);
    border-radius: 37px;
    overflow: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ec4899 100%);
}

.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.iphone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 5;
}

.status-icons {
    display: flex;
    gap: 5px;
    font-size: 12px;
}

/* Chat Container */
.chat-container {
    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    margin-top: 50px;
    border-radius: 25px 25px 0 0;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 25px 25px 0 0;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.chat-header-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.chat-status {
    font-size: 12px;
    color: #666;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f9fafb;
}

.message {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-ai {
    justify-content: flex-start;
}

.message-user {
    justify-content: flex-end;
}

.message-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.message-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.message-ai-bubble {
    background: #fff;
    color: #1a1a1a;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message-user-bubble {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.message-bubble p {
    margin: 0;
}

/* Section Headers - Content sections only, NOT navigation header */
.content-section-header {
    margin-bottom: 50px;
    text-align: center;
}

/* Legacy support for sections that might still use section-header */
section .section-header:not(header.section-header):not(#header-template .section-header):not(.content-section-header),
.ai-features-section .section-header:not(header.section-header):not(.content-section-header),
.how-it-works-section .section-header:not(header.section-header):not(.content-section-header),
.benefits-section .section-header:not(header.section-header):not(.content-section-header),
.testimonials-section .section-header:not(header.section-header):not(.content-section-header),
.faq-section .section-header:not(header.section-header):not(.content-section-header) {
    margin-bottom: 50px;
    text-align: center;
}

.section-badge {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #7c3aed 100%);
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transition: none !important;
    display: block !important;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* AI Features Section */
.ai-features-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.feature-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6, #7c3aed);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2), 0 0 0 1px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #7c3aed 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* How It Works Section */
.how-it-works-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.step-card {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin: 0 auto 20px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.step-card:hover .step-number {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.step-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Benefits Section */
.benefits-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #ffffff 100%);
    position: relative;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #7c3aed 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.benefit-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.benefit-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    height: 100%;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 0 20px 0 60px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::after {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.testimonial-rating {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fbbf24;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.author-info h5 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px;
    color: var(--text-dark);
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* CTA Section - Enhanced with Green Accents */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 30%, #2563eb 60%, #7c3aed 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(34, 197, 94, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.cta-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.cta-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 16px;
    color: #fff;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-app-btn {
    display: inline-block;
    padding: 0;
    background: transparent;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
}

.cta-app-btn:hover {
    transform: translateY(-5px) scale(1.08);
    filter: brightness(1.15) drop-shadow(0 10px 25px rgba(255, 255, 255, 0.4));
}

.cta-app-btn .app-badge-small {
    height: 50px;
    width: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.98);
    padding: 2px;
}

.cta-app-btn:hover .app-badge-small {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.5);
    transform: scale(1.03);
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.accordion {
    width: 100%;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    display: none;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid var(--border-color);
}

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

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

/* Contact Section */
section.contact-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
    width: 100%;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    animation: none !important;
    transition: none !important;
}

/* Contact section header - separate class to avoid conflict with navigation header */
.contact-section-header {
    margin-bottom: 50px;
    text-align: center;
}

.contact-section .contact-section-header,
.contact-section .section-badge,
.contact-section .section-title,
.contact-section .section-description {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transition: none !important;
    display: block !important;
}

.contact-section .section-badge {
    display: inline-block !important;
}

.contact-section .contact-section-header {
    display: block !important;
}

.contact-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    animation: none !important;
    transition: none !important;
}

.contact-card .form-group {
    margin-bottom: 25px;
}

.contact-card label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-card .required {
    color: #e74c3c;
}

.contact-card .optional {
    color: #999;
    font-weight: 400;
    font-size: 12px;
}

.contact-card .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-card .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-card textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-card .btn-primary {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #7c3aed 100%);
    border: none;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-card .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-card .btn-primary:hover::before {
    left: 100%;
}

.contact-card .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #6d28d9 100%);
}

.contact-card .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Privacy Policy Section */
.privacy-section {
    padding: 60px 0;
    background: var(--bg-white);
}

/* Privacy section header - separate class to avoid conflict with navigation header */
.privacy-section-header {
    margin-bottom: 50px;
    text-align: center;
}

.privacy-section .privacy-section-header,
.privacy-section .section-badge,
.privacy-section .section-title,
.privacy-section .section-description {
    display: block !important;
}

.privacy-section .section-badge {
    display: inline-block !important;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.privacy-content h4 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.privacy-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}

.privacy-content ul {
    margin-bottom: 15px;
    padding-left: 25px;
}

.privacy-content li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 8px;
}

/* Header Styles */
header.section-header,
#header-template > .section-header,
#header-template header.section-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.98) 0%, rgba(37, 99, 235, 0.98) 50%, rgba(124, 58, 237, 0.98) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.section-header .container {
    position: relative;
}

.section-header .menu {
    margin: 0;
    text-align: right;
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

/* Desktop Menu - Hidden on Mobile */
.desktop-menu {
    display: flex;
}

/* Mobile Menu Toggle - Hidden on Desktop */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 8px;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 32px;
    z-index: 1001;
    position: relative;
    align-items: center;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    opacity: 0.8;
}

.mobile-menu-toggle:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background: #fff;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
    background: #fff;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    width: 300px;
    max-width: 85vw;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.98) 0%, rgba(124, 58, 237, 0.98) 100%);
    backdrop-filter: blur(20px);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
    z-index: 999;
    height: calc(100vh - 70px);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-list {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.mobile-menu-list li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-list li a {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-list li a::before {
    content: '•';
    margin-right: 12px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.mobile-menu-list li a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding-left: 30px;
}

.mobile-menu-list li a:hover::before {
    color: #fff;
    transform: scale(1.2);
}

.mobile-app-buttons {
    padding: 25px;
    border-bottom: none !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-app-btn {
    display: block;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    transition: transform 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.mobile-app-btn:hover {
    transform: scale(1.05);
}

.mobile-app-btn:active {
    transform: scale(0.98);
}

.mobile-app-btn img {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Desktop - Hide Mobile Menu */
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .desktop-menu {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .mobile-menu {
        display: block !important;
    }
}

.section-header .menu li {
    list-style: none;
    margin: 0;
}

.section-header .menu li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.section-header .menu li a:hover {
    color: #fff;
}

.section-header .menu li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.section-header .menu li a:hover:after {
    width: 100%;
}

.header-right-btn {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.header-app-btn {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header-app-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
}

.header-app-btn img {
    display: block;
    height: 32px;
    width: auto;
}

/* Footer Styles */
footer.section-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 0 30px;
}

footer.section-footer h3,
footer.section-footer h4 {
    color: #fff;
    margin-bottom: 20px;
}

footer.section-footer p {
    color: #ccc;
    line-height: 1.8;
}

footer.section-footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer.section-footer a:hover {
    color: #fff;
}

footer.section-footer ul {
    list-style: none;
    padding: 0;
}

footer.section-footer ul li {
    margin-bottom: 10px;
}

/* ============================================
   RESPONSIVE DESIGN - Mobile First Approach
   ============================================ */

/* Extra Small Devices (Phones) - 320px to 575px */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 28px !important;
    }
    
    .hero-description {
        font-size: 14px !important;
    }
    
    .hero-badge {
        font-size: 12px !important;
        padding: 8px 16px !important;
        white-space: normal !important;
        flex-wrap: wrap !important;
    }
    
    .hero-deal-banner {
        padding: 12px 15px !important;
    }
    
    .deal-content {
        font-size: 12px !important;
    }
    
    .deal-amount {
        font-size: 14px !important;
    }
    
    .app-badge {
        height: 40px !important;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-stats {
        gap: 15px;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 24px !important;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-description {
        font-size: 16px;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
    
    .section-header .menu {
        display: none;
    }
    
    .header-right-btn {
        display: none;
    }
    
    .header-app-btn img {
        height: 28px !important;
    }
    
    /* Show hamburger menu on mobile */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .mobile-menu {
        display: block !important;
    }
    
    .header-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
}

/* Small Devices (Landscape Phones) - 576px to 767px */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-title {
        font-size: 36px !important;
    }
    
    .hero-description {
        font-size: 16px !important;
    }
    
    .section-title {
        font-size: 28px !important;
    }
    
    .app-badge {
        height: 45px;
    }
    
    .hero-cta {
        gap: 15px;
    }
}

/* iPhone Frame Responsive Styles */
@media (max-width: 767.98px) {
    .iphone-frame {
        width: 280px !important;
        height: 560px !important;
    }
    
    .phone-mockup-container {
        padding: 15px !important;
    }
    
    .message-bubble {
        max-width: 80% !important;
        font-size: 13px !important;
        padding: 10px 14px !important;
    }
    
    .chat-header {
        padding: 12px 15px !important;
    }
    
    .chat-messages {
        padding: 15px !important;
        gap: 12px !important;
    }
    
    .message-avatar {
        width: 28px !important;
        height: 28px !important;
        font-size: 14px !important;
    }
    
    .chat-avatar {
        width: 35px !important;
        height: 35px !important;
        font-size: 18px !important;
    }
}

/* Medium Devices (Tablets) - 768px to 991px */
@media (min-width: 768px) and (max-width: 991.98px) {
    section.modern-hero {
        padding: 60px 0 80px !important;
    }
    
    .hero-title {
        font-size: 42px !important;
    }
    
    .hero-description {
        font-size: 18px !important;
    }
    
    .section-title {
        font-size: 36px !important;
    }
    
    .app-badge {
        height: 55px;
    }
    
    .section-header .menu {
        gap: 20px;
    }
    
    .section-header .menu li a {
        font-size: 14px;
    }
    
    .header-right-btn {
        gap: 10px;
    }
}

/* Large Devices (Desktops) - 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-title {
        font-size: 52px !important;
    }
    
    .section-title {
        font-size: 42px !important;
    }
    
    .app-badge {
        height: 60px;
    }
}

/* Extra Large Devices (Large Desktops) - 1200px and up */
@media (min-width: 1200px) {
    body .hero-title {
        font-size: 64px !important;
    }
    
    .section-title {
        font-size: 48px !important;
    }
    
    .app-badge {
        height: 60px;
    }
}

/* iPad Specific - 768px to 1024px */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    section.modern-hero {
        padding: 80px 0 100px !important;
        min-height: calc(100vh - 160px);
    }
    
    .hero-title {
        font-size: 48px !important;
    }
    
    .hero-description {
        font-size: 18px !important;
    }
    
    .section-title {
        font-size: 38px !important;
    }
    
    .feature-card {
        padding: 35px 25px;
    }
    
    .contact-card {
        padding: 45px 35px;
    }
}

/* iPad Landscape - 1024px to 1366px */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .hero-title {
        font-size: 56px !important;
    }
    
    .section-title {
        font-size: 44px !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .app-download-btn,
    .cta-app-btn,
    .header-app-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .contact-card .btn-primary {
        min-height: 48px;
    }
    
    .section-header .menu li a {
        padding: 12px 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image,
    .app-badge,
    .app-badge-small {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    header.section-header,
    footer.section-footer,
    .hero-cta,
    .cta-section {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* ============================================
   MODERN CMS PAGES STYLES
   ============================================ */

.modern-cms-pages {
    min-height: calc(100vh - 200px);
    padding-top: 70px;
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
}

.cms-hero-section {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    padding: 60px 0 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.cms-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.cms-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.cms-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.cms-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cms-breadcrumb a:hover {
    color: #fff;
}

.cms-breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

.cms-title {
    font-size: 48px;
    font-weight: 900;
    margin: 0 0 15px 0;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cms-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.cms-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px 60px;
}

.cms-content-card {
    background: #fff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    margin-top: -30px;
    position: relative;
    z-index: 3;
}

.cms-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cms-content.fade-in {
    opacity: 1;
}

.cms-content h1,
.cms-content h2,
.cms-content h3,
.cms-content h4,
.cms-content h5,
.cms-content h6 {
    color: #1a1a1a;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.cms-content h1 {
    font-size: 32px;
}

.cms-content h2 {
    font-size: 28px;
}

.cms-content h3 {
    font-size: 24px;
}

.cms-content h4 {
    font-size: 20px;
}

.cms-content p {
    margin-bottom: 20px;
    color: #4b5563;
}

.cms-content ul,
.cms-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.cms-content li {
    margin-bottom: 10px;
    color: #4b5563;
    line-height: 1.7;
}

.cms-content a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.cms-content a:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

.cms-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cms-content blockquote {
    border-left: 4px solid #2563eb;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #6b7280;
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
}

.cms-content code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    color: #e11d48;
    font-family: 'Courier New', monospace;
}

.cms-content pre {
    background: #1a1a1a;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 30px 0;
}

.cms-content pre code {
    background: transparent;
    color: #fff;
    padding: 0;
}

.cms-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cms-content table th,
.cms-content table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.cms-content table th {
    background: #f9fafb;
    font-weight: 700;
    color: #1a1a1a;
}

.cms-content table tr:hover {
    background: #f9fafb;
}

/* Topup/Wallet Specific Styles */
.cms-content .topup-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.cms-content .topup-card {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cms-content .topup-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.cms-content .topup-card.selected {
    border-color: #fff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
}

.cms-content .topup-card .amount {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 5px;
}

.cms-content .topup-card .bonus {
    font-size: 14px;
    opacity: 0.9;
}

.cms-content .payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.cms-content .payment-method {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cms-content .payment-method:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.cms-content .payment-method.selected {
    border-color: #2563eb;
    background: #eff6ff;
}

.cms-content .payment-method img {
    max-width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.cms-content .btn-topup {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin: 20px 0;
}

.cms-content .btn-topup:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

/* Auto-Publish Ride Page Specific Styles */
.auto-publish-features {
    margin: 40px 0;
    padding: 40px 0;
    border-top: 2px solid #e5e7eb;
    border-bottom: 2px solid #e5e7eb;
}

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

.feature-showcase-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.feature-showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.feature-icon-large {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-showcase-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.feature-showcase-item p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.auto-publish-steps {
    margin: 50px 0;
    padding: 40px 0;
    border-top: 2px solid #e5e7eb;
}

.steps-title {
    font-size: 32px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.step-item:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
    transform: translateX(5px);
}

.step-number-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

.auto-publish-examples {
    margin: 50px 0;
    padding: 40px 0;
    border-top: 2px solid #e5e7eb;
}

.examples-title {
    font-size: 32px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
}

.example-conversations {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.conversation-example {
    background: #f9fafb;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #e5e7eb;
}

.example-label {
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.chat-example {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    animation: fadeInUp 0.4s ease;
}

.chat-message.user-msg {
    justify-content: flex-end;
}

.chat-message.ai-msg {
    justify-content: flex-start;
}

.msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.user-msg .msg-avatar {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    order: 2;
}

.ai-msg .msg-avatar {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

.msg-bubble {
    max-width: 70%;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.6;
    word-wrap: break-word;
}

.user-msg .msg-bubble {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
    order: 1;
}

.ai-msg .msg-bubble {
    background: #fff;
    color: #1a1a1a;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive CMS Styles */
@media (max-width: 768px) {
    .cms-title {
        font-size: 32px;
    }
    
    .cms-subtitle {
        font-size: 16px;
    }
    
    .cms-content-card {
        padding: 30px 20px;
        margin-top: -20px;
        border-radius: 20px;
    }
    
    .cms-content h1 {
        font-size: 28px;
    }
    
    .cms-content h2 {
        font-size: 24px;
    }
    
    .cms-content h3 {
        font-size: 20px;
    }
    
    .cms-content .topup-amounts {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .cms-content .topup-card {
        padding: 20px 15px;
    }
    
    .cms-content .topup-card .amount {
        font-size: 24px;
    }
    
    .cms-content .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-showcase-item {
        padding: 25px 20px;
    }
    
    .feature-icon-large {
        font-size: 40px;
    }
    
    .steps-title,
    .examples-title {
        font-size: 24px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .step-number-large {
        margin: 0 auto 15px;
    }
    
    .step-content h3 {
        font-size: 20px;
    }
    
    .msg-bubble {
        max-width: 85%;
    }
    
    .conversation-example {
        padding: 20px 15px;
    }
}

/* App Guide Section Styles */
.app-guide-section {
    background-color: #f9fafb;
    padding: 80px 0;
}

.guide-nav-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.guide-nav-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.guide-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-nav-list li {
    margin-bottom: 10px;
}

.guide-nav-link {
    display: block;
    padding: 12px 16px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

.guide-nav-link:hover,
.guide-nav-link.active {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #ffffff;
    transform: translateX(5px);
}

.guide-content-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    scroll-margin-top: 100px;
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.guide-icon {
    font-size: 36px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 12px;
}

.guide-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.guide-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.guide-step .step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.step-image-placeholder {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-image-placeholder:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.step-image-placeholder img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    background: #fff;
}

.guide-screenshot {
    max-width: 200px !important;
    width: 200px;
    cursor: pointer;
    position: relative;
}

.step-image-placeholder .row .guide-screenshot {
    max-width: 180px !important;
    width: 180px;
}

.step-image-placeholder .row .col-md-4 .guide-screenshot {
    max-width: 160px !important;
    width: 160px;
}

.step-image-placeholder .row .col-md-6 .guide-screenshot {
    max-width: 180px !important;
    width: 180px;
}

@media (max-width: 768px) {
    .step-image-placeholder .row .col-md-4 .guide-screenshot,
    .step-image-placeholder .row .col-md-6 .guide-screenshot {
        max-width: 150px !important;
        width: 150px;
    }
}

.guide-screenshot::after {
    content: '🔍';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(37, 99, 235, 0.9);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.guide-screenshot:hover::after {
    opacity: 1;
}

.step-image-placeholder:hover .guide-screenshot {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    transform: scale(1.05);
    border-color: var(--primary-color);
}

/* Fullscreen Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
    overflow: auto;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.image-modal-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.image-modal-close::before {
    content: '×';
    font-size: 40px;
    line-height: 1;
}

@media (max-width: 768px) {
    .guide-screenshot {
        max-width: 150px !important;
        width: 150px;
    }
    
    .image-modal-close {
        top: 10px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
    
    .image-modal-content {
        max-width: 95%;
    }
}

.step-image-placeholder p {
    color: #64748b;
    font-size: 13px;
    margin: 10px 0 0 0;
    font-weight: 500;
    line-height: 1.5;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Responsive styles for guide section */
@media (max-width: 992px) {
    .guide-nav-card {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
    
    .guide-content-card {
        padding: 30px 20px;
    }
    
    .guide-title {
        font-size: 24px;
    }
    
    .guide-step {
        flex-direction: column;
    }
    
    .guide-step .step-number {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .app-guide-section {
        padding: 60px 0;
    }
    
    .guide-content-card {
        padding: 25px 15px;
    }
    
    .guide-header {
        flex-direction: column;
        text-align: center;
    }
    
    .guide-icon {
        margin: 0 auto;
    }
    
    .step-image-placeholder {
        min-height: 150px;
        padding: 30px 15px;
    }
}

/* Guide CTA Section */
.guide-cta-section {
    padding: 60px 0;
}

.guide-cta-card {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 16px;
    padding: 50px 40px;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3);
}

.guide-cta-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.guide-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.guide-cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.guide-cta-btn {
    background: #ffffff;
    color: #2563eb;
    border: 2px solid #ffffff;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.guide-cta-btn:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .guide-cta-card {
        padding: 40px 25px;
    }
    
    .guide-cta-title {
        font-size: 26px;
    }
    
    .guide-cta-description {
        font-size: 16px;
    }
    
    .guide-cta-icon {
        font-size: 48px;
    }
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 60px 0;
}

.contact-cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 50px 40px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-cta-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.contact-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.contact-cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-cta-btn {
    background: #ffffff;
    color: #2563eb;
    border: 2px solid #ffffff;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-cta-btn:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .contact-cta-card {
        padding: 40px 25px;
    }
    
    .contact-cta-title {
        font-size: 26px;
    }
    
    .contact-cta-description {
        font-size: 16px;
    }
    
    .contact-cta-icon {
        font-size: 48px;
    }
}

/* ============================================
   ADDITIONAL ENHANCEMENTS FOR CONVERSION
   ============================================ */

/* Enhanced Download Button Styles */
.hero-cta .app-download-btn {
    position: relative;
}

.hero-cta .app-download-btn::after {
    content: '✨';
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 20px;
    opacity: 0;
    animation: sparkle 2s ease-in-out infinite;
    pointer-events: none;
}

.hero-cta .app-download-btn:hover::after {
    opacity: 1;
}

@keyframes sparkle {
    0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.7; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
}

/* Success/Green Accent for Important CTAs */
.cta-success {
    background: linear-gradient(135deg, #10b981 0%, #22c55e 50%, #34d399 100%);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    text-decoration: none;
    display: inline-block;
}

.cta-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #22c55e 100%);
}

/* Enhanced Stat Numbers */
.stat-number {
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
}

/* Enhanced Section Titles */
.section-title {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse Animation for Important Elements */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
}

.pulse-element {
    animation: pulse-glow 2s infinite;
}

/* Enhanced Mobile Menu */
.mobile-menu {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.98) 0%, rgba(37, 99, 235, 0.98) 50%, rgba(124, 58, 237, 0.98) 100%);
}

/* Enhanced Footer */
footer.section-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    border-top: 3px solid rgba(37, 99, 235, 0.3);
}

/* Enhanced Deal Banner */
.hero-deal-banner {
    position: relative;
    overflow: hidden;
}

.hero-deal-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-deal-banner > * {
    position: relative;
    z-index: 1;
}

/* ============================================
   BLOG SECTION STYLES
   ============================================ */

/* Blog Hero Section */
.blog-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 120px 0 60px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.blog-breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.blog-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.blog-breadcrumb a:hover {
    opacity: 0.8;
}

.blog-breadcrumb span {
    margin: 0 8px;
    opacity: 0.7;
}

.blog-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.blog-hero-description {
    font-size: 18px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Listing Page */
.blog-listing-page {
    min-height: 100vh;
    background: var(--bg-light);
    padding-top: 80px;
}

.blog-listing-wrapper {
    padding: 60px 0;
}

/* Loading State */
.blog-loading {
    text-align: center;
    padding: 80px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.blog-loading p {
    color: var(--text-light);
    font-size: 16px;
}

/* Empty State */
.blog-empty {
    text-align: center;
    padding: 100px 20px;
}

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

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

.blog-empty p {
    color: var(--text-light);
    font-size: 16px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Blog Card */
.blog-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
}

.blog-card.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

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

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

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-lighter);
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    margin-bottom: 12px;
}

.blog-date {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.blog-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-subtitle {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-card-excerpt {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.blog-card-read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: auto;
}

.blog-card-read-more:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Blog Detail Page */
.blog-detail-page {
    min-height: 100vh;
    background: var(--bg-light);
    padding-top: 80px;
}

.blog-detail-wrapper {
    padding: 60px 0;
    max-width: 900px;
    margin: 0 auto;
}

.blog-detail-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.blog-detail-meta {
    margin-bottom: 30px;
}

.blog-detail-content {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.blog-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.blog-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-content h1 { font-size: 32px; }
.blog-content h2 { font-size: 28px; }
.blog-content h3 { font-size: 24px; }
.blog-content h4 { font-size: 20px; }

.blog-content p {
    margin-bottom: 20px;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.blog-content li {
    margin-bottom: 10px;
}

.blog-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

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

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.blog-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-medium);
}

.blog-back-link {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.btn-back-to-blog {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-back-to-blog:hover {
    color: var(--primary-dark);
    transform: translateX(-5px);
}

/* Related Posts */
.blog-related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.related-post-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.related-post-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: var(--bg-lighter);
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 20px;
}

.related-post-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
    display: block;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.related-post-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: var(--primary-color);
}

/* Blog Error/Not Found States */
.blog-not-found,
.blog-error {
    text-align: center;
    padding: 60px 20px;
}

.blog-not-found h2,
.blog-error h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.blog-not-found p,
.blog-error p {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 30px;
}

/* Responsive Styles */
/* Blog Error States */
.blog-error {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.blog-error h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.blog-error p {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 32px;
    }
    
    .blog-hero-description {
        font-size: 16px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .blog-detail-title {
        font-size: 28px;
    }
    
    .blog-detail-content {
        padding: 25px;
    }
    
    .blog-content {
        font-size: 16px;
    }
    
    .blog-content h1 { font-size: 26px; }
    .blog-content h2 { font-size: 24px; }
    .blog-content h3 { font-size: 20px; }
    .blog-content h4 { font-size: 18px; }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

