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

:root {
  --color-primary: #440066;
  --color-primary-light: #5a1a8a;
  --color-accent: #9545FE;
  --color-accent-dark: #7b30d9;
  --color-white: #ffffff;
  --color-bg: #FBFAFF;
  --color-text: #171412;
  --color-text-light: #776D7D;
  --color-border: #EAECF0;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --navbar-height: 80px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  line-height: 1.4;
}

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

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(54, 14, 84, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
  background: rgba(54, 14, 84, 0.05);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.highlight {
  color: var(--color-primary);
  position: relative;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #FFFFFF !important;
  transition: all 0.3s ease;
  height: var(--navbar-height);
}

.navbar.scrolled {
  background: #FFFFFF !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-height);
}

.logo {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--color-primary);
  background: rgba(54, 14, 84, 0.04);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dropdown-grid.single-col {
  grid-template-columns: 1fr;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: #f3f0f5;
}

.dropdown-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(54, 14, 84, 0.06);
}

.dropdown-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.dropdown-item span {
  display: block;
  font-size: 12px;
  color: var(--color-text-light);
}

.auth-buttons {
  display: flex;
  gap: 8px;
  margin-left: 16px;
}

/* Nav Toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 14, 84, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 250, 90, 0.06) 0%, transparent 70%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-text h1 {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-text p {
  font-size: 17px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
}

.stat-label {
  font-size: 13px;
  color: var(--color-text-light);
  font-weight: 500;
}

/* Hero Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 400px;
  position: relative;
}

.card-glow {
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  opacity: 0.15;
  filter: blur(12px);
}

.card-content {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.card-balance {
  margin-bottom: 28px;
}

.balance-label {
  display: block;
  font-size: 12px;
  color: var(--color-text-light);
  font-weight: 500;
  margin-bottom: 4px;
}

.balance-amount {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-primary);
}

.card-transactions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.txn {
  display: flex;
  align-items: center;
  gap: 12px;
}

.txn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.txn-dot.green {
  background: var(--color-accent);
}

.txn-dot.purple {
  background: var(--color-primary);
}

.txn div {
  flex: 1;
}

.txn strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

.txn small {
  display: block;
  font-size: 11px;
  color: var(--color-text-light);
}

.txn-amount {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

/* Partners */
.partners {
  padding: 60px 0;
  background: var(--color-bg);
}

.partners-label {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-light);
  font-weight: 500;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.partner-logo {
  opacity: 0.7;
  transition: opacity 0.3s;
}

.partner-logo:hover {
  opacity: 1;
}

/* Features */
.features {
  padding: 100px 0;
  background: var(--color-white);
}

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

.feature-card {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  background: var(--color-white);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(54, 14, 84, 0.08);
  border-color: rgba(54, 14, 84, 0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(54, 14, 84, 0.06);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Products */
.products {
  padding: 100px 0;
  background: var(--color-bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  padding: 32px;
  border-radius: 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(54, 14, 84, 0.08);
  border-color: rgba(54, 14, 84, 0.15);
}

.product-image {
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.product-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.product-link:hover {
  gap: 8px;
}

/* Security */
.security {
  padding: 100px 0;
  background: var(--color-white);
}

.security-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.security-text h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.security-text p {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.security-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--color-bg);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.security-visual {
  display: flex;
  justify-content: center;
}

/* CTA */
.cta {
  padding: 60px 0;
  background: #66FF66;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(68, 0, 102, 0.06) 0%, transparent 70%);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: #440066;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 16px;
  color: rgba(68, 0, 102, 0.7);
  margin-bottom: 20px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.cta .btn-primary {
  background: #440066;
  color: #fff;
}

.cta .btn-primary:hover {
  background: #9545FE;
  box-shadow: 0 4px 16px rgba(68, 0, 102, 0.3);
}

.cta .btn-outline {
  border-color: #440066;
  color: #440066;
}

.cta .btn-outline:hover {
  background: #440066;
  color: #fff;
}

/* Footer */
.footer {
  padding: 64px 0 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.social-link:hover svg path {
  stroke: var(--color-white);
}

.social-link:last-child svg path:first-child {
  fill: var(--color-primary);
}

.social-link:last-child:hover svg path:first-child {
  fill: var(--color-white);
}

.social-link:last-child svg rect:first-child {
  fill: var(--color-primary);
}

.social-link:last-child:hover svg rect:first-child {
  fill: var(--color-white);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--color-text-light);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--color-text-light);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate__fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 44px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    max-width: 350px;
  }

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

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

  .security-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: flex;
  }

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

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

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

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 12px 14px;
  }

  .auth-buttons {
    flex-direction: column;
    margin-left: 0;
    width: 100%;
    margin-top: 12px;
  }

  .auth-buttons .btn {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 0 0 0 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

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

  .hero {
    padding: 100px 0 60px;
  }

  .hero-text h1 {
    font-size: 34px;
  }

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

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

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

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 22px;
  }

  .features {
    padding: 60px 0;
  }

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

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

  .products {
    padding: 60px 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .security {
    padding: 60px 0;
  }

  .security-text h2 {
    font-size: 26px;
  }

  .cta {
    padding: 60px 0;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer {
    padding: 48px 0 0;
  }

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

/* Info Pages */
.page-banner {
  padding: 140px 0 60px;
  background: #66FF66 !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(68, 0, 102, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner h1 {
  font-size: 48px;
  font-weight: 700;
  color: #440066 !important;
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-banner p {
  font-size: 17px;
  color: rgba(68, 0, 102, 0.7) !important;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-section {
  padding: 80px 0;
}

.page-section.bg-light {
  background: var(--color-bg);
}

.page-section.bg-white {
  background: var(--color-white);
}

.page-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-section h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.page-section h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.page-section p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-section .lead {
  font-size: 17px;
  color: var(--color-text);
  font-weight: 500;
}

/* About Page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(54, 14, 84, 0.08);
  border-color: rgba(54, 14, 84, 0.15);
}

.value-card .value-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(54, 14, 84, 0.06);
}

.value-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13px;
  margin-bottom: 0;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mission-card,
.vision-card {
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
  box-shadow: 0 12px 32px rgba(54, 14, 84, 0.08);
}

.mission-card .icon,
.vision-card .icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 20px;
}

.mission-card .icon {
  background: rgba(54, 14, 84, 0.08);
}

.vision-card .icon {
  background: rgba(88, 250, 90, 0.15);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  box-shadow: 0 8px 24px rgba(54, 14, 84, 0.06);
}

.contact-info-card .ci-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(54, 14, 84, 0.06);
}

.contact-info-card h4 {
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 14px;
  margin-bottom: 0;
  color: var(--color-text-light);
}

.contact-form-wrap {
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-family);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

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

/* Developers Page */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dev-card {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  background: var(--color-white);
}

.dev-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(54, 14, 84, 0.08);
  border-color: rgba(54, 14, 84, 0.15);
}

.dev-card .dev-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(54, 14, 84, 0.06);
  margin-bottom: 16px;
}

.dev-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.dev-card p {
  font-size: 14px;
  margin-bottom: 16px;
}

.dev-card .dev-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.dev-card .dev-link:hover {
  gap: 8px;
}

.dev-tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.dev-tool {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  transition: all 0.2s;
}

.dev-tool:hover {
  border-color: var(--color-primary);
  background: rgba(54, 14, 84, 0.03);
}

/* Pricing Page */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  padding: 40px 32px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(54, 14, 84, 0.1);
}

.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(54, 14, 84, 0.12);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}

.pricing-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.pricing-card .pricing-sub {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.pricing-amount {
  margin-bottom: 24px;
}

.pricing-amount .currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  vertical-align: top;
}

.pricing-amount .amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.pricing-amount .period {
  font-size: 14px;
  color: var(--color-text-light);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--color-text);
}

.pricing-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: rgba(88, 250, 90, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%23360E54' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-faq {
  max-width: 800px;
  margin: 60px auto 0;
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h4 {
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  margin-bottom: 0;
  color: var(--color-text-light);
}

/* Blog Page */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  border-radius: 16px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--color-white);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(54, 14, 84, 0.08);
}

.blog-card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
}

.blog-card-body {
  padding: 24px;
}

.blog-card-body .blog-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(54, 14, 84, 0.08);
  color: var(--color-primary);
  margin-bottom: 12px;
}

.blog-card-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-body p {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.blog-card-body .blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--color-text-light);
}

.blog-card-body .blog-meta .author {
  font-weight: 600;
  color: var(--color-text);
}

.blog-card-body .blog-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap 0.2s;
}

.blog-card-body .blog-link:hover {
  gap: 8px;
}

/* Careers Page */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  background: var(--color-white);
}

.job-card:hover {
  box-shadow: 0 8px 24px rgba(54, 14, 84, 0.06);
  border-color: rgba(54, 14, 84, 0.15);
}

.job-info h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.job-info .job-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--color-text-light);
}

.job-info .job-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.perk-card {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all 0.3s ease;
}

.perk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(54, 14, 84, 0.08);
}

.perk-card .perk-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(88, 250, 90, 0.15);
}

.perk-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.perk-card p {
  font-size: 13px;
  margin-bottom: 0;
}

/* Policy Pages (Privacy, Terms) */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content .last-updated {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 40px;
  font-style: italic;
}

.policy-content h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 24px;
}

.policy-content h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 18px;
}

.policy-content p {
  margin-bottom: 14px;
}

.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.policy-content ul li {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 6px;
}

@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

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

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

@media (max-width: 768px) {
  .page-banner {
    padding: 120px 0 40px;
  }

  .page-banner h1 {
    font-size: 32px;
  }

  .page-section {
    padding: 48px 0;
  }

  .page-section h2 {
    font-size: 24px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

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

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .dev-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .dev-tools {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .contact-form-wrap {
    padding: 24px;
  }
}

/* Auth Pages */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  background: var(--color-bg);
}

.auth-container {
  width: 100%;
  max-width: 440px;
  background: var(--color-white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.auth-header p {
  font-size: 14px;
  color: var(--color-text-light);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input {
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-family);
  color: var(--color-text);
  transition: border-color 0.2s;
  outline: none;
  background: var(--color-white);
}

.form-group input:focus {
  border-color: var(--color-primary);
}

.form-group input::placeholder {
  color: #9ca3af;
}

.auth-form .btn {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  margin-top: 4px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-text-light);
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.auth-footer-text {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-light);
}

.auth-footer-text a {
  color: var(--color-primary);
  font-weight: 600;
}

.auth-footer-text a:hover {
  text-decoration: underline;
}

.forgot-link {
  text-align: right;
  font-size: 13px;
  margin-top: -4px;
}

.forgot-link a {
  color: var(--color-primary);
  font-weight: 500;
}

.forgot-link a:hover {
  text-decoration: underline;
}

.password-hint {
  font-size: 12px;
  color: var(--color-text-light);
}

@media (max-width: 480px) {
  .auth-container {
    padding: 28px 20px;
  }

  .auth-header h1 {
    font-size: 24px;
  }

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

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* Merchant Portal Layout */
.portal-page {
  padding-top: var(--navbar-height);
  min-height: 100vh;
  background: var(--color-bg);
  display: flex;
}

.portal-layout {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - var(--navbar-height));
}

.portal-sidebar {
  width: 249px;
  flex-shrink: 0;
  background: var(--color-white);
  border-right: 1px solid rgba(230,231,236,0.6);
  padding: 24px 8px;
  position: sticky;
  top: var(--navbar-height);
  height: calc(100vh - var(--navbar-height));
  overflow-y: auto;
}

.portal-sidebar::-webkit-scrollbar {
  width: 2px;
}

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

.portal-sidebar::-webkit-scrollbar-thumb {
  background-color: #b3b0b5;
  border-radius: 2px;
}

.portal-sidebar {
  scrollbar-color: #b3b0b5 transparent;
  scrollbar-width: thin;
}

.portal-sidebar-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  padding: 0 16px;
  margin-bottom: 6px;
  margin-top: 20px;
}

.portal-sidebar-label:first-child {
  margin-top: 0;
}

.portal-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  transition: all 0.15s;
  margin-bottom: 1px;
}

.portal-nav-item:hover {
  background: #e8dfec;
  color: #406;
}

.portal-nav-item.active {
  background: #e8dfec;
  color: #406;
  font-weight: 600;
}

.portal-nav-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.portal-nav-item.active svg,
.portal-nav-item:hover svg {
  opacity: 1;
}

.portal-main {
  flex: 1;
  padding: 28px 32px;
  min-width: 0;
  max-width: 100%;
}

.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.portal-header h1 {
  font-size: 26px;
  font-weight: 700;
  color: #171412;
  letter-spacing: -0.01em;
}

.portal-header p {
  font-size: 14px;
  color: var(--color-text-light);
  margin-top: 2px;
}

.portal-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(88, 250, 90, 0.15);
  color: #1a7a1a;
}

.btn-portal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-portal-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

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

.btn-portal-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}

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

.btn-portal-sm {
  padding: 6px 14px;
  font-size: 13px;
}

/* Dashboard Premium Stat Cards */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.stat-card-premium {
  border-radius: 12px;
  padding: 22px 24px;
  color: var(--color-white);
  background-size: cover;
  background-position: top;
  position: relative;
  overflow: hidden;
}

.stat-card-premium::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='100' cy='20' r='60' fill='white' opacity='0.06'/%3E%3C/svg%3E") no-repeat top right;
  background-size: cover;
  pointer-events: none;
}

.stat-card-premium.collections {
  background: linear-gradient(105.44deg, #360052 62.54%, #1b0029 100.8%);
}

.stat-card-premium.transfers {
  background: linear-gradient(105.44deg, #143d39 62.54%, #0a1e1d 99.82%);
}

.stat-card-premium.settlements {
  background: linear-gradient(105.44deg, #083949 62.54%, #1e1e1e 99.82%);
}

.stat-card-premium.pending-card {
  background: linear-gradient(105.44deg, #3a1a5e 62.54%, #1a0a2e 100.8%);
}

.stat-card-premium .stat-label {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: 6px;
  display: block;
}

.stat-card-premium .stat-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.stat-card-premium .stat-sub {
  font-size: 12px;
  opacity: 0.7;
  display: block;
}

/* Dashboard Regular Cards */
.portal-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.portal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-card-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #171412;
}

.portal-card-header a,
.portal-card-header .link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
}

.portal-card-header a:hover,
.portal-card-header .link:hover {
  text-decoration: underline;
}

/* Portal Tables */
.portal-table {
  width: 100%;
  border-collapse: collapse;
}

.portal-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-gray-50);
}

.portal-table td {
  font-size: 14px;
  color: var(--color-text);
  padding: 12px;
  border-bottom: 1px solid var(--color-border);
}

.portal-table tr:last-child td {
  border-bottom: none;
}

.portal-table .status-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge.success {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.status-badge.pending {
  background: rgba(234, 179, 8, 0.1);
  color: #a16207;
}

.status-badge.failed {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.status-badge.active {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.status-badge.inactive {
  background: rgba(100, 116, 139, 0.1);
  color: #64748b;
}

.portal-table .amount {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Portal Cards Grid */
.portal-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* Portal Forms */
.portal-form-group {
  margin-bottom: 20px;
}

.portal-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.portal-form-group input,
.portal-form-group textarea,
.portal-form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-family);
  color: var(--color-text);
  transition: border-color 0.2s;
  outline: none;
  background: var(--color-white);
}

.portal-form-group input:focus,
.portal-form-group textarea:focus,
.portal-form-group select:focus {
  border-color: var(--color-primary);
}

.portal-form-group textarea {
  resize: vertical;
  min-height: 80px;
}

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

.portal-key-display {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--color-gray-50);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  color: var(--color-text);
}

.portal-key-display .key-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-key-display .copy-btn {
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
}

.portal-key-display .copy-btn:hover {
  color: var(--color-primary);
}

/* Webhook Toggle */
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-gray-200);
  border-radius: 24px;
  transition: 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--color-white);
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--color-primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.webhook-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.webhook-item:last-child {
  border-bottom: none;
}

.webhook-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.webhook-info p {
  font-size: 12px;
  color: var(--color-text-light);
}

/* Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-bar select,
.filter-bar input {
  padding: 8px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-white);
  outline: none;
}

.filter-bar select:focus,
.filter-bar input:focus {
  border-color: var(--color-primary);
}

.filter-bar input {
  min-width: 200px;
}

/* Payment Link Item */
.payment-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  gap: 12px;
  flex-wrap: wrap;
}

.payment-link-item:last-child {
  border-bottom: none;
}

.payment-link-info {
  flex: 1;
  min-width: 0;
}

.payment-link-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.payment-link-info .link-url {
  font-size: 12px;
  color: var(--color-primary);
  word-break: break-all;
}

.payment-link-info .link-meta {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 2px;
}

.payment-link-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-link-amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

/* Checkout Preview */
.checkout-preview {
  background: var(--color-white);
  border: 2px dashed var(--color-border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.checkout-preview .preview-logo {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: white;
  font-size: 24px;
  font-weight: 800;
}

.checkout-preview .preview-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.checkout-preview .preview-desc {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.checkout-preview .preview-btn {
  padding: 12px 40px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.checkout-preview .preview-btn:hover {
  background: var(--color-primary-light);
}

/* mPOS Devices */
.mpos-device {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.mpos-device:last-child {
  border-bottom: none;
}

.mpos-device-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mpos-device-info {
  flex: 1;
  min-width: 0;
}

.mpos-device-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 1px;
}

.mpos-device-info p {
  font-size: 12px;
  color: var(--color-text-light);
}

.mpos-device-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.mpos-device-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mpos-device-status .dot.online {
  background: #16a34a;
}

.mpos-device-status .dot.offline {
  background: #dc2626;
}

/* Analytics */
.analytics-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.chart-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(180deg, rgba(54,14,84,0.03) 0%, rgba(54,14,84,0.08) 100%);
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  gap: 8px;
}

.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--color-primary);
  opacity: 0.3;
  transition: opacity 0.2s;
  min-height: 8px;
}

.chart-bar:nth-child(1) { height: 40%; }
.chart-bar:nth-child(2) { height: 65%; }
.chart-bar:nth-child(3) { height: 50%; }
.chart-bar:nth-child(4) { height: 80%; }
.chart-bar:nth-child(5) { height: 55%; }
.chart-bar:nth-child(6) { height: 90%; }
.chart-bar:nth-child(7) { height: 70%; }
.chart-bar:nth-child(8) { height: 85%; }
.chart-bar:nth-child(9) { height: 60%; }
.chart-bar:nth-child(10) { height: 75%; }
.chart-bar:nth-child(11) { height: 45%; }
.chart-bar:nth-child(12) { height: 95%; }

.chart-bar.highlight {
  opacity: 0.8;
}

.analytics-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.analytics-metric:last-child {
  border-bottom: none;
}

.analytics-metric .metric-label {
  font-size: 13px;
  color: var(--color-text-light);
}

.analytics-metric .metric-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

/* Profile page */
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  flex-shrink: 0;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.profile-header .profile-name {
  font-size: 20px;
  font-weight: 700;
}

.profile-header .profile-email {
  font-size: 14px;
  color: var(--color-text-light);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--color-text-light);
}

.empty-state svg {
  margin-bottom: 12px;
  opacity: 0.4;
}

.empty-state h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.empty-state p {
  font-size: 14px;
  margin-bottom: 16px;
}

/* Sub-navigation (Collections dropdown) */
.sub-nav {
  padding-left: 16px;
  margin-bottom: 4px;
}

.sub-nav .portal-nav-item {
  padding: 8px 16px;
  font-size: 13px;
}

/* Portal Responsive */
@media (max-width: 1024px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .portal-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .portal-layout {
    flex-direction: column;
  }

  .portal-sidebar {
    width: 100%;
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 12px 8px;
  }

  .portal-sidebar-inner {
    display: flex;
    gap: 2px;
    overflow-x: auto;
  }

  .portal-sidebar-label {
    display: none;
  }

  .portal-nav-item {
    white-space: nowrap;
    font-size: 13px;
    padding: 8px 12px;
  }

  .sub-nav {
    display: none;
  }

  .portal-main {
    padding: 20px;
  }

  .portal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .portal-header h1 {
    font-size: 22px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card-premium .stat-value {
    font-size: 22px;
  }

  .portal-form-row {
    grid-template-columns: 1fr;
  }

  .filter-bar input {
    min-width: 140px;
  }
}

@media (max-width: 480px) {
  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .portal-main {
    padding: 16px;
  }

  .payment-link-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-link-actions {
    width: 100%;
    justify-content: flex-end;
  }
}