/* ========================================
   MODERN GLASSMORPHISM LANDING PAGE
   Lightweight, Premium, Accessible
   ======================================== */

:root {
  --brand-ink: #172033;
  --brand-muted: #647084;
  --brand-blue: #234feb;
  --brand-blue-2: #0b73ff;
  --brand-green: #14b86f;
  --brand-gold: #ffb020;
  --brand-soft: #f3f7ff;
  --brand-line: #dfe7f5;

  /* Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-dark: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.38);
  --glass-shadow: 0 18px 55px rgba(23, 32, 51, 0.08);
  --glass-blur: blur(20px);

  /* Gradient Colors */
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);

  /* Animation timings */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   GLOBAL STYLES & BACKGROUND
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  color: var(--brand-ink);
  background: #f8fafc;
  direction: rtl;
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  overflow-x: hidden;
  line-height: 1.7;
  position: relative;
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 80%, rgba(35, 79, 235, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(20, 184, 111, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 40% 40%, rgba(255, 176, 32, 0.04) 0%, transparent 30%);
  animation: backgroundFloat 20s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes backgroundFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, 2%) rotate(1deg); }
  66% { transform: translate(-1%, 1%) rotate(-1deg); }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

/* Initial state for animated elements */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

/* When element enters viewport */
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for child elements */
.animate-on-scroll.stagger-1 { transition-delay: 0.1s; }
.animate-on-scroll.stagger-2 { transition-delay: 0.2s; }
.animate-on-scroll.stagger-3 { transition-delay: 0.3s; }
.animate-on-scroll.stagger-4 { transition-delay: 0.4s; }

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  body::before {
    animation: none;
  }
}

/* ========================================
   NAVBAR & HEADER
   ======================================== */

.navbar-area {
  transition: var(--transition-smooth);
}

.navbar-area.sticky {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.navbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 12px 24px !important;
  margin-top: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
}

.navbar-brand img {
  transition: var(--transition-fast);
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-nav .nav-item a {
  position: relative;
  padding: 8px 16px !important;
  border-radius: 10px;
  transition: var(--transition-fast);
}

.navbar-nav .nav-item a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand-blue);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.navbar-nav .nav-item a:hover::after,
.navbar-nav .nav-item a.active::after {
  width: 60%;
}

.navbar-nav .nav-item a:hover {
  background: rgba(35, 79, 235, 0.08);
}

.header-btn .main-btn {
  background: var(--gradient-hero);
  border: none;
  padding: 12px 28px;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(35, 79, 235, 0.3);
}

.header-btn .main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(35, 79, 235, 0.4);
}

/* ========================================
   HERO SECTION & SLIDER
   ======================================== */

.hero-section {
  min-height: auto;
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}

.hero-section::before {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  top: -100px;
  left: -100px;
  animation: blobFloat 15s ease-in-out infinite;
}

.hero-section::after {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  bottom: -50px;
  right: -50px;
  animation: blobFloat 12s ease-in-out infinite reverse;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 30px) scale(1.1); }
}

.hero-banner-slider {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
}

.banner-viewport {
  position: relative;
  height: 540px;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(30, 58, 138, 0.95);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.banner-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 28px;
  padding: 40px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Different gradients for each slide */
.banner-slide:nth-child(1) {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
}

.banner-slide:nth-child(2) {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 50%, #ec4899 100%);
}

.banner-slide:nth-child(3) {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
}

.banner-slide--image {
  display: block;
  padding: 0;
}

.banner-slide.banner-slide--image {
  display: block;
  padding: 0;
}

.banner-slide--image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-slide--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  transition: transform 0.6s ease;
}

.banner-slide.is-active .banner-slide--image img {
  transform: scale(1.05);
}

.banner-content {
  color: #fff;
}

.banner-content h2 {
  font-size: 42px;
  line-height: 1.4;
  margin-bottom: 16px;
  font-weight: 800;
}

.banner-content p {
  font-size: 18px;
  opacity: 0.9;
  line-height: 1.8;
}

.banner-dots {
  position: absolute;
  left: 40px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  gap: 12px;
}

.banner-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-dots button:hover {
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.banner-dots button.is-active {
  width: 40px;
  border-radius: 6px;
  border-color: #fff;
  background: #fff;
}

/* ========================================
   GLASS CARDS & SECTIONS
   ======================================== */

.section-title {
  margin-bottom: 40px;
}

.section-title h1,
.section-title h3 {
  color: var(--brand-ink);
  font-weight: 700;
  line-height: 1.4;
}

.section-title p {
  color: var(--brand-muted);
  font-size: 16px;
  line-height: 1.9;
  max-width: 600px;
  margin: 16px auto 0;
}

/* Process Cards (Services) */
.single-process {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 36px 28px;
  height: 100%;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.single-process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.single-process:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(23, 32, 51, 0.12);
}

.single-process:hover::before {
  opacity: 1;
}

.process-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(35, 79, 235, 0.1) 0%, rgba(35, 79, 235, 0.05) 100%);
  border: 1px solid rgba(35, 79, 235, 0.15);
}

.process-visual img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(35, 79, 235, 0.15));
}

.single-process .content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--brand-ink);
}

.single-process .content p {
  color: var(--brand-muted);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.service-more {
  background: transparent;
  border: none;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.service-more:hover {
  background: rgba(35, 79, 235, 0.1);
}

/* Trust Stats */
.trust-stats {
  margin-top: 40px;
}

.trust-stats .stat-card {
  background: var(--glass-bg-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  text-align: center;
}

.trust-stats .stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(23, 32, 51, 0.12);
}

.trust-stats .stat-value {
  font-size: 44px;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.trust-stats .stat-value .suffix {
  font-size: 28px;
}

.trust-stats .stat-label {
  color: var(--brand-muted);
  font-size: 15px;
  margin: 0;
}

/* Activity Cards */
.activity-section {
  background: linear-gradient(180deg, rgba(243, 247, 255, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%);
  position: relative;
}

.activity-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 10% 20%, rgba(35, 79, 235, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(20, 184, 111, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.activity-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  height: 100%;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(23, 32, 51, 0.1);
}

.activity-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(35, 79, 235, 0.1) 0%, rgba(35, 79, 235, 0.05) 100%);
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.activity-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--brand-ink);
}

.activity-card p {
  color: var(--brand-muted);
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}

.activity-card--stack {
  flex-direction: column;
  align-items: flex-start !important;
}

/* ========================================
   HEADER IMAGE HEIGHT FIX
   ======================================== */

.navbar-brand img {
  height: 42px !important;
  width: auto;
}

/* ========================================
   COMPACT FEATURE SECTIONS (NEW FORMAT)
   ======================================== */

.feature-section-compact {
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

/* Decorative shapes for each section */
.feature-section-compact::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  pointer-events: none;
}

.feature-section-compact::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

/* Different colors for each section */
.feature-section-compact:nth-of-type(4)::before {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
}

.feature-section-compact:nth-of-type(4)::after {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
}

.feature-section-compact:nth-of-type(5)::before {
  background: linear-gradient(135deg, #7c3aed 0%, #c084fc 100%);
}

.feature-section-compact:nth-of-type(5)::after {
  background: linear-gradient(135deg, #db2777 0%, #f472b6 100%);
}

.feature-section-compact:nth-of-type(6)::before {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.feature-section-compact:nth-of-type(6)::after {
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
}

.compact-header {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto 50px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(35, 79, 235, 0.1) 0%, rgba(35, 79, 235, 0.05) 100%);
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(35, 79, 235, 0.15);
}

.feature-tag-alt {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.15);
}

.feature-tag-green {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
  color: #059669;
  border-color: rgba(5, 150, 105, 0.15);
}

.compact-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--brand-ink);
  line-height: 1.4;
}

.compact-header p {
  font-size: 16px;
  color: var(--brand-muted);
  line-height: 2;
  max-width: 600px;
  margin: 0 auto;
}

/* Feature Cards Row */
.feature-cards-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}

.feature-card-mini {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  cursor: default;
}

.feature-card-mini:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(23, 32, 51, 0.12);
  border-color: rgba(35, 79, 235, 0.2);
}

.feature-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(35, 79, 235, 0.08) 0%, rgba(35, 79, 235, 0.02) 100%);
  transition: var(--transition-smooth);
}

.feature-card-mini:hover .feature-icon-wrapper {
  background: linear-gradient(135deg, rgba(35, 79, 235, 0.15) 0%, rgba(35, 79, 235, 0.05) 100%);
  transform: scale(1.05);
}

.feature-icon-svg {
  width: 32px;
  height: 32px;
  color: var(--brand-blue);
  transition: var(--transition-smooth);
}

.feature-card-mini:hover .feature-icon-svg {
  color: var(--brand-blue-2);
  transform: rotate(5deg);
}

.feature-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-ink);
  line-height: 1.6;
  transition: var(--transition-fast);
}

.feature-card-mini:hover .feature-label {
  color: var(--brand-blue);
}

/* Feature Sections */
.feature-section-1,
.feature-section-2 {
  position: relative;
}

.feature-section-1.gray-bg-1,
.feature-section-2 {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(243, 247, 255, 0.5) 100%);
}

.feature-content-wrapper {
  background: var(--glass-bg-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--glass-shadow);
}

.feature-content-wrapper .section-title h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.single-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(223, 231, 245, 0.6);
  transition: var(--transition-fast);
}

.single-feature:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-5px);
}

.single-feature .icon-style {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(35, 79, 235, 0.08) 0%, rgba(35, 79, 235, 0.03) 100%);
}

.single-feature .icon-style img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.single-feature .content h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-ink);
}

.feature-image-1,
.feature-image-2 {
  text-align: center;
  padding: 20px;
}

.feature-image-1 img,
.feature-image-2 img {
  max-width: 100%;
  filter: drop-shadow(0 20px 40px rgba(35, 79, 235, 0.15));
  transition: var(--transition-smooth);
}

.feature-image-1:hover img,
.feature-image-2:hover img {
  transform: scale(1.02) translateY(-5px);
}

/* ========================================
   CONTACT & FAQ SECTIONS
   ======================================== */

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rule-card,
.faq-item,
.contact-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.rule-card {
  padding: 24px;
  color: var(--brand-ink);
  line-height: 2;
  font-size: 14px;
}

.rule-card:hover {
  transform: translateY(-3px);
  background: var(--glass-bg-dark);
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item:hover {
  box-shadow: 0 20px 50px rgba(23, 32, 51, 0.1);
}

.faq-item summary {
  position: relative;
  padding: 24px 40px 24px 24px;
  cursor: pointer;
  list-style: none;
  color: var(--brand-ink);
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition-fast);
}

.faq-item summary:hover {
  color: var(--brand-blue);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  color: var(--brand-blue);
  font-size: 24px;
  font-weight: 300;
  transition: var(--transition-fast);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 0;
  padding: 0 24px 24px 24px;
  color: var(--brand-muted);
  line-height: 2;
  font-size: 15px;
}

.contact-card {
  padding: 36px;
  height: 100%;
}

.contact-card h4 {
  margin-bottom: 20px;
  font-size: 18px;
  color: var(--brand-ink);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  color: var(--brand-ink);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 10px;
  transition: var(--transition-fast);
  text-decoration: none;
}

.contact-links a:hover {
  background: rgba(35, 79, 235, 0.08);
  color: var(--brand-blue);
  transform: translateX(-5px);
}

.socials--text {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid rgba(35, 79, 235, 0.2);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-pill:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(35, 79, 235, 0.25);
}

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

.footer {
  background: linear-gradient(180deg, #153fd1 0%, #082a86 58%, #071d5f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(35, 79, 235, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(20, 184, 111, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer .cta-section {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  padding-bottom: 56px;
}

.footer .cta-section .cta-wrapper {
  background: linear-gradient(135deg, rgba(44, 88, 239, 0.98), rgba(27, 76, 222, 0.92));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 64px 40px 56px;
  box-shadow: 0 22px 70px rgba(0, 20, 86, 0.32);
}

.footer .cta-section .cta-wrapper .cta-content-wrapper .section-title span {
  font-size: 26px;
}

.footer .cta-section .cta-wrapper .cta-content-wrapper .section-title h1 {
  font-size: 42px;
  line-height: 1.45;
}

.footer .cta-section .cta-wrapper .cta-content-wrapper .section-title p {
  max-width: 620px;
  margin-inline: auto;
}

.footer .footer-content {
  position: relative;
  z-index: 1;
  background-image: none;
  padding-top: 20px;
}

.footer .footer-content .widget-wrapper {
  padding-bottom: 48px;
}

.footer .footer-content .row {
  row-gap: 22px;
}

.footer .footer-content .widget-wrapper .footer-widget {
  margin-bottom: 0;
}

.footer-widget {
  margin-bottom: 0;
}

.footer-widget h3,
.footer-widget h6 {
  color: #fff;
  margin-bottom: 20px;
}

.footer-widget p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.9;
}

.footer-widget .logo img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

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

.footer-widget .links li {
  margin-bottom: 12px;
}

.footer-widget .links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 14px;
}

.footer-widget .links a:hover {
  color: #fff;
  transform: translateX(-5px);
  display: inline-block;
}

.footer .socials--text {
  gap: 8px;
  margin-top: 10px;
}

.footer .socials--icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.footer .socials--icons li {
  margin: 0;
}

.footer .footer-content .widget-wrapper .footer-widget .socials--icons li a.social-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer .footer-content .widget-wrapper .footer-widget .socials--icons li a.social-icon:hover {
  background: #fff;
  border-color: #fff;
  color: var(--brand-blue);
  transform: translateY(-2px);
}

.footer .footer-content .widget-wrapper .footer-widget .socials--text li a.social-pill {
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 34px;
  margin: 0;
  padding: 8px 12px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.4;
}

.footer .footer-content .widget-wrapper .footer-widget .socials--text li a.social-pill:hover {
  background: #fff;
  border-color: #fff;
  color: var(--brand-blue);
}

.copyright-wrapper {
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* ========================================
   MODAL
   ======================================== */

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.service-modal.is-open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.service-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 23, 47, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.service-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(600px, 100%);
  background: var(--glass-bg-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.service-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--brand-line);
  background: rgba(243, 247, 255, 0.5);
}

.service-modal__head h3 {
  margin: 0;
  font-size: 22px;
  color: var(--brand-ink);
}

.service-modal__close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(23, 32, 51, 0.08);
  color: var(--brand-ink);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.service-modal__close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  transform: rotate(90deg);
}

.service-modal__body {
  padding: 28px;
}

.service-modal__banner {
  display: block;
  overflow: hidden;
  margin: -4px -4px 24px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.12);
}

.service-modal__banner img {
  display: block;
  width: 100%;
  height: auto;
}

.service-modal__body p {
  margin-bottom: 16px;
  color: var(--brand-muted);
  line-height: 2;
}

.service-modal__body ul {
  margin: 0;
  padding-right: 20px;
}

.service-modal__body li {
  margin-bottom: 10px;
  color: var(--brand-ink);
  line-height: 1.9;
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-blue);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  box-shadow: 0 8px 25px rgba(35, 79, 235, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  z-index: 999;
  cursor: pointer;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--brand-blue-2);
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(35, 79, 235, 0.4);
}

/* ========================================
   DOWNLOAD GUIDE PAGE
   ======================================== */

.download-guide-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f4f8ff 0%, #e8f2ff 100%);
}

.guide-shell {
  padding: 100px 0 80px;
}

.guide-hero {
  background: var(--gradient-hero);
  border: none;
  border-radius: 28px;
  padding: 50px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.guide-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20%, -20%) scale(1.2); }
}

.guide-hero h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
}

.guide-hero p {
  font-size: 17px;
  line-height: 2;
  opacity: 0.95;
  position: relative;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  position: relative;
}

.guide-actions .main-btn {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 14px 28px;
}

.guide-hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-hero__visual img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(8, 31, 86, 0.24);
}

.pending-download-section {
  padding: 80px 0 0;
  background: #f7fbff;
}

.pending-banner {
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 32px;
  overflow: hidden;
  position: relative;
  border-radius: 28px;
  padding: 32px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #0c3482 0%, #1f66bf 48%, #65d4ee 100%);
  box-shadow: 0 24px 60px rgba(35, 79, 235, 0.22);
}

.pending-banner:hover {
  color: #fff;
  transform: translateY(-2px);
}

.pending-banner__content,
.pending-banner__visual {
  position: relative;
  z-index: 1;
}

.pending-banner__eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.pending-banner h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.5;
}

.pending-banner p {
  max-width: 520px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 2;
}

.pending-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 14px;
  background: #fff;
  color: var(--brand-blue);
  font-weight: 800;
}

.pending-banner__visual {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
}

.pending-banner--download .pending-banner__visual {
  width: 100%;
  min-height: 250px;
  display: block;
  overflow: hidden;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 44px rgba(10, 28, 76, 0.2);
}

.pending-banner__image {
  width: 100%;
  height: 100%;
  min-height: 250px;
  display: block;
  object-fit: cover;
}

.pending-phone-shape,
.pending-hand-shape {
  width: 118px;
  height: 168px;
  display: block;
  border: 10px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.32));
  box-shadow: 0 18px 42px rgba(10, 28, 76, 0.22);
}

.pending-hand-shape {
  width: 154px;
  height: 112px;
  border-radius: 34px 34px 48px 48px;
  transform: rotate(-8deg);
}

.pending-image-note {
  position: absolute;
  bottom: 18px;
  right: 50%;
  transform: translateX(50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(12, 25, 57, 0.32);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pending-banner--account {
  min-height: 360px;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 28px;
  text-align: right;
  background: linear-gradient(145deg, #0e2f76 0%, #234feb 58%, #73d2ff 100%);
}

.pending-banner--account .pending-banner__visual {
  min-height: 170px;
}

.download-cta-row {
  align-items: center;
}

.download-cta-row .main-btn {
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  line-height: 1.5;
}

.download-cta-row .main-btn span {
  font-size: 11px;
  opacity: 0.78;
}

.download-cta-row .main-btn.is-disabled {
  cursor: default;
  pointer-events: none;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.guide-card {
  background: var(--glass-bg-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  position: relative;
}

.guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-hero);
  border-radius: 24px 0 0 24px;
}

.guide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(23, 32, 51, 0.12);
}

.guide-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--brand-ink);
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-card h3::before {
  content: '◆';
  color: var(--brand-blue);
}

.guide-step-list,
.guide-rule-list {
  margin: 0;
  padding-right: 20px;
}

.guide-step-list li,
.guide-rule-list li {
  margin-bottom: 14px;
  color: var(--brand-ink);
  line-height: 2;
  font-size: 15px;
}

.guide-step-list li::marker {
  color: var(--brand-blue);
  font-weight: bold;
}

.guide-app-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  margin-top: 24px;
  padding: 10px 24px;
  border-radius: 12px;
  background: var(--gradient-hero);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.guide-app-link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(35, 79, 235, 0.28);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
  .banner-content h2 {
    font-size: 36px;
  }

  .section-title h1 {
    font-size: 32px;
  }

  .banner-viewport {
    height: 480px;
  }
}

@media (max-width: 991px) {
  .hero-section {
    padding-top: 120px;
    padding-bottom: 30px;
  }

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

  .navbar {
    margin-top: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .navbar-area.sticky .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
  }

  .banner-viewport {
    height: auto;
    aspect-ratio: 1983 / 793;
    border-radius: 22px;
  }

  .banner-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 20px;
    padding: 30px;
  }

  .banner-content {
    text-align: center;
  }

  .banner-content h2 {
    font-size: 32px;
  }

  .banner-content p {
    font-size: 16px;
  }

  .banner-dots {
    left: 50%;
    transform: translateX(-50%);
  }

  .rules-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .feature-cards-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .compact-header h2 {
    font-size: 26px;
  }

  .feature-section-compact {
    padding: 50px 0;
  }

  .feature-content-wrapper {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .footer .cta-section .cta-wrapper {
    padding: 40px 30px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 100px;
    padding-bottom: 20px;
  }

  .banner-viewport {
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
  }

  .banner-slide {
    padding: 24px;
  }

  .banner-content h2 {
    font-size: 26px;
  }

  .banner-content p {
    font-size: 14px;
  }

  .banner-dots {
    bottom: 20px;
  }

  .pending-download-section {
    padding-top: 48px;
  }

  .pending-banner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 22px;
    border-radius: 22px;
  }

  .pending-banner h2 {
    font-size: 24px;
  }

  .pending-banner p {
    font-size: 14px;
  }

  .pending-banner__visual {
    min-height: 170px;
  }

  .pending-banner--download .pending-banner__visual,
  .pending-banner__image {
    min-height: 220px;
  }

  .download-cta-row .main-btn {
    width: 100%;
  }

  .section-title h1 {
    font-size: 26px;
  }

  .section-title h3 {
    font-size: 22px;
  }

  .section-title p {
    font-size: 14px;
  }

  .single-process {
    padding: 28px 20px;
  }

  .process-visual {
    width: 100px;
    height: 100px;
  }

  .process-visual img {
    width: 64px;
    height: 64px;
  }

  .trust-stats .stat-value {
    font-size: 36px;
  }

  .activity-card {
    padding: 22px;
  }

  .feature-cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .feature-card-mini {
    padding: 24px 16px;
  }

  .feature-icon-wrapper {
    width: 56px;
    height: 56px;
  }

  .feature-icon-svg {
    width: 28px;
    height: 28px;
  }

  .compact-header h2 {
    font-size: 22px;
  }

  .compact-header p {
    font-size: 14px;
  }

  .feature-section-compact {
    padding: 40px 0;
  }

  .feature-content-wrapper {
    padding: 24px;
  }

  .feature-content-wrapper .section-title h1 {
    font-size: 24px;
  }

  .guide-hero {
    padding: 36px 24px;
  }

  .guide-hero h1 {
    font-size: 28px;
  }

  .guide-hero p {
    font-size: 15px;
  }

  .guide-card {
    padding: 28px 24px;
  }

  .guide-card h3 {
    font-size: 18px;
  }

  .scroll-top {
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .footer-widget .logo img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .banner-viewport {
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
  }

  .banner-dots {
    bottom: 12px;
    gap: 8px;
  }

  .banner-dots button {
    width: 9px;
    height: 9px;
  }

  .banner-dots button.is-active {
    width: 28px;
  }

  .banner-content h2 {
    font-size: 22px;
  }

  .single-process {
    padding: 24px 16px;
  }

  .feature-cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .feature-card-mini {
    padding: 20px 12px;
  }

  .feature-icon-wrapper {
    width: 48px;
    height: 48px;
  }

  .feature-icon-svg {
    width: 24px;
    height: 24px;
  }

  .feature-label {
    font-size: 13px;
  }

  .footer .cta-section .cta-wrapper {
    padding: 30px 20px;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
.main-btn:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background: rgba(35, 79, 235, 0.2);
  color: var(--brand-ink);
}

::-moz-selection {
  background: rgba(35, 79, 235, 0.2);
  color: var(--brand-ink);
}

/* Smooth scrollbar for Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--brand-blue) rgba(223, 231, 245, 0.5);
}

/* Smooth scrollbar for Chrome/Safari */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(223, 231, 245, 0.5);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-blue-2);
}
