/* ===== COMPLYFX PRODUCT PAGE STYLES ===== */

/* Hero */
.comply-hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #071a0e 0%, #0a2618 40%, #0f3d25 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.comply-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 70% 70% at 70% 40%, rgba(22,163,74,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(249,115,22,0.08) 0%, transparent 60%);
}

.comply-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--white), transparent);
}

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

.comply-hero-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.comply-hero-logo-img {
  height: 48px;
  width: auto;
}

.comply-hero-logo-text {
  display: flex;
  flex-direction: column;
}

.comply-hero-logo-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
}

.comply-hero-logo-tagline {
  font-size: 11px;
  color: var(--comply-green-light);
  font-weight: 500;
}

.comply-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(22,163,74,0.15);
  border: 1px solid rgba(22,163,74,0.35);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--comply-green-light);
  margin-bottom: 24px;
}

.comply-hero-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.comply-hero-title .green {
  color: var(--comply-green-light);
}

.comply-hero-title .orange {
  color: #FB923C;
}

.comply-hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 40px;
}

.comply-hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

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

.comply-stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.comply-stat-number .green {
  color: var(--comply-green-light);
}

.comply-stat-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* Dashboard Visual */
.comply-dashboard {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.comply-dash-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.dash-dot.red { background: #ff5f57; }
.dash-dot.yellow { background: #febc2e; }
.dash-dot.green { background: #28c840; }

.comply-dash-title-bar {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
}

.comply-dash-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dash-metric {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px 12px;
}

.dash-metric-label {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.dash-metric-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.dash-metric-change {
  font-size: 11px;
  margin-top: 3px;
  font-weight: 600;
}

.dash-metric-change.up { color: #22c55e; }
.dash-metric-change.down { color: #ef4444; }

.dash-chart-bar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 14px;
}

.dash-chart-title {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.dash-bar-item {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: rgba(22,163,74,0.4);
  transition: var(--transition);
}

.dash-bar-item:hover { background: rgba(22,163,74,0.7); }
.dash-bar-item.active { background: var(--comply-green-light); }

.dash-transactions {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
}

.dash-tx-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dash-tx-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.45);
}

.dash-tx-badge {
  font-size: 10px;
  color: var(--comply-green-light);
  background: rgba(22,163,74,0.15);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
}

.dash-tx-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dash-tx-info {
  display: flex;
  flex-direction: column;
}

.dash-tx-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.dash-tx-date {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  margin-top: 2px;
}

.dash-tx-amount {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.dash-tx-status {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
  margin-left: 8px;
}

.status-approved { background: rgba(22,163,74,0.2); color: #22c55e; }
.status-pending { background: rgba(249,115,22,0.2); color: #fb923c; }
.status-kyc { background: rgba(59,130,246,0.2); color: #60a5fa; }

/* Feature sections */
.comply-features-section {
  background: var(--light-4);
  padding: var(--section-pad);
}

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

.comply-feature-card {
  background: var(--white);
  border: 1px solid var(--light-3);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.comply-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--comply-green), var(--comply-green-light));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.comply-feature-card:hover::before {
  transform: scaleX(1);
}

.comply-feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--comply-green-light);
}

.comply-feature-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  background: rgba(22,163,74,0.1);
}

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

.comply-feature-card p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
}

/* How it works */
.how-it-works {
  padding: var(--section-pad);
}

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

.steps-container::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--comply-green), var(--comply-green-light));
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--comply-green);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(22,163,74,0.35);
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}

/* Module sections */
.modules-section {
  background: var(--dark);
  padding: var(--section-pad);
}

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

.module-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.module-card:hover {
  background: rgba(22,163,74,0.08);
  border-color: rgba(22,163,74,0.3);
  transform: translateY(-4px);
}

.module-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.module-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.module-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

.module-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.module-tag {
  padding: 3px 10px;
  background: rgba(22,163,74,0.12);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--comply-green-light);
}

/* Compliance section */
.compliance-section {
  background: linear-gradient(135deg, #071a0e 0%, #0a2618 100%);
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}

.compliance-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 30% 50%, rgba(22,163,74,0.12) 0%, transparent 70%);
}

.compliance-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.compliance-badge-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.compliance-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: var(--transition);
}

.compliance-badge:hover {
  border-color: rgba(22,163,74,0.5);
  background: rgba(22,163,74,0.1);
}

.compliance-badge-icon {
  font-size: 28px;
}

.compliance-badge-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.compliance-badge-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
}

/* CTA section for ComplyFX */
.comply-cta {
  background: linear-gradient(135deg, var(--comply-green-dark) 0%, var(--comply-green) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.comply-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.comply-cta h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.comply-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.comply-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Adroyte sub-brand badge */
.adroyte-by-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0,123,138,0.15);
  border: 1px solid rgba(0,163,180,0.25);
  border-radius: 100px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.adroyte-by-badge strong {
  color: var(--primary-light);
}

@media (max-width: 1024px) {
  .comply-hero-inner { grid-template-columns: 1fr; }
  .comply-dashboard { display: none; }
  .comply-features-grid { grid-template-columns: 1fr 1fr; }
  .modules-grid { grid-template-columns: 1fr 1fr; }
  .steps-container { grid-template-columns: 1fr 1fr; }
  .steps-container::before { display: none; }
  .compliance-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .comply-features-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .compliance-badge-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .steps-container { grid-template-columns: 1fr; }
  .dash-metrics { grid-template-columns: 1fr 1fr; }
}
