:root {
  --primary: #EA580C;
  --primary-hover: #C2410C;
  --primary-light: #FFF7ED;
  --primary-border: #FED7AA;
  --gradient-primary: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  --gradient-card-dark: linear-gradient(170deg, #141E33 0%, #0D1526 100%);
  --gradient-hero-bg: linear-gradient(180deg, #FFF9F4 0%, #FFFFFF 72%);
  --dark: #0F1729;
  --dark-bg: #0D1526;
  --dark-surface: #141E33;
  --text-main: #0F1729;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #EDEFF2;
  --border-light: #E4E7EC;
  --surface-alt: #F7F8FA;
  --success: #12B76A;
  --success-bg: #ECFDF3;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 8px 18px -6px rgba(234, 88, 12, 0.45);
  --shadow-lg: 0 20px 44px -20px rgba(15, 23, 41, 0.16);
  --shadow-xl: 0 34px 64px -24px rgba(15, 23, 41, 0.45);
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img, svg {
  vertical-align: middle;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* Header & Nav */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header-sticky.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 41, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  cursor: pointer;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(150deg, #FB923C, #EA580C);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
  transition: transform 0.25s ease;
}

.logo-group:hover .logo-icon {
  transform: rotate(-5deg) scale(1.05);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.4px;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 20px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: var(--text-main);
  font-size: 22px;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
  .nav-actions .btn-login {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 32px rgba(15, 23, 41, 0.12);
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99;
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-drawer .nav-link {
  font-size: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 11px 18px;
  font-size: 13.5px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 8px 18px -6px rgba(234, 88, 12, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
  box-shadow: 0 12px 24px -6px rgba(234, 88, 12, 0.6);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-primary-lg {
  padding: 15px 24px;
  font-size: 15px;
  border-radius: 13px;
  box-shadow: 0 14px 28px -10px rgba(234, 88, 12, 0.5);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  transform: translateY(-2px);
}

.btn-outline-lg {
  padding: 15px 22px;
  font-size: 15px;
  border-radius: 13px;
}

.btn-login {
  color: var(--text-main);
  padding: 9px 14px;
  font-size: 13.5px;
}

.btn-login:hover {
  color: var(--primary);
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
}

.btn-white:hover {
  background: #fff7ed;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: 30px;
  padding: 7px 14px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F97316;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.8);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

.badge-text {
  font-size: 12.5px;
  font-weight: 700;
  color: #B54708;
}

/* Card hover animation */
.card-hover {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -12px rgba(15, 23, 41, 0.12);
  border-color: #dbe0e6;
}

/* Scroll reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* FAQ Item Accordion */
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: #d1d5db;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  user-select: none;
}

.faq-chevron {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #94A3B8;
  flex: 0 0 auto;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-top 0.3s ease;
  font-size: 13.5px;
  line-height: 1.65;
  color: #64748B;
  font-weight: 500;
  margin-top: 0;
}

.faq-item.open .faq-answer {
  max-height: 250px;
  opacity: 1;
  margin-top: 10px;
}

/* Pricing Switch */
.billing-switch {
  display: inline-flex;
  gap: 5px;
  background: #F1F3F6;
  border-radius: 13px;
  padding: 5px;
  cursor: pointer;
}

.switch-btn {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  padding: 9px 18px;
  border-radius: 9px;
  transition: all 0.2s ease;
}

.switch-btn.active {
  color: var(--text-main);
  font-weight: 700;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}
