:root {
  --primary: #D4845C;
  --primary-foreground: #F5E6D3;
  --background: #F9F5F0;
  --foreground: #4A3F38;
  --card: #FEFAF5;
  --card-foreground: #4A3F38;
  --muted: #D4C4B8;
  --muted-foreground: #8B7B6F;
  --accent: #D4845C;
  --accent-foreground: #F5E6D3;
  --destructive: #C85A54;
  --destructive-foreground: #F5E6D3;
  --border: #E8D7C8;
  --input: #FEFAF5;
  --ring: #D4845C;
  --radius: 1.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Sarabun', 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sarabun', sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 1280px;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.3), inset 0 0 20px rgba(234, 88, 12, 0.05);
    border-color: rgba(234, 88, 12, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(234, 88, 12, 0.6), inset 0 0 30px rgba(234, 88, 12, 0.1);
    border-color: rgba(234, 88, 12, 0.7);
  }
}

@keyframes bounce-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-fade-in {
  animation: fade-in 0.6s ease-out;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.animate-bounce-slow {
  animation: bounce-slow 2s ease-in-out infinite;
}

.text-gradient {
  background: linear-gradient(to right, #ea580c, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: linear-gradient(to right, #ea580c, #d97706);
}

.bg-gradient-warm {
  background: linear-gradient(to bottom, #2D1B69, #1A3A52, #0F1419);
}

.bg-gradient-orange {
  background: linear-gradient(to right, rgba(234, 88, 12, 0.15), rgba(217, 119, 6, 0.15));
}

.bg-gradient-orange-light {
  background: linear-gradient(to bottom, rgba(251, 146, 60, 0.3), var(--background));
}

.border-gradient {
  border: 2px solid rgba(234, 88, 12, 0.4);
}

.border-orange {
  border:1px solid #ea580c;
}

.text-orange-600 {
  color: #ea580c;
}

.text-orange-700 {
  color: #c2410c;
}

.text-amber-700 {
  color: #b45309;
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.bg-orange-600 {
  background-color: #ea580c;
}

.bg-orange-600:hover {
  background-color: #c2410c;
}

.bg-orange-100 {
  background-color: #ffedd5;
}

.bg-orange-100:hover {
  background-color: #fed7aa;
}

.bg-orange-200 {
  background-color: #fed7aa;
}

.bg-card {
  background-color: var(--card);
}

.bg-background {
  background-color: var(--background);
}

.bg-white {
  background-color: #ffffff;
}

.bg-yellow-100 {
  background-color: #fef9c3;
}

.bg-yellow-200 {
  background-color: #fef08a;
}

.bg-yellow-300 {
  background-color: #fde047;
}

.text-yellow-900 {
  color: #713f12;
}

.border-border {
  border-color: var(--border);
}

.border-orange-600 {
  border-color: #ea580c;
}

.border-orange-200 {
  border-color: #fed7aa;
}

.border-orange-700 {
  border-color: #c2410c;
}

.border-\[\#bb4d00\] {
  border-color: #bb4d00;
}

.text-\[\#973c00\] {
  color: #973c00;
}

.active\:bg-\[\#eedbd3\]:active {
  background-color: #eedbd3;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-orange-600\/50 {
  box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.5);
}

.shadow-orange-600\/70 {
  box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.7);
}

.shadow-orange-600\/20 {
  box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.2);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.backdrop-blur-md {
  backdrop-filter: blur(8px);
}

.transition {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

.hover\:bg-orange-600\/10:hover {
  background-color: rgba(234, 88, 12, 0.1);
}

.hover\:bg-orange-700:hover {
  background-color: #c2410c;
}

.hover\:border-orange-600:hover {
  border-color: #ea580c;
}

.hover\:border-orange-700:hover {
  border-color: #c2410c;
}

.hover\:text-orange-600:hover {
  color: #ea580c;
}

.hover\:text-orange-700:hover {
  color: #c2410c;
}

.hover\:bg-yellow-200:hover {
  background-color: #fef08a;
}

.hover\:shadow-orange-600\/20:hover {
  box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.2);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.space-x-3 > * + * {
  margin-left: 0.75rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.p-12 {
  padding: 3rem;
}

.px-3 {
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.px-12 {
  padding-left: 3rem;
  padding-right: 3rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-32 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pt-12 {
  padding-top: 3rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pb-12 {
  padding-bottom: 3rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.ml-6 {
  margin-left: 1.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-4 {
  margin-right: 1rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-6xl {
  font-size: 3.75rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.75;
}

.text-center {
  text-align: center;
}

.text-foreground {
  color: var(--foreground);
}

.text-white {
  color: #ffffff;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.w-auto {
  width: auto;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.min-h-screen {
  min-height: 100vh;
}

.h-1 {
  height: 0.25rem;
}

.h-2 {
  height: 0.5rem;
}

.h-6 {
  height: 1.5rem;
}

.h-12 {
  height: 3rem;
}

.h-14 {
  height: 3.5rem;
}

.h-24 {
  height: 6rem;
}

.h-48 {
  height: 12rem;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-12 {
  width: 3rem;
}

.w-24 {
  width: 6rem;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-1 {
  flex-grow: 1;
}

.inline {
  display: inline;
}

.inline-block {
  display: inline-block;
}

.block {
  display: block;
}

.hidden {
  display: none;
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  inset: 0;
}

.object-cover {
  object-fit: cover;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.border-t {
  border-top-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border {
  border-width: 1px;
}

.border-orange {
  border-color:#ea580c;
}

.border-2 {
  border-width: 2px;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.bg-transparent {
  background-color: transparent;
}

.bg-background\/95 {
  background-color: rgba(249, 245, 240, 0.95);
}

.bg-card\/50 {
  background-color: rgba(254, 250, 245, 0.5);
}

.bg-orange-600\/20 {
  background-color: rgba(234, 88, 12, 0.2);
}

.bg-amber-700\/20 {
  background-color: rgba(180, 83, 9, 0.2);
}

.bg-yellow-700\/20 {
  background-color: rgba(161, 98, 7, 0.2);
}

.bg-orange-600\/10 {
  background-color: rgba(234, 88, 12, 0.1);
}

.bg-orange-600\/15 {
  background-color: rgba(234, 88, 12, 0.15);
}

.bg-cyan-500\/10 {
  background-color: rgba(6, 182, 212, 0.1);
}

.bg-pink-500\/10 {
  background-color: rgba(236, 72, 153, 0.1);
}

.bg-orange-50\/30 {
  background-color: rgba(255, 247, 237, 0.3);
}

.blur-2xl {
  filter: blur(40px);
}

@media (min-width: 640px) {
  .sm\:text-base {
    font-size: 1rem;
  }

  .sm\:text-lg {
    font-size: 1.125rem;
  }

  .sm\:text-xl {
    font-size: 1.25rem;
  }

  .sm\:text-4xl {
    font-size: 2.25rem;
  }

  .sm\:text-5xl {
    font-size: 3rem;
  }

  .sm\:text-6xl {
    font-size: 3.75rem;
  }

  .sm\:gap-3 {
    gap: 0.75rem;
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:h-14 {
    height: 3.5rem;
  }

  .sm\:px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .sm\:w-auto {
    width: auto;
  }

  .sm\:inline {
    display: inline;
  }

  .sm\:flex {
    display: flex;
  }

  .sm\:hidden {
    display: none;
  }
}

@media (min-width: 768px) {
  .md\:text-xl {
    font-size: 1.25rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
  }

  .md\:text-6xl {
    font-size: 3.75rem;
  }

  .md\:py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .md\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:flex-col {
    flex-direction: column;
  }

  .md\:items-center {
    align-items: center;
  }

  .md\:p-8 {
    padding: 2rem;
  }

  .md\:p-12 {
    padding: 3rem;
  }

  .md\:gap-8 {
    gap: 2rem;
  }

  .md\:gap-12 {
    gap: 3rem;
  }

  .md\:hidden {
    display: none;
  }

  .md\:inline {
    display: inline;
  }

  .md\:flex {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .lg\:text-6xl {
    font-size: 3.75rem;
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:flex {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: #ea580c;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #c2410c;
  transform: scale(1.05);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #ea580c;
  color: #ea580c;
}

.btn-outline:hover {
  background-color: rgba(234, 88, 12, 0.1);
}

.btn-ghost {
  background-color: transparent;
  color: #ea580c;
}

.btn-ghost:hover {
  background-color: rgba(234, 88, 12, 0.1);
}

.btn-lg {
  padding: 1rem 3rem;
  font-size: 1.125rem;
  height: 3.5rem;
}

.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
}

.card:hover {
  border-color: #ea580c;
  box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.2);
  transform: translateY(-0.25rem);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-orange {
  background-color: #fde047;
  color: #713f12;
}

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--background);
  color: var(--foreground);
  font-size: 1rem;
}

.input:focus {
  outline: none;
  ring: 2px solid #ea580c;
}

.input::placeholder {
  color: var(--muted-foreground);
}

.prose {
  max-width: 65ch;
  color: var(--foreground);
}

.prose h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #c2410c;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #c2410c;
}

.prose p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.prose li {
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose strong {
  font-weight: 700;
  color: #c2410c;
  margin: 0.75rem 0;
  display: block;
}

.prose ul {
  list-style-type: disc;
}

.prose ul li::marker {
  color: #ea580c;
}

.glow-cyan {
  box-shadow: 0 0 20px rgba(212, 132, 92, 0.4), inset 0 0 20px rgba(212, 132, 92, 0.05);
}

.glow-pink {
  box-shadow: 0 0 20px rgba(201, 149, 109, 0.4), inset 0 0 20px rgba(201, 149, 109, 0.05);
}

.glow-gold {
  box-shadow: 0 0 20px rgba(230, 168, 118, 0.4), inset 0 0 20px rgba(230, 168, 118, 0.05);
}

.cursor-pointer {
  cursor: pointer;
}

.group:hover .group-hover\:bg-yellow-200 {
  background-color: #fef08a;
}

.group:hover .group-hover\:text-orange-600 {
  color: #ea580c;
}

.group:hover .group-hover\:text-orange-700 {
  color: #c2410c;
}

.group:hover .group-hover\:border-orange-700 {
  border-color: #c2410c;
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

.group:hover .group-hover\:-translate-y-1 {
  transform: translateY(-0.25rem);
}

.group:hover .group-hover\:border-orange-600 {
  border-color: #ea580c;
}

.group:hover .group-hover\:shadow-orange-600\/20 {
  box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.2);
}

.group:hover .group-hover\:bg-orange-600\/10 {
  background-color: rgba(234, 88, 12, 0.1);
}

.group:hover .group-hover\:bg-orange-700 {
  background-color: #c2410c;
}

.group:hover .group-hover\:text-orange-700 {
  color: #c2410c;
}

.group:hover .group-hover\:bg-orange-600\/10 {
  background-color: rgba(234, 88, 12, 0.1);
}

.-top-3 {
  top: -0.75rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 9999px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: #bb4d00;
  border: 2px solid #bb4d00;
  background: transparent;
  transition: all 0.25s ease;
}

.cta-button:hover {
  background-color: #fff1e6;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, #ea580c, #d97706);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #c2410c, #b45309);
  box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.6);
  transform: translateY(-2px);
}

.back-to-top:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
  }
}