@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;700&family=Sora:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #f3f4f7;
  --surface: #ffffff;
  --primary: #111827;
  --primary-light: #1f2937;
  --accent: #ff7a45;
  --accent-soft: #ffe7dd;
  --teal: #2f9e99;
  --text: #0f172a;
  --muted: #5f6b7a;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Sora', 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #ffffff, #f3f4f7 45%, #edf1f7 90%),
    linear-gradient(120deg, rgba(255, 122, 69, 0.08), rgba(47, 158, 153, 0.08));
  line-height: 1.7;
}

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

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  gap: 16px;
}

.brand {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.nav a:hover {
  background: rgba(15, 23, 42, 0.08);
}

.nav-toggle {
  display: none;
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 12px 22px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
}

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

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #ffb37a);
  color: #3b1a0a;
}

.section {
  padding: 70px 0;
}

.hero {
  padding: 36px 0 56px;
}

.product-hero {
  padding-bottom: 30px;
}

.hero-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.lead {
  font-size: 1.05rem;
  color: var(--primary-light);
}

.hero-panel {
  background: linear-gradient(145deg, #ffffff, #f4f6fb);
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 0 0 16px;
}

.hero p {
  color: var(--muted);
  margin-bottom: 20px;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: #3b1a0a;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-card {
  background: var(--surface);
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stat {
  background: #f7fbff;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(11, 36, 54, 0.06);
}

.stat strong {
  display: block;
  font-size: 1.2rem;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-bottom: 16px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 32px;
}

.progress-pill {
  display: inline-flex;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
}

.progress-pill .step {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 999px;
}

.progress-pill .step.active {
  background: var(--accent-soft);
  color: #3b1a0a;
  font-weight: 600;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.85rem;
}

.cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.card h3 {
  font-family: 'Fraunces', serif;
  margin-top: 0;
}

.highlight-card {
  background: linear-gradient(160deg, #111827, #1f2937);
  color: white;
}

.highlight-card p {
  color: rgba(255, 255, 255, 0.75);
}

.product-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product-card {
  display: grid;
  gap: 12px;
  padding: 26px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.price-block {
  display: grid;
  gap: 6px;
}

.feature-list {
  padding-left: 18px;
  color: var(--muted);
}

.feature-list li {
  margin-bottom: 8px;
}

.feature-list.compact {
  padding-left: 16px;
  margin: 0;
}

.product-card .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

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

.info-banner {
  background: rgba(31, 163, 166, 0.08);
  border: 1px solid rgba(31, 163, 166, 0.2);
  padding: 16px 20px;
  border-radius: 14px;
  margin: 20px 0;
}

.info-banner.subtle {
  background: rgba(255, 122, 69, 0.08);
  border: 1px solid rgba(255, 122, 69, 0.2);
}

.warning-box {
  background: rgba(255, 179, 71, 0.2);
  border: 1px solid rgba(255, 179, 71, 0.5);
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.error-box {
  background: #ffe3e3;
  border: 1px solid #ff8787;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 16px;
}

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

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(255, 122, 69, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 122, 69, 0.15);
}

.iframe-card {
  margin-top: 24px;
}

#paytriframe {
  width: 100%;
  min-height: 640px;
  border: none;
}

.site-footer {
  padding: 50px 0;
  background: linear-gradient(120deg, #111827, #0f172a);
  color: white;
}

.footer-inner {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
}

.footer-title {
  font-weight: 700;
}

.paytr-logo {
  max-width: 160px;
  margin-top: 8px;
  filter: brightness(1.1) contrast(1.05);
}

.paytr-logos {
  margin-top: 12px;
  border-radius: 10px;
}

.paytr-badge {
  max-width: 160px;
  margin-top: 12px;
}

.secure-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.muted {
  color: var(--muted);
}

.narrow {
  max-width: 460px;
  margin: 0 auto;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.details-row td {
  background: #f9fafb;
}

.details-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 12px 0;
}

.details-grid.wide {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.raw-json {
  background: #0f172a;
  color: #e2e8f0;
  padding: 12px;
  border-radius: 8px;
  overflow-x: auto;
}

.inline-form {
  display: grid;
  gap: 8px;
}

.filter-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  align-items: end;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 64px;
    right: 4%;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 50px;
  }

  .btn {
    width: 100%;
  }
}



