:root {
  --rose: #e80088;
  --rose-dark: #a8005e;
  --rose-light: #fce8f4;
  --coral: #e80088;
  --gold: #e80088;
  --dark: #080808;
  --mid: #281828;
  --muted: #606060;
  --white: #f8f8f8;
  --card-bg: #ffffff;
  --body-bg: #f8f8f8;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(8, 8, 8, .10);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--body-bg);
  color: var(--dark);
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Navigation */
nav {
  background: var(--rose);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  min-height: 100px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.nav-logo {
  width: 200px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-logo-fallback {
  width: 200px;
  height: 80px;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
}

.nav-logo-fallback span {
  font-size: 4rem;
  font-weight: 900;
  color: var(--rose);
}

.nav-brand-text {
  color: #ffffff;
}

.nav-brand-text span {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-brand-text small {
  color: rgba(255, 255, 255, .8);
  font-size: .8rem;
  font-weight: 500;
  display: block;
  line-height: 1;
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.nav-contact a {
  color: #ffffff;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: opacity .2s;
}

.nav-contact a:hover {
  opacity: .8;
}

/* Hero Banner */
.hero-banner {
  background: var(--rose);
  border-radius: var(--radius);
  padding: 3.5rem 3rem;
  margin: 2rem 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(0, 0, 0, .15) 0%, transparent 60%);
}

.hero-content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero-image {
  flex: 0 1 auto;
  position: relative;
  z-index: 1;
  min-width: 280px;
  max-width: 380px;
  width: 100%;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
  display: block;
}

.hero-banner h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  position: relative;
}

.hero-banner h1 span {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.hero-banner p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .9);
  max-width: 680px;
  margin-top: .9rem;
  line-height: 1.7;
  position: relative;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--coral));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(225, 29, 116, .4);
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(225, 29, 116, .5);
}

.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .22);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--rose);
  color: var(--rose);
}

.btn-outline:hover {
  background: var(--rose);
  color: var(--white);
}

.btn-gold {
  background: #ffffff;
  color: var(--rose);
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

.btn-gold:hover {
  background: #f0f0f0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Section Head */
.section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.section-head h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
}

.pill {
  background: var(--rose-light);
  color: var(--rose);
  font-weight: 700;
  font-size: .85rem;
  padding: .3rem 1rem;
  border-radius: 999px;
}

/* Feature Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--rose);
  transition: transform .25s, box-shadow .25s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(30, 10, 46, .14);
}

.fc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--rose-light), #fce7f3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.fc-icon i {
  font-size: 1.6rem;
  color: var(--rose);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .6rem;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: .97rem;
}

.feature-card .btn {
  margin-top: 1.2rem;
  font-size: .9rem;
  padding: .7rem 1.4rem;
}

/* Policy Banner */
.policy-banner {
  background: var(--rose);
  border-radius: var(--radius);
  padding: 2.8rem 3rem;
  margin: 2.5rem 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.policy-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(0, 0, 0, .12) 0%, transparent 55%);
}

.pb-inner {
  position: relative;
}

.policy-banner h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: .5rem;
}

.policy-banner h2 i {
  color: #ffffff;
  margin-right: .6rem;
}

.policy-tagline {
  color: rgba(255, 255, 255, .85);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.policy-banner blockquote {
  border-left: 4px solid rgba(255, 255, 255, .6);
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, .9);
  font-size: .97rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.policy-item {
  background: rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, .12);
}

.policy-item i {
  color: #ffffff;
  margin-right: .5rem;
}

.policy-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: .3rem;
}

.policy-item span {
  font-size: .9rem;
  color: rgba(255, 255, 255, .85);
}

.policy-price {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #ffffff;
  color: var(--rose);
  font-weight: 800;
  font-size: 1.1rem;
  padding: .6rem 1.5rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.sms-box {
  background: rgba(255, 255, 255, .15);
  border-radius: 12px;
  padding: 1rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, .3);
  font-size: .92rem;
}

.sms-box strong {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
}

/* Venues */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.venue-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.venue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(30, 10, 46, .14);
}

.venue-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.venue-body {
  padding: 1.2rem 1.3rem 1.5rem;
}

.venue-body h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

.venue-price {
  color: var(--rose);
  font-weight: 800;
  font-size: 1.05rem;
  margin: .4rem 0 .3rem;
}

.venue-meta {
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: .8rem;
}

/* Feeding Scheme */
.feeding-card {
  background: var(--rose);
  border-radius: var(--radius);
  padding: 2.5rem 2.8rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow);
  color: #ffffff;
  border-left: 6px solid rgba(255, 255, 255, .4);
}

.feeding-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: .6rem;
}

.feeding-card h2 i {
  color: #ffffff;
  margin-right: .6rem;
}

.feeding-card p {
  color: rgba(255, 255, 255, .9);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.progress-label {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.progress-track {
  flex: 1;
  min-width: 160px;
  height: 14px;
  background: rgba(255, 255, 255, .2);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 68%;
  background: #ffffff;
  border-radius: 999px;
}

.progress-pct {
  background: rgba(255, 255, 255, .15);
  padding: .25rem .9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
}

/* Donation */
.donation-wrapper {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin: 2.5rem 0;
  border: 2px solid var(--rose-light);
}

.donation-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .5rem;
  flex-wrap: wrap;
}

.donation-header i {
  font-size: 2rem;
  color: var(--rose);
}

.donation-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
}

.hekopay-tag {
  margin-left: auto;
  background: var(--dark);
  color: var(--white);
  padding: .35rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.hekopay-tag i {
  color: var(--rose);
}

.donation-iframe-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.donation-iframe-wrap iframe {
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(8,8,8,.12);
  max-width: 100%;
}

.donation-sub {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 1.8rem;
}

.amount-options {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin: .6rem 0 1rem;
}

.amount-btn {
  padding: .65rem 1.4rem;
  border-radius: 999px;
  border: 2px solid #e5e7eb;
  background: var(--white);
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  transition: .2s;
}

.amount-btn.active,
.amount-btn:hover {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
}

.custom-amount-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.custom-amount-row label {
  font-weight: 600;
  font-size: .9rem;
  color: var(--dark);
}

.custom-amount-row input {
  max-width: 160px;
  padding: .75rem 1.1rem;
  border: 2px solid #e5e7eb;
  border-radius: 999px;
  font-size: .97rem;
}

.custom-amount-row input:focus {
  border-color: var(--rose);
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 0, 136, .15);
}

.donate-action {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

.demo-note {
  margin-top: 1.2rem;
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  padding: .75rem 1.2rem;
  border-radius: 12px;
  color: #606060;
  font-size: .88rem;
}

/* Footer */
footer {
  background: var(--rose);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 3rem 2.5rem 1.5rem;
  margin-top: 3rem;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col p,
.footer-col a {
  color: rgba(255, 255, 255, .8);
  font-size: .92rem;
  line-height: 1.8;
  text-decoration: none;
  display: block;
}

.footer-col a:hover {
  color: #ffffff;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
}

.social-row a {
  width: 40px;
  height: 40px;
  background: #ffffff;
  color: var(--rose);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}

.social-row a:hover {
  opacity: .85;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .2);
  padding-top: 1.4rem;
  margin-top: .5rem;
  text-align: center;
  color: rgba(255, 255, 255, .7);
  font-size: .88rem;
}

/* Success/Cancel Pages */
.min-h-screen {
  min-height: 100vh;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-card {
  max-width: 500px;
  width: 100%;
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #d1fae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon i {
  font-size: 3rem;
  color: #10b981;
}

.cancel-icon {
  width: 80px;
  height: 80px;
  background: #ffedd5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.cancel-icon i {
  font-size: 3rem;
  color: #f97316;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--rose);
  font-weight: 600;
  text-decoration: none;
  font-size: .95rem;
  margin-bottom: 1.5rem;
  transition: gap .2s;
}

.back-link:hover {
  gap: .8rem;
}

/* Payment Modal */
.pay-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, .6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.pay-modal-overlay.active {
  display: flex;
}

.pay-modal {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 64px rgba(8, 8, 8, .25);
  overflow: hidden;
  animation: modalIn .25s ease;
  position: relative;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.pay-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--rose-light);
  color: var(--rose);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .2s;
  z-index: 2;
}

.pay-modal-close:hover {
  background: #f9c8e8;
}

.pay-modal-header {
  background: linear-gradient(135deg, var(--rose), #c4006e);
  padding: 2rem 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #ffffff;
}

.pay-modal-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pay-modal-logo i {
  font-size: 1.5rem;
  color: #ffffff;
}

.pay-modal-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: .2rem;
}

.pay-modal-header p {
  font-size: .9rem;
  color: rgba(255,255,255,.85);
}

.pay-modal-header p strong {
  color: #ffffff;
  font-size: 1rem;
}

.pay-modal-body {
  padding: 1.8rem 2rem 2rem;
}

.pay-field-group {
  margin-bottom: 1.2rem;
}

.pay-field-group label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: .45rem;
  letter-spacing: .3px;
}

.pay-field-group label i {
  margin-right: .35rem;
  color: var(--rose);
}

.pay-field-group input {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Courier New', monospace;
  letter-spacing: .5px;
  background: #fafafa;
  color: var(--dark);
  transition: border-color .2s, box-shadow .2s;
}

.pay-field-group input:focus {
  border-color: var(--rose);
  outline: none;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(232, 0, 136, .12);
}

.pay-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .75rem;
}

.pay-modal-error {
  background: #fff0f4;
  border: 1px solid #ffc0d4;
  color: #c0003a;
  padding: .75rem 1rem;
  border-radius: 10px;
  font-size: .88rem;
  margin-bottom: 1rem;
}

.pay-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1.05rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--rose), #c4006e);
  box-shadow: 0 6px 20px rgba(232, 0, 136, .35);
  margin-bottom: 1.2rem;
}

.pay-submit-btn:hover {
  box-shadow: 0 10px 28px rgba(232, 0, 136, .45);
}

.pay-modal-secure {
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  flex-wrap: wrap;
}

.pay-modal-secure i.fa-shield-alt {
  color: #22c55e;
}

.pay-modal-secure .fab {
  font-size: 1.3rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  .pay-modal {
    border-radius: 20px 20px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    animation: modalUp .25s ease;
  }

  @keyframes modalUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }

  .pay-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .pay-field-row {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 0.8rem 1rem;
  }
  
  .hero-banner {
    padding: 2.2rem 1.5rem;
    flex-direction: column;
    gap: 1.8rem;
  }
  
  .hero-banner h1 {
    font-size: 2rem;
  }
  
  .hero-image {
    min-width: 240px;
    max-width: 100%;
  }
  
  .policy-banner {
    padding: 1.8rem 1.5rem;
  }
  
  .feeding-card {
    padding: 1.8rem 1.5rem;
  }
  
  .donation-wrapper {
    padding: 1.5rem;
  }
  
  .hekopay-tag {
    margin-left: 0;
  }
  
  .nav-logo {
    width: 150px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    padding: 1.5rem 1rem;
  }
  
  .hero-banner h1 {
    font-size: 1.7rem;
  }
  
  .hero-image {
    min-width: 100%;
    max-width: 100%;
  }
  
  .grid-3,
  .venue-grid {
    grid-template-columns: 1fr;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .nav-brand-text span {
    font-size: 1.2rem;
  }
}
