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

:root {
  --blue:        #0099FF;
  --blue-dark:   #007ACC;
  --blue-light:  #EBF5FF;
  --white:       #FFFFFF;
  --bg:          #F5F9FF;
  --text:        #0B1120;
  --muted:       #6B7280;
  --light:       #9CA3AF;
  --border:      #E2E8F0;
  --success:     #10B981;
  --gold:        #F59E0B;
  --shadow:      0 2px 12px rgba(0,0,0,.07);
  --shadow-md:   0 4px 24px rgba(0,0,0,.09);
  --shadow-blue: 0 4px 20px rgba(0,153,255,.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body { background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit }
button { cursor: pointer; font-family: inherit }
img { max-width: 100%; display: block }
::-webkit-scrollbar { width: 6px }
::-webkit-scrollbar-track { background: #F1F5F9 }
::-webkit-scrollbar-thumb { background: #CBD5E0; border-radius: 3px }

/* ── NAV ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); height: 66px; display: flex; align-items: center; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { width: 36px; height: 36px; border-radius: 10px; }
.nav-brand { font-size: 17px; font-weight: 900; color: var(--text); letter-spacing: -.5px; }
.nav-brand span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 7px 13px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--text); background: #F1F5F9; }
.nav-links a.active { color: var(--blue); background: var(--blue-light); font-weight: 600; }
.nav-cta { background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 10px; transition: .15s; flex-shrink: 0; box-shadow: var(--shadow-blue); white-space: nowrap; }
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }
.nav-hamburger { display: none; background: none; border: none; color: var(--muted); padding: 6px; border-radius: 8px; }
.nav-mobile { display: none; position: fixed; top: 66px; left: 0; right: 0; z-index: 99; background: #fff; border-bottom: 1px solid var(--border); padding: 10px 16px; flex-direction: column; gap: 2px; box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 11px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-mobile a:hover { background: #F1F5F9; color: var(--text); }
.nav-mobile a.active { background: var(--blue-light); color: var(--blue); font-weight: 600; }
@media (max-width: 860px) { .nav-links, .nav-cta { display: none; } .nav-hamburger { display: block; } }

/* ── HERO ── */
.hero { padding: 96px 28px 60px; background: var(--white); }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-light); color: var(--blue); font-size: 11px; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; text-transform: uppercase; letter-spacing: 1px; }
.blink { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; display: inline-block; animation: blink 1.4s ease-in-out infinite; }
.hero-title { font-size: 58px; font-weight: 900; color: var(--text); line-height: 1.06; margin-bottom: 10px; letter-spacing: -2.5px; }
.hero-title .blue { color: var(--blue); }
.hero-subtitle { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.hero-desc { font-size: 16px; color: var(--muted); line-height: 1.75; max-width: 440px; margin-bottom: 32px; }
.hero-desc strong { color: var(--text); font-weight: 700; }

/* Store Buttons */
.store-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px; transition: .2s; cursor: pointer; min-width: 160px; border: none; }
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.15); }
.store-ios { background: #000; color: #fff; }
.store-ios:hover { background: #1a1a1a; }
.store-android { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.store-android:hover { background: var(--blue-dark); }
.store-icon { flex-shrink: 0; }
.store-text { text-align: left; }
.store-small { display: block; font-size: 9.5px; opacity: .75; letter-spacing: .3px; margin-bottom: 1px; }
.store-big { display: block; font-size: 14.5px; font-weight: 800; letter-spacing: -.3px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-trust-item { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); font-weight: 500; }
.hero-trust-item svg { color: var(--success); flex-shrink: 0; }

/* Phone Mockup — always stays beside hero text */
.phone-wrap { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; }
.phone-frame { width: 240px; height: 496px; border-radius: 44px; background: #0B1120; border: 8px solid #1C2333; box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 40px 80px rgba(0,0,0,.25), 0 12px 32px rgba(0,0,0,.15); overflow: hidden; position: relative; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 88px; height: 22px; background: #1C2333; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: opacity .3s ease; }
.phone-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.phone-dot { width: 7px; height: 7px; border-radius: 50%; background: #CBD5E0; border: none; cursor: pointer; padding: 0; transition: .2s; }
.phone-dot.active { background: var(--blue); width: 20px; border-radius: 4px; }

/* ── STATS ── */
.stats-section { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 28px; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); }
.stat-card { background: var(--white); padding: 24px; text-align: center; }
.stat-icon { font-size: 26px; margin-bottom: 8px; }
.stat-value { font-size: 30px; font-weight: 900; color: var(--text); letter-spacing: -1.5px; margin-bottom: 4px; }
.stat-label { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ── SECTION ── */
.section-label { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; text-align: center; }
.section-title { font-size: 32px; font-weight: 900; color: var(--text); letter-spacing: -1px; text-align: center; margin-bottom: 10px; }
.section-sub { font-size: 15px; color: var(--muted); text-align: center; margin-bottom: 48px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-row-left h2 { font-size: 24px; font-weight: 900; color: var(--text); letter-spacing: -.5px; margin-bottom: 3px; }
.section-row-left p { font-size: 14px; color: var(--muted); }
.section-inner { max-width: 1200px; margin: 0 auto; }

/* ── FEATURES ── */
.features-section { padding: 72px 28px; background: var(--bg); }
.features-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feat-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 26px 22px; transition: .2s; position: relative; overflow: hidden; }
.feat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(0,153,255,.3); }
.feat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: .25s; }
.feat-card:hover::before { transform: scaleX(1); }
.feat-icon-wrap { width: 48px; height: 48px; border-radius: 13px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 14px; }
.feat-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.feat-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ── CONTENT SECTIONS ── */
.content-section { padding: 68px 28px; background: var(--white); }
.content-section.alt { background: var(--bg); }

/* ── CARD ── */
.card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }

/* ── POSTS ── */
.post-item { padding: 18px 20px; border-bottom: 1px solid var(--border); transition: .12s; }
.post-item:hover { background: #FAFCFF; }
.post-item:last-child { border-bottom: none; }
.post-layout { display: flex; gap: 12px; }
.post-avatar { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.post-avatar-fallback { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; color: #fff; }
.post-body { flex: 1; min-width: 0; }
.post-header { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-bottom: 5px; }
.post-name { font-size: 14px; font-weight: 700; color: var(--text); }
.post-username { font-size: 13px; color: var(--muted); }
.post-dot { color: var(--light); font-size: 12px; }
.post-time { font-size: 12px; color: var(--light); margin-left: auto; }
.post-text { font-size: 14px; color: #374151; line-height: 1.65; margin-bottom: 10px; word-break: break-word; }
.post-image { width: 100%; max-height: 280px; object-fit: cover; border-radius: 12px; margin-bottom: 10px; border: 1px solid var(--border); }
.post-actions { display: flex; gap: 18px; }
.post-action { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--light); background: none; border: none; padding: 4px 0; transition: .15s; }
.post-action.like:hover { color: #EF4444; }
.post-action.comment:hover { color: var(--blue); }

/* ── ASSOCIATION CARD ── */
.assoc-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: .2s; display: flex; flex-direction: column; }
.assoc-card:hover { box-shadow: var(--shadow-md); border-color: rgba(0,153,255,.3); transform: translateY(-2px); }
.assoc-top { padding: 20px; flex: 1; }
.assoc-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.assoc-logo { width: 52px; height: 52px; border-radius: 13px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.assoc-info { flex: 1; min-width: 0; }
.assoc-name { font-size: 15px; font-weight: 800; color: var(--text); line-height: 1.3; margin-bottom: 3px; }
.assoc-location { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.assoc-desc { font-size: 13px; color: var(--muted); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.assoc-map { width: 100%; height: 160px; overflow: hidden; border-top: 1px solid var(--border); }
.assoc-map iframe { width: 100%; height: 100%; border: none; }
.assoc-footer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 20px; border-top: 1px solid var(--border); background: var(--bg); }
.assoc-link { font-size: 12px; font-weight: 600; color: var(--blue); padding: 5px 12px; border-radius: 8px; background: var(--blue-light); transition: .15s; }
.assoc-link:hover { background: #D1E9FF; }

/* ── LEADERBOARD ── */
.lb-item { display: flex; align-items: center; gap: 13px; padding: 13px 20px; border-bottom: 1px solid var(--border); transition: .12s; }
.lb-item:last-child { border-bottom: none; }
.lb-item:hover { background: #FAFCFF; }
.lb-rank { width: 32px; text-align: center; font-size: 16px; font-weight: 900; flex-shrink: 0; }
.lb-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-pet { font-size: 15px; font-weight: 900; color: var(--gold); }
.lb-unit { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 3px; }

/* ── BUTTONS ── */
.btn-primary { background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; padding: 11px 24px; border-radius: 10px; border: none; transition: .15s; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--muted); font-size: 14px; font-weight: 500; padding: 10px 20px; border-radius: 10px; border: 1.5px solid var(--border); transition: .15s; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }
.btn-outline:hover { color: var(--text); border-color: #9CA3AF; background: #F8FAFF; }

/* ── INPUTS ── */
.input-field { background: var(--white); border: 1.5px solid var(--border); border-radius: 10px; color: var(--text); font-size: 14px; padding: 10px 14px; outline: none; width: 100%; transition: .15s; font-family: inherit; }
.input-field:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,153,255,.1); }
.input-field::placeholder { color: var(--light); }
.select-field { background: var(--white); border: 1.5px solid var(--border); border-radius: 10px; color: var(--text); font-size: 14px; padding: 10px 36px 10px 14px; outline: none; transition: .15s; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; font-family: inherit; }
.select-field:focus { border-color: var(--blue); }
.search-bar { display: flex; gap: 10px; flex-wrap: wrap; }
.search-bar .input-field { flex: 2; min-width: 160px; }
.search-bar .select-field { flex: 1; min-width: 130px; max-width: 200px; }
textarea.input-field { min-height: 120px; resize: vertical; }

/* ── CTA BOX ── */
.cta-box { background: linear-gradient(135deg,var(--blue-light),#F0FFF4); border: 1.5px solid rgba(0,153,255,.15); border-radius: 18px; padding: 26px 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; box-shadow: var(--shadow-blue); }
.cta-text h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.cta-text p { font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 380px; }

/* ── PAGE ── */
.page-wrap { max-width: 1200px; margin: 0 auto; padding: 90px 28px 64px; }

/* ── SKELETON ── */
.skel { background: #E2E8F0; border-radius: 6px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.skel-avatar { border-radius: 50%; }
.empty-state { padding: 56px 20px; text-align: center; color: var(--muted); }
.empty-state .icon { font-size: 44px; margin-bottom: 12px; opacity: .5; }
.empty-state h3 { font-size: 16px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.empty-state p { font-size: 13px; opacity: .8; }

/* ── FOOTER ── */
footer { background: var(--text); padding: 52px 28px 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; margin-bottom: 12px; }
.footer-brand-name { font-size: 17px; font-weight: 900; color: #fff; letter-spacing: -.5px; margin-bottom: 8px; }
.footer-brand-name span { color: var(--blue); }
.footer-brand p { font-size: 13px; color: #94A3B8; line-height: 1.7; max-width: 200px; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; color: #CBD5E1; margin-bottom: 9px; transition: .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid #1E293B; padding-top: 22px; }
.footer-copy { font-size: 13px; color: #64748B; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 13px; color: #64748B; transition: .15s; }
.footer-legal a:hover { color: #fff; }

/* ── ANIMATIONS ── */
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.15} }
@keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
.fade-up { animation: fadeUp .5s ease forwards; }

/* ── PAGE-SPECIFIC ── */
.wp-section { max-width: 800px; margin: 0 auto 52px; }
.wp-section h2 { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--blue-light); }
.wp-section p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.wp-section ul { padding-left: 20px; }
.wp-section li { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 6px; }
.token-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 16px; max-width: 900px; margin: 0 auto 48px; }
.token-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 22px; text-align: center; }
.token-card .tc-icon { font-size: 32px; margin-bottom: 10px; }
.token-card .tc-val { font-size: 24px; font-weight: 900; color: var(--text); letter-spacing: -1px; margin-bottom: 4px; }
.token-card .tc-label { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .8px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 900px; margin: 0 auto; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-info-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-info-label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-info-value { font-size: 14px; font-weight: 600; color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-title { font-size: 46px; }
  .phone-frame { width: 200px; height: 413px; border-radius: 38px; border-width: 7px; }
  .phone-notch { width: 76px; height: 20px; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 82px 18px 40px; }
  .hero-inner { gap: 16px; }
  .hero-title { font-size: 28px; letter-spacing: -1px; }
  .hero-subtitle { font-size: 10px; }
  .hero-desc { font-size: 14px; margin-bottom: 22px; }
  .hero-eyebrow { font-size: 10px; padding: 5px 11px; margin-bottom: 16px; }
  .phone-frame { width: 124px; height: 256px; border-radius: 28px; border-width: 5px; }
  .phone-notch { width: 58px; height: 14px; border-radius: 0 0 10px 10px; }
  .phone-dots { margin-top: 10px; gap: 5px; }
  .phone-dot { width: 6px; height: 6px; }
  .phone-dot.active { width: 16px; }
  .store-row { gap: 8px; }
  .store-btn { min-width: 0; padding: 10px 14px; }
  .store-big { font-size: 13px; }
  .store-small { font-size: 9px; }
  .hero-trust { gap: 8px; }
  .hero-trust-item { font-size: 11px; }
  .stats-section { padding: 24px 18px; }
  .stat-value { font-size: 22px; }
  .stat-card { padding: 18px 10px; }
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .features-section, .content-section { padding: 48px 18px; }
  .section-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-wrap { padding: 82px 18px 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .search-bar { flex-direction: column; }
  .search-bar .select-field { max-width: 100%; }
  .cta-box { padding: 18px; }
}
@media (max-width: 420px) {
  .hero-title { font-size: 24px; }
  .phone-frame { width: 100px; height: 207px; border-radius: 22px; border-width: 4px; }
  .phone-notch { width: 48px; height: 12px; }
}
