/* ===== Virtual Cards Product Page – Swix violet, premium fintech ===== */
:root {
  --vc-violet: #6C3BFF;
  --vc-violet-end: #8A5CFF;
  --vc-violet-light: rgba(108, 59, 255, 0.08);
  --vc-violet-border: rgba(108, 59, 255, 0.2);
  --vc-key-bg: #F5F2FF;
  --vc-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --vc-text: #0f172a;
  --vc-muted: #64748b;
  --vc-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --vc-shadow-btn: 0 4px 16px rgba(108, 59, 255, 0.35);
}

.page-virtual-cards main {
  padding-top: 72px;
  font-family: var(--vc-font);
}

/* ---------- 1) Hero Section ---------- */
.vc-hero {
  position: relative;
  padding: 48px 24px 64px;
  overflow: hidden;
}

.vc-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fafbff 0%, #fff 60%);
  opacity: 1;
}

.vc-hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 Q15 20 30 30 T60 30' stroke='%236C3BFF' stroke-width='0.5' fill='none' stroke-dasharray='4 4' opacity='0.12'/%3E%3Cpath d='M0 45 Q20 35 40 45 T60 45' stroke='%236C3BFF' stroke-width='0.4' fill='none' stroke-dasharray='6 6' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
}

.vc-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.vc-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--vc-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
}

.vc-hero-title-accent {
  color: var(--vc-violet);
}

.vc-hero-desc {
  font-size: 1.0625rem;
  color: var(--vc-muted);
  line-height: 1.6;
  margin: 0 0 32px 0;
  max-width: 420px;
}

.vc-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--vc-font);
  color: #fff;
  background: linear-gradient(135deg, var(--vc-violet) 0%, var(--vc-violet-end) 100%);
  border: none;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: var(--vc-shadow-btn);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.vc-hero-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 59, 255, 0.4);
}

.vc-hero-cta:focus-visible {
  outline: 2px solid var(--vc-violet);
  outline-offset: 2px;
}

.vc-hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vc-hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--vc-shadow);
  animation: vc-float 4s ease-in-out infinite;
}

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

/* ---------- 2) How It Works ---------- */
.vc-how {
  padding: 64px 24px 80px;
}

.vc-how-inner {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--vc-violet-border);
  box-shadow: 0 8px 32px rgba(108, 59, 255, 0.08);
  padding: 48px 40px 56px;
}

.vc-how-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vc-text);
  text-align: center;
  margin: 0 0 40px 0;
}

.vc-how-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.vc-how-step {
  flex: 1;
  text-align: center;
  max-width: 220px;
}

.vc-how-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--vc-violet) 0%, var(--vc-violet-end) 100%);
  color: #fff;
}

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

.vc-how-step:nth-child(3) .vc-how-icon {
  background: linear-gradient(135deg, #5B7FFF 0%, #7B9BFF 100%);
}

.vc-how-step:nth-child(5) .vc-how-icon {
  background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
}

.vc-how-step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--vc-text);
  margin: 0 0 8px 0;
}

.vc-how-step-desc {
  font-size: 0.875rem;
  color: var(--vc-muted);
  line-height: 1.4;
  margin: 0;
}

.vc-how-connector {
  flex: 0 0 40px;
  height: 2px;
  margin-top: 28px;
  background: repeating-linear-gradient(90deg, var(--vc-violet) 0, var(--vc-violet) 6px, transparent 6px, transparent 12px);
  opacity: 0.4;
}

/* ---------- 3) Second Feature Section ---------- */
.vc-feature {
  padding: 64px 24px 80px;
  background: #fff;
}

.vc-feature-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.vc-feature-reverse {
  direction: rtl;
}

.vc-feature-reverse > * {
  direction: ltr;
}

.vc-feature-media {
  text-align: center;
}

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

.vc-feature-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--vc-text);
  line-height: 1.25;
  margin: 0 0 20px 0;
}

.vc-feature-desc {
  font-size: 1rem;
  color: var(--vc-muted);
  line-height: 1.65;
  margin: 0 0 28px 0;
}

.vc-feature-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--vc-font);
  color: #fff;
  background: linear-gradient(135deg, var(--vc-violet) 0%, var(--vc-violet-end) 100%);
  border: none;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: var(--vc-shadow-btn);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.vc-feature-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 59, 255, 0.4);
}

/* ---------- 4) Key Features ---------- */
.vc-key {
  padding: 64px 24px 80px;
  background: var(--vc-key-bg);
}

.vc-key-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.vc-key-head-card {
  background: #fff;
  border-radius: 20px;
  padding: 48px 32px;
  box-shadow: var(--vc-shadow);
  transform: rotate(-3deg);
  border: 1px solid rgba(108, 59, 255, 0.1);
}

.vc-key-head-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vc-text);
  text-align: center;
  margin: 0;
}

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

.vc-key-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.vc-key-card:nth-child(1) { background: #f5f2ff; }
.vc-key-card:nth-child(2) { background: #faf5ff; }
.vc-key-card:nth-child(3) { background: #f3efff; }
.vc-key-card:nth-child(4) { background: #ede9fe; }

.vc-key-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vc-shadow);
  border-color: var(--vc-violet-border);
}

.vc-key-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--vc-violet-light);
  color: var(--vc-violet);
  margin-bottom: 20px;
}

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

.vc-key-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--vc-text);
  margin: 0 0 8px 0;
}

.vc-key-card-desc {
  font-size: 0.875rem;
  color: var(--vc-muted);
  line-height: 1.5;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .vc-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .vc-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .vc-how-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 24px;
  }
  .vc-how-connector {
    display: none;
  }
  .vc-how-step {
    max-width: 200px;
  }
  .vc-feature-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }
  .vc-feature-reverse .vc-feature-media {
    order: 0;
  }
  .vc-feature-reverse .vc-feature-content {
    order: 1;
  }
  .vc-key-inner {
    grid-template-columns: 1fr;
  }
  .vc-key-head-card {
    transform: none;
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .vc-hero {
    padding: 32px 16px 48px;
  }
  .vc-hero-cta {
    width: 100%;
    max-width: 320px;
  }
  .vc-how {
    padding: 40px 16px 56px;
  }
  .vc-how-inner {
    padding: 32px 24px 40px;
  }
  .vc-how-steps {
    flex-direction: column;
    align-items: center;
  }
  .vc-how-step {
    max-width: 100%;
  }
  .vc-feature {
    padding: 48px 16px 64px;
  }
  .vc-key {
    padding: 48px 16px 64px;
  }
  .vc-key-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .vc-key-card {
    padding: 24px 20px;
  }
}
