/* PetSite — Marketing Site Styles */
:root {
    --brand-primary: #FF6B6B;
    --brand-secondary: #FFA500;
    --brand-accent: #4ECDC4;
    --brand-dark: #2C3E50;
    --brand-light: #FFF9F0;
}

html { font-size: 16px; scroll-behavior: smooth; }

body { font-family: 'Nunito', 'Segoe UI', sans-serif; color: var(--brand-dark); background: #fff; }

/* ---- NAVBAR ---- */
.navbar-petsite { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,.08); padding: 1rem 0; }
.navbar-petsite .navbar-brand { font-size: 1.6rem; font-weight: 800; color: var(--brand-primary) !important; }
.navbar-petsite .nav-link { font-weight: 600; color: var(--brand-dark) !important; transition: color .2s; }
.navbar-petsite .nav-link:hover { color: var(--brand-primary) !important; }
.btn-get-started { background: var(--brand-primary); color: #fff !important; border-radius: 50px; padding: .5rem 1.5rem !important; font-weight: 700 !important; transition: transform .2s, box-shadow .2s; }
.btn-get-started:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,107,.4); }

/* ---- HERO ---- */
.hero-section { background: linear-gradient(135deg, #fff9f0 0%, #ffe8e8 100%); padding: 6rem 0 4rem; position: relative; overflow: hidden; }
.hero-badge { background: var(--brand-accent); color: #fff; border-radius: 50px; padding: .25rem 1rem; font-size: .85rem; font-weight: 700; display: inline-block; margin-bottom: 1rem; }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.15; color: var(--brand-dark); }
.hero-title span { color: var(--brand-primary); }
.hero-subtitle { font-size: 1.2rem; color: #666; max-width: 540px; line-height: 1.7; }
.btn-hero-primary { background: var(--brand-primary); color: #fff; border: none; border-radius: 50px; padding: .9rem 2.5rem; font-size: 1.1rem; font-weight: 800; text-decoration: none; display: inline-block; transition: transform .2s, box-shadow .2s; box-shadow: 0 4px 15px rgba(255,107,107,.35); }
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255,107,107,.5); color: #fff; }
.btn-hero-secondary { background: transparent; color: var(--brand-primary); border: 2px solid var(--brand-primary); border-radius: 50px; padding: .85rem 2.2rem; font-size: 1.05rem; font-weight: 700; text-decoration: none; display: inline-block; transition: all .2s; }
.btn-hero-secondary:hover { background: var(--brand-primary); color: #fff; }
.pet-card-mini { border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--brand-light); display: flex; align-items: center; justify-content: center; font-size: 4rem; }

/* ---- SECTIONS ---- */
.how-section { padding: 5rem 0; background: #fff; }
.features-section { padding: 5rem 0; background: var(--brand-light); }
.pricing-section { padding: 5rem 0; }
.demo-section { padding: 5rem 0; background: var(--brand-light); }
.section-title { font-size: 2.2rem; font-weight: 900; color: var(--brand-dark); text-align: center; margin-bottom: .5rem; }
.section-subtitle { text-align: center; color: #888; font-size: 1.1rem; margin-bottom: 3rem; }

/* ---- STEP CARDS ---- */
.step-card { text-align: center; padding: 2rem 1.5rem; }
.step-number { width: 60px; height: 60px; background: var(--brand-primary); color: #fff; border-radius: 50%; font-size: 1.5rem; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.step-icon { font-size: 3rem; margin-bottom: 1rem; }
.step-card h4 { font-weight: 800; margin-bottom: .5rem; }
.step-card p { color: #666; }

/* ---- FEATURE CARDS ---- */
.feature-card { background: #fff; border-radius: 16px; padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,.06); height: 100%; transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.feature-card h5 { font-weight: 800; margin-bottom: .5rem; }
.feature-card p { color: #666; font-size: .95rem; }

/* ---- PRICING ---- */
.pricing-card { border-radius: 20px; padding: 2.5rem 2rem; text-align: center; border: 2px solid #eee; position: relative; transition: transform .2s, box-shadow .2s; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,.1); }
.pricing-card.featured { border-color: var(--brand-primary); background: linear-gradient(135deg, #fff 0%, #fff5f5 100%); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand-primary); color: #fff; border-radius: 50px; padding: .2rem 1.2rem; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.pricing-price { font-size: 3rem; font-weight: 900; color: var(--brand-primary); line-height: 1; }
.pricing-price sup { font-size: 1.5rem; vertical-align: top; margin-top: .5rem; }
.pricing-price sub { font-size: 1rem; color: #999; }
.pricing-features { list-style: none; padding: 0; text-align: left; margin-bottom: 2rem; }
.pricing-features li { padding: .4rem 0; }
.pricing-features li::before { content: '✓ '; color: var(--brand-accent); font-weight: 700; }

/* ---- DEMO CARDS ---- */
.demo-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.08); transition: transform .2s; }
.demo-card:hover { transform: translateY(-5px); }
.demo-card-header { padding: 2rem; text-align: center; font-size: 4rem; }
.demo-card-body { padding: 1.5rem; }
.demo-pet-name { font-weight: 900; font-size: 1.2rem; margin-bottom: .25rem; }
.demo-pet-breed { color: #999; font-size: .9rem; }

/* ---- FOOTER ---- */
.footer-petsite { background: var(--brand-dark); color: #ccc; padding: 3rem 0 1.5rem; }
.footer-petsite h5 { color: #fff; font-weight: 800; margin-bottom: 1rem; }
.footer-petsite a { color: #aaa; text-decoration: none; display: block; margin-bottom: .4rem; }
.footer-petsite a:hover { color: var(--brand-primary); }
.footer-brand { font-size: 1.8rem; font-weight: 900; color: var(--brand-primary); }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 2rem 0 1rem; }
.footer-bottom { font-size: .85rem; color: #888; }

/* ---- AUTH FORMS ---- */
.form-section { padding: 4rem 0; }
.auth-card { background: #fff; border-radius: 20px; padding: 2.5rem; box-shadow: 0 10px 40px rgba(0,0,0,.1); max-width: 480px; margin: 0 auto; }
.auth-card h2 { font-weight: 900; margin-bottom: .25rem; }
.auth-card .subtitle { color: #888; margin-bottom: 2rem; }
.form-control { border-radius: 10px; padding: .75rem 1rem; border: 2px solid #eee; }
.form-control:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 .2rem rgba(255,107,107,.2); }
.btn-brand { background: var(--brand-primary); color: #fff; border: none; border-radius: 50px; padding: .8rem 2rem; font-weight: 700; width: 100%; font-size: 1.05rem; transition: transform .2s, box-shadow .2s; }
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,107,.4); color: #fff; }
.btn-brand:disabled { opacity: .7; }

/* ---- ADMIN LAYOUT ---- */
.admin-sidebar { width: 260px; min-height: 100vh; background: var(--brand-dark); color: #ccc; position: fixed; left: 0; top: 0; padding: 1.5rem 0; z-index: 100; overflow-y: auto; }
.admin-sidebar .brand { color: var(--brand-primary); font-size: 1.4rem; font-weight: 900; padding: 0 1.5rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); display: block; margin-bottom: 1rem; }
.admin-sidebar .nav-link { color: #bbb; padding: .7rem 1.5rem; display: flex; align-items: center; gap: .75rem; font-weight: 600; transition: all .2s; border-left: 3px solid transparent; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { color: #fff; background: rgba(255,107,107,.15); border-left-color: var(--brand-primary); }
.admin-content { margin-left: 260px; padding: 2rem; min-height: 100vh; background: #f5f7fa; }
/* Mobile admin bar */
.admin-mobile-bar { display: none; position: sticky; top: 0; z-index: 1040; background: var(--brand-dark); padding: .65rem 1rem; align-items: center; gap: .75rem; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.admin-nav-btn { background: none; border: none; color: #fff; padding: 0; cursor: pointer; line-height: 1; }
.admin-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1044; display: none; }
.admin-overlay.show { display: block; }
@media (max-width: 991.98px) {
    .admin-mobile-bar { display: flex; }
    .admin-sidebar { left: -260px; transition: left .25s ease; z-index: 1045; padding-top: 0; }
    .admin-sidebar.open { left: 0; box-shadow: 4px 0 25px rgba(0,0,0,.4); }
    .admin-content { margin-left: 0; padding: 1rem; }
    .admin-topbar { padding: .75rem 1rem; margin-bottom: 1rem; }
}
.admin-topbar { background: #fff; border-radius: 12px; padding: 1rem 1.5rem; margin-bottom: 2rem; box-shadow: 0 2px 10px rgba(0,0,0,.05); display: flex; justify-content: space-between; align-items: center; }
.stat-card { background: #fff; border-radius: 16px; padding: 1.5rem; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.stat-number { font-size: 2.5rem; font-weight: 900; color: var(--brand-primary); line-height: 1; }
.stat-label { color: #888; font-size: .9rem; }
.admin-card { background: #fff; border-radius: 16px; padding: 1.5rem; box-shadow: 0 2px 10px rgba(0,0,0,.05); margin-bottom: 1.5rem; }
.admin-card h5 { font-weight: 800; margin-bottom: 1rem; }

/* ---- STATUS BADGES ---- */
.badge-trial { background: #FFF3CD; color: #856404; }
.badge-active { background: #D1FAE5; color: #065F46; }
.badge-expired { background: #FEE2E2; color: #991B1B; }
.badge-suspended { background: #E5E7EB; color: #374151; }
.badge-cancelled { background: #F3F4F6; color: #6B7280; }

/* ---- THEME PICKER ---- */
.theme-card { border: 3px solid transparent; border-radius: 16px; overflow: hidden; cursor: pointer; transition: all .2s; }
.theme-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,.15); }
.theme-card.selected { border-color: var(--brand-primary); }
.theme-preview { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.theme-info { padding: .75rem 1rem; background: #fff; }
.theme-info strong { display: block; font-weight: 800; }
.theme-info small { color: #888; }

/* ---- PET SITE BASE ---- */
.pet-hero { text-align: center; padding: 4rem 1rem; position: relative; }
.pet-profile-photo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 6px solid #fff; box-shadow: 0 8px 30px rgba(0,0,0,.2); margin-bottom: 1.5rem; }
.pet-name { font-size: 3rem; font-weight: 900; }
.pet-breed { font-size: 1.2rem; opacity: .7; }
.pet-section { padding: 3rem 0; }
.pet-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.pet-gallery img { border-radius: 12px; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .2s; }
.pet-gallery img:hover { transform: scale(1.03); }
.content-block { margin-bottom: 2.5rem; }
.content-block h3 { font-weight: 800; margin-bottom: 1rem; }
.milestone-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.milestone-date { background: var(--brand-primary); color: #fff; border-radius: 8px; padding: .5rem .75rem; font-weight: 700; font-size: .85rem; white-space: nowrap; }

/* ---- UTILITIES ---- */
.text-brand { color: var(--brand-primary) !important; }
.bg-brand { background: var(--brand-primary) !important; }
.trial-banner { background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); color: #fff; padding: .75rem; text-align: center; font-weight: 700; }
.paw-divider { text-align: center; font-size: 1.5rem; opacity: .3; margin: 1rem 0; letter-spacing: .5rem; }
