/* =============================================
   VitalPaws - Inner Page Styles
   ============================================= */

/* =============================================
   Page Hero (inner pages)
   ============================================= */

.page-hero {
    position: relative;
    padding: 140px 0 60px;
    text-align: center;
    background: #0f172a;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.85) 100%),
        var(--hero-img) center / cover no-repeat;
    z-index: 0;
}

[data-theme="light"] .page-hero {
    background: #1e293b;
}

[data-theme="light"] .page-hero::before {
    background:
        linear-gradient(135deg, rgba(248, 250, 252, 0.85) 0%, rgba(248, 250, 252, 0.7) 50%, rgba(248, 250, 252, 0.88) 100%),
        var(--hero-img) center / cover no-repeat;
}

[data-theme="light"] .page-title {
    color: var(--text);
}

[data-theme="light"] .page-subtitle {
    color: var(--text-muted);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--bg));
}

.page-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-light);
    background: var(--accent-muted);
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =============================================
   Feature Blocks (Features Page)
   ============================================= */

.features-section {
    padding: 80px 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='48' r='6' fill='rgba(59,130,246,0.08)'/%3E%3Ccircle cx='30' cy='34' r='2.8' fill='rgba(59,130,246,0.08)'/%3E%3Ccircle cx='37' cy='30' r='2.8' fill='rgba(59,130,246,0.08)'/%3E%3Ccircle cx='43' cy='30' r='2.8' fill='rgba(59,130,246,0.08)'/%3E%3Ccircle cx='50' cy='34' r='2.8' fill='rgba(59,130,246,0.08)'/%3E%3C/svg%3E")
        repeat,
        var(--bg);
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 0;
}

.feature-block:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-block-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: var(--accent-muted);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--accent);
}

.feature-block-content {
    flex: 1;
}

.feature-block-content h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.feature-block-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-block-content .feature-details {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.feature-block-content .feature-details li {
    color: var(--text-secondary);
    font-size: 0.92rem;
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
}

.feature-block-content .feature-details li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .feature-block,
    .feature-block:nth-child(even) {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .feature-block-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .feature-block-content .feature-details li {
        text-align: left;
    }
}

/* =============================================
   Pet Health Feed (Filter Bar)
   ============================================= */

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* =============================================
   About Page
   ============================================= */

.about-wrapper {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 95 C60 95 25 65 25 45 C25 32 35 22 47 22 C53 22 58 25 60 30 C62 25 67 22 73 22 C85 22 95 32 95 45 C95 65 60 95 60 95Z' fill='rgba(249,115,22,0.04)' /%3E%3C/svg%3E")
        repeat,
        var(--bg);
}

[data-theme="light"] .about-wrapper {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 95 C60 95 25 65 25 45 C25 32 35 22 47 22 C53 22 58 25 60 30 C62 25 67 22 73 22 C85 22 95 32 95 45 C95 65 60 95 60 95Z' fill='rgba(249,115,22,0.06)' /%3E%3C/svg%3E")
        repeat,
        var(--bg);
}

.about-section {
    max-width: 760px;
    margin: 0 auto;
    padding: 80px 24px;
}

.about-section h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    margin-top: 48px;
}

.about-section h2:first-child {
    margin-top: 0;
}

.about-section p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-section .about-emphasis {
    color: var(--text);
    font-weight: 600;
    font-size: 1.1rem;
    font-style: italic;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin: 24px 0;
}

.about-company {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.about-company img {
    height: 40px;
    opacity: 0.6;
}

.about-company span {
    color: var(--text-dim);
    font-size: 0.88rem;
}

/* =============================================
   Download Page
   ============================================= */

.download-section {
    padding: 140px 0 80px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='10' cy='10' r='2' fill='rgba(59,130,246,0.05)'/%3E%3Ccircle cx='30' cy='25' r='3' fill='rgba(59,130,246,0.05)'/%3E%3Ccircle cx='18' cy='35' r='1.5' fill='rgba(59,130,246,0.05)'/%3E%3C/svg%3E")
        repeat,
        var(--bg);
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-visual {
    text-align: center;
}

.download-visual img {
    max-width: 280px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.download-content h1 {
    margin-bottom: 8px;
}

.download-content .download-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.store-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.store-badge:hover {
    border-color: var(--accent);
    color: var(--text);
}

.store-badge.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.store-badge i {
    font-size: 1.4rem;
}

.trust-bullets {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.trust-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 8px 0;
}

.trust-bullets li i {
    color: var(--success);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.download-pricing {
    margin-top: 48px;
}

.download-pricing h3 {
    margin-bottom: 20px;
}

.download-email {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.download-email h3 {
    margin-bottom: 8px;
}

.download-email p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .download-visual {
        order: -1;
    }

    .store-badges {
        justify-content: center;
    }

    .trust-bullets {
        display: inline-block;
        text-align: left;
    }

    .email-capture {
        margin: 0 auto;
    }
}

/* =============================================
   Legal Pages (Privacy, Terms)
   ============================================= */

.legal-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='10' cy='10' r='2' fill='rgba(59,130,246,0.05)'/%3E%3Ccircle cx='30' cy='25' r='3' fill='rgba(59,130,246,0.05)'/%3E%3Ccircle cx='18' cy='35' r='1.5' fill='rgba(59,130,246,0.05)'/%3E%3C/svg%3E")
        repeat;
}

.legal-section h2 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-section h3 {
    font-size: 1.1rem;
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section ul {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-section .legal-updated {
    color: var(--text-dim);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 32px;
}

/* =============================================
   How It Works Section
   ============================================= */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.step-card {
    text-align: center;
    padding: 32px 20px;
    position: relative;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50%;
    margin-bottom: 20px;
}

.step-card .step-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Step connector arrows */
.step-card:not(:last-child)::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 1rem;
    opacity: 0.4;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step-card:not(:last-child)::after {
        content: '\f063';
        right: auto;
        left: 50%;
        top: auto;
        bottom: -12px;
        transform: translateX(-50%);
    }
}

/* =============================================
   Urgency Scale (Features Page)
   ============================================= */

.urgency-scale {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 999px;
}

.urgency-badge.emergency { background: rgba(220, 38, 38, 0.15); color: #dc2626; }
.urgency-badge.urgent { background: rgba(249, 115, 22, 0.15); color: #f97316; }
.urgency-badge.soon { background: rgba(234, 179, 8, 0.15); color: #eab308; }
.urgency-badge.monitor { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.urgency-badge.routine { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
