/* ============================================
   Transpay — Design System
   Dark Glassmorphism, Responsive
   ============================================ */

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

/* ---- CSS Variables ---- */
:root {
  --primary: #1a56db;
  --primary-light: #3b82f6;
  --primary-dark: #1e40af;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --success: #059669;
  --success-light: #34d399;
  --warning: #d97706;
  --warning-light: #fbbf24;
  --danger: #dc2626;
  --danger-light: #f87171;
  --bg: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --surface-border: rgba(255, 255, 255, 0.08);
  --glass: rgba(15, 23, 42, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --sidebar-w: 260px;
  --header-h: 0px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --transition: 0.25s cubic-bezier(.4, 0, .2, 1);
}

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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}

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

/* ---- Layout ---- */
.app-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

ul {
  list-style: none
}

input,
select,
textarea,
button {
  font-family: inherit;
  font-size: inherit
}

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem
}

.text-center {
  text-align: center
}

.text-muted {
  color: var(--text-secondary)
}

.mt-1 {
  margin-top: .5rem
}

.mt-2 {
  margin-top: 1rem
}

.mt-3 {
  margin-top: 1.5rem
}

.mt-4 {
  margin-top: 2rem
}

.mb-1 {
  margin-bottom: .5rem
}

.mb-2 {
  margin-bottom: 1rem
}

.mb-3 {
  margin-bottom: 1.5rem
}

/* ============================================
   AUTH PAGES (Login / Register)
   ============================================ */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.auth-wrapper::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15), transparent 70%);
  top: -100px;
  right: -100px;
}

.auth-wrapper::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.15), transparent 70%);
  bottom: -80px;
  left: -80px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 2.5rem;
  position: relative;
  z-index: 1;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.auth-logo {
  text-align: center;
  margin-bottom: 2rem
}

.auth-logo h1 {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.5px
}

.auth-logo p {
  color: var(--text-secondary);
  font-size: .9rem;
  margin-top: .25rem
}

.auth-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center
}

/* ---- Forms ---- */
.form-group {
  margin-bottom: 1.25rem
}

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: .4rem
}

.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text);
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15)
}

.form-control::placeholder {
  color: var(--text-muted)
}

.form-control.error {
  border-color: var(--danger)
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background var(--transition);
}

.btn:hover::after {
  background: rgba(255, 255, 255, 0.08)
}

.btn:active {
  transform: scale(.97)
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(26, 86, 219, 0.4)
}

.btn-success {
  background: linear-gradient(135deg, var(--success), #10b981);
  color: #fff
}

.btn-success:hover {
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.4)
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--surface-border);
  color: var(--text)
}

.btn-outline:hover {
  border-color: var(--primary-light);
  color: var(--primary-light)
}

.btn-warning {
  background: linear-gradient(135deg, var(--warning), #f59e0b);
  color: #fff
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger), #ef4444);
  color: #fff
}

.btn-block {
  width: 100%
}

.btn-lg {
  padding: .9rem 2rem;
  font-size: 1.05rem
}

.btn-sm {
  padding: .5rem 1rem;
  font-size: .85rem
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: .9rem;
  color: var(--text-secondary)
}

.auth-footer a {
  font-weight: 600
}

/* ---- Flash Messages ---- */
.flash {
  padding: .85rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: .9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .5rem;
  animation: flashIn .3s ease;
}

.flash-success {
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.3);
  color: var(--success-light)
}

.flash-error {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--danger-light)
}

.flash-info {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--primary-light)
}

@keyframes flashIn {
  from {
    opacity: 0;
    transform: translateY(-8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ============================================
   DASHBOARD LAYOUT
   ============================================ */
.app-layout {
  display: flex;
  min-height: 100vh
}

/* ---- Sidebar ---- */
.sidebar {
  width: var(--sidebar-w);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: linear-gradient(180deg, #0f172a 0%, #1a1a3e 100%);
  border-right: 1px solid var(--surface-border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom Scrollbar for Sidebar */
.sidebar::-webkit-scrollbar {
  width: 4px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

.sidebar-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--surface-border)
}

.sidebar-header .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.5px;
  cursor: pointer;
  transition: opacity var(--transition);
  border-radius: 8px;
  padding: 12px 8px;
  text-decoration: none;
}

.sidebar-header .logo:hover {
  opacity: 0.8;
}

.sidebar-header .logo img {
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
  height: 64px;
  width: auto;
}

.balance-card {
  margin: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  position: relative;
  overflow: hidden;
}

.balance-card::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -40px;
  right: -40px;
}

.balance-card .label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600
}

.balance-card .amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-top: .25rem
}

.sidebar-nav {
  flex: 1;
  padding: 1rem 0
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.5rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: .95rem;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--text);
  background: var(--surface-hover);
  border-left-color: var(--primary-light);
}

.sidebar-nav a .icon {
  font-size: 1.15rem;
  width: 24px;
  text-align: center
}

.sidebar-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--surface-border)
}

.sidebar-footer .user-info {
  display: flex;
  align-items: center;
  gap: .75rem
}

.sidebar-footer .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
}

.sidebar-footer .user-name {
  font-size: .85rem;
  font-weight: 600
}

.sidebar-footer .user-email {
  font-size: .75rem;
  color: var(--text-muted)
}

/* ---- Main Content ---- */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
  padding: 2rem
}

/* ---- Mobile Header ---- */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--surface-border);
  padding: .75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.mobile-header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  transition: opacity var(--transition);
  text-decoration: none;
}

.mobile-header .logo:hover {
  opacity: 0.8;
}

.hamburger {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: .25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  transition: opacity var(--transition);
}

.sidebar-overlay.active {
  display: block;
  opacity: 1
}

/* ---- Page Headers ---- */
.page-header {
  margin-bottom: 2rem
}

.page-header h1 {
  font-size: 1.5rem;
  font-weight: 700
}

.page-header p {
  color: var(--text-secondary);
  font-size: .9rem;
  margin-top: .25rem
}

/* ---- Cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.12)
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem
}

.card-header h3 {
  font-size: 1.1rem;
  font-weight: 600
}

/* ---- Stats Grid ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow)
}

.stat-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: .75rem;
}

.stat-card .stat-icon.blue {
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-light)
}

.stat-card .stat-icon.green {
  background: rgba(5, 150, 105, 0.12);
  color: var(--success-light)
}

.stat-card .stat-icon.violet {
  background: rgba(124, 58, 237, 0.12);
  color: var(--accent-light)
}

.stat-card .stat-icon.amber {
  background: rgba(217, 119, 6, 0.12);
  color: var(--warning-light)
}

.stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 700
}

.stat-card .stat-label {
  font-size: .8rem;
  color: var(--text-secondary);
  margin-top: .15rem
}

/* ---- Tables ---- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--surface-border)
}

table {
  width: 100%;
  border-collapse: collapse
}

th {
  text-align: left;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  padding: .85rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--surface-border)
}

td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--surface-border);
  font-size: .9rem
}

tr:last-child td {
  border-bottom: none
}

tr:hover td {
  background: var(--surface-hover)
}

.badge {
  display: inline-block;
  padding: .25rem .65rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
}

.badge-pending {
  background: rgba(217, 119, 6, 0.12);
  color: var(--warning-light)
}

.badge-secured {
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-light)
}

.badge-released,
.badge-completed {
  background: rgba(5, 150, 105, 0.12);
  color: var(--success-light)
}

.badge-disputed {
  background: rgba(220, 38, 38, 0.12);
  color: var(--danger-light)
}

/* ---- Empty State ---- */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-secondary)
}

.empty-state .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: .5
}

.empty-state p {
  font-size: .95rem
}

/* ============================================
   SECURE PAYMENT PAGE
   ============================================ */
.payment-form-card {
  max-width: 560px;
  margin: 0 auto
}

.payment-method-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem
}

.method-btn {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.method-btn:hover {
  border-color: var(--primary-light);
  background: var(--surface-hover)
}

.method-btn .icon {
  font-size: 1.5rem
}

.method-btn .label {
  font-weight: 600;
  font-size: .9rem
}

.method-btn .sublabel {
  font-size: .75rem;
  color: var(--text-muted)
}

.method-btn:disabled {
  opacity: .45;
  cursor: not-allowed
}

.method-btn:disabled:hover {
  border-color: var(--surface-border);
  background: var(--surface)
}

/* ---- Bank Account List ---- */
.bank-list {
  display: grid;
  gap: 1rem
}

.bank-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
}

.bank-card:hover {
  border-color: var(--primary-light)
}

.bank-info h4 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .15rem
}

.bank-info p {
  font-size: .85rem;
  color: var(--text-secondary)
}

.bank-info .acct-num {
  font-family: 'Courier New', monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-top: .35rem;
  letter-spacing: 1px
}

.copy-btn {
  padding: .45rem .85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 500;
  transition: all var(--transition);
}

.copy-btn:hover {
  border-color: var(--success);
  color: var(--success-light);
  background: rgba(5, 150, 105, 0.08)
}

.copy-btn.copied {
  border-color: var(--success);
  color: var(--success-light);
  background: rgba(5, 150, 105, 0.12)
}

/* ---- File Upload ---- */
.upload-zone {
  padding: 2rem;
  border: 2px dashed var(--surface-border);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.upload-zone:hover {
  border-color: var(--primary-light);
  background: var(--surface-hover)
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer
}

.upload-zone .icon {
  font-size: 2rem;
  margin-bottom: .5rem;
  color: var(--text-muted)
}

.upload-zone p {
  color: var(--text-secondary);
  font-size: .9rem
}

.upload-zone .hint {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .35rem
}

.upload-preview {
  margin-top: 1rem;
  display: none
}

.upload-preview img {
  max-height: 200px;
  border-radius: var(--radius-sm);
  margin: 0 auto;
  border: 1px solid var(--surface-border)
}

/* ---- Confirmation ---- */
.confirm-card {
  text-align: center;
  max-width: 480px;
  margin: 0 auto
}

.confirm-card .check-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  color: var(--success-light);
}

.confirm-card .ref {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-light);
  margin: .75rem 0
}

/* ============================================
   SUPPORT PAGE
   ============================================ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem
}

.support-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  text-align: center;
  transition: all var(--transition);
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow)
}

.support-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.support-card .icon.whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366
}

.support-card .icon.email {
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-light)
}

.support-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .5rem
}

.support-card p {
  color: var(--text-secondary);
  font-size: .9rem;
  margin-bottom: 0.5rem
}

.support-detail {
  font-weight: 700;
  color: var(--text) !important;
  font-size: 1rem !important;
  margin-bottom: 1.25rem !important;
  display: block;
}

/* ---- Coming Soon Pages ---- */
.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.coming-soon .icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: .4
}

.coming-soon h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .5rem
}

.coming-soon p {
  color: var(--text-secondary);
  max-width: 400px
}

/* ---- Utilities ---- */
.mb-2 {
  margin-bottom: .5rem
}

.mb-3 {
  margin-bottom: .75rem
}

.mt-3 {
  margin-top: .75rem
}

.mt-4 {
  margin-top: 1rem
}

.text-center {
  text-align: center
}

.text-muted {
  color: var(--text-muted)
}

/* ---- Tables ---- */
.table-wrap {
  overflow-x: auto;
  width: 100%
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: .5rem
}

th,
td {
  padding: 1rem .75rem;
  text-align: left;
  border-bottom: 1px solid var(--surface-border)
}

th {
  font-size: .78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: .5px
}

td {
  font-size: .9rem;
  color: var(--text-secondary)
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.02)
}

/* ---- Badges ---- */
.badge {
  padding: .3rem .6rem;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 600
}

.badge-pending {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b
}

.badge-completed {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981
}

.badge-deposit {
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-light)
}

/* ---- Bank Accounts ---- */
.bank-list {
  display: grid;
  gap: 1rem
}

.bank-card {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.25rem;
  transition: all var(--transition);
}

.bank-card:hover {
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.bank-logo {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  background: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bank-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.bank-info {
  flex: 1;
}

.bank-info h4 {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .25rem
}

.bank-info p {
  font-size: .78rem;
  color: var(--text-muted)
}

.bank-info .acct-num {
  font-family: monospace;
  font-size: 1.1rem;
  color: var(--primary-light);
  margin-top: .35rem
}

.copy-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  color: var(--text-secondary);
  padding: .4rem .8rem;
  border-radius: 4px;
  font-size: .75rem;
  cursor: pointer;
  transition: all var(--transition);
}

.copy-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary)
}

.copy-btn.copied {
  background: var(--success);
  color: white;
  border-color: var(--success)
}

/* ---- Toasts ---- */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 300px;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--shadow-lg);
  animation: toastIn .3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: all .3s ease;
}

.toast-success {
  border-left: 4px solid var(--success-light)
}

.toast-error {
  border-left: 4px solid var(--danger-light)
}

.toast-info {
  border-left: 4px solid var(--primary-light)
}

.toast-warning {
  border-left: 4px solid var(--warning-light)
}

.toast .icon {
  font-size: 1.25rem
}

.toast .content {
  flex: 1
}

.toast .title {
  font-weight: 700;
  font-size: .9rem;
  display: block
}

.toast .message {
  font-size: .85rem;
  color: var(--text-secondary)
}

.toast .close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: .25rem
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(100%)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateX(0)
  }

  to {
    opacity: 0;
    transform: translateX(100%)
  }
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

/* RESPONSIVE... */
.floating-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: #25d366;
  color: white;
  padding: .75rem 1.25rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  font-weight: 600;
}

.floating-wa:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.6);
  filter: brightness(1.1)
}

.floating-wa .icon {
  font-size: 1.4rem
}

/* Tablet */
@media (max-width: 1024px) {
  .sidebar {
    width: 220px
  }

  .main-content {
    margin-left: 220px
  }

  .balance-card .amount {
    font-size: 1.4rem
  }
}

/* Mobile */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%)
  }

  .sidebar.open {
    transform: translateX(0)
  }

  .main-content {
    margin-left: 0;
    padding: 1rem;
    /* Reduced padding slightly to give more room to inner cards */
    padding-top: 7rem;
    width: 100%;
  }

  .mobile-header {
    display: flex
  }

  .auth-wrapper {
    padding-top: 8rem;
    align-items: flex-start
  }

  .stats-grid {
    grid-template-columns: 1fr
  }

  .quick-actions-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .75rem
  }

  .support-grid {
    grid-template-columns: 1fr
  }

  .auth-card {
    padding: 1.5rem
  }

  .auth-logo h1 {
    font-size: 1.5rem
  }

  .auth-logo img {
    height: 72px !important
  }

  .brand-text {
    display: none
  }

  .page-header h1 {
    font-size: 1.25rem
  }

  .card {
    padding: 1.25rem
  }

  /* Smaller padding for cards on mobile */
}

/* Small phones */
@media (max-width: 400px) {
  .auth-card {
    padding: 1.25rem;
    margin: .5rem
  }

  .btn-lg {
    padding: .75rem 1.5rem;
    font-size: .95rem
  }

  .quick-actions-grid {
    grid-template-columns: 1fr
  }

  /* Stack buttons on very small screens */
}

/* ---- Withdraw Page Styles ---- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.method-select {
  cursor: pointer;
}

.method-select input {
  display: none;
}

.method-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.method-content img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: white;
  border-radius: 6px;
  padding: 3px;
}

.method-content span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.method-select input:checked + .method-content {
  border-color: var(--primary-light);
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.method-select input:checked + .method-content span {
  color: var(--primary-light);
}

.amount-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-prefix {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.amount-input-wrapper .form-control {
  padding-left: 2.2rem;
}

@media (max-width: 500px) {
  .method-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   HOMEPAGE STYLES
   ============================================ */

/* ---- Navigation/Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--surface-border);
  padding: 1rem 0;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.navbar-logo {
  height: 40px;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.navbar-menu li {
  display: flex;
  align-items: center;
}

.navbar-action-item {
  display: none;
}

.navbar-menu a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition);
}

.navbar-menu a:hover {
  color: var(--primary-light);
}

.navbar-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-left: auto;
}

.navbar-actions .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.navbar-menu.active {
  display: flex;
}

/* ---- Hero Section ---- */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 70%);
  z-index: -1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtext {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ---- Legal Page ---- */
.legal-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(26, 86, 219, 0.15));
}

.legal-hero .section-header {
  color: #fff;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.legal-nav a {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all var(--transition);
}

.legal-nav a:hover {
  color: var(--bg);
  background: #fff;
}

.legal-section {
  padding: 4rem 0;
}

.legal-section .container {
  max-width: 900px;
}

.legal-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.legal-section p,
.legal-section ul {
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-section ul {
  margin-top: 1rem;
  padding-left: 1.25rem;
}

.legal-section ul li {
  margin-bottom: 0.75rem;
}

.footer-legal-page {
  padding: 2rem 0;
  background: rgba(15, 23, 42, 0.95);
}

.footer-legal-page .footer-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-legal-page p,
.footer-legal-page a {
  color: var(--text-secondary);
}

.footer-legal-page a:hover {
  color: var(--primary-light);
}

.card-header {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--surface-border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.card-body {
  padding: 1.5rem;
}

.mock-transaction {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tx-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tx-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.tx-value {
  font-weight: 600;
  color: var(--text);
}

.tx-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(5, 150, 105, 0.2);
  color: var(--success-light);
}

.tx-badge.success {
  background: rgba(5, 150, 105, 0.2);
  color: var(--success-light);
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 3rem 0;
  position: relative;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* ---- Features Section ---- */
.features {
  padding: 80px 0;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  color: var(--primary-light);
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Transaction Feed ---- */
.transaction-feed {
  padding: 80px 0;
  background: rgba(124, 58, 237, 0.05);
}

.feed-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.feed-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}

.feed-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.feed-content {
  flex: 1;
}

.feed-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.feed-action {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feed-amount {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--success-light);
}

.feed-time {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---- How It Works ---- */
.how-it-works {
  padding: 80px 0;
}

.how-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step {
  text-align: center;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.step-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius);
  margin: 0 auto 1.5rem;
  color: var(--primary-light);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- Pricing Section ---- */
.pricing {
  padding: 80px 0;
  background: rgba(26, 86, 219, 0.05);
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-simple {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.pricing-card-simple {
  max-width: 500px;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.15) 0%, rgba(124, 58, 237, 0.1) 100%);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  text-align: center;
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.pricing-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.pricing-card-simple h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.pricing-card-simple > .pricing-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.pricing-price-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.pricing-price-large .amount {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-price-large .period {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.pricing-fee {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--warning-light);
  margin-bottom: 2rem;
}

.pricing-features-simple {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  text-align: left;
}

.pricing-features-simple li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-left: 0;
}

.pricing-guarantee {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  font-style: italic;
}

.pricing-card {
  padding: 2rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
}

.pricing-card-featured {
  border-color: var(--primary-light);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 1.5rem 0;
}

.currency {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.amount {
  font-size: 2.5rem;
  font-weight: 800;
}

.period {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 0;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--surface-border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
}

.btn-ghost:hover {
  color: var(--primary-light);
}

/* ---- Testimonials Section ---- */
.testimonials {
  padding: 80px 0;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  padding: 2rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
  border-color: var(--primary-light);
}

.testimonial-stars {
  color: var(--warning-light);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}

.author-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 4rem 0;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Footer ---- */
.footer {
  background: linear-gradient(180deg, #1a1a3e 0%, #0f172a 100%);
  border-top: 1px solid var(--surface-border);
  padding: 4rem 0 2rem;
  color: var(--text-secondary);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h4 {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: var(--text-secondary);
  transition: color var(--transition);
  font-size: 0.95rem;
}

.footer-column a:hover {
  color: var(--primary-light);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-logo {
  height: 32px;
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.3));
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: 50%;
  border: 1px solid var(--surface-border);
  transition: all var(--transition);
  font-weight: 700;
}

.footer-social a:hover {
  background: var(--primary-light);
  color: #fff;
  border-color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-legal a {
  color: var(--text-secondary);
}

.footer-legal a:hover {
  color: var(--primary-light);
}

/* ============================================
   HOMEPAGE RESPONSIVE
   ============================================ */

/* Desktop */
@media (min-width: 1025px) {
  .navbar-action-item {
    display: none !important;
  }
}

/* Tablets */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card-featured {
    transform: scale(1);
  }

  .pricing-simple {
    padding: 0 1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .navbar-menu {
    display: none;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-action-item {
    display: flex;
  }

  .navbar-menu.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid var(--surface-border);
    padding: 1rem 1.5rem;
    gap: 1rem;
    z-index: 999;
  }

  .navbar-menu.active li {
    display: flex;
  }

  .navbar-menu.active .navbar-action-item:first-of-type {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--surface-border);
  }

  .navbar-menu.active .navbar-action-item a {
    width: 100%;
    text-align: center;
  }

  .navbar-menu.active .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar-container {
    gap: 1rem;
  }

  .navbar-actions {
    display: none;
  }

  .navbar-action-item {
    display: flex;
  }

  .navbar-menu.active .navbar-action-item:first-of-type {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--surface-border);
  }

  .navbar-menu.active .navbar-action-item a {
    width: 100%;
    text-align: center;
  }

  .navbar-menu.active .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    width: 100%;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-subtext {
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-value {
    font-size: 1.8rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feed-item {
    flex-direction: column;
    text-align: center;
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card-simple {
    margin: 0 1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}