/* ============================================
   ConsignorTrack Marketing Site
   Clean, Modern SaaS Design System (Xero-inspired)
   ============================================ */

:root {
  --primary: #1a3d5c;
  --primary-light: #245980;
  --accent: #00B4D8;
  --accent-dark: #0096b7;
  --green: #00A878;
  --green-dark: #008C64;
  --dark: #0D1B2A;
  --light: #f7f8fc;
  --white: #FFFFFF;
  --gray-100: #f0f2f5;
  --gray-200: #e2e6ec;
  --gray-300: #cdd3dc;
  --gray-500: #5a6577;
  --gray-700: #2d3748;
  --text-heading: #0D1B2A;
  --text-body: #5a6577;
}

/* ============================================
   Base
   ============================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  font-size: 1.05rem;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
}

a {
  color: var(--accent);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-dark);
}

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

/* ============================================
   Navbar
   ============================================ */
.navbar-ct {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: none;
  padding: 0.85rem 0;
  transition: border-color 0.3s ease, padding 0.3s ease;
}

.navbar-ct.scrolled {
  padding: 0.6rem 0;
  border-bottom-color: var(--gray-300);
}

.navbar-ct .navbar-brand {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.navbar-ct .navbar-brand span {
  color: var(--accent);
}

.navbar-ct .nav-link {
  color: var(--gray-500);
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
  font-size: 0.95rem;
  position: relative;
}

.navbar-ct .nav-link:hover {
  color: var(--text-heading);
}

.navbar-ct .nav-link.active {
  color: var(--text-heading);
}

.navbar-ct .nav-link:hover::after,
.navbar-ct .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.navbar-ct .btn-login {
  color: var(--primary);
  border: 2px solid var(--gray-300);
  border-radius: 50px;
  padding: 0.45rem 1.3rem;
  font-weight: 600;
  margin-right: 0.5rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.navbar-ct .btn-login:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

.navbar-ct .btn-demo {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.navbar-ct .btn-demo:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary-ct {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2.25rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.btn-primary-ct:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 61, 92, 0.25);
}

.btn-accent-ct {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2.25rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.btn-accent-ct:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.3);
}

.btn-outline-ct {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  padding: 0.8rem 2.25rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.btn-outline-ct:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  background: linear-gradient(160deg, var(--primary) 0%, #132d45 100%);
  color: var(--white);
  padding: 10rem 0 7rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  display: none;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero .lead-tagline {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  display: block;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.85;
  margin-bottom: 2.5rem;
  max-width: 560px;
  line-height: 1.7;
}

.hero .btn {
  position: relative;
  z-index: 1;
}

/* Page-specific smaller hero */
.hero-sm {
  padding: 7rem 0 4rem;
  min-height: auto;
}

.hero-sm h1 {
  font-size: 2.75rem;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 6rem 0;
}

.section-light {
  background: var(--light);
}

.section-dark {
  background: var(--white);
  color: var(--text-heading);
}

.section-dark h2,
.section-dark h3 {
  color: var(--text-heading);
}

/* section-textured mapped to light bg (no texture) */
.section-textured {
  background: var(--light);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 3rem;
}

/* accent-line: hidden in new design */
.accent-line {
  display: none;
}

/* ============================================
   Feature Cards
   ============================================ */
.feature-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.25rem;
  height: 100%;
  box-shadow: 0 1px 3px rgba(13, 27, 42, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--gray-200);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 27, 42, 0.08);
}

.feature-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.icon-primary {
  background: rgba(26, 61, 92, 0.08);
  color: var(--primary);
}

.icon-accent {
  background: rgba(0, 180, 216, 0.1);
  color: var(--accent);
}

.icon-warm {
  background: rgba(0, 180, 216, 0.1);
  color: var(--accent-dark);
}

.feature-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-heading);
}

.feature-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.7;
}

/* ============================================
   Stats
   ============================================ */
.stat-item {
  text-align: center;
  padding: 2rem 1.5rem;
}

.stat-number {
  font-family: 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-body);
  font-weight: 500;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 1px 3px rgba(13, 27, 42, 0.04);
  border: 1px solid var(--gray-200);
  height: 100%;
  position: relative;
}

/* Remove decorative quote mark */
.testimonial-card::before {
  display: none;
}

.testimonial-card .stars {
  color: var(--accent);
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-style: normal;
  color: var(--gray-700);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--text-heading);
  font-size: 0.95rem;
}

.testimonial-card .role {
  color: var(--text-body);
  font-size: 0.85rem;
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #132d45 100%);
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Remove dot pattern overlay */
.cta-banner::before {
  display: none;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.cta-banner p {
  opacity: 0.85;
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
}

.cta-banner .btn {
  position: relative;
}

/* ============================================
   Feature Sections (features page)
   ============================================ */
.feature-section {
  padding: 5rem 0;
}

.feature-section + .feature-section {
  border-top: none;
}

.feature-section .feature-icon-lg {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--gray-700);
}

.feature-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

/* ============================================
   Pricing
   ============================================ */
.pricing-card {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 1px 3px rgba(13, 27, 42, 0.04);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(13, 27, 42, 0.1);
}

.pricing-card.featured {
  border-color: var(--accent);
  border-width: 2px;
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  padding: 0.3rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-includes li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.pricing-includes li:last-child {
  border-bottom: none;
}

.pricing-includes li i {
  color: var(--accent);
  margin-right: 0.5rem;
}

/* ============================================
   Contact / Forms
   ============================================ */
.form-control,
.form-select {
  border-radius: 10px;
  border-color: var(--gray-200);
  padding: 0.65rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(0, 180, 216, 0.15);
}

.form-label {
  font-weight: 600;
  color: var(--text-heading);
  font-size: 0.9rem;
}

.contact-info-card {
  background: var(--light);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--gray-200);
}

.contact-info-card h5 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-info-item i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.contact-info-item p {
  margin: 0;
  color: var(--text-body);
}

.contact-info-item strong {
  color: var(--text-heading);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-brand {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand span {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  margin-top: 3rem;
}

/* ============================================
   About page — story section
   ============================================ */
.story-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-body);
}

.story-text .lead {
  font-size: 1.3rem;
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1.6;
}

.story-text p + p {
  margin-top: 1rem;
}

/* ============================================
   Decorative elements (hidden in new design)
   ============================================ */
.decoration-gavel,
.hero-decoration,
.wave-divider,
.dot-separator {
  display: none;
}

/* ============================================
   Alert messages (form responses)
   ============================================ */
.alert-success-ct {
  background: rgba(0, 168, 120, 0.08);
  border: 1px solid rgba(0, 168, 120, 0.25);
  color: var(--green-dark);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.alert-error-ct {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.25);
  color: #a71d2a;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for cards in a row */
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 991.98px) {
  .hero {
    padding: 6rem 0 3.5rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 5.5rem 0 3rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1.05rem;
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .cta-banner {
    padding: 4rem 0;
  }

  .cta-banner h2 {
    font-size: 1.75rem;
  }

  .btn-primary-ct,
  .btn-accent-ct,
  .btn-outline-ct {
    padding: 0.7rem 1.75rem;
    font-size: 0.95rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }
}
