/* Anilove — statik PHP tema */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --primary: #4f46e5;
  --primary-dark: #6366f1;
  --secondary: #10b981;
  --bg: #f3f4f6;
  --surface: #ffffff;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-700: #4338ca;
  --shadow-indigo: rgba(79, 70, 229, 0.25);
  --max-w: 72rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --surface: #1e293b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --indigo-50: rgba(49, 46, 129, 0.35);
    --indigo-100: rgba(49, 46, 129, 0.5);
    --indigo-700: #a5b4fc;
  }
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

main { flex: 1; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  object-fit: cover;
}

.nav {
  display: none;
  gap: 2rem;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: background .2s, border-color .2s, box-shadow .2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover { background: #4338ca; }

.btn-lg {
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
}

.btn-outline {
  border: 1px solid var(--border);
  background: var(--surface);
}

.btn-outline:hover { border-color: #a5b4fc; }

@media (min-width: 768px) {
  .nav { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(79,70,229,.25), transparent);
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    padding: 6rem 0;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--indigo-100);
  background: var(--indigo-50);
  color: var(--indigo-700);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.badge__dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--secondary);
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
  font-weight: 700;
  margin: 0;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__lead {
  margin-top: 1.5rem;
  max-width: 32rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__actions .btn-primary {
  box-shadow: 0 10px 25px var(--shadow-indigo);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.stats dt {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stats dd {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Phone mockup */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .phone-wrap { justify-content: flex-end; }
}

.phone-glow {
  position: absolute;
  inset: -1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79,70,229,.2), rgba(16,185,129,.2));
  filter: blur(48px);
}

.phone {
  position: relative;
  width: min(300px, 100%);
  border: 10px solid #1e293b;
  border-radius: 3rem;
  background: #0f172a;
  padding: 0.5rem;
  box-shadow: 0 25px 50px rgba(79,70,229,.2);
}

.phone__notch {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #1e293b;
}

.phone__screen {
  overflow: hidden;
  border-radius: 2.25rem;
  background: var(--bg);
}

.phone__bar {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}

.phone__body { padding: 1rem; }

.card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
}

.card--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.75rem;
  margin-top: 0.75rem;
}

.pet-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pet-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--indigo-50);
  display: grid;
  place-items: center;
  font-size: 1.125rem;
}

.pet-name { font-size: 0.875rem; font-weight: 600; margin: 0; }
.pet-breed { font-size: 0.75rem; color: var(--text-muted); margin: 0; }

.dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; display: inline-block; }
.dot--green { background: var(--secondary); }
.dot--indigo { background: var(--primary); }
.dot--violet { background: #8b5cf6; }

.row-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.row-value { font-size: 0.75rem; font-weight: 500; }

.chart-card {
  margin-top: 0.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: #fff;
  padding: 1rem;
}

.chart-card p { margin: 0; font-size: 0.75rem; opacity: .9; }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  height: 4rem;
  margin-top: 0.75rem;
}

.chart-bars span {
  flex: 1;
  border-radius: 2px;
  background: rgba(255,255,255,.3);
}

.phone__nav {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 0.75rem 0.5rem;
  font-size: 1.125rem;
}

.phone__nav span { opacity: .4; }
.phone__nav span.active { opacity: 1; }

/* Sections */
.section { padding: 5rem 0; }

.section--center { text-align: center; }

.section__title {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0;
}

.section__lead {
  margin: 1rem auto 0;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.grid-4 {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: border-color .2s, box-shadow .2s;
}

.feature-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 10px 30px rgba(79,70,229,.05);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  background: var(--indigo-50);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.feature-card p { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

.grid-3 {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.package-card--popular {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(79,70,229,.1);
}

.package-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.package-card h3 { margin: 0; font-size: 1.25rem; }
.package-card .desc { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--text-muted); }
.package-price { margin-top: 1.5rem; font-size: 1.875rem; font-weight: 700; }
.package-price small { font-size: 0.875rem; font-weight: 400; color: var(--text-muted); }

.package-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  flex: 1;
}

.package-features li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

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

.package-cta {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}

.package-cta--primary { background: var(--primary); color: #fff; }
.package-cta--muted {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
}

.section-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Download */
.download {
  border-block: 1px solid var(--border);
  background: linear-gradient(135deg, #4f46e5, #6d28d9, #5b21b6);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.download p { color: #e0e7ff; max-width: 36rem; margin: 1rem auto 0; font-size: 1.125rem; }

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.5rem;
  opacity: .7;
}

.store-badge svg { width: 2rem; height: 2rem; }
.store-badge small { display: block; font-size: 0.75rem; opacity: .8; }
.store-badge strong { font-size: 0.875rem; }

.download a { color: #fff; text-decoration: underline; }

/* FAQ */
.faq-list { margin-top: 3rem; max-width: 48rem; margin-inline: auto; }

.faq-item {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.5rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary span { color: var(--primary); transition: transform .2s; }
.faq-item[open] summary span { transform: rotate(45deg); }

.faq-item p {
  margin: 0;
  padding: 0 1.5rem 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand p { margin: 1rem 0 0; max-width: 22rem; font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: inherit;
}

.footer-logo img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.15);
  object-fit: cover;
}

.footer-logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.footer-logo__text strong {
  font-size: 1.125rem;
  font-weight: 700;
}

.footer-logo__text small {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-email {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.footer-email:hover { text-decoration: underline; }

.footer-note {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.footer-col h4 { margin: 0; font-size: 0.875rem; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.footer-col li { margin-bottom: 0.5rem; font-size: 0.875rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* Inner pages */
.page { padding: 4rem 0 6rem; }
.page-narrow { max-width: 48rem; margin: 0 auto; }
.back-link { font-size: 0.875rem; font-weight: 500; color: var(--primary); }
.back-link:hover { text-decoration: underline; }
.page h1 { margin: 1.5rem 0 0; font-size: clamp(1.875rem, 4vw, 2.25rem); }
.page-meta { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--text-muted); }
.page-intro { margin: 1rem 0 0; font-size: 1.125rem; color: var(--text-muted); }

.prose section { margin-top: 2rem; }
.prose h2 { font-size: 1.25rem; margin: 0; }
.prose p, .prose ul { margin: 0.75rem 0 0; color: var(--text-muted); line-height: 1.7; }
.prose ul { padding-left: 1.25rem; }
.prose a { color: var(--primary); font-weight: 500; }
.prose a:hover { text-decoration: underline; }

.grid-3-support {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) { .grid-3-support { grid-template-columns: repeat(3, 1fr); } }

.info-box {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-top: 2.5rem;
}

.info-box h2 { margin: 0; font-size: 1.25rem; }
.info-box dl { margin: 1.5rem 0 0; }
.info-box dt { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }
.info-box dd { margin: 0.25rem 0 1rem; }
.info-box dd a { color: var(--primary); font-size: 1.125rem; font-weight: 500; }
