@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');
@import url('https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css');

:root {
  --flame-orange: #E85D2C;
  --flame-orange-dark: #C4451A;
  --charcoal: #2B2118;
  --charcoal-light: #3D2F22;
  --mustard: #F0A93D;
  --mustard-light: #FBC96B;
  --cream: #FFF8ED;
  --cream-dark: #FCECD4;
  --paprika-red: #B8342A;
  --sage: #7A8B5C;
  --text-dark: #2B2118;
  --text-muted: #6B5E4F;
  --shadow-warm: rgba(232, 93, 44, 0.25);
  --radius-md: 10px;
  --radius-lg: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--text-dark);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: var(--cream-dark);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--flame-orange), var(--paprika-red));
  border-radius: 10px;
  border: 2px solid var(--cream-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--flame-orange-dark);
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #ffffff;
  box-shadow: 0 2px 18px rgba(43, 33, 24, 0.08);
  border-bottom: 3px solid var(--mustard);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 28px rgba(43, 33, 24, 0.15);
}

.logo-flame {
  filter: drop-shadow(0 2px 4px var(--shadow-warm));
  transition: transform 0.3s ease;
}
.logo-flame:hover {
  transform: rotate(-4deg) scale(1.05);
}

/* Nav links */
.nav-link {
  position: relative;
  font-weight: 600;
  color: var(--charcoal);
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--flame-orange), var(--mustard));
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover {
  color: var(--flame-orange-dark);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link.active {
  color: var(--flame-orange-dark);
}

/* Mobile menu toggle icon animation */
.mobile-menu-toggle {
  transition: transform 0.3s ease;
}
.mobile-menu-toggle:active {
  transform: scale(0.9);
}

.mobile-menu {
  border-top: 3px solid var(--mustard);
}

.mobile-menu a {
  border-bottom: 1px solid rgba(43, 33, 24, 0.08);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--flame-orange), var(--paprika-red));
  color: #ffffff;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px var(--shadow-warm);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px var(--shadow-warm);
  color: #ffffff;
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--flame-orange-dark);
  font-weight: 700;
  padding: 0.8rem 1.9rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--flame-orange);
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--flame-orange);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--charcoal);
  color: var(--mustard-light);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-dark:hover {
  background: var(--charcoal-light);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Cards */
.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(43, 33, 24, 0.06);
  box-shadow: 0 4px 16px rgba(43, 33, 24, 0.06);
  transition: all 0.35s ease;
}
.card:hover {
  box-shadow: 0 16px 36px rgba(232, 93, 44, 0.18);
  transform: translateY(-6px);
  border-color: var(--mustard);
}

.card-static {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(43, 33, 24, 0.08);
  box-shadow: 0 4px 14px rgba(43, 33, 24, 0.06);
  cursor: default;
}

.card-flame-top {
  border-top: 4px solid var(--flame-orange);
}

/* Icon badges */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--mustard-light), var(--mustard));
  color: var(--charcoal);
  font-size: 1.6rem;
  box-shadow: 0 6px 16px rgba(240, 169, 61, 0.35);
}

/* Section styles */
.section-cream {
  background-color: var(--cream);
}
.section-dark {
  background-color: var(--charcoal);
  color: #F5EBDD;
}
.section-dark h1, .section-dark h2, .section-dark h3 {
  color: #ffffff;
}
.section-dark p {
  color: #D8CBB8;
}
.section-dark a:not(.btn-primary):not(.btn-secondary):not(.btn-dark) {
  color: var(--mustard-light);
}

.section-flame-gradient {
  background: linear-gradient(135deg, var(--flame-orange) 0%, var(--paprika-red) 100%);
  color: #ffffff;
}
.section-flame-gradient h1, .section-flame-gradient h2, .section-flame-gradient h3 {
  color: #ffffff;
}
.section-flame-gradient p {
  color: #FCE6D9;
}

/* Divider - wavy */
.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
}

/* Accordion */
.accordion-item {
  border-bottom: 1px solid rgba(43, 33, 24, 0.1);
}
.accordion-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0.5rem;
  font-weight: 700;
  color: var(--charcoal);
  transition: color 0.25s ease;
}
.accordion-header:hover {
  color: var(--flame-orange-dark);
}
.accordion-header .accordion-icon {
  transition: transform 0.3s ease;
  color: var(--flame-orange);
}
.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}
.accordion-content {
  display: none;
  padding: 0 0.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Forms */
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid #E7D9C4;
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-dark);
  transition: all 0.25s ease;
  font-size: 0.95rem;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--flame-orange);
  box-shadow: 0 0 0 4px rgba(232, 93, 44, 0.15);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: #B3A18A;
}

.form-label {
  display: block;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--mustard);
  box-shadow: 0 10px 30px rgba(43, 33, 24, 0.08);
  padding: 2rem;
}

/* Checkbox custom */
.form-checkbox {
  accent-color: var(--flame-orange);
  width: 1.1rem;
  height: 1.1rem;
}

/* Loading Spinner */
.spinner {
  width: 44px;
  height: 44px;
  border: 5px solid var(--cream-dark);
  border-top-color: var(--flame-orange);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--charcoal);
  color: #F5EBDD;
  border-top: 4px solid var(--flame-orange);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
  padding: 1.25rem;
  animation: slideUp 0.5s ease;
}
.cookie-banner h3 {
  color: #ffffff;
}
.cookie-banner p {
  color: #D8CBB8;
}
.cookie-banner a {
  color: var(--mustard-light);
  text-decoration: underline;
}
.cookie-banner a:hover {
  color: #ffffff;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Badges */
.badge-hot {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--mustard);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(240, 169, 61, 0.4);
}

.badge-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 2px solid var(--flame-orange);
  color: var(--flame-orange-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
}

/* Fade/slide animations */
.fade-in-up {
  animation: fadeInUp 0.7s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hover-underline links */
.link-underline {
  position: relative;
  color: var(--flame-orange-dark);
  font-weight: 600;
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--flame-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Testimonial quote marks */
.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--mustard);
  font-family: Georgia, serif;
  opacity: 0.6;
}

/* Pricing table static tier badge */
.tier-badge-popular {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--flame-orange);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 6px 14px var(--shadow-warm);
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: #D8CBB8;
}
.site-footer h3, .site-footer h4 {
  color: #ffffff;
}
.site-footer a {
  color: #D8CBB8;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: var(--mustard-light);
}
.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Social icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #F5EBDD;
  transition: all 0.3s ease;
}
.social-icon:hover {
  background: var(--flame-orange);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Utility highlight text */
.text-flame {
  color: var(--flame-orange-dark);
}
.text-mustard {
  color: var(--mustard);
}
.bg-cream-dark {
  background-color: var(--cream-dark);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .form-card {
    padding: 1.3rem;
  }
}