/* ── VARIABLES ── */
:root {
  --bg:             #FFF9F4;
  --bg-alt:         #FFF4ED;
  --bg-dark:        #1C0F09;
  --brand-blue:     #2563EB;
  --primary:        #C2410C;
  --primary-dark:   #9A3412;
  --primary-light:  rgba(194,65,12,0.08);
  --amber:          #F59E0B;
  --text:           #3D2010;
  --text-muted:     #7C6659;
  --text-light:     #A68B7E;
  --border:         #E8D7CB;
  --border-light:   #F0E3D7;
  --white:          #FFFFFF;
  --radius:         1rem;
  --radius-sm:      0.5rem;
  --shadow:         0 4px 16px rgba(61,32,16,0.08), 0 1px 4px rgba(61,32,16,0.04);
  --shadow-lg:      0 16px 40px rgba(61,32,16,0.12), 0 4px 12px rgba(61,32,16,0.06);
  --t:              0.2s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── LAYOUT ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px)  { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }
.section     { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark{ background: var(--bg-dark); }
.text-center { text-align: center; }
.max-w-2xl   { max-width: 42rem; margin-left: auto; margin-right: auto; }
.max-w-3xl   { max-width: 52rem; margin-left: auto; margin-right: auto; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800; line-height: 1.15; color: var(--text);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem);  letter-spacing: -0.02em; }
h3 { font-size: 1.2rem;  font-weight: 700; }
h4 { font-size: 0.9375rem; font-weight: 700; }
.overline {
  font-family: 'Lato', sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary);
  display: block; margin-bottom: 0.75rem;
}
.body-text { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.75; }
.body-sm   { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; }
.body-xs   { font-size: 0.8125rem; color: var(--text-light); }
.section-hd        { margin-bottom: 4rem; }
.section-hd h2     { margin: 0.5rem 0 1rem; }
.section-hd p      { max-width: 40rem; margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; font-family: 'Lato', sans-serif;
  font-size: 0.9375rem; font-weight: 700; border-radius: 0.625rem;
  transition: all var(--t); white-space: nowrap; cursor: pointer;
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }
.btn-primary {
  background: var(--primary); color: var(--white);
  box-shadow: 0 4px 14px rgba(194,65,12,0.28);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(194,65,12,0.38);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: var(--primary); border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-light); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,0.1); color: var(--white);
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,249,244,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--t);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(61,32,16,0.08); }
.navbar-inner { display: flex; align-items: center; gap: 1.5rem; height: 4rem; }
.navbar-logo  { display: flex; align-items: center; flex-shrink: 0; }
.logo-stack   { display: flex; flex-direction: column; align-items: center; line-height: 1; gap: 0.1rem; }
.logo-main { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 1.25rem; color: var(--brand-blue); letter-spacing: -0.03em; }
.logo-sub  { font-family: 'Lato', sans-serif; font-weight: 700; font-size: 0.58rem; color: var(--text-muted); letter-spacing: 0.22em; text-transform: uppercase; }
.nav-links { display: none; gap: 0.125rem; flex: 1; margin-left: 0.5rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  font-family: 'Lato', sans-serif; font-size: 0.875rem; font-weight: 600;
  color: var(--text-muted); padding: 0.4rem 0.7rem; border-radius: 0.5rem;
  transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: var(--text); background: var(--border-light); }
.nav-cta { display: none; gap: 0.625rem; margin-left: auto; }
@media (min-width: 768px) { .nav-cta { display: flex; } }
.hamburger {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 0.5rem;
  color: var(--text); margin-left: auto; transition: background var(--t);
}
.hamburger:hover { background: var(--border-light); }
.hamburger svg  { width: 1.25rem; height: 1.25rem; }
@media (min-width: 768px) { .hamburger { display: none; } }
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem; font-weight: 600; color: var(--text);
  padding: 0.625rem 0; border-bottom: 1px solid var(--border-light);
}
.mobile-menu-cta { display: flex; flex-direction: column; gap: 0.625rem; margin-top: 1rem; }

/* ── HERO ── */
.hero {
  position: relative; overflow: hidden;
  padding: 6rem 0 5rem;
  background: linear-gradient(160deg, #FFF9F4 0%, #FFF4ED 55%, #FDEEDE 100%);
}
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.orb-1 {
  width: 38rem; height: 38rem; top: -14rem; right: -10rem;
  background: radial-gradient(circle, rgba(194,65,12,0.09) 0%, transparent 70%);
}
.orb-2 {
  width: 26rem; height: 26rem; bottom: -10rem; left: -6rem;
  background: radial-gradient(circle, rgba(245,158,11,0.07) 0%, transparent 70%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(194,65,12,0.09); color: var(--primary);
  font-family: 'Lato', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 1rem; border-radius: 9999px; margin-bottom: 1.75rem;
  border: 1px solid rgba(194,65,12,0.18);
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 span { color: var(--primary); }
.hero-sub {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--text-muted); margin-bottom: 2.5rem; line-height: 1.5;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.purchase-note { font-size: 0.75rem; color: var(--text-light); font-weight: 700; margin-bottom: 0.25rem; }
.hero-note { font-size: 0.8125rem; color: var(--text-light); margin-bottom: 3rem; }

/* Dashboard mockup */
.hero-dash {
  width: 100%; max-width: 900px;
  background: var(--white); border-radius: 1.25rem;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden;
}
.dash-bar {
  background: var(--bg-alt); padding: 0.7rem 1.25rem;
  display: flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.dot { width: 0.625rem; height: 0.625rem; border-radius: 50%; }
.dot-r { background: #FF5F57; } .dot-y { background: #FFBD2E; } .dot-g { background: #28CA41; }
.dash-url {
  flex: 1; background: var(--white); border: 1px solid var(--border);
  border-radius: 0.375rem; padding: 0.225rem 0.75rem;
  font-size: 0.75rem; color: var(--text-muted); max-width: 260px;
  margin: 0 0.75rem; text-align: center;
}
.dash-body { display: flex; min-height: 300px; }
@media (min-width: 640px) { .dash-body { min-height: 360px; } }
.dash-sidebar {
  width: 13rem; background: #FFF9F4;
  border-right: 1px solid var(--border); padding: 1.25rem 0;
  flex-shrink: 0; display: none;
}
@media (min-width: 640px) { .dash-sidebar { display: block; } }
.sb-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1.125rem; font-size: 0.85rem; font-weight: 600;
  color: var(--text-muted); margin: 0 0.5rem; border-radius: 0.375rem;
  transition: all var(--t);
}
.sb-item.active { background: var(--primary-light); color: var(--primary); }
.sb-item svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.dash-main { flex: 1; padding: 1.375rem; overflow: hidden; }
.dash-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; margin-bottom: 1.125rem;
}
.ds { background: var(--bg-alt); border-radius: 0.75rem; padding: 0.875rem 1rem; border: 1px solid var(--border); }
.ds-lbl { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.ds-val { font-family: 'Inter', sans-serif; font-size: 1.3rem; font-weight: 900; color: var(--text); }
.ds-trnd { font-size: 0.68rem; color: #16A34A; margin-top: 0.1rem; }
.bookings-list { display: flex; flex-direction: column; gap: 0.5rem; }
.bk-row {
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 0.625rem; padding: 0.6rem 0.875rem;
}
.bk-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; flex-shrink: 0; }
.bk-name { font-size: 0.8rem; font-weight: 700; color: var(--text); flex: 1; }
.bk-time { font-size: 0.72rem; color: var(--text-light); }
.badge {
  font-size: 0.67rem; font-weight: 700; padding: 0.175rem 0.5rem; border-radius: 9999px;
}
.bg-green  { background: #DCFCE7; color: #15803D; }
.bg-yellow { background: #FEF9C3; color: #A16207; }
.bg-purple { background: #EDE9FE; color: #6D28D9; }

/* ── TRUSTED BAR ── */
.trusted-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 1.375rem 0;
}
.trusted-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.trusted-lbl  { font-size: 0.75rem; font-weight: 700; color: var(--text-light); letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; }
.trusted-names { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.trusted-names span { font-family: 'Inter', sans-serif; font-size: 0.9375rem; font-weight: 700; color: #BFB0A6; }

/* ── STATS BAR ── */
.stat-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.stat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(4,1fr); } }
.stat-item { text-align: center; }
.stat-num { font-family: 'Inter', sans-serif; font-size: 2.25rem; font-weight: 900; color: var(--text); line-height: 1; }
.stat-lbl { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ── FEATURES GRID ── */
.features-grid {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .features-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3,1fr); } }
.feat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: box-shadow var(--t), transform var(--t);
}
.feat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feat-card.highlight {
  background: linear-gradient(135deg, #FFF9F4, #FDEEDE);
  border-color: rgba(194,65,12,0.25);
}
.icon-wrap {
  width: 2.75rem; height: 2.75rem;
  background: var(--primary-light); color: var(--primary);
  border-radius: 0.75rem; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.125rem;
}
.icon-wrap svg { width: 1.25rem; height: 1.25rem; }
.feat-card h3 { margin-bottom: 0.5rem; }

/* ── INDUSTRIES ── */
.ind-grid {
  display: grid; gap: 1rem; grid-template-columns: repeat(2,1fr);
}
@media (min-width: 640px)  { .ind-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .ind-grid { grid-template-columns: repeat(4,1fr); } }
.ind-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1.25rem 1rem;
  text-align: center; transition: all var(--t);
}
.ind-card:hover { border-color: var(--primary); background: var(--primary-light); transform: translateY(-2px); }
.ind-icon {
  width: 2.5rem; height: 2.5rem;
  background: var(--primary-light); color: var(--primary);
  border-radius: 0.625rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
}
.ind-icon svg { width: 1.125rem; height: 1.125rem; }
.ind-card h4 { margin-bottom: 0.2rem; }
.ind-card p  { font-size: 0.8rem; color: var(--text-muted); }

/* ── INTEGRATIONS ── */
.pills { display: flex; flex-wrap: wrap; gap: 0.625rem; justify-content: center; }
.pill {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 9999px; padding: 0.5rem 1.25rem;
  font-size: 0.875rem; font-weight: 600; color: var(--text-muted);
  transition: all var(--t);
}
.pill:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); transform: translateY(-1px); }

/* ── PRICING ── */
.pricing-card {
  background: var(--white); border: 2px solid var(--primary);
  border-radius: 1.5rem; padding: 2.5rem;
  max-width: 48rem; margin: 0 auto;
  box-shadow: 0 24px 48px rgba(194,65,12,0.11);
  position: relative;
}
.pricing-badge {
  position: absolute; top: -0.875rem; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 1.25rem; border-radius: 9999px; white-space: nowrap;
}
.pricing-amount { display: flex; align-items: baseline; gap: 0.25rem; margin: 1rem 0 0.5rem; }
.pricing-price  { font-family: 'Inter', sans-serif; font-size: 4rem; font-weight: 900; color: var(--text); line-height: 1; }
.pricing-term   { font-size: 1.125rem; color: var(--text-muted); }
.pricing-list   { display: grid; gap: 0.625rem; margin: 1.5rem 0 2rem; }
@media (min-width: 640px) { .pricing-list { grid-template-columns: repeat(2,1fr); } }
.pricing-list li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.9375rem; }
.chk { flex-shrink: 0; color: var(--primary); margin-top: 0.125rem; }

/* ── FAQ ── */
.faq-wrap { display: flex; flex-direction: column; gap: 0.625rem; max-width: 52rem; margin: 0 auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: 0.75rem; overflow: hidden;
}
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem; font-weight: 700; cursor: pointer;
  list-style: none; gap: 1rem; transition: background var(--t);
}
.faq-item summary:hover { background: var(--bg-alt); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { flex-shrink: 0; transition: transform 0.2s ease; color: var(--primary); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item[open] summary { background: var(--primary-light); color: var(--primary); border-bottom: 1px solid var(--border); }
.faq-answer { padding: 1.25rem 1.5rem; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.75; }

/* ── CTA SECTION ── */
.cta-section { position: relative; overflow: hidden; }
.cta-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-orb-1 {
  width: 32rem; height: 32rem; top: -10rem; right: -8rem;
  background: radial-gradient(circle, rgba(194,65,12,0.18) 0%, transparent 65%);
}
.cta-orb-2 {
  width: 26rem; height: 26rem; bottom: -8rem; left: -6rem;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 65%);
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-section h2 { color: var(--white); margin: 0.5rem 0 1rem; }
.cta-section .body-text { color: rgba(243,226,214,0.78); max-width: 40rem; margin: 0 auto 2.5rem; }
.cta-section .overline { color: var(--amber); }
.cta-perks { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.cta-perk { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: rgba(243,226,214,0.65); }
.cta-perk svg { color: var(--amber); flex-shrink: 0; }

/* ── FOOTER ── */
.footer {
  background: var(--bg-dark); color: rgba(243,226,214,0.55);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 1.1rem; color: var(--brand-blue); margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.875rem; color: rgba(243,226,214,0.45); line-height: 1.6; }
.footer-hd { font-family: 'Lato', sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(243,226,214,0.3); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: rgba(243,226,214,0.5); transition: color var(--t); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(243,226,214,0.3); }
.footer-btm-right { display: flex; gap: 1.25rem; }
.footer-btm-right a { font-size: 0.8rem; color: rgba(243,226,214,0.4); transition: color var(--t); }
.footer-btm-right a:hover { color: var(--white); }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 60;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(194,65,12,0.38);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform var(--t), background var(--t);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
.back-to-top svg { width: 1.25rem; height: 1.25rem; }

/* ── CONTACT SECTION padding balance ── */
#contact.section { padding-bottom: 5rem; }

/* ── CONTACT FORM (Formly iframe) ── */
.formly-wrap {
  max-width: 52rem; margin: 0 auto;
  height: 700px;
  border-radius: 1.25rem; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ── FADE-UP ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
