/* =========================================================
   WILLIAM THEME — Modern SaaS SMM Panel
   ========================================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --w-primary:       #6366f1;
  --w-primary-dark:  #4f46e5;
  --w-primary-light: #818cf8;
  --w-accent:        #06b6d4;
  --w-success:       #10b981;
  --w-warning:       #f59e0b;
  --w-danger:        #ef4444;
  --w-info:          #3b82f6;

  --w-bg:            #0f0f13;
  --w-bg-card:       #16161d;
  --w-bg-input:      #1e1e2a;
  --w-bg-hover:      #1a1a24;
  --w-border:        rgba(255,255,255,0.07);
  --w-border-focus:  rgba(99,102,241,0.6);

  --w-text:          #e2e8f0;
  --w-text-muted:    #94a3b8;
  --w-text-faint:    #475569;

  --w-radius-sm:     8px;
  --w-radius:        14px;
  --w-radius-lg:     20px;
  --w-radius-xl:     28px;

  --w-shadow-sm:     0 2px 8px rgba(0,0,0,0.35);
  --w-shadow:        0 4px 24px rgba(0,0,0,0.45);
  --w-shadow-glow:   0 0 40px rgba(99,102,241,0.18);

  --w-transition:    all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --w-font:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Global Reset --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--w-font);
  background-color: var(--w-bg);
  color: var(--w-text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--w-primary-light); text-decoration: none; transition: var(--w-transition); }
a:hover { color: #fff; text-decoration: none; }

img { max-width: 100%; height: auto; }

/* =========================================================
   PAGE LOADER
   ========================================================= */
#page-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--w-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#page-overlay.loaded {
  opacity: 0;
  visibility: hidden;
}
.w-loader {
  width: 44px;
  height: 44px;
  border: 3px solid var(--w-border);
  border-top-color: var(--w-primary);
  border-radius: 50%;
  animation: w-spin 0.7s linear infinite;
}
@keyframes w-spin { to { transform: rotate(360deg); } }

/* =========================================================
   NAVBAR — Landing Page
   ========================================================= */
.w-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 0;
  background: transparent;
  transition: var(--w-transition);
}
.w-navbar.scrolled {
  background: rgba(15,15,19,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--w-border);
  box-shadow: var(--w-shadow);
}
.w-navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.w-navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}
.w-navbar-brand img { height: 120px; width: auto; }
.w-navbar-brand .brand-dot {
  width: 8px; height: 8px;
  background: var(--w-primary);
  border-radius: 50%;
  display: inline-block;
  margin-left: 4px;
  box-shadow: 0 0 8px var(--w-primary);
}

.w-navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.w-navbar-nav .nav-link {
  padding: 8px 16px;
  color: var(--w-text-muted);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--w-radius-sm);
  transition: var(--w-transition);
}
.w-navbar-nav .nav-link:hover,
.w-navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.w-navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.w-navbar-toggle {
  display: none;
  background: none;
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius-sm);
  color: var(--w-text);
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: var(--w-transition);
}
.w-navbar-toggle:hover { background: var(--w-bg-hover); }

/* =========================================================
   BUTTONS
   ========================================================= */
.w-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--w-font);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--w-radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--w-transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.w-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(99,102,241,0.35); }
.w-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.w-btn-primary {
  background: linear-gradient(135deg, var(--w-primary), var(--w-primary-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(99,102,241,0.35);
}
.w-btn-primary:hover {
  background: linear-gradient(135deg, var(--w-primary-light), var(--w-primary));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.45);
}
.w-btn-primary:active { transform: translateY(0); }

.w-btn-ghost {
  background: transparent;
  color: var(--w-text-muted);
  border: 1px solid var(--w-border);
}
.w-btn-ghost:hover {
  background: var(--w-bg-hover);
  color: #fff;
  border-color: rgba(255,255,255,0.12);
}

.w-btn-outline {
  background: transparent;
  color: var(--w-primary-light);
  border: 1px solid rgba(99,102,241,0.4);
}
.w-btn-outline:hover {
  background: rgba(99,102,241,0.1);
  color: #fff;
  border-color: var(--w-primary);
}

.w-btn-lg { padding: 14px 32px; font-size: 15px; border-radius: var(--w-radius); }
.w-btn-sm { padding: 7px 14px; font-size: 13px; }
.w-btn-block { width: 100%; }

.w-btn-loading { position: relative; pointer-events: none; }
.w-btn-loading::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: w-spin 0.6s linear infinite;
  right: 14px; top: 50%;
  transform: translateY(-50%);
}

/* =========================================================
   AUTH PAGES — Sign In / Sign Up / Forgot Password
   ========================================================= */
.w-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: var(--w-bg);
  overflow: hidden;
}

.w-auth-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.w-auth-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f0f13 0%, #1a1040 50%, #0a0a12 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}
.w-auth-visual::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: w-pulse-glow 4s ease-in-out infinite;
}
.w-auth-visual::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, transparent 70%);
  bottom: 10%; right: 10%;
  animation: w-pulse-glow 6s ease-in-out infinite reverse;
}
@keyframes w-pulse-glow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.w-auth-visual-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px;
  max-width: 420px;
}
.w-auth-visual-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.w-auth-visual-content p {
  color: var(--w-text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.w-auth-visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--w-primary-light);
  margin-bottom: 28px;
}
.w-auth-visual-badge span {
  width: 6px; height: 6px;
  background: var(--w-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--w-primary);
  animation: w-blink 1.5s ease-in-out infinite;
}
@keyframes w-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.w-auth-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}
.w-auth-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius);
  backdrop-filter: blur(10px);
  text-align: left;
  transition: var(--w-transition);
}
.w-auth-feature-item:hover {
  background: rgba(99,102,241,0.08);
  border-color: rgba(99,102,241,0.2);
}
.w-auth-feature-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--w-primary), var(--w-primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}
.w-auth-feature-text strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.w-auth-feature-text span {
  color: var(--w-text-muted);
  font-size: 12px;
}

/* Auth Card */
.w-auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.w-auth-logo img { height: 36px; width: auto; }
.w-auth-logo .w-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.w-auth-title {
  text-align: center;
  margin-bottom: 32px;
}
.w-auth-title h1 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.w-auth-title p {
  color: var(--w-text-muted);
  font-size: 14px;
  margin: 0;
}

.w-auth-card {
  width: 100%;
  max-width: 420px;
}

/* =========================================================
   FORMS
   ========================================================= */
.w-form-group {
  margin-bottom: 18px;
}
.w-form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--w-text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.w-input-wrap {
  position: relative;
}
.w-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--w-text-faint);
  font-size: 15px;
  pointer-events: none;
  transition: var(--w-transition);
  z-index: 1;
}
.w-form-control {
  width: 100%;
  background: var(--w-bg-input);
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius-sm);
  color: var(--w-text);
  font-family: var(--w-font);
  font-size: 14px;
  padding: 12px 14px 12px 42px;
  transition: var(--w-transition);
  appearance: none;
  -webkit-appearance: none;
}
.w-form-control.no-icon { padding-left: 14px; }
.w-form-control:focus {
  outline: none;
  background: rgba(30,30,42,0.9);
  border-color: var(--w-primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.18);
  color: #fff;
}
.w-form-control:focus + .w-input-icon,
.w-input-wrap:focus-within .w-input-icon { color: var(--w-primary-light); }
.w-form-control::placeholder { color: var(--w-text-faint); }
.w-form-control option { background: var(--w-bg-card); }

select.w-form-control { padding-right: 36px; }

.w-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Password toggle */
.w-input-action {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--w-text-faint);
  font-size: 15px;
  cursor: pointer;
  transition: var(--w-transition);
  background: none;
  border: none;
  padding: 4px;
  z-index: 1;
}
.w-input-action:hover { color: var(--w-text-muted); }
.w-form-control.has-action { padding-right: 42px; }

/* Checkbox */
.w-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  color: var(--w-text-muted);
}
.w-checkbox-wrap input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--w-primary);
  cursor: pointer;
  flex-shrink: 0;
}
.w-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}
.w-form-link {
  font-size: 13px;
  color: var(--w-primary-light);
  font-weight: 500;
}
.w-form-link:hover { color: #fff; }

/* Divider */
.w-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  color: var(--w-text-faint);
  font-size: 12px;
  font-weight: 500;
}
.w-divider::before,
.w-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--w-border);
}

/* Auth footer text */
.w-auth-alt {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--w-text-muted);
}
.w-auth-alt a {
  color: var(--w-primary-light);
  font-weight: 600;
}
.w-auth-alt a:hover { color: #fff; }

/* Alert / response messages */
.alert-message-reponse {
  font-size: 13px;
  margin-top: 8px;
}
#alert-message { min-height: 0; }

/* reCaptcha fix */
.g-recaptcha { transform-origin: left top; }

/* =========================================================
   LANDING PAGE — Hero
   ========================================================= */
.w-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--w-bg);
}
.w-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.w-hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 65%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.w-hero-glow-2 {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 65%);
  bottom: -100px; right: -100px;
  pointer-events: none;
}

.w-hero .container { position: relative; z-index: 1; }
.w-hero-content { max-width: 560px; }

.w-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--w-primary-light);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.w-hero-badge .badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--w-primary);
  box-shadow: 0 0 8px var(--w-primary);
  animation: w-blink 1.5s ease-in-out infinite;
}

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

.w-hero-desc {
  font-size: 17px;
  color: var(--w-text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.w-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 48px;
}

.w-hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.w-stat-item { display: flex; flex-direction: column; }
.w-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
}
.w-stat-label {
  font-size: 12px;
  color: var(--w-text-faint);
  margin-top: 4px;
  font-weight: 500;
}

.w-hero-visual {
  position: relative;
}
.w-hero-mockup {
  background: var(--w-bg-card);
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius-lg);
  padding: 24px;
  box-shadow: var(--w-shadow), 0 0 60px rgba(99,102,241,0.1);
  position: relative;
  overflow: hidden;
}
.w-hero-mockup::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.5), transparent);
}
.w-mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}
.w-mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.w-mockup-dot:nth-child(1) { background: #ff5f57; }
.w-mockup-dot:nth-child(2) { background: #febc2e; }
.w-mockup-dot:nth-child(3) { background: #28c840; }

.w-mockup-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.w-mockup-stat {
  background: var(--w-bg-input);
  border-radius: var(--w-radius-sm);
  padding: 14px;
  border: 1px solid var(--w-border);
}
.w-mockup-stat-val {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.w-mockup-stat-label {
  font-size: 11px;
  color: var(--w-text-faint);
  margin-top: 4px;
}
.w-mockup-stat-change {
  font-size: 11px;
  color: var(--w-success);
  font-weight: 600;
  margin-top: 2px;
}
.w-mockup-rows { display: flex; flex-direction: column; gap: 8px; }
.w-mockup-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--w-bg-input);
  border-radius: var(--w-radius-sm);
  padding: 10px 12px;
  border: 1px solid var(--w-border);
}
.w-mockup-row-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--w-primary), var(--w-primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.w-mockup-row-text { flex: 1; }
.w-mockup-row-title { font-size: 12px; color: var(--w-text); font-weight: 500; }
.w-mockup-row-sub { font-size: 11px; color: var(--w-text-faint); margin-top: 1px; }
.w-mockup-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(16,185,129,0.15);
  color: var(--w-success);
  border: 1px solid rgba(16,185,129,0.25);
}
.w-mockup-badge.pending {
  background: rgba(245,158,11,0.15);
  color: var(--w-warning);
  border-color: rgba(245,158,11,0.25);
}

/* =========================================================
   SECTIONS LAYOUT
   ========================================================= */
.w-section { padding: 90px 0; }

/* Features grid spacing */
#features .row > [class*="col-"] {
  padding: 14px 12px;
}
.w-section-sm { padding: 60px 0; }
.w-section-title {
  text-align: center;
  margin-bottom: 56px;
}
.w-section-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--w-primary-light);
  margin-bottom: 14px;
  padding: 4px 14px;
  background: rgba(99,102,241,0.1);
  border-radius: 100px;
  border: 1px solid rgba(99,102,241,0.2);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.w-section-title h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin: 0 0 16px;
}
.w-section-title p {
  font-size: 16px;
  color: var(--w-text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* h2 with paragraph visual style — large but muted */
.w-h2-muted {
  font-weight: 400 !important;
  color: var(--w-text-muted) !important;
  letter-spacing: 0 !important;
}

/* =========================================================
   FEATURE CARDS
   ========================================================= */
.w-card {
  background: var(--w-bg-card);
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius);
  padding: 32px 28px;
  transition: var(--w-transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.w-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--w-card-accent, linear-gradient(90deg, transparent, rgba(99,102,241,0.5), transparent));
  opacity: 0;
  transition: var(--w-transition);
}
.w-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--w-shadow-glow), var(--w-shadow);
}
.w-card:hover::before { opacity: 1; }

.w-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.w-card-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--w-card-color, rgba(99,102,241,0.15));
  line-height: 1;
  letter-spacing: -1px;
  user-select: none;
  opacity: 0.25;
}
.w-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--w-radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: var(--w-card-icon-bg, linear-gradient(135deg, rgba(99,102,241,0.15), rgba(79,70,229,0.08)));
  border: 1px solid var(--w-card-border-color, rgba(99,102,241,0.2));
  color: var(--w-card-color, var(--w-primary-light));
  transition: var(--w-transition);
}
.w-card:hover .w-card-icon {
  background: var(--w-card-icon-hover, linear-gradient(135deg, var(--w-primary), var(--w-primary-dark)));
  color: #fff;
  box-shadow: 0 6px 20px var(--w-card-glow, rgba(99,102,241,0.35));
  border-color: transparent;
}
.w-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
}
.w-card p {
  font-size: 14px;
  color: var(--w-text-muted);
  margin: 0;
  line-height: 1.65;
  flex: 1;
}

/* Per-card accent colors */
.w-card--indigo {
  --w-card-color: #818cf8;
  --w-card-icon-bg: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(79,70,229,0.08));
  --w-card-border-color: rgba(99,102,241,0.2);
  --w-card-icon-hover: linear-gradient(135deg, #6366f1, #4f46e5);
  --w-card-glow: rgba(99,102,241,0.4);
  --w-card-accent: linear-gradient(90deg, transparent, rgba(99,102,241,0.6), transparent);
}
.w-card--indigo:hover { border-color: rgba(99,102,241,0.3); }
.w-card--emerald {
  --w-card-color: #34d399;
  --w-card-icon-bg: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(5,150,105,0.08));
  --w-card-border-color: rgba(16,185,129,0.2);
  --w-card-icon-hover: linear-gradient(135deg, #10b981, #059669);
  --w-card-glow: rgba(16,185,129,0.4);
  --w-card-accent: linear-gradient(90deg, transparent, rgba(16,185,129,0.6), transparent);
}
.w-card--emerald:hover { border-color: rgba(16,185,129,0.3); }
.w-card--amber {
  --w-card-color: #fbbf24;
  --w-card-icon-bg: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(217,119,6,0.08));
  --w-card-border-color: rgba(245,158,11,0.2);
  --w-card-icon-hover: linear-gradient(135deg, #f59e0b, #d97706);
  --w-card-glow: rgba(245,158,11,0.4);
  --w-card-accent: linear-gradient(90deg, transparent, rgba(245,158,11,0.6), transparent);
}
.w-card--amber:hover { border-color: rgba(245,158,11,0.3); }
.w-card--violet {
  --w-card-color: #c084fc;
  --w-card-icon-bg: linear-gradient(135deg, rgba(168,85,247,0.18), rgba(139,92,246,0.08));
  --w-card-border-color: rgba(168,85,247,0.2);
  --w-card-icon-hover: linear-gradient(135deg, #a855f7, #8b5cf6);
  --w-card-glow: rgba(168,85,247,0.4);
  --w-card-accent: linear-gradient(90deg, transparent, rgba(168,85,247,0.6), transparent);
}
.w-card--violet:hover { border-color: rgba(168,85,247,0.3); }
.w-card--rose {
  --w-card-color: #fb7185;
  --w-card-icon-bg: linear-gradient(135deg, rgba(244,63,94,0.18), rgba(225,29,72,0.08));
  --w-card-border-color: rgba(244,63,94,0.2);
  --w-card-icon-hover: linear-gradient(135deg, #f43f5e, #e11d48);
  --w-card-glow: rgba(244,63,94,0.4);
  --w-card-accent: linear-gradient(90deg, transparent, rgba(244,63,94,0.6), transparent);
}
.w-card--rose:hover { border-color: rgba(244,63,94,0.3); }
.w-card--cyan {
  --w-card-color: #22d3ee;
  --w-card-icon-bg: linear-gradient(135deg, rgba(6,182,212,0.18), rgba(8,145,178,0.08));
  --w-card-border-color: rgba(6,182,212,0.2);
  --w-card-icon-hover: linear-gradient(135deg, #06b6d4, #0891b2);
  --w-card-glow: rgba(6,182,212,0.4);
  --w-card-accent: linear-gradient(90deg, transparent, rgba(6,182,212,0.6), transparent);
}
.w-card--cyan:hover { border-color: rgba(6,182,212,0.3); }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.w-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.w-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--w-primary), transparent);
  opacity: 0.3;
}
.w-step {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.w-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--w-bg-card);
  border: 1px solid var(--w-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--w-primary-light);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: var(--w-transition);
}
.w-step:hover .w-step-num {
  background: linear-gradient(135deg, var(--w-primary), var(--w-primary-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(99,102,241,0.4);
}
.w-step h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}
.w-step p {
  font-size: 13px;
  color: var(--w-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* =========================================================
   SOCIAL BRANDS STRIP
   ========================================================= */
.w-brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 40px 0;
}
.w-brand-item {
  width: 56px; height: 56px;
  border-radius: var(--w-radius);
  background: var(--w-bg-card);
  border: 1px solid var(--w-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  transition: var(--w-transition);
  color: var(--w-text-faint);
}
.w-brand-item:hover {
  border-color: rgba(99,102,241,0.3);
  color: var(--w-primary-light);
  transform: translateY(-3px);
  box-shadow: var(--w-shadow-sm);
}
.w-brand-item img { width: 32px; height: 32px; object-fit: contain; filter: grayscale(1) brightness(0.6); transition: var(--w-transition); }
.w-brand-item:hover img { filter: grayscale(0) brightness(1); }

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.w-faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.w-faq-item {
  background: var(--w-bg-card);
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius);
  overflow: hidden;
  transition: var(--w-transition);
}
.w-faq-item.open { border-color: rgba(99,102,241,0.25); }
.w-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}
.w-faq-question h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--w-text);
  transition: var(--w-transition);
}
.w-faq-item.open .w-faq-question h5 { color: #fff; }
.w-faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--w-bg-input);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--w-text-muted);
  flex-shrink: 0;
  transition: var(--w-transition);
  font-style: normal;
}
.w-faq-item.open .w-faq-icon {
  background: rgba(99,102,241,0.15);
  color: var(--w-primary-light);
  transform: rotate(45deg);
}
.w-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 22px;
  color: var(--w-text-muted);
  font-size: 14px;
  line-height: 1.7;
}
.w-faq-item.open .w-faq-answer {
  max-height: 300px;
  padding: 0 22px 18px;
}

/* =========================================================
   NOTIFICATION MODAL
   ========================================================= */
.w-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--w-transition);
}
.w-modal-backdrop.show { opacity: 1; visibility: visible; }
.w-modal-box {
  background: var(--w-bg-card);
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius-lg);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--w-shadow), 0 0 60px rgba(0,0,0,0.6);
  transform: scale(0.95) translateY(10px);
  transition: var(--w-transition);
}
.w-modal-backdrop.show .w-modal-box {
  transform: scale(1) translateY(0);
}
.w-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--w-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.w-modal-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.w-modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--w-bg-input);
  border: none;
  color: var(--w-text-muted);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--w-transition);
}
.w-modal-close:hover { background: var(--w-bg-hover); color: #fff; }
.w-modal-body { padding: 24px; color: var(--w-text-muted); font-size: 14px; line-height: 1.7; }
.w-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--w-border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.w-footer {
  background: var(--w-bg-card);
  border-top: 1px solid var(--w-border);
  padding: 64px 0 0;
  margin-top: auto;
}
.w-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.w-footer-brand h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.w-footer-brand p {
  font-size: 13px;
  color: var(--w-text-muted);
  line-height: 1.7;
  margin: 0 0 20px;
  max-width: 280px;
}
.w-footer-logo { height: 28px; width: auto; margin-bottom: 16px; display: block; }
.w-footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--w-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}
.w-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.w-footer-links a {
  font-size: 13px;
  color: var(--w-text-muted);
  transition: var(--w-transition);
}
.w-footer-links a:hover { color: #fff; padding-left: 4px; }

.w-footer-subscribe p {
  font-size: 13px;
  color: var(--w-text-muted);
  margin: 0 0 14px;
  line-height: 1.6;
}
.w-subscribe-form { display: flex; gap: 8px; }
.w-subscribe-input {
  flex: 1;
  background: var(--w-bg-input);
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius-sm);
  color: var(--w-text);
  font-family: var(--w-font);
  font-size: 13px;
  padding: 10px 14px;
  transition: var(--w-transition);
}
.w-subscribe-input:focus {
  outline: none;
  border-color: var(--w-primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.w-subscribe-input::placeholder { color: var(--w-text-faint); }

.w-footer-bottom {
  border-top: 1px solid var(--w-border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.w-footer-copy {
  font-size: 13px;
  color: var(--w-text-faint);
}
.w-social-list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0; padding: 0;
}
.w-social-btn {
  width: 34px; height: 34px;
  border-radius: var(--w-radius-sm);
  background: var(--w-bg-input);
  border: 1px solid var(--w-border);
  color: var(--w-text-muted);
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--w-transition);
  cursor: pointer;
}
.w-social-btn:hover {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.3);
  color: var(--w-primary-light);
  transform: translateY(-2px);
}

/* Lang selector */
.w-lang-select {
  background: var(--w-bg-input);
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius-sm);
  color: var(--w-text-muted);
  font-family: var(--w-font);
  font-size: 13px;
  padding: 6px 10px;
  cursor: pointer;
}
.w-lang-select:focus { outline: none; border-color: var(--w-primary); }
.w-lang-select option { background: var(--w-bg-card); }

/* =========================================================
   ACTIVATION SUCCESS PAGE
   ========================================================= */
.w-success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--w-bg);
  padding: 24px;
}
.w-success-card {
  background: var(--w-bg-card);
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius-xl);
  padding: 56px 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--w-shadow);
  position: relative;
  overflow: hidden;
}
.w-success-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--w-primary), var(--w-accent));
}
.w-success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  color: var(--w-success);
  margin: 0 auto 28px;
  animation: w-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes w-pop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.w-success-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.w-success-card p {
  color: var(--w-text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 32px;
}

/* =========================================================
   ENTRANCE ANIMATIONS
   ========================================================= */
[data-w-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-w-animate].w-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-w-delay="100"] { transition-delay: 0.1s; }
[data-w-delay="200"] { transition-delay: 0.2s; }
[data-w-delay="300"] { transition-delay: 0.3s; }
[data-w-delay="400"] { transition-delay: 0.4s; }
[data-w-delay="500"] { transition-delay: 0.5s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
  .w-auth-visual { display: none; }
  .w-auth-page { justify-content: center; }
  .w-auth-panel { max-width: 100%; padding: 36px 24px; }

  .w-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .w-steps { grid-template-columns: repeat(2, 1fr); }
  .w-steps::before { display: none; }

  .w-navbar-nav,
  .w-navbar-actions { display: none; }
  .w-navbar-toggle { display: flex; }
  .w-navbar-mobile-open .w-navbar-nav,
  .w-navbar-mobile-open .w-navbar-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }
  .w-navbar-mobile-open .w-navbar-inner {
    flex-wrap: wrap;
    height: auto;
    padding-bottom: 16px;
  }
}

@media (max-width: 767px) {
  .w-hero { padding: 100px 0 60px; }
  .w-hero-stats { gap: 20px; }
  .w-hero-actions { flex-direction: column; align-items: flex-start; }
  .w-hero-actions .w-btn { width: 100%; justify-content: center; }
  .w-form-row { grid-template-columns: 1fr; }
  .w-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .w-footer-bottom { flex-direction: column; text-align: center; }
  .w-subscribe-form { flex-direction: column; }
  .w-brands { gap: 20px; }
  .w-steps { grid-template-columns: 1fr; }
  .w-section { padding: 60px 0; }
}

/* =========================================================
   TOAST OVERRIDES (existing jquery-toast stays functional)
   ========================================================= */
.jq-toast-wrap { font-family: var(--w-font) !important; }

/* =========================================================
   UTILITIES
   ========================================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-center { text-align: center; }
.text-muted { color: var(--w-text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.w-full { width: 100%; }

/* =========================================================
   READING PROGRESS BAR
   ========================================================= */
#w-progress-bar {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--w-primary), var(--w-accent), var(--w-primary-light));
  z-index: 99999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(99,102,241,0.6);
}

/* =========================================================
   CURSOR GLOW
   ========================================================= */
#w-cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transition: opacity 0.3s;
}

/* =========================================================
   PARTICLES CANVAS
   ========================================================= */
#w-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* =========================================================
   RIPPLE BUTTON EFFECT
   ========================================================= */
.w-btn {
  position: relative;
  overflow: hidden;
}
.w-ripple {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: w-ripple-anim 0.65s ease-out forwards;
  pointer-events: none;
  margin-left: -3px; margin-top: -3px;
}
@keyframes w-ripple-anim {
  to { transform: scale(60); opacity: 0; }
}

/* =========================================================
   ENHANCED HERO BADGE PULSE
   ========================================================= */
.badge-dot {
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

/* =========================================================
   STAT ITEMS — shimmer on value
   ========================================================= */
.w-stat-value {
  background: linear-gradient(90deg, #fff 0%, var(--w-primary-light) 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: stat-shimmer 4s linear infinite;
}
@keyframes stat-shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* =========================================================
   SECTION TITLE — animated underline
   ========================================================= */
.w-section-title h2 {
  position: relative;
  display: inline-block;
}
.w-section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--w-primary), var(--w-accent));
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1) 0.3s;
}
.w-section-title.w-visible h2::after,
.w-section-title h2::after { width: 60px; }

/* =========================================================
   HOW IT WORKS STEPS — enhanced
   ========================================================= */
.w-step {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.w-step:hover {
  transform: translateY(-6px);
}
.w-step-num {
  position: relative;
}
.w-step-num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(99,102,241,0.2);
  animation: step-ring 3s ease-in-out infinite;
}
@keyframes step-ring {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%       { transform: scale(1.12); opacity: 0.15; }
}

/* =========================================================
   FAQ — enhanced open state
   ========================================================= */
.w-faq-item {
  transition: border-color 0.25s ease, background 0.25s ease;
}
.w-faq-item.open {
  border-color: rgba(99,102,241,0.3);
  background: rgba(99,102,241,0.04);
}
.w-faq-icon {
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), color 0.25s;
}
.w-faq-item.open .w-faq-icon {
  transform: rotate(45deg);
  color: var(--w-primary-light);
}

/* =========================================================
   NAVBAR — active link indicator dot
   ========================================================= */
.w-navbar-nav .nav-link {
  position: relative;
}
.w-navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px; height: 2px;
  border-radius: 2px;
  background: var(--w-primary);
  transition: transform 0.25s ease;
}
.w-navbar-nav .nav-link:hover::after,
.w-navbar-nav .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* =========================================================
   MOCKUP — floating animation
   ========================================================= */
.w-hero-mockup {
  animation: mockup-float 5s ease-in-out infinite;
}
@keyframes mockup-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* =========================================================
   FOOTER SUBSCRIBE INPUT — glow on focus
   ========================================================= */
.w-subscribe-input:focus {
  box-shadow: 0 0 0 3px rgba(99,102,241,0.25);
}

/* =========================================================
   SCROLL TO TOP BUTTON
   ========================================================= */
#w-back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--w-primary), var(--w-primary-dark));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(99,102,241,0.45);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 9000;
}
#w-back-top.show {
  opacity: 1; visibility: visible; transform: translateY(0);
}
#w-back-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 28px rgba(99,102,241,0.6);
}
