/* ================================================================
   RAPID LOAN — Public Website Styles
   Completely separate from CRM styles
   ================================================================ */

/* ----------------------------------------------------------------
   1. VARIABLES & RESET
   ---------------------------------------------------------------- */
:root {
  --ws-primary:      #4f46e5;
  --ws-primary-dark: #3730a3;
  --ws-primary-light:#eef2ff;
  --ws-accent:       #06b6d4;
  --ws-accent-dark:  #0891b2;
  --ws-dark:         #0f172a;
  --ws-dark2:        #1e293b;
  --ws-dark3:        #334155;
  --ws-text:         #1e293b;
  --ws-text-muted:   #64748b;
  --ws-border:       #e2e8f0;
  --ws-bg:           #f8fafc;
  --ws-white:        #ffffff;
  --ws-green:        #10b981;
  --ws-yellow:       #f59e0b;
  --ws-red:          #ef4444;

  --ws-shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --ws-shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --ws-shadow-lg:  0 10px 40px rgba(0,0,0,0.12);
  --ws-shadow-xl:  0 20px 60px rgba(0,0,0,0.15);

  --ws-r-sm: 8px;
  --ws-r-md: 12px;
  --ws-r-lg: 20px;
  --ws-r-xl: 28px;
  --ws-r-full: 9999px;
  --ws-t: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.ws-body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ws-text);
  background: var(--ws-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; transition: color var(--ws-t); }

/* ----------------------------------------------------------------
   2. NAVBAR
   ---------------------------------------------------------------- */
.ws-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  background: rgba(15,23,42,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--ws-t), box-shadow var(--ws-t);
}
.ws-navbar.scrolled {
  /* background: rgba(15,23,42,0.99); */
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.ws-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ws-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.ws-nav-logo img {
  height: 36px;
  width: auto;
  border-radius: 8px;
}
.ws-nav-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}
.ws-nav-logo-text span { color: var(--ws-accent); }

.ws-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.ws-nav-links a {
  color: #94a3b8;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--ws-r-full);
  transition: all var(--ws-t);
  letter-spacing: 0.2px;
}
.ws-nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.ws-nav-links a.active { color: #fff; }

.ws-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ws-btn-repay {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  padding: 8px 16px;
  border-radius: var(--ws-r-full);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all var(--ws-t);
}
.ws-btn-repay:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.ws-btn-apply {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--ws-primary);
  padding: 9px 20px;
  border-radius: var(--ws-r-full);
  transition: all var(--ws-t);
  box-shadow: 0 4px 12px rgba(79,70,229,0.4);
}
.ws-btn-apply:hover {
  background: var(--ws-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(79,70,229,0.5);
}

/* Hamburger */
.ws-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.ws-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #94a3b8;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.ws-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--ws-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 24px 20px;
  gap: 4px;
}
.ws-mobile-menu.open { display: flex; }
.ws-mobile-menu a {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--ws-r-sm);
  transition: all var(--ws-t);
}
.ws-mobile-menu a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.ws-mobile-menu .ws-btn-apply {
  text-align: center;
  margin-top: 8px;
  display: block;
}

/* ----------------------------------------------------------------
   3. HERO SECTION
   ---------------------------------------------------------------- */
.ws-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

/* Animated background blobs */
.ws-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  animation: blobFloat 8s ease-in-out infinite;
}
.ws-hero-blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #4f46e5, transparent);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.ws-hero-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #06b6d4, transparent);
  bottom: -80px; right: -80px;
  animation-delay: 3s;
}
.ws-hero-blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #818cf8, transparent);
  top: 40%; left: 60%;
  animation-delay: 6s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(20px,-20px) scale(1.05); }
  66%       { transform: translate(-15px,10px) scale(0.96); }
}

/* Grid dots overlay */
.ws-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.ws-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ws-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,70,229,0.2);
  border: 1px solid rgba(79,70,229,0.35);
  border-radius: var(--ws-r-full);
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #a5b4fc;
  letter-spacing: 0.3px;
  margin-bottom: 22px;
}
.ws-hero-badge i { font-size: 11px; color: var(--ws-accent); }

.ws-hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.ws-hero-title .ws-highlight {
  background: linear-gradient(135deg, #a5b4fc, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ws-hero-subtitle {
  font-size: 17px;
  color: #94a3b8;
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 480px;
}

.ws-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ws-btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ws-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: var(--ws-r-full);
  box-shadow: 0 8px 24px rgba(79,70,229,0.45);
  transition: all var(--ws-t);
}
.ws-btn-hero-primary:hover {
  background: var(--ws-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(79,70,229,0.55);
}
.ws-btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--ws-r-full);
  border: 1.5px solid rgba(255,255,255,0.2);
  transition: all var(--ws-t);
}
.ws-btn-hero-secondary:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
}

/* Hero stats */
.ws-hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ws-stat-item {}
.ws-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
}
.ws-stat-num span { color: var(--ws-accent); }
.ws-stat-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.2px;
}

/* Hero card (right side) */
.ws-hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--ws-r-xl);
  padding: 36px;
  backdrop-filter: blur(16px);
}
.ws-hero-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.ws-hero-card-sub {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 26px;
}
.ws-form-group {
  margin-bottom: 16px;
}
.ws-form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.ws-form-control {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--ws-r-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color var(--ws-t);
  font-family: inherit;
}
.ws-form-control::placeholder { color: #475569; }
.ws-form-control:focus {
  border-color: var(--ws-primary);
  background: rgba(79,70,229,0.06);
}
.ws-form-control option { background: #1e293b; color: #fff; }
.ws-form-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--ws-primary), var(--ws-accent));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px;
  border-radius: var(--ws-r-sm);
  border: none;
  cursor: pointer;
  transition: all var(--ws-t);
  margin-top: 6px;
  letter-spacing: 0.2px;
}
.ws-form-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(79,70,229,0.35);
}
.ws-form-note {
  text-align: center;
  font-size: 11.5px;
  color: #475569;
  margin-top: 12px;
}
.ws-form-note i { color: var(--ws-green); margin-right: 4px; }

/* ----------------------------------------------------------------
   4. SECTION COMMON
   ---------------------------------------------------------------- */
.ws-section {
  padding: 90px 0;
}
.ws-section-alt {
  background: var(--ws-bg);
}
.ws-section-dark {
  background: var(--ws-dark);
}
.ws-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.ws-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ws-primary);
  background: var(--ws-primary-light);
  padding: 5px 14px;
  border-radius: var(--ws-r-full);
  margin-bottom: 14px;
}
.ws-section-dark .ws-section-tag {
  background: rgba(79,70,229,0.18);
  color: #a5b4fc;
}
.ws-section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--ws-text);
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.ws-section-dark .ws-section-title { color: #fff; }
.ws-section-subtitle {
  font-size: 16px;
  color: var(--ws-text-muted);
  max-width: 560px;
  line-height: 1.7;
}
.ws-section-dark .ws-section-subtitle { color: #64748b; }
.ws-section-header {
  margin-bottom: 56px;
}
.ws-section-header.center {
  text-align: center;
}
.ws-section-header.center .ws-section-subtitle {
  margin: 0 auto;
}

/* ----------------------------------------------------------------
   5. ABOUT SECTION
   ---------------------------------------------------------------- */
.ws-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.ws-about-img-wrap {
  position: relative;
}
.ws-about-img-main {
  width: 100%;
  border-radius: var(--ws-r-xl);
  box-shadow: var(--ws-shadow-xl);
  object-fit: cover;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e0e7ff, #cffafe);
}
.ws-about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--ws-primary);
  color: #fff;
  padding: 16px 22px;
  border-radius: var(--ws-r-lg);
  box-shadow: 0 8px 24px rgba(79,70,229,0.4);
  text-align: center;
  min-width: 130px;
}
.ws-about-badge-float .num {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  display: block;
}
.ws-about-badge-float .lbl {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 4px;
  display: block;
}
.ws-about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.ws-about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--ws-bg);
  border-radius: var(--ws-r-md);
  border: 1px solid var(--ws-border);
  transition: box-shadow var(--ws-t);
}
.ws-about-feature:hover { box-shadow: var(--ws-shadow-md); }
.ws-about-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--ws-r-sm);
  background: var(--ws-primary-light);
  color: var(--ws-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.ws-about-feature-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ws-text);
  margin-bottom: 2px;
}
.ws-about-feature-text {
  font-size: 12px;
  color: var(--ws-text-muted);
  line-height: 1.5;
}

/* ----------------------------------------------------------------
   6. HOW IT WORKS
   ---------------------------------------------------------------- */
.ws-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.ws-steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--ws-primary), var(--ws-accent));
  opacity: 0.25;
  pointer-events: none;
}
.ws-step-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--ws-white);
  border-radius: var(--ws-r-xl);
  border: 1px solid var(--ws-border);
  box-shadow: var(--ws-shadow-sm);
  transition: all var(--ws-t);
  position: relative;
}
.ws-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ws-shadow-lg);
  border-color: rgba(79,70,229,0.2);
}
.ws-step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--ws-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(79,70,229,0.4);
}
.ws-step-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--ws-primary-light), #e0f2fe);
  border-radius: var(--ws-r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  color: var(--ws-primary);
  transition: all var(--ws-t);
}
.ws-step-card:hover .ws-step-icon {
  background: linear-gradient(135deg, var(--ws-primary), var(--ws-accent));
  color: #fff;
  transform: scale(1.08);
}
.ws-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ws-text);
  margin-bottom: 8px;
}
.ws-step-text {
  font-size: 13px;
  color: var(--ws-text-muted);
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   7. DOCUMENTS SECTION
   ---------------------------------------------------------------- */
.ws-docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ws-doc-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--ws-r-xl);
  padding: 36px 24px;
  text-align: center;
  transition: all var(--ws-t);
}
.ws-doc-card:hover {
  background: rgba(79,70,229,0.1);
  border-color: rgba(79,70,229,0.3);
  transform: translateY(-4px);
}
.ws-doc-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(79,70,229,0.2), rgba(6,182,212,0.2));
  border-radius: var(--ws-r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin: 0 auto 20px;
  color: var(--ws-accent);
}
.ws-doc-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.ws-doc-text {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   8. RATE & TERMS
   ---------------------------------------------------------------- */
.ws-rates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.ws-rate-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--ws-r-lg);
  overflow: hidden;
  box-shadow: var(--ws-shadow-md);
}
.ws-rate-table th {
  background: var(--ws-primary);
  color: #fff;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  letter-spacing: 0.3px;
}
.ws-rate-table td {
  padding: 14px 20px;
  font-size: 13.5px;
  color: var(--ws-text);
  border-bottom: 1px solid var(--ws-border);
  background: #fff;
}
.ws-rate-table tr:last-child td { border-bottom: none; }
.ws-rate-table tr:nth-child(even) td { background: var(--ws-bg); }
.ws-rate-table td:last-child {
  font-weight: 700;
  color: var(--ws-primary);
}

.ws-eligibility-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ws-eligibility-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--ws-bg);
  border-radius: var(--ws-r-md);
  border: 1px solid var(--ws-border);
}
.ws-eligibility-list li i {
  color: var(--ws-green);
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}
.ws-eligibility-list li span {
  font-size: 14px;
  color: var(--ws-text);
}

/* ----------------------------------------------------------------
   9. CONTACT SECTION
   ---------------------------------------------------------------- */
.ws-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.ws-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}
.ws-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.ws-contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--ws-primary-light);
  border-radius: var(--ws-r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ws-primary);
  flex-shrink: 0;
}
.ws-contact-info-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ws-text-muted);
  margin-bottom: 4px;
}
.ws-contact-info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--ws-text);
}
.ws-contact-info-value a {
  color: var(--ws-primary);
}

.ws-contact-form {
  background: var(--ws-white);
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-r-xl);
  padding: 36px;
  box-shadow: var(--ws-shadow-md);
}
.ws-contact-form .ws-form-group { margin-bottom: 18px; }
.ws-contact-form .ws-form-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ws-text-muted);
  display: block;
  margin-bottom: 6px;
  text-transform: none;
  letter-spacing: 0;
}
.ws-contact-form .ws-form-control {
  background: var(--ws-bg);
  border: 1px solid var(--ws-border);
  color: var(--ws-text);
  border-radius: var(--ws-r-sm);
  padding: 11px 14px;
  width: 100%;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: all var(--ws-t);
}
.ws-contact-form .ws-form-control::placeholder { color: #94a3b8; }
.ws-contact-form .ws-form-control:focus {
  border-color: var(--ws-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
.ws-contact-form textarea.ws-form-control { resize: vertical; min-height: 110px; }
.ws-contact-btn {
  width: 100%;
  background: var(--ws-primary);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: var(--ws-r-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--ws-t);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ws-contact-btn:hover {
  background: var(--ws-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79,70,229,0.35);
}

/* Alert messages */
.ws-alert {
  padding: 14px 18px;
  border-radius: var(--ws-r-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ws-alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.ws-alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ----------------------------------------------------------------
   10. FOOTER
   ---------------------------------------------------------------- */
.ws-footer {
  background: #040c18;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 70px 0 0;
}
.ws-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.ws-footer-brand p {
  font-size: 13.5px;
  color: #8d9eb7;
  line-height: 1.8;
  margin: 16px 0 24px;
  max-width: 280px;
}
.ws-footer-social {
  display: flex;
  gap: 10px;
}
.ws-footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--ws-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8d9eb7;
  font-size: 14px;
  transition: all var(--ws-t);
}
.ws-footer-social a:hover {
  background: var(--ws-primary);
  color: #fff;
  transform: translateY(-2px);
}
.ws-footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.ws-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ws-footer-links a {
  font-size: 13.5px;
  color: #8d9eb7;
  transition: color var(--ws-t);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ws-footer-links a::before {
  content: '›';
  color: var(--ws-primary);
  font-size: 16px;
  line-height: 1;
}
.ws-footer-links a:hover { color: #94a3b8; }

.ws-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.ws-footer-contact-item i {
  color: var(--ws-accent);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}
.ws-footer-contact-item span {
  font-size: 13.5px;
  color: #8d9eb7;
  line-height: 1.5;
}
.ws-footer-contact-item a {
  color: #8d9eb7;
  transition: color var(--ws-t);
}
.ws-footer-contact-item a:hover { color: var(--ws-accent); }

.ws-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.ws-footer-bottom p {
  font-size: 12.5px;
  color: #8d9eb7;
}
.ws-footer-bottom-links {
  display: flex;
  gap: 20px;
}
.ws-footer-bottom-links a {
  font-size: 12.5px;
  color: #8d9eb7;
  transition: color var(--ws-t);
}
.ws-footer-bottom-links a:hover { color: #8d9eb7; }

/* ----------------------------------------------------------------
   11. SCROLL TO TOP
   ---------------------------------------------------------------- */
.ws-scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--ws-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(79,70,229,0.4);
  cursor: pointer;
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s;
  border: none;
}
.ws-scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.ws-scroll-top:hover {
  background: var(--ws-primary-dark);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------------
   12. RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .ws-hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .ws-hero-card { max-width: 480px; }
  .ws-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .ws-steps-grid::before { display: none; }
  .ws-docs-grid { grid-template-columns: repeat(2, 1fr); }
  .ws-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .ws-section { padding: 60px 0; }
  .ws-hero { min-height: auto; padding: 120px 0 60px; }
  .ws-hero-inner { padding: 0 20px; }
  .ws-hero-stats { gap: 20px; flex-wrap: wrap; }
  .ws-about-grid { grid-template-columns: 1fr; }
  .ws-about-badge-float { right: 10px; }
  .ws-about-features { grid-template-columns: 1fr; }
  .ws-rates-grid { grid-template-columns: 1fr; }
  .ws-contact-grid { grid-template-columns: 1fr; }
  .ws-steps-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ws-nav-links, .ws-nav-actions { display: none; }
  .ws-hamburger { display: flex; }
  .ws-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 576px) {
  .ws-steps-grid { grid-template-columns: 1fr; }
  .ws-docs-grid { grid-template-columns: 1fr; }
  .ws-hero-actions { flex-direction: column; align-items: stretch; }
  .ws-btn-hero-primary, .ws-btn-hero-secondary { justify-content: center; }
  .ws-contact-form { padding: 24px 18px; }
  .ws-footer-bottom { flex-direction: column; text-align: center; }
  .ws-footer-bottom-links { justify-content: center; }
}

/* ----------------------------------------------------------------
   ANIMATIONS & ENTRANCE EFFECTS
   ---------------------------------------------------------------- */

/* Fade-up: default state (hidden) */
.ws-fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.ws-fade-up.ws-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-left */
.ws-fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.ws-fade-left.ws-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fade-right */
.ws-fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.ws-fade-right.ws-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.ws-delay-1 { transition-delay: 0.1s; }
.ws-delay-2 { transition-delay: 0.2s; }
.ws-delay-3 { transition-delay: 0.3s; }
.ws-delay-4 { transition-delay: 0.4s; }
.ws-delay-5 { transition-delay: 0.5s; }
.ws-delay-6 { transition-delay: 0.6s; }

/* Zoom-in */
.ws-zoom-in {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.ws-zoom-in.ws-visible {
  opacity: 1;
  transform: scale(1);
}

/* Pulse glow on stat numbers */
@keyframes ws-count-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.ws-stat-pop { animation: ws-count-pop 0.5s ease; }

/* Floating animation for about section badge */
@keyframes ws-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.ws-about-badge-float {
  animation: ws-float 3s ease-in-out infinite;
}

/* Card shimmer hover */
.ws-step-card,
.ws-doc-card,
.ws-about-feature,
.ws-rate-table tbody tr {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ws-step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(99,102,241,0.18);
}
.ws-doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(99,102,241,0.14);
}
.ws-rate-table tbody tr:hover {
  background: #eef2ff;
}

/* Eligibility list item entrance */
.ws-eligibility-list li {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.ws-eligibility-list.ws-visible li { opacity: 1; transform: translateX(0); }
.ws-eligibility-list.ws-visible li:nth-child(1) { transition-delay: 0.05s; }
.ws-eligibility-list.ws-visible li:nth-child(2) { transition-delay: 0.12s; }
.ws-eligibility-list.ws-visible li:nth-child(3) { transition-delay: 0.19s; }
.ws-eligibility-list.ws-visible li:nth-child(4) { transition-delay: 0.26s; }
.ws-eligibility-list.ws-visible li:nth-child(5) { transition-delay: 0.33s; }
.ws-eligibility-list.ws-visible li:nth-child(6) { transition-delay: 0.40s; }
.ws-eligibility-list.ws-visible li:nth-child(7) { transition-delay: 0.47s; }

/* Navbar link underline slide */
.ws-nav-links a {
  position: relative;
}
.ws-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 50%;
  width: 0; height: 2px;
  background: var(--ws-primary);
  border-radius: 2px;
  transition: width 0.25s ease, left 0.25s ease;
}
.ws-nav-links a:hover::after,
.ws-nav-links a.active::after {
  width: 100%; left: 0;
}

/* Button press effect */
.ws-btn-apply, .ws-btn-repay,
.ws-btn-hero-primary, .ws-btn-hero-secondary {
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.ws-btn-apply:active, .ws-btn-repay:active,
.ws-btn-hero-primary:active {
  transform: scale(0.96);
}

/* Stats bar counter */
.rl-stat-num {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Section tag bounce-in */
@keyframes ws-tag-in {
  0%   { opacity: 0; transform: scale(0.7) translateY(10px); }
  70%  { transform: scale(1.08) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.ws-section-tag {
  animation: ws-tag-in 0.6s ease forwards;
  animation-play-state: paused;
}
.ws-section-tag.ws-visible {
  animation-play-state: running;
}

/* Scroll-to-top button */
.ws-scroll-top {
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.3s ease;
}
.ws-scroll-top:hover { transform: translateY(-3px) scale(1.08); }
.ws-scroll-top:active { transform: scale(0.94); }
