/* ==============================================================================
   RydNxt SEO Hierarchy & Dynamic Landing Pages Stylesheet
   Compliant with Specification Sections 171 - 225
   ============================================================================== */

.rn-seo-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0F172A;
}

/* Breadcrumb Bar (Section 192) */
.rn-seo-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 1.5rem;
}

.rn-seo-breadcrumbs a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.2s;
}

.rn-seo-breadcrumbs a:hover {
  color: #D97706;
}

.rn-seo-breadcrumbs .bc-sep {
  color: #CBD5E1;
}

.rn-seo-breadcrumbs .bc-active {
  color: #0F172A;
  font-weight: 700;
}

/* Hero Section (H1 Hierarchy - Section 186) */
.rn-seo-hero {
  background: linear-gradient(135deg, #0B132B 0%, #1C2541 60%, #0F172A 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
  margin-bottom: 2.5rem;
}

.rn-seo-hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #F59E0B 0%, #10B981 50%, #3B82F6 100%);
}

.rn-seo-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FCD34D;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.rn-seo-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
  color: #FFFFFF;
}

.rn-seo-hero-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #CBD5E1;
  max-width: 820px;
  margin: 0 0 1.8rem 0;
}

.rn-seo-stats-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.rn-seo-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rn-seo-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.rn-seo-stat-label {
  font-size: 0.72rem;
  color: #94A3B8;
  text-transform: uppercase;
  font-weight: 700;
}

.rn-seo-stat-val {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
}

/* Embedded Booking Bar (Section 180 & 184) */
.rn-seo-booking-box {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 1.75rem 2rem;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
  margin-top: -2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
}

.rn-seo-booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #F1F5F9;
}

.rn-seo-booking-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rn-seo-trip-modes {
  display: flex;
  gap: 8px;
}

.rn-seo-trip-mode-btn {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #475569;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.rn-seo-trip-mode-btn.active {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.rn-seo-booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}

.rn-seo-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.rn-seo-field input, .rn-seo-field select {
  width: 100%;
  padding: 12px 14px;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0F172A;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.rn-seo-field input:focus, .rn-seo-field select:focus {
  border-color: #D97706;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.rn-seo-btn-search {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 13px 26px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rn-seo-btn-search:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
}

/* Vehicle Category Cards Grid (Section 184 & 185) */
.rn-seo-section {
  margin-bottom: 3.5rem;
}

.rn-seo-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
}

.rn-seo-section-subtitle {
  color: #64748B;
  font-size: 0.94rem;
  margin: 0 0 1.8rem 0;
}

.rn-seo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.rn-seo-vehicle-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rn-seo-vehicle-card:hover {
  transform: translateY(-4px);
  border-color: #F59E0B;
  box-shadow: 0 15px 30px -10px rgba(245, 158, 11, 0.2);
}

.rn-seo-vehicle-card.featured {
  border: 2px solid #10B981;
}

.rn-seo-vcard-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
}

.rn-seo-vcard-type {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px 0;
}

.rn-seo-vcard-model {
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 1rem;
}

.rn-seo-vcard-specs {
  display: flex;
  gap: 12px;
  font-size: 0.82rem;
  color: #475569;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.rn-seo-vcard-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
  margin-top: auto;
}

.rn-seo-vcard-fare {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0F172A;
}

.rn-seo-vcard-fare span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748B;
}

.rn-seo-btn-card-book {
  background: #0F172A;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.rn-seo-btn-card-book:hover {
  background: #D97706;
}

/* Travel Info & Tips Grid */
.rn-seo-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.rn-seo-info-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.4rem;
}

.rn-seo-info-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rn-seo-info-card p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* FAQ Accordion Section (Section 198) */
.rn-seo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rn-seo-faq-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s;
}

.rn-seo-faq-item.active {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.rn-seo-faq-question {
  padding: 1.1rem 1.4rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.rn-seo-faq-icon {
  font-size: 1.2rem;
  transition: transform 0.2s;
  color: #94A3B8;
}

.rn-seo-faq-item.active .rn-seo-faq-icon {
  transform: rotate(45deg);
  color: #D97706;
}

.rn-seo-faq-answer {
  display: none;
  padding: 0 1.4rem 1.2rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

.rn-seo-faq-item.active .rn-seo-faq-answer {
  display: block;
}

/* Related Routes Links Grid (Section 191) */
.rn-seo-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.rn-seo-related-link {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: #0F172A;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s;
}

.rn-seo-related-link:hover {
  border-color: #D97706;
  background: #FFFBEB;
  transform: translateY(-2px);
}

.rn-seo-related-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: #0F172A;
}

.rn-seo-related-meta {
  font-size: 0.78rem;
  color: #64748B;
}

/* Sticky CTA Bar on Mobile (Section 214) */
.rn-seo-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0F172A;
  padding: 12px 18px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  justify-content: space-between;
  align-items: center;
}

.rn-seo-sticky-cta-text {
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 700;
}

.rn-seo-sticky-cta-btn {
  background: #F59E0B;
  color: #000000;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .rn-seo-booking-grid {
    grid-template-columns: 1fr;
  }
  .rn-seo-hero {
    padding: 2rem 1.5rem;
  }
  .rn-seo-hero h1 {
    font-size: 1.9rem;
  }
  .rn-seo-sticky-cta {
    display: flex;
  }
}
