/**
 * Agtime Landing Page - Elegant Formal Design
 * Images from https://portal.aggtime.com
 */

:root {
  --agtime-primary: #4f46e5;
  --agtime-primary-dark: #3730a3;
  --agtime-secondary: #6366f1;
  --agtime-dark: #1e293b;
  --agtime-muted: #475569;
  --agtime-light: #f8fafc;
  --agtime-border: #e2e8f0;
  --agtime-success: #059669;
  --agtime-text: #334155;
  --agtime-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --agtime-shadow-lg: 0 10px 40px -10px rgba(0, 0, 0, 0.12);
}

.agtime-landing {
  font-family: 'Tajawal', 'Segoe UI', system-ui, sans-serif;
  color: var(--agtime-text);
  direction: rtl;
  overflow-x: hidden;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* ─── Navbar ─── */
.agtime-nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--agtime-border);
  padding: 0.875rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.agtime-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--agtime-dark);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.agtime-logo img {
  height: 40px;
  width: auto;
  margin-left: 0.5rem;
}

.logo-text {
  color: var(--agtime-primary);
}

.nav-menu a {
  color: var(--agtime-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-menu a:hover {
  color: var(--agtime-primary);
  background: rgba(79, 70, 229, 0.06);
}

/* Nav badges - pill-style links to content pages from /back Pages */
.nav-badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: rgba(79, 70, 229, 0.08);
  color: var(--agtime-primary);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.nav-badge:hover {
  background: var(--agtime-primary);
  color: white;
  border-color: var(--agtime-primary);
}

.nav-actions .btn-outline-light {
  border-color: var(--agtime-border);
  color: var(--agtime-muted);
  font-weight: 500;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-actions .btn {
  min-width: 96px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.9rem;
}

.nav-actions .btn-outline-light:hover {
  border-color: var(--agtime-primary);
  color: var(--agtime-primary);
  background: transparent;
}

.nav-actions .btn-primary {
  background: var(--agtime-primary);
  border-color: var(--agtime-primary);
  font-weight: 600;
}

.nav-actions .btn-primary:hover {
  background: var(--agtime-primary-dark);
  border-color: var(--agtime-primary-dark);
}

/* ─── Hero ─── */
.agtime-hero {
  position: relative;
  background: linear-gradient(160deg, #f1f5f9 0%, #e2e8f0 50%, #f8fafc 100%);
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.agtime-hero .hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://portal.aggtime.com/wp-content/uploads/2023/11/2894606-e1700753231784-938x1024.jpg') no-repeat;
  background-size: cover;
  background-position: left center;
  opacity: 0.06;
  pointer-events: none;
}

.agtime-hero .hero-sub {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--agtime-primary);
  margin-bottom: 0.5rem;
}

.agtime-hero .hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--agtime-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.agtime-hero .hero-desc {
  font-size: 1.0625rem;
  color: var(--agtime-muted);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.agtime-hero .btn-primary {
  background: var(--agtime-primary);
  border-color: var(--agtime-primary);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  letter-spacing: 0.02em;
}

.agtime-hero .btn-primary:hover {
  background: var(--agtime-primary-dark);
  border-color: var(--agtime-primary-dark);
}

.agtime-hero .hero-cta .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.agtime-hero .hero-register-btn {
  border: 0;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.agtime-hero .hero-register-btn:hover,
.agtime-hero .hero-register-btn:focus {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.34);
}

.hero-illustration {
  position: relative;
}

.hero-illustration img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--agtime-shadow-lg);
}

/* ─── Section Titles ─── */
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--agtime-dark);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

/* ─── Project overview ─── */
.agtime-overview {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.overview-lead {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--agtime-muted);
  margin: 0;
}

.overview-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.metric-card {
  background: #fff;
  border: 1px solid var(--agtime-border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: var(--agtime-shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--agtime-primary);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--agtime-muted);
}

.overview-card {
  background: #fff;
  border: 1px solid var(--agtime-border);
  border-radius: 12px;
  padding: 1.4rem 1.2rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.overview-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--agtime-shadow-lg);
  border-color: #cbd5e1;
}

.overview-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--agtime-primary), var(--agtime-secondary));
  color: #fff;
  margin-bottom: 0.8rem;
}

.overview-card h4 {
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
  color: var(--agtime-dark);
}

.overview-card p {
  font-size: 0.92rem;
  color: var(--agtime-muted);
  margin: 0;
  line-height: 1.75;
}

.overview-process {
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  padding: 1.5rem;
  background: #fff;
}

.process-step {
  height: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem;
}

.step-no {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--agtime-primary);
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.55rem;
}

.process-step h5 {
  font-size: 0.98rem;
  margin-bottom: 0.45rem;
  color: var(--agtime-dark);
}

.process-step p {
  margin: 0;
  color: var(--agtime-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── Pricing ─── */
.agtime-pricing {
  padding: 5rem 0;
  background: #fff;
}

.agtime-pricing .section-title {
  margin-bottom: 3rem;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--agtime-border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  height: 100%;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.2s;
  position: relative;
}

.pricing-card:hover {
  box-shadow: var(--agtime-shadow-lg);
  border-color: #cbd5e1;
}

.pricing-card.pricing-featured {
  border-color: var(--agtime-primary);
  border-width: 2px;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.1), var(--agtime-shadow-lg);
}

.pricing-card.pricing-featured:hover {
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.15), 0 20px 50px -15px rgba(79, 70, 229, 0.2);
}

.badge-popular {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--agtime-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--agtime-dark);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--agtime-primary);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--agtime-muted);
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
}

.pricing-features li i {
  color: var(--agtime-primary);
  opacity: 0.9;
  margin-left: 0.5rem;
}

.pricing-card .btn-outline-primary {
  border-color: var(--agtime-primary);
  color: var(--agtime-primary);
  font-weight: 600;
}

.pricing-card .btn-outline-primary:hover {
  background: var(--agtime-primary);
  color: #fff;
  border-color: var(--agtime-primary);
}

.pricing-card .btn-primary {
  background: var(--agtime-primary);
  border-color: var(--agtime-primary);
  font-weight: 600;
}

.pricing-card .btn-primary:hover {
  background: var(--agtime-primary-dark);
  border-color: var(--agtime-primary-dark);
}

/* ─── Vision ─── */
.agtime-vision {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--agtime-primary) 0%, var(--agtime-primary-dark) 100%);
  color: #fff;
}

.agtime-vision .section-title {
  color: #fff;
}

.vision-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-icon img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  opacity: 0.95;
}

.vision-text {
  font-size: 1.0625rem;
  line-height: 1.9;
  opacity: 0.95;
  margin: 0;
}

/* ─── Features (slider) ─── */
.agtime-features {
  padding: 5rem 0;
  background: var(--agtime-light);
}

.agtime-features .section-title {
  margin-bottom: 0.5rem;
}

.agtime-features .features-subtitle {
  max-width: 520px;
  font-size: 1rem;
  color: var(--agtime-muted);
}

/* Owl Carousel: full width, looped */
.features-owl-wrap {
  width: 100%;
  overflow: hidden;
  padding: 0 0 2rem;
}

.features-owl-wrap .features-owl {
  width: 100%;
}

.features-owl .owl-stage-outer {
  padding: 0.5rem 0;
}

.features-owl .item {
  padding: 0 12px;
}

.features-owl .item .feature-card {
  padding: 1.75rem 1.5rem;
  text-align: start;
}

.features-owl .item .feature-card .feature-icon {
  margin-bottom: 1rem;
}

.features-owl .item .feature-card .feature-icon img {
  max-width: 64px;
}

.features-owl .item .feature-card h4 {
  font-size: 1.0625rem;
  margin-bottom: 0.65rem;
}

.features-owl .item .feature-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

.features-owl.owl-rtl .owl-item {
  float: right;
}

.features-owl .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
  margin: 0;
}

.features-owl .owl-nav button {
  pointer-events: auto;
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff !important;
  border: 1px solid var(--agtime-border) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  color: var(--agtime-primary);
  transition: background 0.2s, transform 0.2s;
}

.features-owl .owl-nav button:hover {
  background: var(--agtime-primary) !important;
  color: #fff !important;
  transform: scale(1.06);
}

.features-owl .owl-nav .owl-prev {
  left: 1rem;
}

.features-owl .owl-nav .owl-next {
  right: 1rem;
}

[dir="rtl"] .features-owl .owl-nav .owl-prev {
  left: auto;
  right: 1rem;
}

[dir="rtl"] .features-owl .owl-nav .owl-next {
  right: auto;
  left: 1rem;
}

.features-owl .owl-dots {
  margin-top: 1rem;
  text-align: center;
}

.features-owl .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1 !important;
  margin: 0 4px;
  transition: background 0.2s, transform 0.2s;
}

.features-owl .owl-dots .owl-dot.active {
  background: var(--agtime-primary) !important;
  transform: scale(1.2);
}

.features-slider-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 3.5rem;
  position: relative;
}

.features-slider {
  overflow: visible;
}

.features-slider .carousel-inner {
  overflow: visible;
}

.feature-slide-row {
  padding: 0.25rem 0 3rem;
  min-height: 260px;
}

.feature-slide-row .feature-card {
  text-align: start;
  padding: 1.75rem 1.5rem;
}

.feature-slide-row .feature-card .feature-icon {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1rem;
}

.feature-slide-row .feature-card .feature-icon img {
  max-width: 64px;
}

.feature-slide-row .feature-card h4 {
  font-size: 1.0625rem;
  margin-bottom: 0.65rem;
}

.feature-slide-row .feature-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: none;
  margin: 0;
}

/* Features carousel controls */
.features-slider .carousel-control-prev.features-control,
.features-slider .carousel-control-next.features-control {
  width: 52px;
  height: 52px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  background: #fff;
  border-radius: 50%;
  opacity: 1;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--agtime-border);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.features-slider .carousel-control-prev.features-control {
  left: auto;
  right: auto;
  inset-inline-start: -0.5rem;
}

.features-slider .carousel-control-next.features-control {
  left: auto;
  right: auto;
  inset-inline-end: -0.5rem;
}

.features-slider .carousel-control-prev.features-control:hover,
.features-slider .carousel-control-next.features-control:hover {
  background: var(--agtime-primary);
  border-color: var(--agtime-primary);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 6px 24px rgba(79, 70, 229, 0.35);
}

.features-slider .carousel-control-prev-icon,
.features-slider .carousel-control-next-icon {
  width: 1.25rem;
  height: 1.25rem;
  background-size: 100% 100%;
  filter: none;
}

.features-slider .carousel-control-prev.features-control:hover .carousel-control-prev-icon,
.features-slider .carousel-control-next.features-control:hover .carousel-control-next-icon {
  filter: brightness(0) invert(1);
}

.features-slider .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234f46e5'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.features-slider .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234f46e5'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.features-indicators {
  bottom: 0.5rem;
  margin-bottom: 0;
}

.features-slider .carousel-indicators.features-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
  opacity: 1;
  transition: background-color 0.25s, transform 0.25s;
}

.features-slider .carousel-indicators.features-indicators .active {
  background-color: var(--agtime-primary);
  transform: scale(1.25);
}

[dir="rtl"] .features-slider .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234f46e5'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[dir="rtl"] .features-slider .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234f46e5'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
  .features-slider-wrap {
    padding: 0 2.75rem;
  }
  .features-slider .carousel-control-prev.features-control {
    inset-inline-start: 0.25rem;
  }
  .features-slider .carousel-control-next.features-control {
    inset-inline-end: 0.25rem;
  }
  .feature-slide-row .feature-card {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 576px) {
  .features-slider-wrap {
    padding: 0 2.25rem;
  }
  .features-slider .carousel-control-prev.features-control,
  .features-slider .carousel-control-next.features-control {
    width: 44px;
    height: 44px;
  }
  .feature-slide-row {
    min-height: 220px;
  }
  .feature-slide-row .feature-card {
    padding: 1.25rem 1rem;
  }
  .feature-slide-row .feature-card .feature-icon img {
    max-width: 56px;
  }
  .feature-slide-row .feature-card h4 {
    font-size: 1rem;
  }
  .feature-slide-row .feature-card p {
    font-size: 0.875rem;
  }
}

.feature-card {
  background: #fff;
  border: 1px solid var(--agtime-border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  height: 100%;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--agtime-shadow-lg);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--agtime-primary), var(--agtime-secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.375rem;
  margin-bottom: 1.25rem;
}

.feature-card.feature-with-img .feature-icon {
  width: auto;
  height: auto;
  background: none;
  padding: 0;
  margin-bottom: 1rem;
}

.feature-card.feature-with-img .feature-icon img {
  max-width: 64px;
  height: auto;
}

.feature-card h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--agtime-dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.feature-card p {
  color: var(--agtime-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

/* ─── App screenshots slider (big images) ─── */
.agtime-screenshots {
  padding: 5rem 0;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 50%, #fff 100%);
}

.screenshots-slider-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
  position: relative;
}

.screenshots-slider {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
  background: #0f172a;
}

.screenshot-slide {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #1e293b;
  overflow: hidden;
}

.screenshot-slide .screenshot-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bigger image area: allow taller aspect for phone-style screenshots */
@media (min-width: 768px) {
  .screenshot-slide {
    padding-top: 62%;
  }
  .screenshot-slide .screenshot-img {
    object-fit: contain;
    max-height: 85vh;
    width: auto;
    max-width: 100%;
  }
}

.screenshots-slider .carousel-inner {
  border-radius: 20px;
  overflow: hidden;
}

.screenshots-slider .carousel-item {
  transition: transform 0.6s ease-in-out;
}

.screenshots-slider .carousel-control-prev,
.screenshots-slider .carousel-control-next {
  width: 56px;
  height: 56px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  opacity: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.2s;
  border: none;
}

.screenshots-slider .carousel-control-prev {
  left: auto;
  right: auto;
  inset-inline-start: -1.5rem;
}

.screenshots-slider .carousel-control-next {
  left: auto;
  right: auto;
  inset-inline-end: -1.5rem;
}

.screenshots-slider .carousel-control-prev:hover,
.screenshots-slider .carousel-control-next:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}

.screenshots-slider .carousel-control-prev-icon,
.screenshots-slider .carousel-control-next-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-size: 100% 100%;
  filter: none;
}

.screenshots-slider .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e293b'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.screenshots-slider .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e293b'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.screenshots-slider .carousel-indicators {
  bottom: -2.5rem;
  margin-bottom: 0;
}

.screenshots-slider .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
  opacity: 1;
  transition: background-color 0.25s, transform 0.25s;
}

.screenshots-slider .carousel-indicators .active {
  background-color: var(--agtime-primary);
  transform: scale(1.2);
}

[dir="rtl"] .screenshots-slider .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e293b'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[dir="rtl"] .screenshots-slider .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e293b'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
  .screenshots-slider-wrap {
    padding: 0 2.5rem;
  }
  .screenshots-slider .carousel-control-prev {
    inset-inline-start: 0.5rem;
  }
  .screenshots-slider .carousel-control-next {
    inset-inline-end: 0.5rem;
  }
  .screenshots-slider .carousel-control-prev,
  .screenshots-slider .carousel-control-next {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 576px) {
  .screenshots-slider-wrap {
    padding: 0 0.5rem;
  }
  .screenshot-slide {
    padding-top: 65%;
  }
  .screenshots-slider .carousel-control-prev,
  .screenshots-slider .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  .screenshots-slider .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
  }
}

/* ─── Contact ─── */
.agtime-contact {
  padding: 5rem 0;
  background: #fff;
}

.contact-intro {
  font-size: 1.0625rem;
  color: var(--agtime-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.contact-details {
  margin-top: 1.5rem;
}

.contact-details p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: var(--agtime-dark);
}

.contact-details a {
  color: var(--agtime-primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* ─── Footer ─── */
.agtime-footer {
  background: var(--agtime-dark);
  color: rgba(255, 255, 255, 0.88);
  padding: 3.5rem 0 2rem;
}

.agtime-footer .footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.agtime-footer .footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  opacity: 0.85;
}

.agtime-footer h6 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 2rem 0 1.5rem;
}

.footer-copy {
  font-size: 0.875rem;
  opacity: 0.75;
}

/* ─── App Store Badges ─── */
.app-badges {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.app-badges a {
  display: block;
}

.app-badges img {
  height: 44px;
  width: auto;
}

/* ─── Page view (single content page) ─── */
.page-view-body {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 35%, #fff 100%);
  min-height: 100vh;
}

.page-view-hero {
  background: linear-gradient(135deg, var(--agtime-primary) 0%, var(--agtime-primary-dark) 100%);
  color: #fff;
  padding: 2rem 0 2.5rem;
  margin-bottom: 0;
}

.page-breadcrumb {
  margin-bottom: 0.75rem;
}

.page-breadcrumb .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.page-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.page-breadcrumb .breadcrumb-item a:hover {
  color: #fff;
  text-decoration: underline;
}

.page-breadcrumb .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.95);
}

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

.page-view-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.page-view-meta {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.page-view-meta i {
  opacity: 0.85;
}

.page-view-section {
  padding: 2.5rem 0 4rem;
}

.page-view-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--agtime-shadow-lg);
  border: 1px solid var(--agtime-border);
  overflow: hidden;
}

.page-view-featured {
  width: 100%;
  max-height: 380px;
  overflow: hidden;
  background: #f1f5f9;
}

.page-view-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-view-card .page-card-inner {
  padding: 2rem 2.25rem;
}

@media (max-width: 768px) {
  .page-view-card .page-card-inner {
    padding: 1.5rem 1.25rem;
  }
  .page-view-title {
    font-size: 1.5rem;
  }
}

/* Prose: rich content inside .page-content */
.page-content.prose {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--agtime-text);
}

.page-content.prose h1,
.page-content.prose h2,
.page-content.prose h3,
.page-content.prose h4 {
  color: var(--agtime-dark);
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.page-content.prose h1 { font-size: 1.65rem; }
.page-content.prose h2 { font-size: 1.4rem; }
.page-content.prose h3 { font-size: 1.2rem; }
.page-content.prose h4 { font-size: 1.1rem; }

.page-content.prose p {
  margin-bottom: 1.25rem;
}

.page-content.prose p:last-child {
  margin-bottom: 0;
}

.page-content.prose ul,
.page-content.prose ol {
  margin-bottom: 1.25rem;
  padding-inline-start: 1.75rem;
}

.page-content.prose li {
  margin-bottom: 0.4rem;
}

.page-content.prose a {
  color: var(--agtime-primary);
  text-decoration: none;
  font-weight: 500;
}

.page-content.prose a:hover {
  text-decoration: underline;
}

.page-content.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.25rem 0;
  box-shadow: var(--agtime-shadow);
}

.page-content.prose blockquote {
  border-inline-start: 4px solid var(--agtime-primary);
  padding-inline-start: 1.25rem;
  margin: 1.5rem 0;
  color: var(--agtime-muted);
  font-style: italic;
}

.page-content.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.page-content.prose table th,
.page-content.prose table td {
  border: 1px solid var(--agtime-border);
  padding: 0.6rem 0.85rem;
  text-align: start;
}

.page-content.prose table th {
  background: #f8fafc;
  font-weight: 600;
  color: var(--agtime-dark);
}

.page-content.prose hr {
  border: none;
  border-top: 1px solid var(--agtime-border);
  margin: 2rem 0;
}

.page-content-empty {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--agtime-muted);
}

.page-content-empty i {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.page-content-empty p {
  margin: 0;
  font-size: 1rem;
}

.page-view-actions .btn-outline-primary {
  border-color: var(--agtime-primary);
  color: var(--agtime-primary);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.6rem 1.25rem;
}

.page-view-actions .btn-outline-primary:hover {
  background: var(--agtime-primary);
  color: #fff;
  border-color: var(--agtime-primary);
}

/* ─── Responsive ─── */
@media (max-width: 991px) {
  .agtime-hero .hero-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .agtime-hero {
    padding: 3.5rem 0 4rem;
  }

  .agtime-hero .hero-title {
    font-size: 1.875rem;
  }

  .agtime-hero .hero-desc {
    font-size: 1rem;
  }

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

  .pricing-card,
  .feature-card {
    padding: 1.5rem;
  }

  .overview-process {
    padding: 1rem;
  }

  .overview-card {
    padding: 1.1rem 1rem;
  }
}
