/* ============================================
   Pawprint - Landing Page Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #D4A843;
    --primary-light: #E8C76A;
    --primary-text: #7A5F18; /* darkened gold - passes WCAG AA as text on light backgrounds */
    --dark: #1A1A2E;
    --dark-hover: #2a2a47;
    --light-bg: #FFFBF5;
    --white: #FFFFFF;
    --text-primary: #1A1A2E;
    --text-secondary: #6B7280;
    --success: #22C55E;
    --gradient: linear-gradient(135deg, #D4A843, #E8C76A);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--light-bg);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

.container,
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    background: rgba(255, 251, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    color: var(--primary);
}

.nav-wordmark {
    height: 30px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--dark);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    background: var(--dark-hover);
    box-shadow: 0 4px 14px rgba(26, 26, 46, 0.28);
}

.hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--dark);
    color: #fff;
    box-shadow: 0 6px 18px rgba(26, 26, 46, 0.22);
}

.btn-primary:hover {
    background: var(--dark-hover);
    box-shadow: 0 10px 28px rgba(26, 26, 46, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-primary);
    border: 1.5px solid #E5E7EB;
}

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

.btn-white {
    background: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    box-shadow: var(--shadow-lg);
}

/* --- Accessibility: Focus Styles --- */
/* Generic fallback for keyboard focus on all interactive elements */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--dark);
    outline-offset: 2px;
}

/* On dark sections the navy ring is invisible - switch to gold (7.7:1 on navy) */
.for-providers :focus-visible,
.footer :focus-visible {
    outline-color: var(--primary);
}

/* --- Accessibility: Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- Hero Section --- */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 70% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 30% 80%, rgba(212, 168, 67, 0.05) 0%, transparent 50%);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.paw-float {
    position: absolute;
    opacity: 0.06;
    color: var(--primary);
}

.paw-1 { width: 60px; top: 15%; left: 8%; }
.paw-2 { width: 40px; top: 60%; left: 15%; }
.paw-3 { width: 50px; top: 25%; right: 5%; }
.paw-4 { width: 35px; bottom: 20%; right: 15%; }
.paw-5 { width: 45px; bottom: 10%; left: 40%; }

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

.hero-heading {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-store-btn svg {
    flex-shrink: 0;
}

.hero-phone {
    display: flex;
    justify-content: center;
}

/* --- Trust Bar --- */
.trust-bar {
    padding: 48px 0;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.trust-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.trust-item svg {
    color: var(--primary);
}

/* --- Section Headings --- */
.section-heading {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

/* --- How It Works --- */
.how-it-works {
    padding: 100px 0;
    background: var(--light-bg);
}

.how-it-works .section-heading {
    margin-bottom: 64px;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    text-align: center;
    max-width: 300px;
    padding: 0 24px;
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    align-self: center;
    flex-shrink: 0;
}

/* --- Features Grid --- */
.features {
    padding: 100px 0;
    background: var(--white);
}

.features .section-heading {
    margin-bottom: 56px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- For Providers --- */
.for-providers {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.for-providers::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(212, 168, 67, 0.06);
    pointer-events: none;
}

.for-providers .section-heading {
    color: var(--white);
}

.for-providers .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 56px;
}

.provider-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.provider-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.3s, background 0.3s;
}

.provider-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
}

.provider-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(212, 168, 67, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.provider-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.provider-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.provider-cta {
    text-align: center;
}

/* --- Download CTA --- */
.download-cta {
    padding: 100px 0;
    background: var(--gradient);
    text-align: center;
}

.download-cta h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.download-subtitle {
    margin-top: 20px;
    font-size: 16px;
    color: #1A1A2E;
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-contact a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
    border-radius: 8px;
}

.footer-social a:hover {
    color: var(--primary);
}

.footer-social svg {
    display: block;
}

.footer-bottom {
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* ============================================
   Legal Pages (Privacy & Terms)
   ============================================ */
.legal-page {
    padding: 120px 0 80px;
    background: var(--light-bg);
}

.legal-content {
    max-width: 780px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 56px;
    box-shadow: var(--shadow-md);
}

.legal-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.legal-content .last-updated {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-content a {
    color: var(--primary-text);
    text-decoration: underline;
}

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

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-heading {
        font-size: 44px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

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

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

    .provider-cards .provider-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-contact {
        text-align: center;
        align-items: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
        color: var(--text-primary);
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hero {
        padding: 110px 0 60px;
    }

    .hero-heading {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-heading {
        font-size: 28px;
    }

    .steps {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .step-connector {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .trust-items {
        gap: 24px;
    }

    .trust-item {
        font-size: 13px;
    }

    .provider-cards {
        grid-template-columns: 1fr;
    }

    .provider-cards .provider-card:last-child {
        max-width: 100%;
    }

    .download-cta h2 {
        font-size: 28px;
    }

    .legal-content {
        padding: 32px 24px;
    }

    .legal-content h1 {
        font-size: 28px;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    .hero-heading {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .trust-items {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .container,
    .nav-container {
        max-width: 1320px;
    }

    .hero-heading {
        font-size: 64px;
    }
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: #1A1A2E;
    color: #FFFBF5;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}
.skip-link:focus {
    left: 0;
}

/* ============================================
   Public Profile (/u/{shareSlug})
   ============================================ */
.profile-page {
    padding: 110px 0 80px;
    background: var(--light-bg);
}

.profile-page > .container {
    max-width: 1080px;
}

.profile-hero {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
}

.profile-avatar {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    object-fit: cover;
    background: #f0ebe3;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.profile-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    font-weight: 700;
    background: var(--gradient);
    color: #1A1A2E;
}

.profile-hero-meta {
    min-width: 0;
}

.profile-name {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 4px;
}

.profile-handle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.profile-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.profile-location svg {
    color: var(--primary);
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.1);
    color: #15803D;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
}

.profile-badge svg {
    color: var(--success);
}

.profile-stats {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: right;
    align-self: stretch;
    justify-content: center;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    padding-left: 28px;
}

.profile-stat-value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    justify-content: flex-end;
}

.profile-stat-value svg {
    color: var(--primary);
}

.profile-stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.profile-section {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.profile-section-heading {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.015em;
    color: var(--dark);
}

.profile-bio p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    white-space: pre-wrap;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.service-card {
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius);
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.service-card-category {
    background: rgba(212, 168, 67, 0.12);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.service-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.service-card-price {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 15px;
}

.service-card-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-card-location svg {
    color: var(--primary);
}

.service-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--text-primary);
}

.service-card-rating svg {
    color: var(--primary);
}

.service-card-rating-count {
    font-weight: 400;
    color: var(--text-secondary);
}

.pet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.pet-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius);
    padding: 12px 14px;
}

.pet-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f0ebe3;
}

.pet-photo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: #1A1A2E;
}

.pet-photo-emoji {
    font-size: 28px;
    line-height: 1;
}

.pet-name {
    font-size: 15px;
    font-weight: 600;
}

.pet-sub {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card {
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f0ebe3;
}

.review-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    background: var(--gradient);
    color: #1A1A2E;
}

.review-head-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.review-author {
    font-size: 15px;
    font-weight: 600;
}

.review-stars {
    color: var(--primary);
    font-size: 14px;
    letter-spacing: 1px;
}

.review-text {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.review-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.review-service {
    font-style: italic;
}

.review-service::after {
    content: "·";
    margin-left: 10px;
    color: rgba(0, 0, 0, 0.25);
}

.review-foot > :last-child.review-service::after {
    content: "";
    margin: 0;
}

.review-date {
    font-size: 13px;
    color: var(--text-secondary);
}

.profile-cta {
    background: var(--gradient);
    text-align: center;
    color: #1A1A2E;
}

.profile-cta .profile-section-heading {
    color: #1A1A2E;
    font-size: 24px;
}

.profile-cta-sub {
    font-size: 15px;
    color: #1A1A2E;
    opacity: 0.85;
    margin-bottom: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.profile-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.profile-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
}

.profile-error {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    background: var(--light-bg);
}

.profile-error img {
    margin: 0 auto 24px;
}

.profile-error h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.profile-error p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 420px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .profile-page {
        padding: 96px 0 60px;
    }

    .profile-hero {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
        padding: 24px;
    }

    .profile-avatar {
        margin: 0 auto;
        width: 112px;
        height: 112px;
    }

    .profile-avatar-fallback {
        font-size: 36px;
    }

    .profile-name {
        font-size: 26px;
    }

    .profile-location,
    .profile-badges {
        justify-content: center;
    }

    .profile-badges {
        display: flex;
    }

    .profile-stats {
        flex-direction: row;
        justify-content: center;
        text-align: center;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        padding-left: 0;
        padding-top: 16px;
        gap: 32px;
    }

    .profile-stat-value {
        justify-content: center;
    }

    .profile-section {
        padding: 24px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .profile-cta .profile-section-heading {
        font-size: 20px;
    }
}

/* ============================================
   Android waitlist ("Notify me when Android launches")
   ============================================ */
.android-waitlist {
    width: 100%;
    margin-top: 4px;
}

.android-waitlist-eyebrow {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.android-waitlist-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: stretch;
    max-width: 420px;
}

.android-waitlist-form[hidden] {
    display: none;
}

.android-waitlist-input {
    flex: 1 1 200px;
    min-width: 0;
    padding: 13px 16px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: var(--white);
    border: 1.5px solid #D1D5DB;
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}

.android-waitlist-input::placeholder {
    color: var(--text-secondary);
}

.android-waitlist-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.18);
}

.android-waitlist-btn {
    flex: 0 0 auto;
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #fff;
    background: var(--dark);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s, background 0.2s;
    box-shadow: 0 4px 16px rgba(26, 26, 46, 0.22);
}

.android-waitlist-btn:hover {
    transform: translateY(-2px);
    background: var(--dark-hover);
    box-shadow: 0 6px 24px rgba(26, 26, 46, 0.3);
}

.android-waitlist-btn:active {
    transform: translateY(0);
}

.android-waitlist-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.android-waitlist-msg {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.5;
}

.android-waitlist-msg:empty {
    margin-top: 0;
}

.android-waitlist-msg.is-error {
    color: #DC2626;
}

.android-waitlist-msg.is-success {
    color: var(--success);
    font-weight: 600;
}

/* Variant for the gold download-CTA gradient: dark copy, white field, dark button */
.android-waitlist--on-gradient {
    max-width: 460px;
    margin: 24px auto 0;
}

.android-waitlist--on-gradient .android-waitlist-eyebrow {
    color: var(--dark);
}

.android-waitlist--on-gradient .android-waitlist-form {
    margin: 0 auto;
}

.android-waitlist--on-gradient .android-waitlist-input {
    border-color: rgba(26, 26, 46, 0.16);
}

.android-waitlist--on-gradient .android-waitlist-input:focus {
    border-color: var(--dark);
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.18);
}

.android-waitlist--on-gradient .android-waitlist-btn {
    color: var(--white);
    background: var(--dark);
    box-shadow: 0 4px 16px rgba(26, 26, 46, 0.25);
}

.android-waitlist--on-gradient .android-waitlist-btn:hover {
    box-shadow: 0 6px 24px rgba(26, 26, 46, 0.35);
}

.android-waitlist--on-gradient .android-waitlist-msg.is-success {
    color: var(--dark);
}

.android-waitlist--on-gradient .android-waitlist-msg.is-error {
    color: #7A1212;
}

/* ============================================
   Device frame (real app screenshots)
   ============================================ */
.device {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    background: var(--dark);
    border-radius: 38px;
    padding: 10px;
    box-shadow: 0 24px 60px rgba(26, 26, 46, 0.22), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.device-screen {
    border-radius: 28px;
    overflow: hidden;
    background: var(--light-bg);
    line-height: 0;
}

.device-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.device--hero {
    max-width: 300px;
}

.device--step {
    max-width: 196px;
    border-radius: 30px;
    padding: 8px;
    margin-bottom: 28px;
}

.device--step .device-screen {
    border-radius: 23px;
}

.hero-phone .device {
    will-change: transform;
}

/* ============================================
   Hero eyebrow
   ============================================ */
.hero-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-text);
    background: rgba(212, 168, 67, 0.12);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

/* ============================================
   Intro / What is Pawprint
   ============================================ */
.intro {
    padding: 88px 0;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.intro-inner {
    max-width: 920px;
    text-align: center;
}

.intro-lead {
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto 44px;
}

.intro-lead strong {
    color: var(--text-primary);
    font-weight: 600;
}

.intro-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: left;
}

.intro-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    padding: 18px 18px;
}

.intro-pill-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 67, 0.12);
}

.intro-pill-icon svg {
    display: block;
}

.intro-pill-icon--green {
    background: rgba(91, 168, 90, 0.15);
}

.intro-pill-icon--blue {
    background: rgba(72, 178, 186, 0.16);
}

.intro-pill strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.intro-pill div span {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-top: 2px;
}

/* ============================================
   Feature Showcase (alternating rows)
   ============================================ */
.showcase-rows {
    padding: 96px 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, #f7f1e8 100%);
}

.showcase-rows .section-heading {
    margin-bottom: 12px;
}

.showcase-rows .section-subtitle {
    margin-bottom: 56px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 52px 0;
}

.feature-row + .feature-row {
    border-top: 1px solid rgba(26, 26, 46, 0.07);
}

.feature-row-media {
    display: flex;
    justify-content: center;
    order: 1;
}

.feature-row-text {
    order: 2;
}

.feature-row--reverse .feature-row-media {
    order: 2;
}

.feature-row--reverse .feature-row-text {
    order: 1;
}

.feature-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-text);
    background: rgba(212, 168, 67, 0.12);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.feature-row-text h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin-bottom: 14px;
}

.feature-row-text > p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-row-text > p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.feature-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
}

.feature-bullets li {
    position: relative;
    padding-left: 30px;
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.feature-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.14);
}

.feature-bullets li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--success);
    border-bottom: 2px solid var(--success);
    transform: rotate(-45deg);
}

.feature-bullets--light li {
    color: rgba(255, 255, 255, 0.72);
}

/* ============================================
   Features grid - compact 4-up variant
   ============================================ */
.features-grid--compact {
    grid-template-columns: repeat(4, 1fr);
}

.features-grid--compact .feature-card {
    padding: 26px 24px;
}

/* ============================================
   For Providers - showcase block
   ============================================ */
.provider-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 64px;
}

.provider-showcase-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 460px;
}

.provider-showcase-media .device {
    max-width: 256px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.provider-showcase-media .device--secondary {
    position: absolute;
    right: 6%;
    bottom: 28px;
    max-width: 184px;
    transform: rotate(6deg);
    z-index: -1;
    opacity: 0.96;
}

.provider-showcase-text h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin-bottom: 14px;
    color: var(--white);
}

.provider-showcase-text > p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.7;
}

.provider-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.provider-cta-link {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.provider-cta-link:hover {
    color: var(--primary);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: 96px 0;
    background: var(--white);
}

.faq .section-heading {
    margin-bottom: 48px;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    padding: 4px 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
    border-color: rgba(212, 168, 67, 0.4);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 18px 36px 18px 0;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: translateY(-35%) rotate(-135deg);
}

.faq-answer {
    padding: 0 0 20px;
}

.faq-answer p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary-text);
    text-decoration: underline;
}

/* ============================================
   Showcase rows + provider + intro - responsive
   ============================================ */
@media (max-width: 1024px) {
    .intro-pills {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .feature-row,
    .provider-showcase {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-row-media,
    .feature-row-text,
    .feature-row--reverse .feature-row-media,
    .feature-row--reverse .feature-row-text {
        order: unset;
    }

    .feature-row-media {
        order: 0;
    }

    .feature-row-text {
        max-width: 560px;
        margin: 0 auto;
    }

    .provider-showcase-media {
        min-height: 0;
    }

    .provider-showcase-text {
        text-align: center;
        max-width: 560px;
        margin: 0 auto;
    }

    .provider-showcase-text .feature-bullets {
        display: inline-flex;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .intro {
        padding: 64px 0;
    }

    .intro-lead {
        font-size: 17px;
    }

    .showcase-rows {
        padding: 64px 0;
    }

    .feature-row {
        padding: 40px 0;
    }

    .feature-row-text h3,
    .provider-showcase-text h3 {
        font-size: 23px;
    }

    .feature-row-text > p,
    .provider-showcase-text > p {
        font-size: 16px;
    }

    .device--step {
        max-width: 220px;
    }

    .provider-showcase-media .device--secondary {
        display: none;
    }

    .faq {
        padding: 64px 0;
    }

    .faq-item summary {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .intro-pills {
        grid-template-columns: 1fr;
    }

    .features-grid--compact {
        grid-template-columns: 1fr;
    }
}
