/* ============================================
   ROOT — Truffle POS design tokens
   Colors, fonts, typography, buttons
   ============================================ */

/* Fonts (from Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-primary: "Inter", sans-serif;
  /* Brand Colors (extracted from Truffle screenshot) */
  --tf-primary-color: #F26B3A;
  /* main vivid orange (buttons, accents) */
  --tf-primary-dark: #E25526;
  /* darker orange hover */
  --tf-primary-light: #FF8A5C;
  /* lighter orange */
  --tf-peach-color: #FFE5D6;
  /* light peach section bg */
  --tf-peach-soft: #FFF1E8;
  /* very soft peach */
  --tf-black-color: #141414;
  /* footer / deep black */
  --tf-dark-color: #1A1A1A;
  /* heading text */
  --tf-text-color: #2B2B2B;
  /* body text */
  --tf-muted-color: #6B6B6B;
  /* paragraph muted */
  --tf-border-color: #EDEDED;
  /* subtle borders */
  --tf-white-color: #FFFFFF;
  --tf-off-white-color: #FAFAFA;
  --tf-yellow-star: #FFB400;
  /* testimonial stars */
}

/* ============================================
   Base resets
   ============================================ */
a {
  text-decoration: none;
}

html,
body {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body,
button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li {
  font-family: var(--font-primary) !important;
}

button {
  outline: none !important;
}

/* ============================================
   Font utility classes
   ============================================ */
.heading-font {
  font-family: "Inter", sans-serif !important;
}

.subheading-font {
  font-family: "Inter", sans-serif !important;
}

.para-font {
  font-family: "Inter", sans-serif !important;
}

.button-font {
  font-family: "Inter", sans-serif !important;
}

/* ============================================
   Text & Background color utilities
   ============================================ */
.t-primary {
  color: var(--tf-primary-color) !important;
}

.t-dark {
  color: var(--tf-dark-color) !important;
}

.t-black {
  color: var(--tf-black-color) !important;
}

.t-white {
  color: var(--tf-white-color) !important;
}

.t-muted {
  color: var(--tf-muted-color) !important;
}

.t-peach {
  color: var(--tf-peach-color) !important;
}

.bg-primary {
  background-color: var(--tf-primary-color) !important;
}

.bg-peach {
  background-color: var(--tf-peach-color) !important;
}

.bg-peach-soft {
  background-color: var(--tf-peach-soft) !important;
}

.bg-black {
  background-color: var(--tf-black-color) !important;
}

.bg-dark {
  background-color: var(--tf-dark-color) !important;
}

.bg-white {
  background-color: var(--tf-white-color) !important;
}

.bg-off-white {
  background-color: var(--tf-off-white-color) !important;
}

/* ============================================
   Typography (analysed from screenshot)
   ============================================ */
.h1 {
  font-family: "Inter", sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15em;
  color: var(--tf-dark-color);
  letter-spacing: -0.5px;
}

.h2 {
  font-family: "Inter", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2em;
  color: var(--tf-dark-color);
  letter-spacing: -0.3px;
}

.h3 {
  font-family: "Inter", sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.25em;
  color: var(--tf-dark-color);
}

.h4 {
  font-family: "Inter", sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3em;
  color: var(--tf-dark-color);
}

.h5 {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35em;
  color: var(--tf-dark-color);
}

.h6 {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4em;
  color: var(--tf-dark-color);
}

.section-label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tf-primary-color);
}

.para {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7em;
  color: var(--tf-muted-color);
}

.para-small {
  font-size: 14px;
}

.small {
  font-size: 13px !important;
}

.ex-small {
  font-size: 11px !important;
}

/* Stat counter (the big "60%" cards in testimonials) */
.counter {
  font-family: "Inter", sans-serif;
  font-size: 80px;
  line-height: 1em;
  font-weight: 700;
  color: var(--tf-white-color);
}

.container {
  padding-left: 15px;
  padding-right: 15px;
}

/* ============================================
   Responsive typography
   ============================================ */
@media screen and (max-width: 900px) {
  .h1 {
    font-size: 42px;
  }

  .h2 {
    font-size: 34px;
  }

  .h3 {
    font-size: 28px;
  }

  .h4 {
    font-size: 22px;
  }

  .h5 {
    font-size: 18px;
  }

  .h6 {
    font-size: 16px;
  }

  .para {
    font-size: 15px;
  }

  .counter {
    font-size: 60px;
  }
}

@media screen and (max-width: 600px) {
  .h1 {
    font-size: 32px;
  }

  .h2 {
    font-size: 26px;
  }

  .h3 {
    font-size: 22px;
  }

  .h4 {
    font-size: 19px;
  }

  .h5 {
    font-size: 17px;
  }

  .h6 {
    font-size: 15px;
  }

  .para {
    font-size: 14px;
  }

  .counter {
    font-size: 48px;
  }
}

/* ============================================
   Helper utilities
   ============================================ */
.ls-1 {
  letter-spacing: 1px !important;
}

.ls-2 {
  letter-spacing: 2px !important;
}

.br-8 {
  border-radius: 8px !important;
}

.br-12 {
  border-radius: 12px !important;
}

.br-16 {
  border-radius: 16px !important;
}

.br-25 {
  border-radius: 25px !important;
}

.br-pill {
  border-radius: 50rem !important;
}

.mw-250 {
  min-width: 250px;
}

.section-padding {
  padding: 90px 0;
}

/* ============================================
   Theme Button — Solid Orange (primary CTA)
   Matches "Start Free Trial" / "Book A Demo"
   ============================================ */
.theme-button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50rem;
  color: var(--tf-white-color);
  background-color: var(--tf-primary-color);
  border: solid 1px var(--tf-primary-color) !important;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.35s ease;
}

.theme-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--tf-primary-dark);
  transition: width 0.35s ease;
  z-index: -1;
}

.theme-button:hover {
  color: var(--tf-white-color);
  box-shadow: 0 8px 20px rgba(242, 107, 58, 0.35);
  transform: translateY(-2px);
}

.theme-button:hover::before {
  width: 100%;
}

/* ============================================
   Theme Button — Outline (secondary CTA)
   Matches the white "Book A Demo" outline variant
   ============================================ */
.theme-button-outline {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50rem;
  color: var(--tf-primary-color);
  background-color: transparent;
  border: solid 1px var(--tf-primary-color) !important;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.35s ease;
}

.theme-button-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--tf-primary-color);
  transition: width 0.35s ease;
  z-index: -1;
}

.theme-button-outline:hover {
  color: var(--tf-white-color);
  transform: translateY(-2px);
}

.theme-button-outline:hover::before {
  width: 100%;
}

/* ============================================
   Theme Button — Dark (on light bg, e.g. footer CTA)
   ============================================ */
.theme-button-dark {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50rem;
  color: var(--tf-white-color);
  background-color: var(--tf-dark-color);
  border: solid 1px var(--tf-dark-color) !important;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.35s ease;
}

.theme-button-dark:hover {
  background-color: var(--tf-primary-color);
  border-color: var(--tf-primary-color) !important;
  color: var(--tf-white-color);
  transform: translateY(-2px);
}

/* ============================================
   Theme Link Button — underlined text link
   ============================================ */
.theme-link-button {
  position: relative;
  display: inline-block;
  color: var(--tf-dark-color);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  transition: color 0.3s ease;
}

.theme-link-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background-color: var(--tf-primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.theme-link-button:hover {
  color: var(--tf-primary-color);
}

.theme-link-button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}