/* ═══════════════════════════════════════════════════════════
   PupSavvy Landing Page — Styles
   Brand: warm amber (#F5A623), clean light (#F5F0E8), dark (#1C1C1E)
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Reset & Base ────────────────────────────────────────── */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #F5A623;
    --primary-light: #FDE8C4;
    --primary-bg: #FFF8ED;
    --bg: #F5F0E8;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    --text-primary: #1C1C1E;
    --text-secondary: #6B6B70;
    --text-muted: #AEAEB2;
    --border: #E5E0D8;
    --premium-gold: #f59e0b;
    --success: #34C759;
    --danger: #FF3B30;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.04);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s;
}
a:hover { opacity: 0.8; }

img { max-width: 100%; height: auto; }

/* ── Layout ──────────────────────────────────────────────── */

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Navigation ──────────────────────────────────────────── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 240, 232, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: var(--text-primary);
}

.nav-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); opacity: 1; }

.nav-cta {
    background: var(--text-primary);
    color: var(--bg-secondary) !important;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px !important;
    font-weight: 700 !important;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
    opacity: 1 !important;
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
    padding: 140px 0 80px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-bg);
    border: 1px solid var(--primary-light);
    color: var(--premium-gold);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--premium-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 1;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-secondary);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.store-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.store-badge {
    height: 48px;
    border-radius: 10px;
    transition: transform 0.2s;
}
.store-badge:hover { transform: scale(1.05); }

/* ── Features ─────────────────────────────────────────────── */

.features {
    padding: 80px 0;
}

.section-label {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

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

/* ── Pricing ──────────────────────────────────────────────── */

.pricing {
    padding: 80px 0;
}

.pricing-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 680px;
    margin: 0 auto;
}

.pricing-card {
    flex: 1;
    min-width: 260px;
    max-width: 320px;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--premium-gold);
    background: var(--primary-bg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--premium-gold);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-tier {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 4px;
}

.pricing-period {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.pricing-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
}

.pricing-features li::before {
    content: '✓ ';
    color: var(--success);
    font-weight: 700;
}

.pricing-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 24px;
}

/* ── CTA strip ────────────────────────────────────────────── */

.cta-strip {
    padding: 80px 0;
    text-align: center;
}

.cta-strip h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-strip p {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 32px;
}

/* ── Footer ───────────────────────────────────────────────── */

.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    font-size: 15px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}
.footer-links a:hover { color: var(--text-primary); }

/* ── Legal pages ──────────────────────────────────────────── */

.legal {
    padding: 120px 0 80px;
    max-width: 720px;
    margin: 0 auto;
}

.legal h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.legal .last-updated {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.legal h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
}

.legal h3 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal p, .legal li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

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

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

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 768px) {
    .nav-links { display: none; }

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

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

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

    .pricing-cards { flex-direction: column; align-items: center; }
    .pricing-card { max-width: 100%; }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ── Animations ──────────────────────────────────────────── */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out both;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
