/* =====================================================================
   AnnieSoft — Premium B2B Technology Website Stylesheet
   ===================================================================== */

:root {
  /* Amazon-inspired palette: signature orange accent on dark navy/charcoal */
  --as-primary: #ff9900;
  --as-primary-dark: #e47911;
  --as-ink: #131921;
  --as-ink-soft: #565959;
  --as-bg: #ffffff;
  --as-bg-soft: #eaeded;
  --as-border: #d5d9d9;
  --as-success: #007600;
  --as-radius: 16px;
  --as-radius-sm: 10px;
  --as-shadow: 0 10px 30px rgba(19, 25, 33, 0.08);
  --as-shadow-lg: 0 20px 50px rgba(19, 25, 33, 0.16);
  --as-gradient: linear-gradient(135deg, #ff9900 0%, #232f3e 100%);
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--as-ink);
  background: var(--as-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--as-ink);
  line-height: 1.25;
}

p { color: var(--as-ink-soft); }

a { text-decoration: none; color: var(--as-primary); transition: color .15s ease; }
a:hover { color: var(--as-primary-dark); }

.skip-link { position: absolute; top: -40px; left: 0; background: var(--as-primary); color: #fff; padding: 8px 16px; z-index: 2000; }
.skip-link:focus { top: 0; }

img { max-width: 100%; height: auto; }

.section-padding { padding: 88px 0; }
.bg-light-section { background: var(--as-bg-soft); }

@media (max-width: 767px) {
  .section-padding { padding: 56px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--as-primary);
  margin-bottom: 14px;
}
.eyebrow-light { color: #ffd9a3; }

.section-heading { max-width: 680px; margin: 0 auto 48px; }
.section-heading h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin-bottom: 12px; }
.section-heading.text-center { text-align: center; }

.btn-cta { border-radius: 999px; padding: 12px 28px; font-weight: 600; }
.btn-primary { background: var(--as-primary); border-color: var(--as-primary); }
.btn-primary:hover { background: var(--as-primary-dark); border-color: var(--as-primary-dark); }
.btn-outline-dark { border-color: var(--as-ink); color: var(--as-ink); }
.btn-outline-dark:hover { background: var(--as-ink); border-color: var(--as-ink); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }

/* Keep any leftover Bootstrap utility classes in sync with the brand palette */
.text-primary { color: var(--as-primary) !important; }
.bg-primary { background-color: var(--as-primary) !important; }
.border-primary { border-color: var(--as-primary) !important; }

/* ---------------------------------------------------------------------
   Header
--------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--as-border);
}
.navbar { padding: 14px 0; }
.brand-mark { font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; color: var(--as-ink); }
.brand-accent { color: var(--as-primary); }
.footer-brand { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; color: #fff; display: inline-block; margin-bottom: 10px; }
.nav-link { font-weight: 600; color: var(--as-ink) !important; padding: 8px 14px !important; border-radius: 999px; }
.nav-link:hover { background: var(--as-bg-soft); }

/* ---------------------------------------------------------------------
   Hero
--------------------------------------------------------------------- */
.hero-section {
  padding: 96px 0 80px;
  background: radial-gradient(1200px 500px at 100% -10%, rgba(255,153,0,.1), transparent), var(--as-bg);
}
.hero-title { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 20px; letter-spacing: -0.02em; }
.hero-subtitle { font-size: 1.1rem; color: var(--as-ink-soft); margin-bottom: 30px; max-width: 560px; }
.hero-trust { font-size: .92rem; color: var(--as-ink-soft); }
.hero-trust i { color: var(--as-success); margin-right: 6px; }

.hero-visual { position: relative; min-height: 380px; }
.hero-visual-bg {
  position: absolute; inset: 0;
  background: var(--as-gradient);
  border-radius: 28px;
  opacity: .95;
}
.hero-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: var(--as-radius);
  box-shadow: var(--as-shadow-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 16px;
}
.hero-card i { font-size: 1.4rem; color: var(--as-primary); }
.hero-card.card-1 { margin-left: 20px; margin-top: 30px; }
.hero-card.card-2 { margin-left: 90px; }
.hero-card.card-3 { margin-left: 30px; }

/* ---------------------------------------------------------------------
   Stats
--------------------------------------------------------------------- */
.stats-section { padding: 44px 0; background: var(--as-ink); }
.stat-number { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; color: #fff; }
.stat-label { color: #c9ccce; font-size: .9rem; }

/* ---------------------------------------------------------------------
   Service cards
--------------------------------------------------------------------- */
.service-card {
  display: block;
  background: #fff;
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius);
  padding: 32px;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--as-shadow-lg); border-color: transparent; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,153,0,.14), rgba(35,47,62,.12));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--as-primary);
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: .95rem; margin-bottom: 14px; }
.card-link { font-weight: 600; color: var(--as-primary); font-size: .9rem; }

/* ---------------------------------------------------------------------
   ERP promo
--------------------------------------------------------------------- */
.erp-promo-section {
  background: var(--as-ink);
  color: #fff;
  border-radius: 32px;
  margin: 0 16px;
  padding: 80px 40px;
}
@media (max-width: 767px) { .erp-promo-section { margin: 0; border-radius: 0; padding: 56px 20px; } }
.erp-promo-section h2 { color: #fff; }
.erp-promo-section p { color: #c9ccce; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { margin-bottom: 10px; color: inherit; }
.check-list i { color: var(--as-success); margin-right: 8px; }
.erp-promo-section .check-list i { color: #7cf29c; }

.erp-modules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.erp-module-chip {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--as-radius-sm);
  padding: 16px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .92rem;
}
.erp-module-chip i { color: #ffb84d; font-size: 1.2rem; }

/* ---------------------------------------------------------------------
   Why cards / value cards / modules
--------------------------------------------------------------------- */
.why-card, .value-card {
  background: #fff;
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius);
  padding: 30px;
  height: 100%;
}
.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--as-bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--as-primary);
  margin-bottom: 16px;
}
.why-card h4, .value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p, .value-card p { font-size: .92rem; margin-bottom: 0; }

.module-card {
  background: #fff;
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius-sm);
  padding: 20px;
  height: 100%;
  text-align: center;
  transition: box-shadow .2s ease, transform .2s ease;
}
.module-card:hover { box-shadow: var(--as-shadow); transform: translateY(-2px); }
.module-card i { font-size: 1.8rem; color: var(--as-primary); margin-bottom: 10px; display: block; }
.module-card h5 { font-size: .95rem; margin-bottom: 6px; }
.module-card p { font-size: .82rem; margin-bottom: 0; }

/* ---------------------------------------------------------------------
   Metrics
--------------------------------------------------------------------- */
.metric-card-stack { display: flex; flex-direction: column; gap: 20px; }
.metric-card {
  background: var(--as-bg-soft);
  border-radius: var(--as-radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 6px;
}
.metric-value { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; color: var(--as-primary); }
.metric-label { color: var(--as-ink-soft); font-size: .92rem; }

/* ---------------------------------------------------------------------
   Process
--------------------------------------------------------------------- */
.process-step { text-align: center; padding: 10px; }
.process-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--as-gradient);
  color: #fff; font-weight: 700; font-family: var(--font-heading);
  margin-bottom: 14px;
}
.process-step h5 { font-size: .95rem; margin-bottom: 6px; }
.process-step p { font-size: .82rem; }

.process-list { list-style: none; padding: 0; counter-reset: step; }
.process-list li { display: flex; gap: 14px; margin-bottom: 14px; align-items: flex-start; }
.step-num {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--as-bg-soft);
  color: var(--as-primary);
  font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------------------------------------------------------------------
   Testimonials
--------------------------------------------------------------------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius);
  padding: 28px;
  height: 100%;
}
.testimonial-card .stars { color: #f5a623; margin-bottom: 12px; font-size: .9rem; }
.testimonial-card p { font-size: .95rem; color: var(--as-ink); font-style: italic; }
.testimonial-author { margin-top: 16px; display: flex; flex-direction: column; }
.testimonial-author strong { font-size: .92rem; }
.testimonial-author span { font-size: .82rem; color: var(--as-ink-soft); }

/* ---------------------------------------------------------------------
   Industries
--------------------------------------------------------------------- */
.industry-chip {
  background: var(--as-bg-soft);
  border-radius: var(--as-radius-sm);
  padding: 22px 12px;
  text-align: center;
  font-weight: 600;
  font-size: .85rem;
  transition: background .2s ease;
}
.industry-chip:hover { background: #fff3e0; }
.industry-chip i { display: block; font-size: 1.6rem; color: var(--as-primary); margin-bottom: 8px; }

/* ---------------------------------------------------------------------
   FAQ accordion
--------------------------------------------------------------------- */
.faq-accordion .accordion-item { border: 1px solid var(--as-border); border-radius: var(--as-radius-sm) !important; margin-bottom: 12px; overflow: hidden; }
.faq-accordion .accordion-button { font-weight: 600; font-size: .98rem; background: #fff; }
.faq-accordion .accordion-button:not(.collapsed) { color: var(--as-primary); background: var(--as-bg-soft); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: none; }

/* ---------------------------------------------------------------------
   Blog cards
--------------------------------------------------------------------- */
.blog-card {
  display: block;
  background: #fff;
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius);
  overflow: hidden;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}
.blog-card:hover { box-shadow: var(--as-shadow-lg); transform: translateY(-4px); }
.blog-card-image { height: 190px; background-size: cover; background-position: center; background-color: var(--as-bg-soft); }
.blog-card-body { padding: 22px; }
.blog-category { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--as-primary); margin-bottom: 8px; }
.blog-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.blog-card p { font-size: .88rem; margin-bottom: 0; }
.blog-meta { font-size: .8rem; color: var(--as-ink-soft); margin-top: 10px; }
.blog-meta-light { color: #ffd9a3; }
.blog-featured-image { width: 100%; border-radius: var(--as-radius); margin-bottom: 24px; max-height: 420px; object-fit: cover; }
.blog-hero h1 { max-width: 800px; }
.blog-search { display: flex; gap: 10px; }
.blog-search .form-control { border-radius: 999px 0 0 999px; }
.blog-search .btn { border-radius: 0 999px 999px 0; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip { background: var(--as-bg-soft); border-radius: 999px; padding: 6px 14px; font-size: .8rem; font-weight: 600; }
.badge-count { float: right; background: var(--as-bg-soft); border-radius: 999px; padding: 1px 9px; font-size: .76rem; color: var(--as-ink-soft); }
.share-bar { display: flex; align-items: center; gap: 12px; }
.share-bar a { width: 36px; height: 36px; border-radius: 50%; background: var(--as-bg-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--as-ink); }

/* ---------------------------------------------------------------------
   Page hero (inner pages)
--------------------------------------------------------------------- */
.page-hero {
  background: var(--as-ink);
  background-image: radial-gradient(900px 400px at 100% 0%, rgba(255,153,0,.35), transparent);
  color: #fff;
  padding: 60px 0 70px;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; max-width: 760px; }
.page-hero .lead-text { color: #d9dde3; font-size: 1.05rem; max-width: 640px; margin-bottom: 24px; }
.page-hero .breadcrumb { --bs-breadcrumb-divider: '/'; margin-bottom: 18px; }
.page-hero .breadcrumb a { color: #ffd9a3; }
.page-hero .breadcrumb-item.active { color: #fff; }

/* ---------------------------------------------------------------------
   Content body (rich text output)
--------------------------------------------------------------------- */
.content-body h2 { margin-top: 2em; font-size: 1.5rem; }
.content-body h3 { margin-top: 1.6em; font-size: 1.2rem; }
.content-body p { margin-bottom: 1.1em; }
.content-body ul, .content-body ol { color: var(--as-ink-soft); margin-bottom: 1.1em; }
.content-body img { border-radius: var(--as-radius-sm); margin: 1em 0; }
.content-body blockquote { border-left: 4px solid var(--as-primary); padding: 8px 20px; color: var(--as-ink); background: var(--as-bg-soft); border-radius: 0 8px 8px 0; }
.content-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.content-body table td, .content-body table th { border: 1px solid var(--as-border); padding: 10px; }

.feature-pill { background: var(--as-bg-soft); border-radius: var(--as-radius-sm); padding: 14px 16px; font-weight: 600; font-size: .92rem; }
.feature-pill i { color: var(--as-primary); margin-right: 8px; }

/* ---------------------------------------------------------------------
   Sidebar cards
--------------------------------------------------------------------- */
.sidebar-card {
  background: #fff;
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-card h4 { font-size: 1rem; margin-bottom: 16px; }
.cta-sidebar-card { background: var(--as-gradient); border: none; color: #fff; }
.cta-sidebar-card h4 { color: #fff; }
.cta-sidebar-card p { color: #ffe6c2; font-size: .9rem; }
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li { border-bottom: 1px solid var(--as-border); padding: 10px 0; }
.related-list li:last-child { border-bottom: none; }
.related-list a { color: var(--as-ink); font-weight: 600; font-size: .92rem; display: flex; justify-content: space-between; }
.related-list a:hover { color: var(--as-primary); }
.related-list i { color: var(--as-primary); margin-right: 8px; }

/* ---------------------------------------------------------------------
   Pricing cards
--------------------------------------------------------------------- */
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius);
  padding: 34px;
  height: 100%;
}
.pricing-card-featured { border: 2px solid var(--as-primary); box-shadow: var(--as-shadow-lg); transform: scale(1.02); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--as-gradient); color: #fff;
  padding: 5px 18px; border-radius: 999px; font-size: .76rem; font-weight: 700;
}
.pricing-card h3 { margin-bottom: 6px; }
.pricing-amount { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; margin: 10px 0; }
.pricing-amount span { font-size: 1rem; font-weight: 600; color: var(--as-ink-soft); }
.pricing-desc { font-size: .88rem; margin-bottom: 18px; }
.pricing-card .check-list li { color: var(--as-ink-soft); font-size: .9rem; }
.pricing-card .check-list i { color: var(--as-success); }
.pricing-note { color: var(--as-ink-soft); font-size: .92rem; }

/* ---------------------------------------------------------------------
   About page
--------------------------------------------------------------------- */
.about-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.about-stat { background: var(--as-bg-soft); border-radius: var(--as-radius); padding: 26px; text-align: center; }
.about-stat span { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--as-primary); }
.about-stat small { color: var(--as-ink-soft); font-size: .82rem; }

/* ---------------------------------------------------------------------
   Contact page
--------------------------------------------------------------------- */
.contact-form-card, .contact-info-card {
  background: #fff;
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius);
  padding: 34px;
  height: 100%;
}
.contact-form-card h3, .contact-info-card h3 { margin-bottom: 22px; }
.form-label { font-weight: 600; font-size: .88rem; }
.form-control, .form-select { border-radius: var(--as-radius-sm); border-color: var(--as-border); padding: 10px 14px; }
.form-control:focus, .form-select:focus { border-color: var(--as-primary); box-shadow: 0 0 0 3px rgba(255,153,0,.16); }
.form-note { font-size: .8rem; color: var(--as-ink-soft); margin-top: 12px; margin-bottom: 0; }
.contact-info-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-info-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-info-list i { font-size: 1.3rem; color: var(--as-primary); flex: none; margin-top: 2px; }
.contact-info-list strong { display: block; font-size: .88rem; }
.contact-info-list span { font-size: .9rem; color: var(--as-ink-soft); }
.contact-info-list a { color: var(--as-ink-soft); }
.map-embed iframe { display: block; }

/* ---------------------------------------------------------------------
   Final CTA band
--------------------------------------------------------------------- */
.final-cta-band {
  background: var(--as-gradient);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.final-cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.final-cta-band p { color: #ffe6c2; max-width: 560px; margin: 0 auto 26px; }
.final-cta-band .btn-light { color: var(--as-ink); font-weight: 700; }

/* ---------------------------------------------------------------------
   Footer
--------------------------------------------------------------------- */
.site-footer { background: var(--as-ink); color: #c9ccce; padding: 64px 0 0; }
.footer-tagline { color: #9ba3a6; font-size: .9rem; margin-bottom: 18px; }
.footer-heading { color: #fff; font-size: .88rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #c9ccce; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-contact { margin-bottom: 18px; }
.footer-contact li { display: flex; gap: 10px; font-size: .88rem; margin-bottom: 10px; color: #c9ccce; }
.footer-contact a { color: #c9ccce; }
.footer-contact i { color: #ff9900; margin-top: 3px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; color: #fff; }
.footer-social a:hover { background: var(--as-primary); }
.footer-divider { border-color: rgba(255,255,255,.1); margin-top: 40px; }

/* ---------------------------------------------------------------------
   WhatsApp float
--------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 1050;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 24px rgba(37,211,102,.4);
  animation: as-pulse 2.4s infinite;
}
@keyframes as-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------------------------------------------------------------------
   404
--------------------------------------------------------------------- */
.not-found-section { padding-top: 60px; }
.not-found-code { font-family: var(--font-heading); font-size: 7rem; font-weight: 800; background: var(--as-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

/* ---------------------------------------------------------------------
   Misc
--------------------------------------------------------------------- */
.alert { border-radius: var(--as-radius-sm); }
.is-invalid ~ .invalid-feedback, .was-validated .form-control:invalid ~ .invalid-feedback { display: block; }
