/* ==========================================================
   nuBikaERP — Static landing custom styles
   Tailwind via CDN. This file extends with custom utilities.
   ========================================================== */

/* Smooth scroll */
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Selection */
::selection { background-color: rgba(249, 115, 22, 0.25); color: #F97316; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background-color: transparent; }
::-webkit-scrollbar-thumb { background-color: #E5E7EB; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(107, 114, 128, 0.5); }

/* ===== Brand utilities ===== */
.text-balance { text-wrap: balance; }

.hero-gradient {
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(249,115,22,0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 10%, rgba(255,140,80,0.12), transparent 60%),
    radial-gradient(ellipse 50% 30% at 10% 5%, rgba(255,170,110,0.08), transparent 60%);
}

.bg-dot-grid {
  background-image: radial-gradient(#C7CCD3 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ===== Shadow tokens ===== */
.shadow-token-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.04), 0 1px 3px 0 rgb(0 0 0 / 0.08); }
.shadow-token-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.06), 0 2px 4px -2px rgb(0 0 0 / 0.06); }
.shadow-token-lg { box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.08); }

/* ===== Animations ===== */
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.animate-float-slow { animation: float-slow 6s ease-in-out infinite; }

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping { animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite; }

@keyframes spin {
  to { transform: rotate(360deg); }
}
.animate-spin { animation: spin 1s linear infinite; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.625rem;
  background-color: #F97316;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
  border: 1px solid transparent;
}
.btn-primary:hover { background-color: #ea6a14; }
.btn-primary:active { transform: translateY(1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.625rem;
  background-color: #FFFFFF;
  color: #1F2937;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border: 1px solid #E5E7EB;
  transition: background-color 0.2s, border-color 0.2s;
}
.btn-outline:hover { background-color: #F3F4F6; border-color: #D1D5DB; }

/* ===== Mobile nav links ===== */
.mobile-link {
  display: block;
  padding: 0.75rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #1F2937;
  transition: background-color 0.15s;
}
.mobile-link:hover { background-color: #F3F4F6; }

/* ===== Benefits / Audience cards ===== */
.benefit-card,
.audience-card {
  position: relative;
  background-color: #FFFFFF;
  border-radius: 0.75rem;
  border: 1px solid #E5E7EB;
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.04), 0 1px 3px 0 rgb(0 0 0 / 0.08);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.benefit-card:hover,
.audience-card:hover {
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.08);
  transform: translateY(-2px);
  border-color: rgba(249,115,22,0.4);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background-color: rgba(249,115,22,0.10);
  color: #F97316;
  transition: background-color 0.2s, color 0.2s;
}
.benefit-card:hover .benefit-icon,
.audience-card:hover .benefit-icon {
  background-color: #F97316;
  color: #FFFFFF;
}

/* ===== Feature bullets ===== */
.feat-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(31,41,55,0.85);
}
.feat-bullet > span:first-child {
  margin-top: 0.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background-color: rgba(249,115,22,0.10);
  color: #F97316;
  flex-shrink: 0;
}

/* ===== AI Agent capability cards ===== */
.capability-card {
  border-radius: 0.75rem;
  padding: 1.25rem;
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  transition: background-color 0.25s, border-color 0.25s;
}
.capability-card:hover {
  background-color: rgba(255,255,255,0.06);
  border-color: rgba(249,115,22,0.40);
}

.capability-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: rgba(249,115,22,0.15);
  color: #F97316;
}

.prompt-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  transition: border-color 0.2s;
}
.prompt-chip:hover { border-color: rgba(249,115,22,0.40); }

/* ===== Testimonials ===== */
.testimonial-card {
  position: relative;
  background-color: #FFFFFF;
  border-radius: 1rem;
  border: 1px solid #E5E7EB;
  padding: 1.75rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.04), 0 1px 3px 0 rgb(0 0 0 / 0.08);
  transition: box-shadow 0.3s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.08);
}

/* ===== Pricing plan cards ===== */
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid;
  transition: box-shadow 0.3s, transform 0.3s;
}
.plan-light {
  background-color: #FFFFFF;
  color: #1F2937;
  border-color: #E5E7EB;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.04), 0 1px 3px 0 rgb(0 0 0 / 0.08);
}
.plan-light:hover {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.06), 0 2px 4px -2px rgb(0 0 0 / 0.06);
}
.plan-dark {
  background-color: #0F1216;
  color: #FFFFFF;
  border-color: #0F1216;
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.18), 0 8px 10px -6px rgb(0 0 0 / 0.10);
}
@media (min-width: 1024px) {
  .plan-dark { transform: scale(1.03); }
}

.plan-feat { display: flex; align-items: flex-start; gap: 0.75rem; }
.plan-check, .plan-check-dark, .plan-check-orange {
  margin-top: 0.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  flex-shrink: 0;
}
.plan-check { background-color: rgba(249,115,22,0.10); color: #F97316; }
.plan-check-dark { background-color: rgba(249,115,22,0.20); color: #F97316; }
.plan-check-orange { background-color: #F97316; color: #FFFFFF; }

/* ===== FAQ Accordion ===== */
.faq-item .faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #1F2937;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-item .faq-trigger:hover { color: #F97316; }
.faq-item.is-open .faq-trigger { color: #F97316; }

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: #6B7280;
}
.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: #F97316;
}

.faq-content {
  display: none;
  padding-bottom: 1.25rem;
  font-size: 0.875rem;
  color: #6B7280;
  line-height: 1.7;
}

/* ===== Form ===== */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1F2937;
}

.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.95rem;
  color: #1F2937;
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input::placeholder { color: #9CA3AF; }
.form-input:focus {
  border-color: #F97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.18);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.1em;
  padding-right: 2.5rem;
}

textarea.form-input { resize: vertical; min-height: 96px; }

/* ===== Footer ===== */
.footer-link {
  color: rgba(255,255,255,0.70);
  transition: color 0.2s;
}
.footer-link:hover { color: #F97316; }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.80);
  transition: background-color 0.2s, color 0.2s;
}
.social-icon:hover { background-color: #F97316; color: #FFFFFF; }

/* ===== Navbar scrolled state ===== */
#site-navbar.is-scrolled {
  border-bottom-color: #E5E7EB;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.04), 0 1px 3px 0 rgb(0 0 0 / 0.08);
}

/* ===== Container ===== */
.max-w-container { max-width: 1200px; }

/* ===== AOS overrides for fast feel ===== */
[data-aos] { transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
