/* ===================================
   Health Data Export - Grafana Style
   Purple Undertones Theme
   =================================== */

:root {
    /* Purple Undertones Color Palette */
    --primary-purple: #a855f7;
    --secondary-purple: #8b5cf6;
    --dark-purple: #6d28d9;
    --light-purple: #c084fc;
    --accent-pink: #ec4899;
    
    /* Grafana-inspired Dark Theme */
    --bg-dark: #0b0d12;
    --bg-darker: #05060a;
    --bg-card: #111318;
    --bg-card-hover: #181b23;
    --border-color: #1f2937;
    --border-purple: rgba(168, 85, 247, 0.2);
    
    /* Text Colors */
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    
    /* Gradients */
    --gradient-purple: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --gradient-dark: linear-gradient(180deg, #0b0d12 0%, #05060a 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* ===================================
   Reset & Base Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Container & Layout
   =================================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 13, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-purple);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.25rem;
    font-weight: 600;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-purple);
}

.brand-name {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
    background: rgba(168, 85, 247, 0.1);
}

.btn-primary {
    background: var(--gradient-purple);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.hero-text {
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--gradient-purple);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-purple);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-purple);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-icon-right {
    width: 20px;
    height: 20px;
}

/* Hero Visual - Metric Cards */
.hero-visual {
    position: relative;
    height: 500px;
}

.metric-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    width: 280px;
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.3);
}

.card-1 {
    top: 0;
    left: 0;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 150px;
    right: 50px;
    animation: float 6s ease-in-out infinite 2s;
}

.card-3 {
    bottom: 50px;
    left: 80px;
    animation: float 6s ease-in-out infinite 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.unit {
    font-size: 1rem;
    font-weight: 400;
}

.metric-chart {
    height: 60px;
    margin-top: var(--spacing-sm);
}

.metric-chart svg {
    width: 100%;
    height: 100%;
}

/* ===================================
   Features Section
   =================================== */

.features {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-darker);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-2xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-purple);
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   Stats Section
   =================================== */

.stats {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ===================================
   CTA Section
   =================================== */

.cta {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-darker);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.cta-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-purple);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: var(--gradient-purple);
    border-color: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.4);
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-purple);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* ===================================
   Page Header (Instructions & Screenshots)
   =================================== */

.page-header {
    padding: var(--spacing-2xl) 0;
    text-align: center;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-purple);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* ===================================
   Instructions Page
   =================================== */

.instructions {
    padding: var(--spacing-2xl) 0;
}

.instruction-section {
    margin-bottom: var(--spacing-2xl);
}

.instruction-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.step-card {
    display: flex;
    gap: var(--spacing-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--primary-purple);
    transform: translateX(5px);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-purple);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* FAQ Section */
.faq-section {
    margin-bottom: var(--spacing-2xl);
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-purple);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Tips Section */
.tips-section {
    margin-top: var(--spacing-2xl);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.tip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.tip-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.tip-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.tip-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===================================
   Screenshots/Gallery Page
   =================================== */

.gallery {
    padding: var(--spacing-2xl) 0;
}

.gallery-category {
    margin-bottom: var(--spacing-2xl);
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-purple);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder for images (remove when you add real images) */
.gallery-placeholder {
    background: var(--bg-card);
    border: 2px dashed var(--border-purple);
    border-radius: var(--radius-lg);
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.gallery-placeholder:hover {
    border-color: var(--primary-purple);
    background: var(--bg-card-hover);
}

.gallery-placeholder svg {
    width: 48px;
    height: 48px;
    color: var(--primary-purple);
}

.gallery-placeholder p {
    font-size: 1rem;
    font-weight: 500;
}

/* Video Section */
.video-section {
    margin-top: var(--spacing-2xl);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-placeholder {
    background: var(--bg-card);
    border: 2px dashed var(--border-purple);
    border-radius: var(--radius-lg);
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    color: var(--text-muted);
}

.video-placeholder svg {
    width: 64px;
    height: 64px;
    color: var(--primary-purple);
}

.video-placeholder p {
    font-size: 1.25rem;
    font-weight: 500;
}

/* Video iframe (when you add real video) */
.video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    border: none;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 6, 10, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 48px;
    height: 48px;
    font-size: 2rem;
    color: white;
    background: rgba(168, 85, 247, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--primary-purple);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-visual {
        height: 400px;
        margin-top: var(--spacing-xl);
    }
    
    .metric-card {
        width: 240px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    /* Add hamburger menu for mobile */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-darker);
        padding: var(--spacing-lg);
        border-bottom: 1px solid var(--border-purple);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .step-card {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-hero,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 var(--spacing-md);
    }
    
    .btn-cta {
        width: 100%;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Animations & Effects
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth scroll offset for sticky nav */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background: var(--primary-purple);
    color: white;
}

::-moz-selection {
    background: var(--primary-purple);
    color: white;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-purple);
}


/* ===================================
   New Styles for SEO Enhancements
   =================================== */

/* Hero Keywords */
.hero-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xl);
}

.keyword-tag {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid var(--border-purple);
    color: var(--primary-purple);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.keyword-tag:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: var(--primary-purple);
    transform: translateY(-2px);
}

/* Platforms Section */
.platforms {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    margin-top: calc(var(--spacing-md) * -1);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.platform-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.platform-item:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.2);
}

.platform-item h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.platform-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Why Choose Section */
.why-choose {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-darker);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.comparison-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-purple);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.comparison-card:hover {
    border-color: var(--primary-purple);
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.2);
}

.check-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: var(--spacing-md);
}

.comparison-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.comparison-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Download Button Updates */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-purple);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-width: 280px;
}

.btn-cta:hover {
    background: var(--gradient-purple);
    border-color: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.4);
}

.btn-cta-ios {
    opacity: 0.7;
}

.btn-cta-ios:hover {
    opacity: 1;
}

.btn-label {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
}

.btn-sublabel {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    text-align: left;
}

.btn-cta:hover .btn-sublabel {
    color: rgba(255, 255, 255, 0.8);
}

/* SEO Content Section */
.seo-content {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-dark);
}

.seo-content article {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
}

.seo-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.seo-content h3 {
    font-size: 1.5rem;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
}

.seo-content strong {
    color: var(--primary-purple);
    font-weight: 600;
}

/* Footer Keywords */
.footer-keywords {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
    opacity: 0.6;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .hero-keywords {
        justify-content: center;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-cta {
        width: 100%;
        min-width: auto;
    }
    
    .seo-content article {
        padding: var(--spacing-lg);
    }
    
    .seo-content h2 {
        font-size: 1.5rem;
    }
    
    .seo-content h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .keyword-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}


/* ===================================
   Blog Listing & Blog Posts
   =================================== */

.blog-listing {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-dark);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.2);
}

.blog-card-placeholder {
    opacity: 0.6;
    border-style: dashed;
}

.blog-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.blog-category {
    background: var(--gradient-purple);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.blog-title a {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--primary-purple);
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.tag {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--border-purple);
    color: var(--primary-purple);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary-purple);
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    gap: var(--spacing-sm);
}

.arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.blog-read-more:hover .arrow-icon {
    transform: translateX(4px);
}

/* Blog Post Content Styles */
.blog-post-meta {
    display: flex;
    gap: var(--spacing-lg);
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
}

/* ===================================
   Privacy Policy Page
   =================================== */

.privacy-content {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-dark);
}

.privacy-article {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.privacy-article h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-purple);
}

.privacy-article h2:first-child {
    margin-top: 0;
}

.privacy-article h3 {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.privacy-article p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
}

.privacy-article ul,
.privacy-article ol {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    margin-left: var(--spacing-lg);
    font-size: 1.05rem;
}

.privacy-article li {
    margin-bottom: var(--spacing-xs);
}

.privacy-article strong {
    color: var(--primary-purple);
    font-weight: 600;
}

.privacy-article a {
    color: var(--primary-purple);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-article a:hover {
    color: var(--light-purple);
}

.privacy-article em {
    font-style: italic;
    color: var(--text-secondary);
}

/* Privacy Summary Box */
.privacy-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.privacy-summary h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    color: var(--text-primary);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.summary-item {
    text-align: center;
    padding: var(--spacing-md);
}

.summary-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-purple);
    margin: 0 auto var(--spacing-md);
}

.summary-item h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.summary-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Table of Contents (Optional) */
.privacy-toc {
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.privacy-toc h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.privacy-toc ul {
    list-style: none;
    margin: 0;
}

.privacy-toc li {
    margin-bottom: var(--spacing-xs);
}

.privacy-toc a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: var(--spacing-xs);
    border-radius: var(--radius-sm);
}

.privacy-toc a:hover {
    background: rgba(168, 85, 247, 0.1);
    padding-left: var(--spacing-md);
}

/* Last Updated Badge */
.last-updated {
    display: inline-block;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid var(--border-purple);
    color: var(--primary-purple);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
}

/* Responsive */
@media (max-width: 768px) {
    .privacy-article {
        padding: var(--spacing-lg);
    }
    
    .privacy-article h2 {
        font-size: 1.5rem;
    }
    
    .privacy-article h3 {
        font-size: 1.2rem;
    }
    
    .privacy-article p,
    .privacy-article ul,
    .privacy-article ol {
        font-size: 1rem;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
}
