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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background: #e5f0ff;
}

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

.container {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #0f172a;
  color: #e5e7eb;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

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

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}

.logo span {
  margin-left: 4px;
  color: #38bdf8;
}

.nav {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
}

.nav a {
  padding: 6px 10px;
  border-radius: 999px;
  color: #cbd5f5;
  transition: background 0.2s;
}

.nav a:hover {
  background: rgba(148, 163, 184, 0.3);
}

.social-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  flex-wrap: wrap;
}

.social-header span {
  color: #9ca3af;
}

.social-header a {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.2);
  font-weight: 500;
}

.hero {
  padding: 40px 0 32px;
  background: linear-gradient(180deg, #dbeafe, #e5f0ff);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 24px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.hero-text p {
  color: #1e293b;
  margin-bottom: 12px;
}

.hero-list {
  list-style: none;
  margin-bottom: 16px;
  color: #0f172a;
  font-size: 0.95rem;
}

.hero-list li {
  margin-bottom: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.1s, box-shadow 0.1s, background 0.15s;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  color: #eff6ff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: transparent;
  color: #0f172a;
  border: 1px solid #93c5fd;
}

.btn-secondary:hover {
  background: #e0f2fe;
}

.hero-images {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.hero-main-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
  background: #1d4ed8;
}

.hero-thumbs {
  display: flex;
  gap: 8px;
}

.hero-thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25);
}

.section {
  padding: 36px 0;
}

.section-alt {
  background: #e0edf9;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.subtitle {
  color: #475569;
  margin-bottom: 16px;
}

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

.grid4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 12px 14px 14px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.card img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 8px;
}

.card h3 {
  margin-bottom: 6px;
}

.card p {
  font-size: 0.95rem;
  color: #475569;
}

.mini-card {
  padding: 10px 10px 12px;
}

.section-order {
  background: #dbeafe;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: flex-start;
}

.form {
  margin-top: 6px;
  background: #ffffff;
  border-radius: 20px;
  padding: 16px 16px 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px 14px;
}

label {
  font-size: 0.9rem;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

input,
select,
textarea {
  padding: 7px 8px;
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  font-size: 0.95rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
  background: #ffffff;
}

.full {
  grid-column: 1 / -1;
}

.form-footer {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.status {
  font-size: 0.85rem;
  color: #64748b;
}

.status.error {
  color: #b91c1c;
}

.status.success {
  color: #15803d;
}

.contact-card {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 20px;
  padding: 14px 14px 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.contact-card h3 {
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-socials {
  margin-top: 8px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.social-links a {
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.25);
}

.footer {
  border-top: 1px solid #bfdbfe;
  background: #e0f2fe;
  padding: 10px 0 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: #1f2937;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-social a {
  padding: 4px 8px;
  border-radius: 999px;
  background: #bfdbfe;
  font-size: 0.85rem;
}

.thank-body {
  background: linear-gradient(180deg, #dbeafe, #e5f0ff);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.thank-main {
  width: min(1040px, 100%);
}

.thank-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 18px 16px 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
  text-align: center;
  margin-bottom: 16px;
}

.thank-img {
  width: 240px;
  border-radius: 18px;
  margin-bottom: 8px;
}

.thank-card h1 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.thank-card p {
  margin-bottom: 4px;
  color: #1f2937;
}

.mini-shop {
  background: #ffffff;
  border-radius: 22px;
  padding: 18px 16px 18px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
}

.mini-shop h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.mini-text {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 10px;
}

.social-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.btn-social {
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
}

.btn-social.tiktok {
  background: #020617;
  color: #f9fafb;
}

.btn-social.instagram {
  background: radial-gradient(circle at 30% 30%, #f97316, #ec4899, #6366f1);
  color: #f9fafb;
}

.btn-social.facebook {
  background: #1d4ed8;
  color: #eff6ff;
}

.mini-subtitle {
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.mini-item {
  background: #eff6ff;
  border-radius: 18px;
  padding: 10px 10px 12px;
}

.mini-item img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 6px;
}

.mini-item h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.mini-item p {
  font-size: 0.9rem;
  color: #334155;
}

.mini-note {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #64748b;
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-images {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }
  .order-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .nav {
    justify-content: center;
    width: 100%;
    font-size: 0.85rem;
  }
  .hero {
    padding-top: 28px;
  }
  .form {
    padding: 14px 12px;
  }
  .thank-card,
  .mini-shop {
    padding: 16px 12px 14px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.logo-text {
  font-weight: 800;
}

.btn-primary {
  animation: pulseBtn 2.6s infinite;
}

@keyframes pulseBtn {
  0% { transform: translateY(0) scale(1); box-shadow: 0 10px 25px rgba(37,99,235,0.35); }
  50% { transform: translateY(-1px) scale(1.02); box-shadow: 0 18px 36px rgba(37,99,235,0.55); }
  100% { transform: translateY(0) scale(1); box-shadow: 0 10px 25px rgba(37,99,235,0.35); }
}

input.input-invalid {
  border-color: #b91c1c;
  background: #fee2e2;
}

.field-error {
  font-size: 0.8rem;
  color: #b91c1c;
}

.thank-logo {
  width: 80px;
  border-radius: 16px;
  margin-bottom: 6px;
}

.btn-return {
  margin-top: 8px;
  background: linear-gradient(135deg, #3b82f6, #0ea5e9);
  color: #eff6ff;
  box-shadow: 0 12px 30px rgba(37,99,235,0.45);
}

.btn-return:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(37,99,235,0.6);
}

.thank-messengers {
  margin-top: 10px;
  text-align: center;
}

.messenger-buttons {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.btn-messenger {
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}

.btn-messenger.viber {
  background: #7c3aed;
  color: #f9fafb;
}

.btn-messenger.telegram {
  background: #0ea5e9;
  color: #f9fafb;
}

.btn-messenger.whatsapp {
  background: #16a34a;
  color: #f9fafb;
}
