/* ==========================================
   RACEBRAIN - Horse Racing Theme Design
   ========================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Racing Green & Gold */
    --primary: #16a34a;
    --primary-dark: #15803d;
    --primary-light: #22c55e;

    /* Accent Colors - Gold/Winners */
    --accent: #eab308;
    --accent-dark: #ca8a04;

    /* Neutral Colors */
    --dark: #0a0f0d;
    --dark-light: #1a2e1f;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #4ade80 100%);
    --gradient-dark: linear-gradient(180deg, #0a0f0d 0%, #1a2e1f 100%);
    --gradient-gold: linear-gradient(135deg, #eab308 0%, #fbbf24 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', var(--font-primary);

    /* Spacing */
    --section-padding: 100px 0;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(22, 163, 74, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 300ms ease;
    --transition-slow: 500ms ease;

    /* Border Radius */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    padding: 15px 0;
    background: transparent;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(10, 15, 13, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white) !important;
}

.navbar-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-nav .btn-download {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-full);
    margin-left: 10px;
    font-weight: 600;
}

.navbar-nav .btn-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(22, 163, 74, 0.25), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(34, 197, 94, 0.15), transparent),
        var(--gradient-dark);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(22, 163, 74, 0.15);
    border: 1px solid rgba(22, 163, 74, 0.3);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge i {
    font-size: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    max-width: 500px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.app-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.store-btn {
    transition: var(--transition);
}

.store-btn:hover {
    transform: translateY(-3px);
}

.store-btn img {
    height: 50px;
    width: auto;
}

.hero-image-col {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.4) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ==========================================
   Section Styles
   ========================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ==========================================
   Features Section
   ========================================== */
.features-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.feature-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(22, 163, 74, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================
   How It Works Section
   ========================================== */
.how-it-works-section {
    padding: var(--section-padding);
    background: var(--white);
}

.step-card {
    text-align: center;
    padding: 40px 24px;
    position: relative;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 60px;
    right: -20%;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), transparent);
}

.step-card:last-child::after {
    display: none;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.step-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ==========================================
   Screenshots Section
   ========================================== */
.screenshots-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.screenshot-card {
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.screenshot-card img {
    border-radius: var(--radius);
    width: 100%;
}

/* ==========================================
   Quote Section
   ========================================== */
.quote-section {
    padding: 80px 0;
    background: var(--dark);
    position: relative;
}

.quote-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 20% 40%, rgba(22, 163, 74, 0.1), transparent),
        radial-gradient(ellipse 50% 80% at 80% 60%, rgba(34, 197, 94, 0.08), transparent);
}

.quote-wrapper {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.quote-wrapper blockquote p {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: var(--white);
    line-height: 1.6;
    font-style: italic;
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq-section {
    padding: var(--section-padding);
    background: var(--white);
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--gray-200) !important;
    border-radius: var(--radius) !important;
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-button {
    padding: 20px 24px;
    font-weight: 600;
    color: var(--gray-900);
    background: var(--white);
    font-size: 1rem;
}

.accordion-button:not(.collapsed) {
    background: var(--white);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--gray-200);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2316a34a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 0 24px 20px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    padding: 80px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 20% 40%, rgba(22, 163, 74, 0.15), transparent),
        radial-gradient(ellipse 50% 80% at 80% 60%, rgba(34, 197, 94, 0.1), transparent);
}

.cta-wrapper {
    position: relative;
    text-align: center;
    z-index: 1;
}

.cta-wrapper h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-wrapper > p {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 32px;
}

.cta-section .app-stores {
    justify-content: center;
    opacity: 1;
    margin-bottom: 40px;
}

.responsible-gambling {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gamble-aware-logo {
    height: 40px;
    margin: 0 auto 12px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.responsible-gambling p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.responsible-gambling a {
    color: var(--primary-light);
}

.responsible-gambling a:hover {
    text-decoration: underline;
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
    background: var(--gray-900);
    padding: 80px 0 40px;
    color: var(--gray-400);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.footer-brand span {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.site-footer h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-app-stores {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-app-stores img {
    height: 40px;
    width: auto;
}

.footer-contact {
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--gray-400);
}

.footer-contact a:hover {
    color: var(--primary-light);
}

.footer-contact i {
    margin-right: 8px;
    color: var(--primary-light);
}

.footer-divider {
    border-color: var(--gray-800);
    margin: 40px 0;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.disclaimer {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ==========================================
   Legal Pages
   ========================================== */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    background: var(--gray-50);
}

.legal-page h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.legal-page .last-updated {
    color: var(--gray-500);
    margin-bottom: 40px;
}

.legal-page h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-page p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.legal-content a {
    color: var(--primary);
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ==========================================
   Utility Classes
   ========================================== */
.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--dark-light);
        padding: 20px;
        border-radius: var(--radius);
        margin-top: 16px;
    }

    .navbar-nav .btn-download {
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
        width: fit-content;
    }

    .hero-content {
        text-align: center;
        padding: 140px 0 60px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .app-stores {
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 40px;
    }

    .scroll-indicator {
        display: none;
    }

    .step-card::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .stat-item {
        text-align: center;
    }

    .store-btn img {
        height: 45px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .legal-content {
        padding: 24px;
    }

    .legal-page h1 {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .app-stores {
        flex-direction: column;
        align-items: center;
    }

    .footer-app-stores {
        align-items: flex-start;
    }
}

/* ==========================================
   Blog Styles
   ========================================== */

/* Blog Listing Page */
.blog-hero {
    padding: 140px 0 60px;
    background: var(--dark);
    position: relative;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(22, 163, 74, 0.2), transparent),
        var(--gradient-dark);
}

.blog-hero .container {
    position: relative;
    z-index: 1;
}

.blog-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.blog-hero p {
    font-size: 1.125rem;
    color: var(--gray-400);
    max-width: 600px;
}

.blog-listing {
    padding: 60px 0 100px;
    background: var(--gray-50);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-100);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(22, 163, 74, 0.2);
}

.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-200);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.blog-card-category {
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card h2 a {
    color: inherit;
}

.blog-card h2 a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.blog-card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card-link:hover {
    gap: 10px;
}

/* Blog Post Page */
.blog-post-hero {
    padding: 140px 0 60px;
    background: var(--dark);
    position: relative;
}

.blog-post-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(22, 163, 74, 0.2), transparent),
        var(--gradient-dark);
}

.blog-post-hero .container {
    position: relative;
    z-index: 1;
}

.blog-post-hero .blog-card-category {
    margin-bottom: 16px;
    display: inline-block;
}

.blog-post-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    max-width: 800px;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--gray-400);
    font-size: 0.95rem;
}

.blog-post-meta i {
    margin-right: 6px;
    color: var(--primary-light);
}

.blog-post-content {
    padding: 60px 0 100px;
    background: var(--gray-50);
}

.blog-post-article {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-article h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-post-article h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-top: 32px;
    margin-bottom: 16px;
}

.blog-post-article p {
    color: var(--gray-700);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 20px;
}

.blog-post-article ul,
.blog-post-article ol {
    margin-bottom: 20px;
    padding-left: 24px;
    color: var(--gray-700);
}

.blog-post-article li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.blog-post-article a {
    color: var(--primary);
    font-weight: 500;
}

.blog-post-article a:hover {
    text-decoration: underline;
}

.blog-post-article strong {
    color: var(--gray-900);
    font-weight: 600;
}

.blog-post-article blockquote {
    background: var(--gray-50);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.blog-post-article blockquote p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--gray-600);
}

/* App Promo Box within blog posts */
.app-promo-box {
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.app-promo-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(22, 163, 74, 0.3), transparent);
}

.app-promo-box * {
    position: relative;
    z-index: 1;
}

.app-promo-box h3 {
    font-family: var(--font-display);
    color: var(--white);
    margin-top: 0;
    margin-bottom: 12px;
}

.app-promo-box p {
    color: var(--gray-400);
    margin-bottom: 20px;
    font-size: 1rem;
}

.app-promo-box .app-stores {
    justify-content: center;
    opacity: 1;
}

.app-promo-box .store-btn img {
    height: 45px;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 16px 0;
    background: var(--gray-100);
}

.breadcrumbs a {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs span {
    color: var(--gray-400);
    margin: 0 8px;
}

.breadcrumbs .current {
    color: var(--gray-900);
    font-weight: 500;
}

/* Blog Responsive */
@media (max-width: 767.98px) {
    .blog-post-article {
        padding: 24px;
    }

    .blog-post-hero h1 {
        font-size: 1.75rem;
    }

    .blog-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .app-promo-box {
        padding: 24px 20px;
    }
}
