:root {
  --primary: #0F2A66;
  --primary-light: #1E3A8A;
  --primary-lighter: #2563EB;
  --accent: #F97316;
  --accent-light: #FDBA74;
  --accent-yellow: #F59E0B;
  --bg-light: #F8FAFF;
  --text-dark: #111827;
  --text-body: #374151;
  --text-muted: #6B7280;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: #ffffff;
}

/* Custom color utilities */
.text-primary { color: var(--primary); }
.text-primary-light { color: var(--primary-light); }
.text-accent { color: var(--accent); }
.bg-primary { background-color: var(--primary); }
.bg-primary-light { background-color: var(--primary-light); }
.bg-accent { background-color: var(--accent); }
.border-accent { border-color: var(--accent); }
.border-primary { border-color: var(--primary); }

.hover\:bg-primary-light:hover { background-color: var(--primary-light); }
.hover\:text-accent:hover { color: var(--accent); }
.hover\:bg-accent:hover { background-color: #EA580C; }

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, #0F2A66 0%, #1E3A8A 50%, #2563EB 100%);
}

.hero-gradient-subtle {
  background: linear-gradient(180deg, #F8FAFF 0%, #EEF6FF 100%);
}

/* Accent gradient */
.accent-gradient {
  background: linear-gradient(135deg, #F97316 0%, #F59E0B 100%);
}

/* Card hover lift */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 42, 102, 0.12);
}

/* Button styles */
.btn-primary {
  background: linear-gradient(135deg, #F97316 0%, #F59E0B 100%);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.35);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-white {
  background: white;
  color: var(--primary);
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-white:hover {
  background: #EEF6FF;
}

/* Section titles */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

/* Animated underline for section titles */
.title-underline {
  position: relative;
  display: inline-block;
}
.title-underline::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #F97316, #F59E0B);
  border-radius: 2px;
}

/* Floating shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
}

/* Navigation */
.nav-link {
  position: relative;
  color: var(--text-body);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open {
  transform: translateX(0);
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid #E5E7EB;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.3s ease;
}
.faq-question:hover {
  color: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}
.faq-icon {
  transition: transform 0.3s ease;
  color: var(--accent);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* News card */
.news-card img {
  transition: transform 0.5s ease;
}
.news-card:hover img {
  transform: scale(1.05);
}

/* Feature icon circles */
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #EEF6FF 0%, #DBEAFE 100%);
  color: var(--primary);
}

/* Stats counter */
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #F97316 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Process steps */
.process-step {
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #E5E7EB;
  z-index: 0;
}
@media (max-width: 768px) {
  .process-step:not(:last-child)::after {
    display: none;
  }
}

/* Store card */
.store-card {
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}
.store-card:hover {
  border-left-color: var(--accent);
  background: #F8FAFF;
}

/* Form inputs */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  outline: none;
}
.form-input:focus {
  border-color: var(--primary-lighter);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero text shadow */
.text-shadow {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

/* Image frame */
.img-frame {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 42, 102, 0.15);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}
.badge-orange {
  background: #FFF7ED;
  color: #C2410C;
}
.badge-blue {
  background: #EEF6FF;
  color: var(--primary);
}

/* Testimonial card */
.testimonial-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(15, 42, 102, 0.08);
}

/* Footer */
footer {
  background: linear-gradient(180deg, #0F2A66 0%, #0A1F4D 100%);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }
  .stat-number {
    font-size: 2rem;
  }
  .btn-primary,
  .btn-outline,
  .btn-white {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Breadcrumb */
.breadcrumb {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.breadcrumb .separator {
  color: #D1D5DB;
}
.breadcrumb .current {
  color: var(--primary);
  font-weight: 500;
}

/* News article prose */
.news-prose {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.9;
}
.news-prose p {
  margin-bottom: 1.5rem;
}
.news-prose h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2.5rem 0 1.25rem;
  padding-left: 1rem;
  border-left: 4px solid var(--accent);
  line-height: 1.4;
}
.news-prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-light);
  margin: 1.75rem 0 1rem;
}
.news-prose ul {
  margin: 0 0 1.5rem 1.25rem;
  list-style: disc;
}
.news-prose ul li {
  margin-bottom: 0.6rem;
}
.news-prose strong {
  color: var(--primary);
  font-weight: 700;
}
.news-prose blockquote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #FFF7ED 0%, #EEF6FF 100%);
  border-left: 4px solid var(--accent);
  border-radius: 0 0.75rem 0.75rem 0;
  color: var(--text-dark);
  font-style: normal;
}
.news-prose blockquote p {
  margin: 0;
}
.news-prose .stat-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #F97316 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Related news mini card */
.related-card {
  display: block;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 42, 102, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 42, 102, 0.12);
}
.related-card .related-img {
  height: 140px;
  overflow: hidden;
}
.related-card .related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-card .related-gradient {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}
