/* ════════════════════════════════════════════════════════════════════
   Pet & Me — SEO landings shared styles
   Brand palette aligned with /landing.html
   --primary: #090CAB (indigo)
   --accent:  #10B981 (mint green CTA)
   ════════════════════════════════════════════════════════════════════ */

:root {
    --primary: #090CAB;
    --primary-dark: #060880;
    --primary-light: #1A1FD9;
    --primary-soft: #3F44E8;
    --accent: #10B981;
    --accent-dark: #059669;
    --gold: #F59E0B;
    --bg: #FAFBFF;
    --bg-soft: #F4F6FF;
    --card-bg: #FFFFFF;
    --text: #1E293B;
    --text-light: #64748B;
    --border: #E2E8F0;
    --gradient-hero: linear-gradient(135deg, #060880 0%, #090CAB 40%, #1A1FD9 70%, #3F44E8 100%);
    --gradient-cta: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --shadow-sm: 0 1px 2px rgba(9, 12, 171, 0.04), 0 1px 6px rgba(9, 12, 171, 0.06);
    --shadow-md: 0 4px 12px rgba(9, 12, 171, 0.08), 0 8px 24px rgba(9, 12, 171, 0.06);
    --shadow-lg: 0 12px 28px rgba(9, 12, 171, 0.12), 0 24px 48px rgba(9, 12, 171, 0.08);
    --radius: 14px;
    --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
[dir="rtl"] { text-align: right; }

/* ─────────── Header (hero with brand gradient) ─────────── */
.seo-header {
    background: var(--gradient-hero);
    color: #fff;
    padding: 56px 24px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.seo-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.10), transparent 45%),
        radial-gradient(circle at 80% 60%, rgba(16,185,129,0.18), transparent 50%);
    pointer-events: none;
}
.seo-header > * { position: relative; z-index: 1; }

.seo-header .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 22px;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.01em;
}
.seo-header .logo img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff;
    padding: 4px;
}

.seo-header h1 {
    font-size: clamp(28px, 4.4vw, 42px);
    line-height: 1.15;
    max-width: 900px;
    margin: 0 auto 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.seo-header p.tagline {
    max-width: 760px;
    margin: 0 auto 28px;
    font-size: clamp(15px, 1.8vw, 18px);
    opacity: 0.92;
    line-height: 1.55;
}

.seo-header .cta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.seo-header .cta a {
    background: var(--gradient-cta);
    color: #fff;
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35), 0 2px 4px rgba(0,0,0,0.08);
    transition: transform .15s ease, box-shadow .15s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.seo-header .cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.45), 0 4px 8px rgba(0,0,0,0.10);
}
.seo-header .cta a.alt {
    background: rgba(255,255,255,0.10);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.45);
    box-shadow: none;
    backdrop-filter: blur(4px);
}
.seo-header .cta a.alt:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.7);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* ─────────── Language switcher ─────────── */
.lang-switch {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 22px;
}
.lang-switch a {
    color: #fff;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 6px 13px;
    border-radius: 100px;
    font-size: 12px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background .15s, transform .15s;
    cursor: pointer;
}
.lang-switch a:hover { background: rgba(255,255,255,0.22); transform: translateY(-1px); }
.lang-switch a.active { background: #fff; color: var(--primary); border-color: #fff; }

/* ─────────── Sections ─────────── */
.seo-section {
    max-width: 960px;
    margin: 0 auto;
    padding: 56px 24px 32px;
}
.seo-section h2 {
    font-size: clamp(22px, 3vw, 30px);
    color: var(--primary);
    margin: 32px 0 14px;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.25;
}
.seo-section h3 {
    font-size: clamp(18px, 2vw, 21px);
    margin: 28px 0 10px;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.01em;
}
.seo-section p {
    margin: 0 0 16px;
    font-size: 16px;
    color: var(--text);
    line-height: 1.7;
}
.seo-section ul {
    padding-inline-start: 22px;
    margin: 0 0 18px;
}
.seo-section li { margin-bottom: 8px; }
.seo-section a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(9, 12, 171, 0.2);
    transition: border-color .15s, color .15s;
}
.seo-section a:hover { color: var(--primary-light); border-bottom-color: var(--primary-light); }
.seo-section strong { color: var(--text); font-weight: 700; }

/* ─────────── Cards (clickable action buttons) ─────────── */
.seo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 22px 0 8px;
}
.seo-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    padding: 22px 22px 20px;
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.seo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border);
    border-left-color: var(--primary);
}
.seo-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
[dir="rtl"] .seo-card { border-left: 1px solid var(--border); border-right: 4px solid var(--accent); }
[dir="rtl"] .seo-card:hover { border-right-color: var(--primary); }

.seo-card strong {
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.005em;
}
.seo-card .arrow {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    transition: transform .18s ease;
}
.seo-card:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .seo-card .arrow { transform: scaleX(-1); }
[dir="rtl"] .seo-card:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ─────────── FAQ ─────────── */
.faq { margin: 22px 0; }
.faq details {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .15s;
}
.faq details:hover { box-shadow: var(--shadow-md); }
.faq details[open] {
    background: var(--bg-soft);
    border-color: rgba(9, 12, 171, 0.18);
}
.faq summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
    list-style: none;
    position: relative;
    padding-inline-end: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    inset-inline-end: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 22px;
    font-weight: 400;
    transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 12px; color: var(--text-light); }

/* ─────────── CTA box ─────────── */
.cta-box {
    background: var(--gradient-cta);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    margin: 36px 0;
    box-shadow: 0 12px 36px rgba(16, 185, 129, 0.25);
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15), transparent 55%);
    pointer-events: none;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 800;
    letter-spacing: -0.015em;
}
.cta-box p { color: rgba(255,255,255,0.92); margin-bottom: 14px; }
.cta-box a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--accent-dark);
    padding: 13px 26px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    margin-top: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: transform .15s, box-shadow .15s;
    border-bottom: none;
}
.cta-box a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.20);
    color: var(--accent-dark);
}

/* ─────────── Footer ─────────── */
footer {
    background: #0F172A;
    color: rgba(255,255,255,0.55);
    text-align: center;
    padding: 32px 20px 36px;
    font-size: 14px;
    margin-top: 40px;
    line-height: 1.8;
}
footer a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    margin: 0 8px;
    transition: color .15s;
}
footer a:hover { color: var(--accent); }

/* ─────────── Language blocks (JS reveals active) ─────────── */
.lang-block { display: none; }
.lang-block.active { display: block; }

/* ─────────── Mobile ─────────── */
@media (max-width: 600px) {
    .seo-header { padding: 36px 16px 44px; }
    .seo-section { padding: 36px 16px 24px; }
    .seo-cards { grid-template-columns: 1fr; gap: 14px; }
    .seo-card { padding: 18px; }
    .cta-box { padding: 28px 20px; }
    .seo-header .cta a { padding: 12px 22px; font-size: 14px; }
}
