/* =============================================
   SewTrack – Global Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy:        #162a5c;
  --navy-dark:   #0e1b3d;
  --navy-deep:   #0a1428;
  --orange:      #e87a1a;
  --orange-dark: #d06a0e;
  --cream:       #faf8f5;
  --white:       #ffffff;
  --g50:         #f9fafb;
  --g100:        #f3f4f6;
  --g200:        #e5e7eb;
  --g300:        #d1d5db;
  --g400:        #9ca3af;
  --g500:        #6b7280;
  --g600:        #4b5563;
  --g700:        #374151;
  --g800:        #1f2937;
  --g900:        #111827;
  --green:       #16a34a;
  --red:         #ef4444;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--g800);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--g900);
}

/* =============================================
   NAVBAR
   ============================================= */

.st-navbar {
  background: var(--navy) !important;
  padding: 0 !important;
  transition: box-shadow 0.3s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.st-navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.st-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  text-decoration: none;
}

.st-navbar .brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.st-navbar .brand-name {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.st-navbar .nav-link {
  color: rgba(255,255,255,0.72) !important;
  font-weight: 500;
  font-size: 15px;
  padding: 6px 0 !important;
  margin: 0 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  background: none;
}

.st-navbar .nav-link:hover,
.st-navbar .nav-link.active {
  color: var(--orange) !important;
  border-bottom-color: var(--orange);
}

.st-navbar .navbar-toggler {
  border: none;
  padding: 4px 8px;
  color: #fff;
  outline: none;
  box-shadow: none;
}

.st-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.st-navbar .navbar-collapse {
  padding-bottom: 12px;
}

@media (min-width: 992px) {
  .st-navbar .navbar-collapse {
    padding-bottom: 0;
  }
  .st-navbar .nav-link {
    margin: 0 10px;
  }
}

/* =============================================
   BUTTONS
   ============================================= */

.btn-st-primary {
  background: var(--orange);
  color: #fff !important;
  border: none;
  font-weight: 600;
  border-radius: 10px;
  padding: 13px 26px;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s, transform 0.1s;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.btn-st-primary:hover {
  background: var(--orange-dark);
  color: #fff !important;
}

.btn-st-primary:active {
  transform: scale(0.98);
}

.btn-st-outline-white {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.35);
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 26px;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.25s, background 0.25s;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.btn-st-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff !important;
}

.btn-st-outline-dark {
  background: transparent;
  color: var(--navy) !important;
  border: 2px solid var(--g200);
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 26px;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.25s, background 0.25s;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.btn-st-outline-dark:hover {
  border-color: var(--navy);
  background: var(--g50);
  color: var(--navy) !important;
}

.btn-st-white {
  background: #fff;
  color: var(--navy) !important;
  border: none;
  font-weight: 600;
  border-radius: 10px;
  padding: 13px 26px;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  line-height: 1;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.btn-st-white:hover {
  background: var(--g100);
  color: var(--navy) !important;
}

/* =============================================
   SECTION TAGS / BADGES
   ============================================= */

.section-tag {
  display: inline-block;
  background: rgba(232,122,26,0.12);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* =============================================
   HERO
   ============================================= */

.st-hero {
  background: var(--navy);
  padding-top: 130px;
  padding-bottom: 90px;
}

.st-hero-inner {
  background: var(--navy-dark);
  padding-top: 130px;
  padding-bottom: 80px;
  text-align: center;
}

/* =============================================
   TRUST BAR
   ============================================= */

.trust-bar {
  background: var(--navy-dark);
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
}

.trust-item svg {
  color: var(--orange);
  flex-shrink: 0;
}

/* =============================================
   ICON BOX
   ============================================= */

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.icon-box-lg {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

/* =============================================
   FEATURE CARDS
   ============================================= */

.feature-card {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.feature-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border-color: var(--orange);
}

.feature-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--g800);
  margin: 18px 0 8px;
}

.feature-card p {
  color: var(--g500);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* =============================================
   STATS
   ============================================= */

.stat-box {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 44px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--g500);
  margin-top: 8px;
  font-weight: 500;
}

/* =============================================
   TESTIMONIALS
   ============================================= */

.testimonial-card {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
}

.star {
  color: var(--orange);
  font-size: 18px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
}

/* =============================================
   FAQ
   ============================================= */

.faq-item {
  border-bottom: 1px solid var(--g200);
}

.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--g800);
  text-align: left;
  gap: 16px;
}

.faq-btn .faq-icon {
  transition: transform 0.25s;
  flex-shrink: 0;
  color: var(--g500);
}

.faq-btn.open .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  overflow: hidden;
  transition: max-height 0.3s ease;
  max-height: 0;
}

.faq-body p {
  padding-bottom: 22px;
  color: var(--g500);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

/* =============================================
   CTA SECTION
   ============================================= */

.cta-section {
  background: var(--orange);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section .cta-circle-1 {
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.cta-section .cta-circle-2 {
  position: absolute;
  bottom: -60px; left: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

/* =============================================
   HOW IT WORKS (DARK SECTION)
   ============================================= */

.dark-section {
  background: var(--navy-dark);
  color: #fff;
}

.dark-section .section-tag {
  background: rgba(232,122,26,0.15);
}

.hiw-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  height: 100%;
}

.hiw-card .step-num {
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  margin: 20px 0 8px;
}

.hiw-card h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hiw-card p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* =============================================
   PORTAL SECTION (DARK)
   ============================================= */

.portal-section {
  background: var(--navy-dark);
  padding: 80px 24px;
}

.portal-wrap {
  background: rgba(232,122,26,0.08);
  border: 1px solid rgba(232,122,26,0.2);
  border-radius: 24px;
  padding: 48px;
}

.portal-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  height: 100%;
}

.portal-box span {
  color: var(--orange);
  display: block;
  margin-bottom: 10px;
}

.portal-box p {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

/* =============================================
   PROBLEM SECTION
   ============================================= */

.problem-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--g50);
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 3px solid var(--red);
}

.problem-item .x-icon {
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.problem-item span {
  color: var(--g700);
  font-size: 15px;
}

/* =============================================
   PRICING
   ============================================= */

.pricing-card {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  height: 100%;
  transition: box-shadow 0.3s;
}

.pricing-card.popular {
  border: 2px solid var(--orange);
  box-shadow: 0 8px 40px rgba(232,122,26,0.12);
}

.pricing-card .popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--g800);
  line-height: 1;
}

.pricing-period {
  font-size: 15px;
  color: var(--g400);
  font-weight: 400;
}

.pricing-desc {
  color: var(--g500);
  font-size: 14px;
  margin-bottom: 20px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.check-icon {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.check-item span {
  color: var(--g600);
  font-size: 14px;
}

/* =============================================
   BLOG
   ============================================= */

.blog-card {
  border: 1px solid var(--g200);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.3s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.blog-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  color: inherit;
}

.blog-thumb {
  background: var(--navy);
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-thumb svg {
  color: var(--orange);
}

.blog-body {
  padding: 24px;
}

.blog-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  background: rgba(232,122,26,0.1);
  padding: 3px 10px;
  border-radius: 6px;
}

.blog-read {
  font-size: 12px;
  color: var(--g400);
}

.blog-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--g800);
  margin: 10px 0 8px;
  line-height: 1.35;
}

.blog-excerpt {
  color: var(--g500);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.blog-date {
  color: var(--g400);
  font-size: 13px;
}

.blog-readmore {
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* =============================================
   BLOG SINGLE
   ============================================= */

.blog-single-hero {
  background: var(--navy-dark);
  padding-top: 130px;
  padding-bottom: 60px;
}

.back-link {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.back-link:hover {
  color: rgba(255,255,255,0.8);
}

.blog-content p {
  color: var(--g700);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 20px;
}

/* =============================================
   CONTACT
   ============================================= */

.contact-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--g200);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--g800);
  background: #fff;
}

.contact-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,122,26,0.08);
}

.contact-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--g800);
  margin-bottom: 6px;
}

.contact-info-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--g200);
}

.contact-info-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--g800);
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--g500);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* =============================================
   ABOUT
   ============================================= */

.value-card {
  border: 1px solid var(--g200);
  border-radius: 16px;
  padding: 32px;
  height: 100%;
}

.value-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--g800);
  margin: 18px 0 8px;
}

.value-card p {
  color: var(--g500);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* =============================================
   FOOTER
   ============================================= */

.st-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 72px 0 32px;
}

.st-footer h5 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.st-footer a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
  padding: 2px 0;
}

.st-footer a:hover {
  color: var(--orange);
}

.st-footer .footer-divider {
  border-color: rgba(255,255,255,0.08);
  margin: 40px 0 24px;
}

.st-footer .footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

.footer-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

/* =============================================
   LEGAL
   ============================================= */

.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--g800);
  margin-bottom: 10px;
}

.legal-section p {
  color: var(--g600);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* =============================================
   UTILITIES
   ============================================= */

.text-orange { color: var(--orange) !important; }
.bg-navy     { background: var(--navy) !important; }
.bg-navy-dark{ background: var(--navy-dark) !important; }
.bg-cream    { background: var(--cream) !important; }

.section-py {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-py-sm {
  padding-top: 72px;
  padding-bottom: 72px;
}